Re: searching cpan with Chimera (was Re: Sherlock SDK released)

2002-11-15 Thread Chris Nandor
In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (David Wheeler) wrote:

> In the location bar. If I understood Ken's post, that's what Omniweb 
> does, and IIRC, Mozilla can do this, too.

Yes, I do it in Mozilla.  I make a bookmark for the CPAN with this URL:

   http://search.cpan.org/search?query=%s&mode=all

I then enter "cpan" in the keyword field for that bookmark's Properties 
window, and then I can type:

   cpan Mac::Carbon

in the location field.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: OS X: iTunes to HTML, by yours truly

2002-11-15 Thread Chris Nandor
In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (_brian_d_foy) wrote:

> > My biggest problem wasn't
> > installation, but the sheer amount of dependencies - something like 20
> > additional modules needed just for an iTunes parser? 
> 
> it's not just an iTunes parser.  i only have about 7 explicit dependencies, 
> and
> most of those are only for testing.   the bit that does the parsing has one
> dependency - MP3::Info.

Heh, and the reason he is using your iTunes module is because of problems he 
had with MP3::Info.  :-)  I've narrowed down the problem somewhat, but won't 
get to look into it closely for a little while.  Something about converting 
SoundJam ID3v2 tags to ID3v2.4.0 in iTunes; either I got something wrong, or 
Apple did.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: OS X Installed numbers (Was Re: mac-toolbox)

2002-11-15 Thread gregor420
Well, I for one, use Maya from SGI|Alias|Waefront - and it doesn;t 
support 10.2 - there are a number of dialog boxen which get very screwed 
up by it.

Are there any other packages which work under 10.1- & not in 10.2+ ?

Certainly some of the shareware stuff like fruitmenu & windowshade have 
different versions...

From a developer's view are there any commonly known gotchas to look for?

On Thursday, November 14, 2002, at 05:44 PM, Phil Dobbin wrote:




--
From: 	Phil Dobbin[SMTP:[EMAIL PROTECTED]]
Sent: 	Thursday, November 14, 2002 5:44:56 PM
To: 	David Wheeler; Ken Williams
Cc: 	Rich Morin; Mac OS X Perl
Subject: 	Re: OS X Installed numbers (Was Re: mac-toolbox)
Auto forwarded by a Rule


On 14/11/02 1:05, "David Wheeler" <[EMAIL PROTECTED]> wrote:


On Wednesday, November 13, 2002, at 04:27  PM, Ken Williams wrote:


 2) High-end users who are dying to switch, but need to wait until
their software is properly supported, or until they can properly do a
massive switchover of technologies in their business


You can probably blame Quark for about 90% of this. They're *really*
far behind updating QuarkXPress to Mac OS X, and they still pretty well
own the professional design layout market.


This is especially true here in the U.K. The overwhelming majority of 
Mac
users here are in the design/bureaux/newspaper business and won't touch 
OS X
with a bargepole exclusively because of Quark.

There are hopes that OS X may eat into the Oracle/Unix/db market but 
it's a
*very* long shot. Local Perl Monger groups are reporting lay offs and 
the
vast majority of _them_ are Windoze users.

Switch, whether from Mac OS 9 or Win32, definitely ain't happening 
here :-(

Regards,

Phil.





Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread Chris Nandor
In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Heather Madrone) wrote:

> At 09:45 PM 11/14/2002 -0500, Kee Hinckley wrote:
> Two possibilities.
> 
> >1. You're used to some version of make which does cpan installs?
> >
> >sudo perl -MCPAN -e shell
> >install xxx
> 
> I'm used to ActivePerl's ppm, which looks and feels a lot like ftp.
> No need to make anything.  Unix-style makefiles are not common
> on Windows these days.

In fairness, this is because Windows developers/users essentially gave up 
trying to get stuff to build, and instead distribute prebuilt binaries.  
We've not yet gotten to that point on Mac OS X, because for the most part, 
as long as you have the most recent developer tools, it Just Works.


> >More to the point though, if you haven't installed the developer package, 
> >you don't have a make at all--that may be your problem.
> 
> Which developer package would that be?

The Developer Tools CD.  It comes with standalone copies of Mac OS X, as 
well as most "pro" line computers (including the PowerBook).  If you don't 
have it, check /Applications/Installers/.

Also, look to http://connect.apple.com/ and get a free ADC account, so you 
can download all the latest Developer Tools disk images when they are 
released.

I understand part of your frustration, but as far as development goes 
(sorry, not much that I know of that can be done about network disks not 
cleanly unmounting; I have similar problems that I learn to deal with in 
various ways ... sometimes force-relaunching the Finder helps, sometimes 
not), if you stick with it, I think you'll find it in the end to be more 
rewarding than Microsoft (unless you really like the GUI development tools 
that are more scarce on Mac OS X).

Good luck,

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: Apache2

2002-11-15 Thread Chris Nandor
In article 
,
 [EMAIL PROTECTED] (Terje Bless) wrote:

> John Delacour <[EMAIL PROTECTED]> wrote:
> 
> >Unfortunately, nor will Apache2 on this machine.  If I turn off web
> >sharing I can't connect to localhost at all.
> 
> The Web Sharing Pref also appears to toggle the Firewall (next tab over)
> access to port 80. If that helps you any...

If you do have the firewall on, you can also manually add access to port 80 
in that Firewall settings.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread Kee Hinckley
At 11:05 PM -0800 11/14/02, Heather Madrone wrote:

 >More to the point though, if you haven't installed the developer 
package, you don't have a make at all--that may be your problem.

Which developer package would that be?

The developer install CD.  It comes with the OS purchase.  I don't 
know if comes standard with every machine or not.  It has the 
compiler and all the other tools on it.
--

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more; that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.


Re: OS X Installed numbers (Was Re: mac-toolbox)

2002-11-15 Thread Peter N Lewis
At 7:58 -0500 15/11/02, [EMAIL PROTECTED] wrote:

Well, I for one, use Maya from SGI|Alias|Waefront - and it doesn;t 
support 10.2 - there are a number of dialog boxen which get very 
screwed up by it.

Are there any other packages which work under 10.1- & not in 10.2+ ?

Yes, there have been quite a number of programs with problems under 
10.2, I don't have any particular gotchas, but lots of programs 
required updating for 10.2.

Enjoy,
   Peter.

--
  


Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread Jonathan King

On Fri, 15 Nov 2002, Kee Hinckley wrote:

> At 11:05 PM -0800 11/14/02, Heather Madrone wrote:
> >  >More to the point though, if you haven't installed the developer 
> >package, you don't have a make at all--that may be your problem.
> >
> >Which developer package would that be?
> 
> The developer install CD.  It comes with the OS purchase.  I don't 
> know if comes standard with every machine or not.  It has the 
> compiler and all the other tools on it.

On new machines (I think at least since August), the Developer tools 
are actually on the disk of your machine, just not installed.  What
you're looking for is:

   /Applications/Installers/Developer\ Tools/Developer.mpkg

Double-click, and, voila! Instant developer's tool goodness. :-)  
(Somebody else alluded to this in a previous message, but I know I 
personally didn't catch on to this until somebody made it reaaally
clear that they were all there, no CD needed for a new Mac.

jking





Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread William H. Magill
On Friday, November 15, 2002, at 02:05 AM, Heather Madrone wrote:

More to the point though, if you haven't installed the developer 
package, you don't have a make at all--that may be your problem.

Which developer package would that be?


As others have mentioned, it is the Developer Tools CD. You cannot 
build any code on Mac OS X without it. It is the same as with Solaris 
-- the shipped OS is intended for end users only, programmers must 
install all of the necessary "make" tools independently.

It creates a Directory: "/Developer" which contains a wide variety of 
tools, documentation and examples.

Mac OS X Development is keyed around a tool called Project Builder -- 
an Object Oriented tool. From the little I know of Windows development, 
there is nothing like it even under the C#  world which comes closest 
to it. Unix has had similar commercial development tools (often called 
CASE tools), but sadly, virtually nobody uses them, that's why the 
concept of Object Orient Programming is so foreign to Unix people. 
There is no "Open Source" equivalent.

If you want to develop multi-platform, you need to use an environment 
like "Code Warrior."

If you want to develop for Unix(tm), I would recommend using a platform 
like Tru64 Unix, as it will teach you what Standards really mean. Just 
because it was developed and runs on Sun, usually means it won't run 
anywhere else. AND your code really will be 64-bit clean. (Actually the 
latest version of AIX is probably, finally, forces 64-bit clean also. 
Solaris and HP-UX still have a release or two to go. IRIX is also, but 
nobody uses IRIX anymore than they use Tru64... sigh.)

But once you understand the Unix Standards and understand how BSD 
deviates from them, OS X is undoubtedly the most user-friendly (and 
secure) unbranded version of "Unix(tm)" floating around today.

I've been playing with Unix since the 70s on hardware from PDPs to 
Univac 1100s and aside from the OSF/1 version (Tru64, Unix) have not 
found any other Unix even half as good as OS X. Especially now that the 
"personal productivity" applications exist so that I don't need two 
boxes for daily use.

There is a CD available from BSD Mall (www.bsdmall.com) which contains 
a bunch of Unix Utilities for OS X -- mainly pre-compiled versions of 
Xfree, OroborOSX, Open Office, Gimp and similar tools -- if you want 
"instant gratification," instead of building them yourself.

T.T.F.N.
William H. Magill
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: locale in carbon emacs

2002-11-15 Thread William H. Magill
On Friday, November 15, 2002, at 01:59 AM, Heather Madrone wrote:

Anyway, what has been frustrating you about the powerbook?
Anything this list can help with or be interested in?


Probably not.  As an example, the Powerbook locks up the current 
application
and refuses to shut down if a Windows network disk has gone offline.   
That's
well beyond the scope of this list.

This list wanders as do all such lists but consider the 
MacOSX-admin mailing list:
[EMAIL PROTECTED]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

This behavior is not unusual for network apps... most are written under 
the assumption that the Network and the file-store will "always be 
there." You know, people believe the admonition "The Computer is the 
Network." In an effort to be "user friendly" the apps keep retrying 
long after they should give up. It's not normally a bug, but rather a 
point of view. NFS does the same thing.

However, you should be able to force quit without much problem -- (aka 
kill -9) -- under the Apple Menu it's almost always available. Or can 
be called up via "Command+Option+Escape." Or you can always kill it 
from the command line in Terminal.

T.T.F.N.
William H. Magill
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]



Darwin darwin or darwin6.0

2002-11-15 Thread Doug McNutt
What is the "official" name of the operating system under MacOS neXt?

Where does perl get it?

I need it so that I can write perl and shell scripts that can be tested on a Mac and 
then run under Solaris. I solicit comments on the most reliable way to keep things 
working at least until next week.

>From Terminal or a BBEdit window:
echo $OSTYPE
darwin

>From within a cron job: 
echo $OSTYPE >> $HOME/bin/cronlog
darwin6.0
uname >> $HOME/bin/cronlog
Darwin

>From perl executed from terminal:
print $^0 --> darwin

>From perl executed from cron:
print $^0 --> darwin

>From a BBEdit worksheet or from terminal:
perl -e 'print `uname`;'
Darwin

Using bash:
if [ $(uname) = Darwin ] ; then
works. Note the capital D. It fails with darwin.
-- 

Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.



deprecated?

2002-11-15 Thread Deshazer, Earl (GEAE)
what does the word deprecated mean as it relates to an array or hash. I have
gotten this error before and I don't know how to correct it. Thanks.

William DeShazer



RE: deprecated?

2002-11-15 Thread wiggins
deprecated is a general word for any programming language, OS, etc. that indicates 
that a particular functionality is no longer suggested for new use but that it will 
still work for indeterminate amount of time, and that at some point in the future it 
will no longer work.

In the case of arrays, the one time I have seen it is when using if(defined(@array)) 
which is the same as just saying if(@array) and taking the scalar as true or false. 
This is deprecated because the second method is preferable anyways, but it still works 
everywhere that warnings or strict is not on.

To which particular instance were your referring?

http://danconia.org



On Fri, 15 Nov 2002 14:45:00 -0500, "Deshazer, Earl (GEAE)" <[EMAIL PROTECTED]> 
wrote:

> what does the word deprecated mean as it relates to an array or hash. I have
> gotten this error before and I don't know how to correct it. Thanks.
> 
> William DeShazer
> 



Re: locale in carbon emacs (was: OS X Installed numbers (was: mac-toolbox))

2002-11-15 Thread Kee Hinckley
At 10:36 AM -0500 11/15/02, William H. Magill wrote:

If you want to develop for Unix(tm), I would recommend using a 
platform like Tru64 Unix, as it will teach you what Standards really 
mean. Just because it was developed and runs on Sun, usually means 
it won't run anywhere else. AND


Not to start a battle.  But standards (especially in the Unix space) 
have never mattered as much as market share.  And I've served on my 
share of standards boards.  The main issue is that they seldom 
specify enough to do anything useful.  By the time it's a standard 
everyone's already using some new technology that isn't a standard 
yet--and is implemented differently on different platforms.  I think 
one of the big benefits of Open Source has been the resulting defacto 
standardization of Unix.  Sure, you could implement a different 
variation of the same technology--but why bother.

I do all my Unix development on my Powerbook.  It's been a god-send. 
I can work anywhere, and I get the Mac GUI side of things that I've 
been using for years, along with all the Unix stuff I've been using 
for even longer.

Currently, most of my code ends up actually deployed on Linux or 
FreeBSD systems.  Although I intended to migrate my Linux servers to 
MacOS X eventually--it's just much easier to keep upgraded and backed 
up.

--

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/

I'm not sure which upsets me more; that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.


RE: deprecated?

2002-11-15 Thread Deshazer, Earl (GEAE)
I believe that you hit it on the head. 
The most recent instance that I have seen it is in a file called MONLIB.pm,
which someone else wrote (although I have done the same thing). So you answered
my question. Thanks for your help.

William
-Original Message-
From: [EMAIL PROTECTED] [mailto:wiggins@;danconia.org]
Sent: Friday, November 15, 2002 2:50 PM
To: Deshazer, Earl (GEAE); '[EMAIL PROTECTED]'
Subject: RE: deprecated?


deprecated is a general word for any programming language, OS, etc. that
indicates that a particular functionality is no longer suggested for new use but
that it will still work for indeterminate amount of time, and that at some point
in the future it will no longer work.

In the case of arrays, the one time I have seen it is when using
if(defined(@array)) which is the same as just saying if(@array) and taking the
scalar as true or false. This is deprecated because the second method is
preferable anyways, but it still works everywhere that warnings or strict is not
on.

To which particular instance were your referring?

http://danconia.org



On Fri, 15 Nov 2002 14:45:00 -0500, "Deshazer, Earl (GEAE)"
<[EMAIL PROTECTED]> wrote:

> what does the word deprecated mean as it relates to an array or hash. I have
> gotten this error before and I don't know how to correct it. Thanks.
> 
> William DeShazer
> 



Re: Darwin darwin or darwin6.0

2002-11-15 Thread Chris Nandor
In article ,
 [EMAIL PROTECTED] (Doug McNutt) wrote:

> What is the "official" name of the operating system under MacOS neXt?

darwin.


> Where does perl get it?

Lowercase uname, same as most (but not all) OSes.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Development Network[EMAIL PROTECTED] http://osdn.com/



Re: Apache Question

2002-11-15 Thread Puneet Kishor

On Friday, November 15, 2002, at 10:49  PM, Mark S Lowe wrote:


If one goes with a normal Jag install, where the heck is Apache 
installed? I've been using mine and installing modules, and now I need 
to install mod_perl, and I can't find it.


on a normal OS X install --

conf files are located under /etc/httpd
httpd, the actual binary is under /usr/sbin
log files are under /var/log/httpd

if you need to install mod_perl you will have to roll your own Apache, 
because the stock Apache that comes with OS X doesn't include its 
source code. If you do that, you would be well advised to leave Apple's 
Apache alone, and install yours in /usr/local/apache or something like 
that.

you would do well to read David Wheeler's most excellent article on 
building your own Apache with mod_perl published recently at 
http://www.macdevcenter.com/pub/a/mac/2002/11/05/apache_osx.html

I am cc-ing this to the [EMAIL PROTECTED] list so others may benefit as 
well.

thanks.

Puneet.