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=%smode=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 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: 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.

--
http://www.interarchy.com/  http://download.interarchy.com/


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]



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.



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 p05100307b9fad2141fb6@[192.168.1.14],
 [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/