Re: SQLite over MySQL?

2011-12-29 Thread Randal L. Schwartz
the thing to set up. At a minimum, if you need MySQL, install MariaDB. If you need an actual database, consider whether SQLite will do, or whether you need more power, in which case, install PostgreSQL. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.

Re: SQLite over MySQL?

2011-06-23 Thread Randal L. Schwartz
ot;fred"). There is no longer a gap between SQLite and PostgreSQL that MySQL could fill nicely, as it had in the past. They overlap in the middle. MySQL should not be used for new starts. Or, as I say, "Friends don't let friends use MySQL". -- Randal L. Schwartz - St

Re: Is there a True Boolean type in Perl?

2007-10-16 Thread Randal L. Schwartz
olean forces scalar context, and the scalar version of () is simply undef, which you've already listed. Unless you also want to add (undef) or (0) or ("") to your list as well, which are just as false, and for the same reason. :) Yes, I know the third edition of the camel added t

Re: Leopard Perl version...

2007-10-13 Thread Randal L. Schwartz
>>>>> "Borys" == Borys Sobieski <[EMAIL PROTECTED]> writes: Borys> I just checked it on Leopard Developer Preview Build 9A559 and it is Borys> Perl Ver. 5.8.8 This post is likely to be a violation of your NDA, is it not? Good luck getting your AD

Re: Formatting uploaded images

2006-02-15 Thread Randal L. Schwartz
>>>>> "(Randal" == (Randal L Schwartz) writes: (Randal> No, you do that on your computer, *before* you upload. So the ISP (Randal> doesn't care about it, because it's your machine. :) Argh. Always read *all* the message before posting. Ignore

Re: Formatting uploaded images

2006-02-15 Thread Randal L. Schwartz
ss of convincing them to install a module, is Moisés> there anyway of doing it without a module? No, you do that on your computer, *before* you upload. So the ISP doesn't care about it, because it's your machine. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: xml::simple and "does not map to Unicode" infinite loop

2005-12-28 Thread Randal L. Schwartz
aps the document is latin-1, but you don't have the right charset header. XML is presumed utf-8 unless otherwise stated. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writi

Re: eval a string with a hash ref?

2005-11-15 Thread Randal L. Schwartz
eir David> removal breaks anything :-) Even if you fix yours, CGI.pm will live on as a public example of how twisted code can get over the years. :) See the horrors of &self_or_default, but only when properly prepared to flush your mind later. -- Randal L. Schwartz - Stonehenge Consulti

Re: eval a string with a hash ref?

2005-11-12 Thread Randal L. Schwartz
>>>>> "Ken" == Ken Williams <[EMAIL PROTECTED]> writes: Ken> You want: Ken> eval "$subroutine_name(\$hashref)"; Only if you also want "slow" and "dangerous'. See the other answers in this thread for safer faster solutio

Re: psync backup problems: suggestions?

2005-07-12 Thread Randal L. Schwartz
a fix for it. Joseph> So we don't have the option of using psync. I'm still using psync every day on Tiger. What are you saying? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical

Re: psync backup problems: suggestions?

2005-07-10 Thread Randal L. Schwartz
his presumably also includes the extended-access lists which psync won't handle. Now to spend a few hours reverse engineering carbon-copy-cloner so that I can ensure that I'm copying only the stuff that doesn't get cleared on reboot anyway... -- Randal L. Schwartz - Stonehenge Consulti

Re: Flat file being "Scrambled"

2005-06-16 Thread Randal L. Schwartz
>>>>> "Mark" == Mark Wheeler <[EMAIL PROTECTED]> writes: Mark> Hi, Mark> Sorry, I don't understand. What's my breakage? Should I not use "flock"? You should use "flock", but properly. :) google for "site:stonehenge.com

Re: Flat file being "Scrambled"

2005-06-15 Thread Randal L. Schwartz
>>>>> "Mark" == Mark Wheeler <[EMAIL PROTECTED]> writes: Mark> open (FILE, "> $pathtodatafile") || die ("Cannot open file"); Mark> flock (FILE, 2); 0wn3d! That's your breakage. Once in a blue mooon, you'll kill your entire d

Re: CamelBones on Intel? Maybe not.

2005-06-07 Thread Randal L. Schwartz
my Cocoa program that happens to have Perl for its wiring, I can't presume whether the downloader has X86 or PPC needs. That is, it would make Perl-based programs require two versions, while Objective C or Java programs be fat binaries. That'd look "odd" in the marketplace. --

Re: CamelBones on Intel? Maybe not.

2005-06-07 Thread Randal L. Schwartz
as Glue on OSX", and I drool over CamelBones. I'll let you know if my drool is appropriate after wednesday. It'll be interesting to see if the comments in the room reflect the desire for Perl-wired Cocoa apps or not. In fact, the first thing I thought after hearing about the x86 annou

Re: BOF at WWDC?

2005-05-31 Thread Randal L. Schwartz
>>>>> "Rich" == Rich Morin <[EMAIL PROTECTED]> writes: Rich> Would anyone be interested in attending a Perl BOF at WWDC? Is Rich> there something like this already in the works? There's certainly my "lunch" on wednesday which qualifies lo

Re: Sorting a more efficient way

2005-03-10 Thread Randal L. Schwartz
chomp; David> my @row = split(/:/, $_); David> [EMAIL PROTECTED], ParseDate($row[3])]; # pass out an array of the @row David> and dates to compare David> } @current_deals; Just another sorting expert, :) -- Randal L. Schwartz - Stonehenge Con

Re: First CGI Setup

2005-03-10 Thread Randal L. Schwartz
## default is deny ProxyVia On CacheRoot "/private/var/run/proxy" CacheSize 5 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.1 CacheDefaultExpire 1 -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 009

Re: Any GUI tools that can set execute bit?

2005-03-04 Thread Randal L. Schwartz
>>>>> "Tommy" == Tommy Nordgren <[EMAIL PROTECTED]> writes: Tommy> Are there any Graphical User Interface Tools that can set the Tommy> executable bits in the file info on disk? GNU Emacs is a GUI tool that... Nevermind, wrong thread. -- Randal L. Schw

Re: What Perl editor do you recommend?

2005-03-04 Thread Randal L. Schwartz
I suppose if you edit for only 15 minutes a day, you could afford to learn only as much as a GUI editor will let you do. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: What Perl editor do you recommend?

2005-03-03 Thread Randal L. Schwartz
g, and integrates well with the command-line Ian> perl - you can set a keyboard shortcut to run scripts & check their Ian> syntax, and you can write filters and other scripts in perl. Pretty Ian> sweet for a free product. Again, if you keep pushing "free", I'm goi

Re: What Perl editor do you recommend?

2005-03-03 Thread Randal L. Schwartz
it remote files with Peter> TextWrangler/BBEdit. And of course Emacs can do this as well. For a very long time. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy,

Re: TextWrangler

2005-01-20 Thread Randal L. Schwartz
>>>>> "Chris" == Chris Nandor <[EMAIL PROTECTED]> writes: Chris> And it handles all the same Perl stuff as its bigger sibling: syntax Chris> coloring, running scripts, filters, debugging, viewing POD, etc. Oh, just like Carbonized Emacs? :-) -- Randa

Re: [OT] Text Editor for OSX

2004-10-05 Thread Randal L. Schwartz
h pretty good already. And there's been some good third-party books as well. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. et

Re: [OT] Text Editor for OSX

2004-10-04 Thread Randal L. Schwartz
an one and a half hours of your time Ken> to write something better for your needs than BBEdit? Hell, Emacs is Free. How long do you have to work to write an editor better than emacs, making no money doing it? :-) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Re: Basic question

2004-05-23 Thread Randal L. Schwartz
rams while cd'ed to /usr/bin, it's not gonna do much good. The #! line does *not* look at PATH. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing

Re: psync is backing up files that I don't use

2004-05-21 Thread Randal L. Schwartz
Joseph> have any comments Joseph> on why this stuff may be changing? Unfortunately, symbolic links on an HFS+ filesystem always come back with a mod-time of "now", so the timestamp is useless. psync seems to have to always transfer every symbolic link every time. -- Randal L.

Re: Suggested version for Mac OS X.2?

2004-04-17 Thread Randal L. Schwartz
s. Hardcore trailing edge adopters are still using Perl4 (which is also an even number :). -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: [OT] slice vs. splice

2004-04-16 Thread Randal L. Schwartz
he not-really-topical noise.) Well, according to the blding edge Perl 5.8.4-rc2 docs: <http://search.cpan.org/~nwclark/perl-5.8.4-RC2/pod/perldata.pod#Slices> it's still firmly in there. I suspect it won't ever go away. There's slice notation already in Perl6.

Re: Affrus PLUS Perl/TK

2004-03-11 Thread Randal L. Schwartz
>>>>> "Bohdan" == Bohdan Peter Rekshynskyj <[EMAIL PROTECTED]> writes: >> Last version of Tk I tried built out of the box. Bohdan> Do you mean you downloaded this from CPAN or somewhere? Yes: perl -MCPAN -e 'install "Tk"' -- Randal

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
over it Randall, this is the best place to post it. Get over it, Rick. No, it's not. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
27; just because it is Wiggins> commercial... He can set up a web page, make sure google reads it, and send it to the various OSX search engines. Just like any other commercial product. That there is not a *commercial* announce list for Perl OSX is not my problem. Nor would I subscribe

Re: Perl/TK (Was: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
ich works fine) is: ./Configure -des -Duseshrplib -Dusedevel -Uversiononly -Dprefix=/opt/perl/snap -Dlocincpth=/sw/include -Dloclibpth=/sw/lib [EMAIL PROTECTED] But beware, I'm installing into /opt/perl/snap (for snapshots). -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1

Re: Unwelcome product announcement

2004-03-11 Thread Randal L. Schwartz
machine administrated by Ask (if I recall), on a domain owned by the non-profit charitable TPF. You don't get to use someone else's bullhorn to announce your product. *That's* common sense. I came here for technical discussions of open-source software related to Perl on OSX. Not t

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
until one or both of those entities have declared contrary ground rules, and continue to object to such postings until being told otherwise by someone with authority. Without such a stand, we enter a slippery slope. It's the same reason I permit *no* commercial postings to comp.lang.perl.an

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
the machines owned and operated by the Perl Foundation and other volunteers".) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
familiar with the ways and means of Internet Email Lists. No commercial promotions. That's spam. It's unwanted. But a concession for the 4-lines of a .sig block has always been granted. Hence, my contact info. Now, if I repeatedly posted null messages just so that my .sig was in eve

Re: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Randal L. Schwartz
verts. Seriously. No place for them here. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Tk::Zinc

2004-02-29 Thread Randal L. Schwartz
Anyone gotten Tk::Zinc to build on OSX? It doesn't built for me... no matter what options I give it, it wants to include "GL/mumble.h", which I don't have anywhere. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]>

Re: Using <> on non-filehandles

2003-10-21 Thread Randal L. Schwartz
terature on it (including a forthcoming book), and a very active support community. If you don't choose TT, you lose that leverage. (I could make the same argument for HTML::Mason as well.) Please, carefully consider what you're giving up by starting from scratch. -- Randal L. Sch

Re: XML::LibXML on Jaguar?

2003-03-17 Thread Randal L. Schwartz
nique he would appreciate the info. Huh? Works fine for me, but I'm using Perl5.8.0 instead. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing

Re: A Wheeler by anyother name...

2003-03-16 Thread Randal L. Schwartz
The rest is between them. For clarification, the "this isn't acceptable" was Puneet's reposting of my private mail to the list, not the fact that I sent a private message. Correct? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMA

Re: A Wheeler by anyother name...

2003-03-14 Thread Randal L. Schwartz
>>>>> "Puneet" == Puneet Kishor <[EMAIL PROTECTED]> writes: Puneet> Randal L. Schwartz wrote: >>>>>>> "Puneet" == Puneet Kishor <[EMAIL PROTECTED]> writes: >>>>>>> >> Puneet> I was looking for m

Gtk 0.7008 doesn't build on Darwin/OSX

2003-03-11 Thread Randal L. Schwartz
rectory when you are building, or give an explicit path with -o. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stone

Re: Problem with Compress::Zlib on OS -X 10.2.3

2003-03-03 Thread Randal L. Schwartz
ystem. # Try removing the one you don't want to use and rebuild. Ahh... and that's an obsolete fink package... (rebuilding...) And now it works fine. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/

Evil undocumented Apple commands (was Re: Non-Perl but baffling question)

2003-02-26 Thread Randal L. Schwartz
r Macintosh powerpc Right. Where's the table that maps "6.4" into 10.2.4? Where? At least that applescript call was documented. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Per

Re: OT: macosx list?

2003-02-11 Thread Randal L. Schwartz
c. Riccardo> Does anybody know where to find one? I'm subscribed to the first three lists at <http://www.omnigroup.com/developer/mailinglists/>, and they seem to be fairly good and broadly served by experts. Flame wars erupt about every two weeks, and the moderator is proactive. -

Re: Mac OS X client and #perl

2003-01-24 Thread Randal L. Schwartz
>>>>> "Brad" == Brad Hughes writes: Brad> Semi-off topic... What IRC client are people here using, and Brad> which IRC servers do perl folk inhabit? irc.el :) (IRC inside gnu emacs) and #perl on rhizo -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: XML-LibXML

2003-01-17 Thread Randal L. Schwartz
Web site: http://www.xmlsoft.org/ . Maintainer: Max Horn <[EMAIL PROTECTED]> [localhost:~] merlyn% So, I have 2.4.30 working just fine. Fink Rules. Get Fink. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://

Re: Dec 2002 Dev Tools

2002-12-23 Thread Randal L. Schwartz
n stuff like that. Like when I walk in to a movie theatre, I always pick the furthest door, figuring that my ease of finding a decent seat near the aisle that's less chosen is more likely. Most people seem lazy. That's good for Perl. :) -- Randal L. Schwartz - Stonehenge Consultin

Gtk broken on darwin

2002-12-11 Thread Randal L. Schwartz
hey either specify a -o explictly, or so that they expect the .o in the current directory (which breaks it for non-darwin, I suspect :). I'm cc'ing the Perl-on-OSX list so that others can be aware as things are being tested on and ported to OSX. -- Randal L. Schwartz - Stonehenge Consulti

Re: Darwin darwin or darwin6.0

2002-11-18 Thread Randal L. Schwartz
;after-market" observations of the data. DO NOT EDIT Config.pm Rebuild Perl instead. It's Free. It's Easy. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulti

Re: ImageMagick, PerlMagick, and OSX web server

2002-11-03 Thread Randal L. Schwartz
>>>>> "Randal" == Randal L Schwartz <[EMAIL PROTECTED]> writes: Randal> Now here's the kicker. To install PerlMagick, you CANNOT INSTALL IT Randal> FROM THE CPAN. I don't even know why they bother putting it there. Randal> It's just con

Re: ImageMagick, PerlMagick, and OSX web server

2002-11-03 Thread Randal L. Schwartz
.n.n-n.tar.gz; cd Image*" 6) "perl Makefile.PL; make all install" 7) "cd; rm -rf Build" There. Works for me, nearly every time. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: CPAN now

2002-10-27 Thread Randal L. Schwartz
t the "cpan_home" option Sherm> this way, it always reverts back to the old value the next time I run Sherm> cpan - I don't know why. Because it's supposed to work that way. If you want to make them permanent, "o conf commit". -- Randal L. Schwartz - Stonehe

Re: arbitrarily complex variables

2002-09-25 Thread Randal L. Schwartz
ier with use Data::Dumper; use HTML::Entities qw(encode_entities); ... print "".encode_entities(Dumper($HoHoHo)).""; Unless you happen to be blessed with no less-thans or ampersands in your data. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503

Re: AppleScript to Perl w/SOAP

2002-09-25 Thread Randal L. Schwartz
use he wanted to (and not getting credit Bradley> otherwise), and the heros of the book happened upon it. Hard to Bradley> explain, read the books by Douglas Adams and wave your towel. Explained better than I could. Thanks! -- Randal L. Schwartz - Stonehenge Consulting Services, I

Re: AppleScript to Perl w/SOAP

2002-09-22 Thread Randal L. Schwartz
else a little messed up? That is *all* one line, you know. Here's what "the result" shows for me when I run this: set output_file to (path to temporary items folder as string) & "fetch_headlines.html" output_file in the AS editor: "Randal800:priva

Re: AppleScript to Perl w/SOAP

2002-09-22 Thread Randal L. Schwartz
t's not my impression at all. I don't retain copyright for any of the 150+ articles I've written, nor any of the books I've done for O'Reilly. And yet my name is on all of them. A "work-for-hire" means it's not yours anymore. It's up to the contract to decide

Re: AppleScript to Perl w/SOAP

2002-09-22 Thread Randal L. Schwartz
ays of getting our signatures in the book somehow. One time, I stuck it in the ASCII values of a string that appears only in hex, for example. And as we saw in this thread, the phrase "I nearly always start my programs with these lines" was enough to give me away on this one. -- Rand

Re: AppleScript to Perl w/SOAP

2002-09-21 Thread Randal L. Schwartz
://www.stonehenge.com/merlyn/WebTechniques/ don't forget my other articles at http://www.stonehenge.com/merlyn/UnixReview/ and http://www.stonehenge.com/merlyn/LinuxMag/ The biggest challenge I face each month is "what haven't I written about ALREADY in 150 columns?&qu

Re: AppleScript to Perl w/SOAP

2002-09-21 Thread Randal L. Schwartz
ors. Ken> Are the articles in this series (like Morbus' previous one on Ken> installing 5.8.0) generally written by outside people? Dunno. I know mine was written by me. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http:

Re: AppleScript to Perl w/SOAP

2002-09-21 Thread Randal L. Schwartz
And if you have any suggestions for anything else, please let me know! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTrain

Re: 5.8.0, dyld, and mod_perl?

2002-07-25 Thread Randal L. Schwartz
./Configure -des -Dusedevel -Uversiononly -Dprefix=/opt/perl/snap -Dccflags=-I/sw/include -Dldflags=-L/sw/lib [EMAIL PROTECTED] And this nicely puts everything in /opt/perl/snap/{bin,lib,man}/*. Note the extra dirs for /sw: that's so I pick up things from fink. -- Randal L. Schwartz - St

Re: about .command and .term

2002-07-15 Thread Randal L. Schwartz
arles> to keep them clear by their titles. Oooh. S3kr3t Mag1c instructions! Where is this documented? That's part of what frustrates me the most about OSX. It's like OS9... people pass around folklore instead of being able to just say "man foo" as on "real unix"

one try at backup down, more to go, I hope

2002-07-15 Thread Randal L. Schwartz
n't recall that being the case before. So, now I guess I'll order Restrospect 5 and hope it gets here quickly, since I'm supposed to be on my new laptop by the weekend. :( And I hope *that* works. Just sign me "frustrated", -- Randal L. Schwartz - Stonehenge Consulting Se

Re: looking for backup solution...

2002-07-12 Thread Randal L. Schwartz
resource forks. At least, in my testing, it looked like "ditto" *always* copies, wasting a lot of time if mirroring to an existing archive. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/

Re: looking for backup solution...

2002-07-12 Thread Randal L. Schwartz
gt; since gnutar doesn't know from resource forks: Adam> find [targetdir] \( -type f -and -exec test -s Adam> \{\}\/..namedfork\/rsrc \; \) -print That's expensive. How about (since this *is* the Perl on OSX list): find2perl /Dir -eval '-f and -s "$_/..namedfork/rsrc&q

Re: looking for backup solution...

2002-07-11 Thread Randal L. Schwartz
ssing something, though. psync doesn't do what is recommended in "Carbon Copy Cloner". See http://www.bombich.com/mactips/image.html for the details. I don't see anything in psync that does all the exceptions noted there. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc.

Re: looking for backup solution...

2002-07-11 Thread Randal L. Schwartz
hem demanding it, since rsync is gnu, I believe. And, how dare they install third-party stuff into /usr/bin! Evil. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/secur

Re: looking for backup solution...

2002-07-11 Thread Randal L. Schwartz
a clone of my disk that I could clone once more and still end up with a system as identical as possible to the original disk. Oh, and not copy EVERY ONE of the 40G of files everytime I want to backup. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PR

looking for backup solution...

2002-07-11 Thread Randal L. Schwartz
at works like "Retrospect Duplicate", but understands the weird-ass links that OSX has and needs! What are the rest of you doing? Is anyone even backing anything up? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]>

Re: 5.8.0 RC 1/2

2002-06-26 Thread Randal L. Schwartz
>>>>> "Iudicium" == Iudicium Ferat <[EMAIL PROTECTED]> writes: Iudicium> On Friday, June 21, 2002, at 08:10 PM, Randal L. Schwartz wrote: >> >> Yes, bleedperl for me worked, even with the latest Apache and mod_perl. >> Iudicium> Even wi

Re: 5.8.0 RC 1/2

2002-06-21 Thread Randal L. Schwartz
n OS X). It's a lot better than 5.6.1, Chris> you don't have to do anything special. Yes, bleedperl for me worked, even with the latest Apache and mod_perl. Cool. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.

Re: FYI: Successful Install of Perl 5.8.0 RC 1 + Apache 2.0.36 + ModPerl-2.0 on OSX 10.1.4

2002-06-13 Thread Randal L. Schwartz
still using UFS for slash. Adobe products (so called "carbonized" latest releases of things like Illustrator and so on) won't install. Durn. Stupid Adobe. "Compatible with OSX" on the box, but it isn't. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc

Re: FYI: Successful Install of Perl 5.8.0 RC 1 + Apache 2.0.36 + ModPerl-2.0 on OSX 10.1.4

2002-06-13 Thread Randal L. Schwartz
amed "install" in the default makefile? No, it tries to "make" a file named "install", but there's already one, so it's done! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.

Re: Getting the path of a running process from OS X Perl

2002-05-12 Thread Randal L. Schwartz
r" to open application file id "CWIE"'); Maybe I don't quite understand AppleScript entirely yet, but isn't that the same as: system "osascript", "-e", 'tell application file id "CWIE" to open'; ? -- Randal L. Schwartz -

Re: Getting the path of a running process from OS X Perl

2002-05-12 Thread Randal L. Schwartz
; `" ); Gah. That's about four levels too deep. Maybe that was a joke. If not, this is simpler: my $path = `osascript -e 'tell application "Finder" to get name of application file id "CWIE"'`; -- Randal L. Schwartz - Stonehenge Consulting Servi

get_statfs with Inline::C

2002-04-16 Thread Randal L. Schwartz
rst time it compiled. (I won't tell you how many tries I had to do to get it to compile. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: Documentation Issues - was Re: [Way OT] mod_perl stopped working...

2002-04-15 Thread Randal L. Schwartz
oal for Learning Perl has always been "how do you spend your first 40 hours with Perl (provided you already program some other algorithmic language)?". It matches what we teach in class, so we're pretty confident about amount and pace. Now, the next step would be to write a book th

Re: mod_perl stopped working...

2002-04-15 Thread Randal L. Schwartz
>>>>> "Bill" == Bill -Sx- Jones <[EMAIL PROTECTED]> writes: Bill> Merlyn, you must have thought they were 'enjoyable' as well, once upon a Bill> time... Yes, and seeing the damage that is done, I've since repented. I now sell code review

Re: mod_perl stopped working...

2002-04-13 Thread Randal L. Schwartz
job done with Perl and help others do the same. You are *not* an outsider because you do not know how to *abuse* the language. That line of code is language abuse! Just say *no* to Perl Golf and ObfuPerl and JAPHs. Please! {sigh} Just another guy who is sorry he started the whole JAPH thing,

Re: Stored regex substitutions

2002-03-21 Thread Randal L. Schwartz
$data, " replaced!\n"; Tim> }else{ Tim> print $data, " failed to replace.\n"; Tim> } Ewww... If you're already matching, then just *do* the replace: if ($data =~ s/$match/$3-$1-$2 $4:$5:$6/) { print "Fixed! $data\n"; } else { print "$data

Re: Bizarre expansion from the command line

2002-03-17 Thread Randal L. Schwartz
ing I did when I got OSX was switch to zsh. It's one of the many annoying csh features, of which tcsh is a derivative. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting

Re: PAUSE bug discovered?

2002-03-07 Thread Randal L. Schwartz
n Opera yet handles multilingual text correctly. It even filters Dan> ads!). Hey, I use iCab too! I think the problem is that it accepts a \n from the clipboard as data even in a textfield (not textarea), and thus the form data is corrupted in an unexpected way. Agreed, that the PAUSE scrip

Re: SUCCESS: libapreq working in Mac OS X

2002-02-22 Thread Randal L. Schwartz
instead of libapreq.a). Beware. When I made mod_perl a .so, and then loaded that, I could not load any other .so's from there, making all XS modules fail. So having an .so call an .so might not work. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PRO

Re: h2ph problems

2002-02-06 Thread Randal L. Schwartz
so that it doesn't need a .ph file. That's really not going to work as time goes on. That's why we have h2xs now. See how Errno.xs is built from errno.h for example. As a quick-n-dirty... just figure out what it wanted and create those subroutines by hand. There's only abo

Re: psync fails with 5.7.2

2002-02-05 Thread Randal L. Schwartz
rn but all tests passed (I consider these warning too much because Dan> they all trap 'use 5.6.0;'). Are you testing on UFS or HFS+? I'm on UFS. It also leaves behind a "dummy" file that is locked, that I couldn't figure out how to unlock using your tools (pset

Re: h2ph problems

2002-02-05 Thread Randal L. Schwartz
that. :) Anything that still says require "sys/socket.ph" needs to be retired. Actually, that can usually be replaced by "use Socket". Actually, that can usually be edited to use IO::Socket::INet. Actually, that can usually be rewritten to use Net::* instead. :-) -- Randal L

Re: psync fails with 5.7.2

2002-02-05 Thread Randal L. Schwartz
ee. I ran the tests as merlyn, with merlyn owning the build tree. What more permission is needed? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc.

psync fails with 5.7.2

2002-02-05 Thread Randal L. Schwartz
3/5 test scripts, 40.00% okay. 8/29 subtests failed, 72.41% okay. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.S

Re: Problems compiling 5.6.1 on MacOSX 10.1.2

2002-01-26 Thread Randal L. Schwartz
it had decided that GDBM wasn't available, you simply couldn't use it, even if you tried to take the portion of the distro for GDBM and manually compile/install it later. You had to re-./configure and build the entire distro again. That may have been fixed, but I'm still suspicious

mod_perl and apache - the final chapter

2001-11-08 Thread Randal L. Schwartz
GE/VERSION/bin/* to /usr/local/bin so that I can invoke the commands, though. This works great. I'm getting Apache::Template to work (which installs new config directives) and the whole shebang. Cool cool. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <

Re: How to get Perl/ImageMagick working on X.1 ?

2001-11-08 Thread Randal L. Schwartz
$h - 1, $w - 1, $border * 2, $border)); =74= $background->Draw(primitive => 'matte', points => '0,0', meth => 'replace'); =75= =76= ## and put the text on the button =77= $background->Composite(image => $label); =78= =79= ## render it =80= $background->Set(magick => 'gif'); =81= $image = $background->ImageToBlob; =82= $cache->set($key, $image); =83=} =84= =85=print "Content-type: image/gif\n\n$image"; =86= =87=@times = map { $_ - shift @times } time, times; =88=printf STDERR "buttonmaker: real=%d user=%.2f sys=%.2f\n", @times; -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: How to get Perl/ImageMagick working on X.1 ?

2001-11-05 Thread Randal L. Schwartz
-I/X11', +'INC' => '-I../ -I.. -I/sw/include -I/usr/include/freetype2 -I/usr/inc lude/freetype2 -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/X11', ($Config{'archname'} =~ /-object$/i ? ('CAPI' => 'TRUE') : ()), ); -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

setuid root hole... oops!

2001-10-16 Thread Randal L. Schwartz
as root. This apparently is the case with all setuid root applications... Not good heh heh. Apple hasn't learned what "fork" does. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stoneheng

redux - backup solution that works

2001-10-12 Thread Randal L. Schwartz
Here's the note I just posted to the osx-admin list... >>>>> "Randal" == Randal L Schwartz <[EMAIL PROTECTED]> writes: Randal> I can't be the first person to want an incremental disk-level catastrophy Randal> recovery backup solution under OSX.

Re: slightly off topic - looking for backup solution

2001-10-10 Thread Randal L. Schwartz
I have the desktop one. That's $299-ish more money than I've spent. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: looking for backup solution - PERL + AppleScript?

2001-10-09 Thread Randal L. Schwartz
file" on a UFS. Is there other data that /rsrc doesn't carry? If so, is there a format description for the ._ file and how it differs from /rsrc, and how I would get at that from the Unix API? And yes, this still applies to Perl, because I wanna write the Perl utility to copy HFS+ files. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Re: looking for backup solution - PERL + AppleScript?

2001-10-09 Thread Randal L. Schwartz
>>>>> "John" == John Siracusa <[EMAIL PROTECTED]> writes: John> Well, if you could write an XS module that hooks into the same John> APIs that the Finder is using... :) Has anyone tried Inline::C on OSX yet? -- Randal L. Schwartz - Stonehenge Consul

  1   2   >