From cba at groundworkopensource.com Tue Dec 5 13:23:01 2006 From: cba at groundworkopensource.com (Chris Barton Anderson) Date: Tue, 5 Dec 2006 13:23:01 -0800 Subject: [sf-perl] Monitoring SIG: Weds, Dec. 13 Message-ID: <1165353782.5137.45.camel@peterX20> An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20061205/3f211215/attachment.pl From qw at sf.pm.org Thu Dec 7 20:21:38 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Thu, 7 Dec 2006 20:21:38 -0800 Subject: [sf-perl] Reminder: no December meeting Message-ID: <20061208042138.GA2520@fu.funkspiel.org> Hi, everyone, Just a reminder that, since the fourth Tuesday falls on December 26, there's no meeting this month. Well, if anyone wants to step up and host a food thing, that's fine with me, but I'll be out of town. :) Enjoy yourselves, and I'll see you next year. PS: Thanks to Steve Fink for his super in-depth November presentation/demo on Inline::CPP. :D -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From josh at agliodbs.com Thu Dec 7 20:22:37 2006 From: josh at agliodbs.com (Josh Berkus) Date: Thu, 07 Dec 2006 23:22:37 -0500 Subject: [sf-perl] Reminder: no December meeting In-Reply-To: <20061208042138.GA2520@fu.funkspiel.org> References: <20061208042138.GA2520@fu.funkspiel.org> Message-ID: <4578E88D.50701@agliodbs.com> Quinn Weaver wrote: > Hi, everyone, > > Just a reminder that, since the fourth Tuesday falls on December 26, > there's no meeting this month. Well, if anyone wants to step up and > host a food thing, that's fine with me, but I'll be out of town. :) On the other hand, PostgreSQL is having a meeting in Oakland with bubbly to celebrate the release of version 8.2: http://pugs.postgresql.org/sfpug/archives/000079.html#more All welcome, but please RSVP. --Josh From andy at petdance.com Sat Dec 9 22:44:32 2006 From: andy at petdance.com (Andy Lester) Date: Sun, 10 Dec 2006 00:44:32 -0600 Subject: [sf-perl] ack mailing lists Message-ID: I've started mailing lists for ack. Sign up forms are at http://petdance.com/ack/. Tell your friends! xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From david at fetter.org Sun Dec 10 11:01:32 2006 From: david at fetter.org (David Fetter) Date: Sun, 10 Dec 2006 11:01:32 -0800 Subject: [sf-perl] [Free Food and Drink] PostgreSQL 8.2 Release Party Message-ID: <20061210190132.GA18318@fetter.org> What: Josh Berkus gives a whirlwind tour of what's in version 8.2, just released on December 5th, and then we all eat some free Thai food and (if desired) drink some bubbly. When: Tuesday, December 12, 2006 at 7:30 PM Where: Casa Donde 2500B Magnolia Street Oakland, CA 94607-2410 Needed for meeting: 1) RSVPs: here or on , *especially* if you need a pick-up from BART or want to carpool from the city or the peninsula. RSVPs help to ensure that you will get fed. 2) Projector for the presentation 3) Celebratory spirit See you there! Cheers, Dave. -- David Fetter And now for a public-service announcement... It's that time again... I am working on lining up talks for next year. If you have a Perl topic you'd like to talk about, drop me a line. This could be as simple as "I found a cool little CPAN module that I use all the time" or as complex as "I wrote a Perl 5 implementation in Haskell." I'm also interested in useful uses of Perl in your company's products or in-house software. Your idea need not take up a whole hour; I am also collecting smaller proposals for a session of lightning talks (http://perl.plover.com/lightning-talks.html). In addition, non-Perl topics that touch on Perl are fair game. Our Amazon Web Services talk was a good example: the services are available through Perl, but most of the talk was devoted to the services themselves. Perfectly OK. Finally, we're not dogmatically married to Perl-and-only-Perl. We once had a really kick-ass Ruby talk. If you have any leads, send them to qw at sf.pm.org--please don't reply-to-list. I'll find a date that works for you. Thanks, -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From qw at sf.pm.org Mon Dec 11 09:50:49 2006 From: qw at sf.pm.org (Quinn Weaver) Date: Mon, 11 Dec 2006 09:50:49 -0800 Subject: [sf-perl] [Job] Quinn Weaver available for VoIP, Perl contracts Message-ID: <20061211175049.GB38059@fu.funkspiel.org> Hi, everyone, I mentioned this at our meeting, but here it is in writing: I'm again seeking contracts. I've used Perl for all the usual suspects; I also do complete VoIP solutions, including custom IVRs ("phone mazes") written in Perl. I'm a Unix sysadmin, which means I can build you a web farm or a phone system from the ground up. I play well with business people, and I deliver on schedule. Details I am a Perl programmer with over five years of experience. I've used Perl for the usual suspects: n-tier web apps, financial apps, Unix system administration, data-loaders, and text-processing. I've used RDBMSs: lots of DML and a fair amount of DDL. I write OO code, which I've found to be surprisingly rare among Perl programmers. I am a stickler about clean design, ubiquitous testing, and good documentation. Lately I've specialized in VoIP. I know a lot about Asterisk, including IVR and other uses of AGI. In addition to IVR app dev, I do complete VoIP deployments; I can set up your office phone system from scratch, saving big bucks over a PBX solution. I've worked in start-up, university, and especially corporate settings, in teams, solo, and as a team lead. I've seen multiple products through the entire lifecycle. I know how to communicate with business people; I pride myself on keeping stakeholders informed and happy, and I deliver on time. If this sounds like a good fit, let's talk. Drop me an email or call 510-520-5217 (my mobile). Thanks, -- qw (Quinn Weaver); #President, San Francisco Perl Mongers =for information, visit http://sf.pm.org/weblog =cut From quinn at fairpath.com Mon Dec 11 11:01:52 2006 From: quinn at fairpath.com (Quinn Weaver) Date: Mon, 11 Dec 2006 11:01:52 -0800 Subject: [sf-perl] Mail addy fun Message-ID: <20061211190151.GA11781@tao.fairpath.com> Hi, everyone, My last message turned up a problem with our hosting provider: apparently they've dropped the MX record for sf.pm.org. This means that mail to me at qw at sf.pm.org is bouncing. Please mail me at quinn at fairpath.com instead (this is my work address, and the best address for contract-related enqueries). This problem does _not_ affect delivery to the mailing list . It affects only addresses at sf.pm.org. I will mail again when the problem is resolved. Thanks to Fred Moyer for bringing the problem to my attention. From nheller at silcon.com Mon Dec 11 12:24:46 2006 From: nheller at silcon.com (nheller at silcon.com) Date: Mon, 11 Dec 2006 12:24:46 -0800 (PST) Subject: [sf-perl] 2007 talks In-Reply-To: <20061211165510.GA37989@fu.funkspiel.org> References: <20061211165510.GA37989@fu.funkspiel.org> Message-ID: <40013.208.253.246.248.1165868686.squirrel@webmail.silcon.com> Thank you for this opportunity. I would be VERY interested in hearing about using Perl to contact CAL (ClearCase Automation Library). Neil Heller > And now for a public-service announcement... > > It's that time again... I am working on lining up talks for next year. > If you have a Perl topic you'd like to talk about, drop me a line. > This could be as simple as "I found a cool little CPAN module that I > use all the time" or as complex as "I wrote a Perl 5 implementation in > Haskell." I'm also interested in useful uses of Perl in your > company's products or in-house software. > > Your idea need not take up a whole hour; I am also collecting smaller > proposals for a session of lightning talks > (http://perl.plover.com/lightning-talks.html). > > In addition, non-Perl topics that touch on Perl are fair game. Our > Amazon Web Services talk was a good example: the services are > available through Perl, but most of the talk was devoted to the > services themselves. Perfectly OK. > > Finally, we're not dogmatically married to Perl-and-only-Perl. > We once had a really kick-ass Ruby talk. > > If you have any leads, send them to qw at sf.pm.org--please don't > reply-to-list. I'll find a date that works for you. > > Thanks, > > -- > qw (Quinn Weaver); #President, San Francisco Perl Mongers > =for information, visit http://sf.pm.org/weblog =cut > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > From extasia at extasia.org Fri Dec 29 15:17:25 2006 From: extasia at extasia.org (David Alban) Date: Fri, 29 Dec 2006 15:17:25 -0800 Subject: [sf-perl] hostid in mac os x? Message-ID: <4c714a9c0612291517y7ce7f52cn5e2f1d7edc9f5b9c@mail.gmail.com> Greetings, Is there the concept of a host ID in mac os x? For example, linux' hostid(1) command returns an eight digit hex number for a host ID. I see the gethostid system call in mac os x, whose man page says: This function has been deprecated. The hostid should be set or retrieved by use of sysctl(3). I couldn't find a sysctl on the perlfunc page. I don't want to write a C wrapper for sysctl(3), 'cause I want to do this with "core perl", or failing that, with a perl system() invocation to some command that is "core os x". This is for use in something I'd like to be "portable" and I'd rather not require other users install anything. Thanks, David P.S. I found Sys::Sysctl::FreeBSD also, but I'd rather find a way to do this with "core perl" or "core mac os x". P.S. I also found sysctl(8), but it seems to indicate kern.hostid = 0, and no other values listed (with -A) seem to be a host ID. -- Live in a world of your own, but always welcome visitors. From daniel at electricrain.com Fri Dec 29 15:25:37 2006 From: daniel at electricrain.com (Dan Sully) Date: Fri, 29 Dec 2006 15:25:37 -0800 Subject: [sf-perl] hostid in mac os x? In-Reply-To: <4c714a9c0612291517y7ce7f52cn5e2f1d7edc9f5b9c@mail.gmail.com> References: <4c714a9c0612291517y7ce7f52cn5e2f1d7edc9f5b9c@mail.gmail.com> Message-ID: <20061229232537.GA31097@electricrain.com> * David Alban shaped the electrons to say... >I don't want to write a C wrapper for sysctl(3), 'cause I want to do >this with "core perl", or failing that, with a perl system() >invocation to some command that is "core os x". This is for use in >something I'd like to be "portable" and I'd rather not require other >users install anything. You can get the system serial number via: /usr/sbin/system_profiler SPHardwareDataType -D -- Adobe Photoshop - When you want the truth. Real bad. From vlb at cfcl.com Fri Dec 29 23:53:24 2006 From: vlb at cfcl.com (Vicki Brown) Date: Fri, 29 Dec 2006 23:53:24 -0800 Subject: [sf-perl] BerkeleyDB.pm on Mac OS X Message-ID: Are we doing something unbelievably stupid? We recently migrated everything from a FreeBSD server to Mac OS X (10.4.8). One of Rich's web apps is complaining Can't locate BerkeleyDB.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/darwin-2level /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at ... OK, so we (re?)installed BerkeleyDB, the latest because why not and then (when we still got the error) tried cpan install BerkeleyDB Ooooo. It's scary to see that many compile errors scroll past. :-( cc -c -I/usr/local/BerkeleyDB/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" "-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE" BerkeleyDB.c BerkeleyDB.xs:74:2: error: #error db.h is from Berkeley DB 1.x - need at least Berkeley DB 2.6.4 BerkeleyDB.xs:215: error: parse error before 'DB_ENV' ... BerkeleyDB.xs: In function 'GetArrayLength': BerkeleyDB.xs:819: error: 'DBC' undeclared (first use in this function) ... BerkeleyDB.c: In function 'XS_BerkeleyDB_db_version': BerkeleyDB.c:1753: warning: assignment makes pointer from integer without a cast ... BerkeleyDB.xs:4268: error: 'DBTKEY' has no member named 'flags' make: *** [BerkeleyDB.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Anyone? Help? -- - Vicki ZZZ zzZ San Francisco Bay Area, CA z |\ _,,,---,,_ Books, Cats, Tech zz /,`.-'`' -. ;-;;,_ http://cfcl.com/vlb |,4- ) )-,_. ,\ ( `'-' http://cfcl.com/vlb/weblog '---''(_/--' `-'\_) http://vlb.typepad.com/commentary/ From vlb at cfcl.com Sat Dec 30 00:16:17 2006 From: vlb at cfcl.com (Vicki Brown) Date: Sat, 30 Dec 2006 00:16:17 -0800 Subject: [sf-perl] BerkeleyDB.pm on Mac OS X Message-ID: At 00:09 -0800 12/30/2006, Vicki Brown wrote: > Are we doing something unbelievably stupid? Well, yes and no. Is it unbelievably stupid to believe that the people who write the installation code talk to each other or test things? Grumble. Inside the db-4.5.20/perl/BerkeleyDB/config.in file are these lines: # 1. Where is the file db.h? ... INCLUDE = /usr/local/BerkeleyDB/include ... # 2. Where is libdb? ... LIB = /usr/local/BerkeleyDB/lib They look pretty good... except for the fact that the BDB make installed everything under /usr/local/BerkeleyDB.4.5 and no, it didn't bother with a symlink. Once I'd made that link /usr/local/BerkeleyDB -> /usr/local/BerkeleyDB.4.5 the build ran very quickly and without errors. Grumble. Swear. Curse. Groan. Sigh. -- - Vicki ZZZ zzZ San Francisco Bay Area, CA z |\ _,,,---,,_ Books, Cats, Tech zz /,`.-'`' -. ;-;;,_ http://cfcl.com/vlb |,4- ) )-,_. ,\ ( `'-' http://cfcl.com/vlb/weblog '---''(_/--' `-'\_) http://vlb.typepad.com/commentary/ From dave at wrightpopcorn.com Sat Dec 30 20:01:50 2006 From: dave at wrightpopcorn.com (Dave Turner) Date: Sat, 30 Dec 2006 20:01:50 -0800 Subject: [sf-perl] Left or right hand side tabs in Perl? Message-ID: <4597362E.7000107@wrightpopcorn.com> Is it possible to make tabs appear on the left or right hand side of a window in a Perl GUI? If so, can someone point me to some source? I've done it on top, but I can't find anything that shows tabs on the left or right hand side - similar to an address book. Thanks in advance! From doom at kzsu.stanford.edu Sat Dec 30 21:01:57 2006 From: doom at kzsu.stanford.edu (Joe Brenner) Date: Sat, 30 Dec 2006 21:01:57 -0800 Subject: [sf-perl] Left or right hand side tabs in Perl? In-Reply-To: <4597362E.7000107@wrightpopcorn.com> References: <4597362E.7000107@wrightpopcorn.com> Message-ID: <200612310502.kBV51vg8003587@kzsu.stanford.edu> Dave Turner wrote: > Is it possible to make tabs appear on the left or right hand side of a > window in a Perl GUI? If so, can someone point me to some source? I've > done it on top, but I can't find anything that shows tabs on the left or > right hand side - similar to an address book. I think you're going to have to give us some more information about what you're trying to do. When you say "Perl GUI", does that mean you're doing Perl/Tk programming? From dave at wrightpopcorn.com Sat Dec 30 23:52:29 2006 From: dave at wrightpopcorn.com (Dave Turner) Date: Sat, 30 Dec 2006 23:52:29 -0800 Subject: [sf-perl] Left or right hand side tabs in Perl? In-Reply-To: <200612310502.kBV51vg8003587@kzsu.stanford.edu> References: <4597362E.7000107@wrightpopcorn.com> <200612310502.kBV51vg8003587@kzsu.stanford.edu> Message-ID: <45976C3D.8010604@wrightpopcorn.com> Joe Brenner wrote: > Dave Turner wrote: > > >> Is it possible to make tabs appear on the left or right hand side of a >> window in a Perl GUI? If so, can someone point me to some source? I've >> done it on top, but I can't find anything that shows tabs on the left or >> right hand side - similar to an address book. >> > > I think you're going to have to give us some more information about what > you're trying to do. When you say "Perl GUI", does that mean you're > doing Perl/Tk programming? > > Yes I'm looking I think at Tk just because I'm used to it to a degree. But Tk::Notebook, from all the examples I've seen, puts the tabs geometrically north. I'm wondering if it, or some other module, can put tabs on either east or west geometrically speaking. If GTK, or WXPerl would do it, I'd change my thinking, but I hadn't found any examples of east/west tabs, so therein lies my question. From oserj at OserConsulting.com Sun Dec 31 17:20:50 2006 From: oserj at OserConsulting.com (Jim Oser) Date: Sun, 31 Dec 2006 17:20:50 -0800 Subject: [sf-perl] hostid in mac os x? In-Reply-To: <20061229232537.GA31097@electricrain.com> References: <4c714a9c0612291517y7ce7f52cn5e2f1d7edc9f5b9c@mail.gmail.com> <20061229232537.GA31097@electricrain.com> Message-ID: <96CEC388-9DC3-419D-BD47-00607B0709A1@OserConsulting.com> http://www.mathworks.com/support/solutions/data/1-171PI.html? solution=1-171PI > MAC OS X Open the Apple System Profiler application > in /Applications/Utilities. Look in the > Network > overview of the System Profile to find your > Mac's Ethernet Address. For example, > 8.0.2b.e6.87.59 > > You can also use the command netstat -I en0 Also could do ifconfig en0 This returns the Mac address of the first ethernet port. Jim Oser Oser Computer Solutions 113 Santa Maria Drive Novato, CA. 94947 www.OserConsulting.com Office: 415-892-0860 Cell: 415-710-1329 On Dec 29, 2006, at 3:25 PM, Dan Sully wrote: > * David Alban shaped the electrons to say... > >> I don't want to write a C wrapper for sysctl(3), 'cause I want to do >> this with "core perl", or failing that, with a perl system() >> invocation to some command that is "core os x". This is for use in >> something I'd like to be "portable" and I'd rather not require other >> users install anything. > > You can get the system serial number via: > > /usr/sbin/system_profiler SPHardwareDataType > > -D > -- > Adobe Photoshop - When you want the truth. Real bad. > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm