From atom.powers at gmail.com Wed Feb 1 08:43:10 2006 From: atom.powers at gmail.com (Atom Powers) Date: Wed, 1 Feb 2006 08:43:10 -0800 Subject: SPUG: Security through insecurity... In-Reply-To: <43E05CAE.1020904@u.washington.edu> References: <43E05CAE.1020904@u.washington.edu> Message-ID: On 1/31/06, Ryan T. Kosai wrote: > > Now, to send this e-mail, I would have to log into a SMTP relay. This > would require a password; which I don't want plaintext or easily > recoverable (such as ROT13 or such) in a Perl script. So, in this case, > an open SMTP relay seems best. > If you have an account on the SMTP server dedicated to this purpose, with a very secure (long random string) password then I think you would be fine putting the password in your script. Under these circumstances the only time that password could get compromised would be if your laptop was stolen, and then it may even be to your advantage to see what the perpetrator is sending. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- From tim at consultix-inc.com Wed Feb 1 08:53:28 2006 From: tim at consultix-inc.com (Tim Maher) Date: Wed, 1 Feb 2006 08:53:28 -0800 Subject: SPUG: Security through insecurity... In-Reply-To: References: <43E05CAE.1020904@u.washington.edu> Message-ID: <20060201165328.GA29832@jumpy.consultix-inc.com> On Wed, Feb 01, 2006 at 08:43:10AM -0800, Atom Powers wrote: > On 1/31/06, Ryan T. Kosai wrote: > > > > Now, to send this e-mail, I would have to log into a SMTP relay. This > > would require a password; which I don't want plaintext or easily > > recoverable (such as ROT13 or such) in a Perl script. So, in this case, > > an open SMTP relay seems best. > > > > If you have an account on the SMTP server dedicated to this purpose, > with a very secure (long random string) password then I think you > would be fine putting the password in your script. Under these > circumstances the only time that password could get compromised would > be if your laptop was stolen, and then it may even be to your > advantage to see what the perpetrator is sending. I really like this idea of configuring a laptop to send a "message in a bottle" after the thief boots it. But (although I haven't checked) I'd be surprised if there weren't some prefab Open Source solutions of this type out there already; can somebody familiar with the offerings make recommendations? -Tim *-------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX (866) DOC-PERL (866) DOC-UNIX | | tim at ( Consultix-Inc, TeachMePerl, or TeachMeUnix ) dot Com | *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-* | 2/14: Linux 2/27: Perl 3/13: Shell 3/16: Utils 4/4: Hashes | | Watch for my upcoming book: "Minimal Perl for UNIX/Linux People" | | See MinimalPerl.com for details, ordering, and email-list signup | *-------------------------------------------------------------------* From bill at celestial.com Wed Feb 1 09:04:55 2006 From: bill at celestial.com (Bill Campbell) Date: Wed, 1 Feb 2006 09:04:55 -0800 Subject: SPUG: Security through insecurity... In-Reply-To: <20060201165328.GA29832@jumpy.consultix-inc.com> References: <43E05CAE.1020904@u.washington.edu> <20060201165328.GA29832@jumpy.consultix-inc.com> Message-ID: <20060201170455.GA32110@alexis.mi.celestial.com> On Wed, Feb 01, 2006, Tim Maher wrote: >On Wed, Feb 01, 2006 at 08:43:10AM -0800, Atom Powers wrote: >> On 1/31/06, Ryan T. Kosai wrote: >> > >> > Now, to send this e-mail, I would have to log into a SMTP relay. This >> > would require a password; which I don't want plaintext or easily >> > recoverable (such as ROT13 or such) in a Perl script. So, in this case, >> > an open SMTP relay seems best. >> > >> >> If you have an account on the SMTP server dedicated to this purpose, >> with a very secure (long random string) password then I think you >> would be fine putting the password in your script. Under these >> circumstances the only time that password could get compromised would >> be if your laptop was stolen, and then it may even be to your >> advantage to see what the perpetrator is sending. > >I really like this idea of configuring a laptop to send a >"message in a bottle" after the thief boots it. But (although I >haven't checked) I'd be surprised if there weren't some prefab >Open Source solutions of this type out there already; can >somebody familiar with the offerings make recommendations? It would be very easy to have a cron job that e-mailed a message periodically if the computer were off its home network. Bill -- INTERNET: bill at Celestial.COM Bill Campbell; Celestial Systems, Inc. URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists.'' Lysander Spooner, 1852 From pdarley at kinesis-cem.com Wed Feb 1 09:52:54 2006 From: pdarley at kinesis-cem.com (Peter Darley) Date: Wed, 1 Feb 2006 09:52:54 -0800 Subject: SPUG: Security through insecurity... In-Reply-To: <43E05CAE.1020904@u.washington.edu> Message-ID: Ryan, You probably wouldn't need to go through a relay. Just connect to the SMTP server at the destination and send it the mail directly. This wouldn't require a password at all. For example if you connect to port 25 on darleyconsulting.com (my home machine) it will accept email for any darleyconsulting.com address without requiring that it go through a relay. Thanks, Peter -----Original Message----- From: spug-list-bounces at pm.org [mailto:spug-list-bounces at pm.org]On Behalf Of Ryan T. Kosai Sent: Tuesday, January 31, 2006 11:01 PM To: members at seattleperl.org Subject: SPUG: Security through insecurity... Since I use my laptop for all my business, personal, and schoolwork, I end up bringing it with me to an inordinate number of destinations. If it were lost, recovery would be more important to me than absolute security. As such, I thought it would be a good idea to disable the password login and log directly into an unpriveleged account on start up, and write a quick tripwire program for my computer that would run at this time. I'd log into a separate account to do school/business stuff. Initially, I thought it would be best to post IP and tracert (Windows) pipe outputs to a webserver. I thought it would be safer though, to be able to send an e-mail to several destinations, in case my webserver account could be compromised. Now, to send this e-mail, I would have to log into a SMTP relay. This would require a password; which I don't want plaintext or easily recoverable (such as ROT13 or such) in a Perl script. So, in this case, an open SMTP relay seems best. The question is, (a) is this a good idea to use an open SMTP relay? (b) Is there a way to secure a password? I notice this problem logging into mysql servers via Perl too. (c) Besides IP and tracert, any other good information I could grab? No built in mic or anything like that; its a simple laptop. Thanks, -- Ryan T. Kosai, Undergraduate rkosai at u.washington.edu Molecular Biology/Electrical Engr. //students.washington.edu/rkosai _____________________________________________________________ Seattle Perl Users Group Mailing List POST TO: spug-list at pm.org SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list MEETINGS: 3rd Tuesdays WEB PAGE: http://seattleperl.org/ From jobs-noreply at seattleperl.org Wed Feb 1 10:32:14 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Wed, 1 Feb 2006 10:32:14 -0800 (PST) Subject: SPUG: JOB: Perl programmer needed for established shopping cart Message-ID: [I'm tired of fixing submitter's lousy formatting. If this is preventing qualified potential applicants (who tend to be very busy) from taking a closer look, it's not my problem. :P -Editor (aka Andy)] Perl programmer needed for established shopping cart • required skill-set - Ready to hit the ground running. This is an established e- commerce package that is currently selling. Code is commented somewhat. • contract or permanent position - Subcontracting will most likely work best, but we're open to suggestions • for contracts, expected duration and pay range • for permanent positions, availability of stock options or other incentive plans 1] Open to negotiation 2] Flat fee to fix a list of 10 existing bugs 3] Willing to set up a "partnership" of sorts and split revenues 60/40 -- Must be willing to sign short-term non-compete contract • placement through recruiter, or directly with company? - Directly • any restrictions on 1099 status: Corporation, etc.? - No • physical location - No • telecommuting possible? - Yes • company's product or service - SurfShopPRO™ E-commerce shopping cart For more information, contact Frank Jance at ssp.cart-info at SurfShopPRO.com From mike206 at gmail.com Wed Feb 1 13:31:19 2006 From: mike206 at gmail.com (mike) Date: Wed, 1 Feb 2006 13:31:19 -0800 Subject: SPUG: regexp s/// issues with backreferences stored in a scalar string Message-ID: the comments pretty much speak for themselves. i did that so anyone interested can replicate the problem with a cut and paste. ---- begin ---- #!/usr/bin/perl -w # here's a regexp my $regexp = q{(abcd)(efg)}; # here's a substitution pattern # note the single q{} to block it from interpolating my $suss = q{$2 $1}; # here's a string my $string = q{abcdefgh}; # run the regexp and putout $string =~ s/$regexp/$suss/; print $string."\n"; ############################ prints '$2 $1h' # now try again but hardcode the backreferences in the substitution $string = q{abcdefgh}; $string =~ s/$regexp/$2 $1/; print $string."\n"; ################### prints 'efg abcdh' , as it should -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/spug-list/attachments/20060201/c50d8ae8/attachment.html From mike206 at gmail.com Wed Feb 1 13:35:15 2006 From: mike206 at gmail.com (mike) Date: Wed, 1 Feb 2006 13:35:15 -0800 Subject: SPUG: regexp s/// issues with backreferences stored in a scalar string In-Reply-To: References: Message-ID: oh so i am trying to store a regexp substitution with back references in a few variables and have them interpolate the $1, $2, .... i tried it with the \1 , \2 notation as well with no luck. hrmph. On 2/1/06, mike wrote: > > the comments pretty much speak for themselves. > i did that so anyone interested can replicate the problem with a cut and > paste. > > ---- begin ---- > > #!/usr/bin/perl > -w > > > # here's a > regexp > > my $regexp = q{(abcd)(efg)}; > > # here's a substitution > pattern > > # note the single q{} to block it from > interpolating > > my $suss = q{$2 $1}; > > # here's a > string > > my $string = q{abcdefgh}; > > # run the regexp and > putout > > $string =~ s/$regexp/$suss/; > print $string."\n"; > > ############################ prints '$2 $1h' > > # now try again but hardcode the backreferences in the substitution > > $string = q{abcdefgh}; > $string =~ s/$regexp/$2 $1/; > print $string."\n"; > ################### prints 'efg abcdh' , as it should > > > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/spug-list/attachments/20060201/49171cf5/attachment.html From mike206 at gmail.com Wed Feb 1 13:37:19 2006 From: mike206 at gmail.com (mike) Date: Wed, 1 Feb 2006 13:37:19 -0800 Subject: SPUG: regexp s/// issues with backreferences stored in a scalar string In-Reply-To: References: Message-ID: hmm.. perldoc perlre then to perldoc perlop qr// seems like it will do it. duh On 2/1/06, mike wrote: > > oh so i am trying to store a regexp substitution with back references in a > few variables and have them interpolate the $1, $2, .... > > i tried it with the \1 , \2 notation as well with no luck. hrmph. > > On 2/1/06, mike wrote: > > > the comments pretty much speak for themselves. > > i did that so anyone interested can replicate the problem with a cut and > > paste. > > > > ---- begin ---- > > > > #!/usr/bin/perl > > -w > > > > > > # here's a > > regexp > > > > my $regexp = q{(abcd)(efg)}; > > > > # here's a substitution > > pattern > > > > # note the single q{} to block it from > > interpolating > > > > my $suss = q{$2 $1}; > > > > # here's a > > string > > > > my $string = q{abcdefgh}; > > > > # run the regexp and > > putout > > > > $string =~ s/$regexp/$suss/; > > print $string."\n"; > > > > ############################ prints '$2 $1h' > > > > # now try again but hardcode the backreferences in the substitution > > > > $string = q{abcdefgh}; > > $string =~ s/$regexp/$2 $1/; > > print $string."\n"; > > ################### prints 'efg abcdh' , as it should > > > > > > > > _____________________________________________________________ > > Seattle Perl Users Group Mailing List > > POST TO: spug-list at pm.org > > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > > MEETINGS: 3rd Tuesdays > > WEB PAGE: http://seattleperl.org/ > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/spug-list/attachments/20060201/b61da4e9/attachment.html From florentin_ at hotmail.com Sun Feb 5 16:55:06 2006 From: florentin_ at hotmail.com (Florentin Ionescu) Date: Sun, 05 Feb 2006 16:55:06 -0800 Subject: SPUG: wiki & comp Message-ID: <43E69E6A.9080605@hotmail.com> Hello, 1. Some time ago 5-6 years, there was a project to write a perl version of unix utilities (grep, chmod etc). I did search online for them - does anybody know what happened to that project ? 2. Please recommend a wiki implemented in perl(not db requirment) - I looked at oddmuse which is kool but I would prefer a better-structured one. Thank you for your support, Florentin. From schuh at farmdale.com Sun Feb 5 17:02:08 2006 From: schuh at farmdale.com (Mike Schuh) Date: Sun, 5 Feb 2006 17:02:08 -0800 (PST) Subject: SPUG: wiki & comp In-Reply-To: <43E69E6A.9080605@hotmail.com> Message-ID: On Sun, 5 Feb 2006, Florentin Ionescu wrote: >1. Some time ago 5-6 years, there was a project to write a perl version >of unix utilities (grep, chmod etc). I did search online for them - does >anybody know what happened to that project ? Perl Power Tools: http://ppt.perl.org/ -- Mike Schuh -- Seattle, Washington USA http://www.farmdale.com From apv at sedition.com Sun Feb 5 19:55:10 2006 From: apv at sedition.com (apv) Date: Sun, 5 Feb 2006 19:55:10 -0800 Subject: SPUG: wiki & comp In-Reply-To: <43E69E6A.9080605@hotmail.com> Message-ID: <5E596798-96C4-11DA-9D93-000A95719C94@sedition.com> And for #2: http://search.cpan.org/dist/Kwiki/ No DB; rcs and flat files. I like it and use it often for personal projects but it doesn't scale well for *big* sites. -Ashley On Sunday, February 5, 2006, at 04:55 PM, Florentin Ionescu wrote: > Hello, > > 1. Some time ago 5-6 years, there was a project to write a perl version > of unix utilities (grep, chmod etc). I did search online for them - > does > anybody know what happened to that project ? > > 2. Please recommend a wiki implemented in perl(not db requirment) - I > looked at oddmuse which is kool but I would prefer a better-structured > one. > > Thank you for your support, > Florentin. > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > > From dblanchard at gmail.com Tue Feb 7 16:23:45 2006 From: dblanchard at gmail.com (Duane Blanchard) Date: Tue, 7 Feb 2006 16:23:45 -0800 Subject: SPUG: Next meeting Message-ID: Hello all, I'm planning on the next meeting being on February 21st at 6:30 at the WhitePages.com offices. I think that works quite well for most people, but as always, is up for comment. I'll either present a little on Yahoo Widgets (formerly Konfabulator) or on embedding Perl in Active Server Pages (ASP). I'm also bringing my PGP public key and wonder if anyone else is interested in key signing? Perhaps Andrew can describe key signing further. I don't recall whether anyone else had offered to present on anything, but whether you already have or not, please speak up. Thx, D -- Duane Blanchard 206.280.1263 There are 10 kinds of people in the world; those who know binary and those who don't. From lmzaldivar at gmail.com Wed Feb 8 10:56:41 2006 From: lmzaldivar at gmail.com (luis medrano) Date: Wed, 8 Feb 2006 10:56:41 -0800 Subject: SPUG: multiple spaces in string Message-ID: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> List, I have to remove multiple spaces between a string. for example: "car crash in the freeway" where you can see is no uniformaty on how the spaces are showing but my questions is, how can remove the multiple spaces? Thanks, Luis From shawnw at speakeasy.org Wed Feb 8 10:56:41 2006 From: shawnw at speakeasy.org (Shawn Wagner) Date: Wed, 8 Feb 2006 10:56:41 -0800 Subject: SPUG: multiple spaces in string In-Reply-To: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> References: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> Message-ID: <20060208185641.GB527@speakeasy.org> On Wed, Feb 08, 2006 at 10:56:41AM -0800, luis medrano wrote: > List, > > I have to remove multiple spaces between a string. for example: > > "car crash in the freeway" > > where you can see is no uniformaty on how the spaces are showing but > my questions is, how can remove the multiple spaces? $foo =~ s/\s+/ /g; -- Shawn Wagner shawnw at speakeasy.org From cwilkes-spug at ladro.com Wed Feb 8 11:03:55 2006 From: cwilkes-spug at ladro.com (Chris Wilkes) Date: Wed, 8 Feb 2006 11:03:55 -0800 Subject: SPUG: multiple spaces in string In-Reply-To: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> References: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> Message-ID: <20060208190355.GA18380@chisq.ladro.com> On Wed, Feb 08, 2006 at 10:56:41AM -0800, luis medrano wrote: > List, > > I have to remove multiple spaces between a string. for example: > > "car crash in the freeway" > > where you can see is no uniformaty on how the spaces are showing but > my questions is, how can remove the multiple spaces? echo "this has multi spaces ." | perl -pe 's/\s+/ /g' That converts tabs into single spaces, which might not be what you want. It will also take double spaces after a period and convert it into one space. The trick is the /g modifier which says "do this again and again until the match no longer happens" Chris From jerry.gay at gmail.com Wed Feb 8 11:31:10 2006 From: jerry.gay at gmail.com (jerry gay) Date: Wed, 8 Feb 2006 11:31:10 -0800 Subject: SPUG: multiple spaces in string In-Reply-To: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> References: <50aeae6f0602081056w17cb7291m3dd18de1e87ea3d2@mail.gmail.com> Message-ID: <1d9a3f400602081131y79a33afu558c02ce9d82f45@mail.gmail.com> On 2/8/06, luis medrano wrote: > List, > > I have to remove multiple spaces between a string. for example: > > "car crash in the freeway" > > where you can see is no uniformaty on how the spaces are showing but > my questions is, how can remove the multiple spaces? > using the transliteration operator $string =~ tr/ //s; may be more accurate than a regular expression $string =~ s/\s+//g; as it won't replace tabs, or combinations of spaces and tabs. generally, it's also faster, as it does not perform backtracking. for more info on tr///, see 'perldoc perlop' and search for 'Transliterate' ~jerry From apv at sedition.com Wed Feb 8 13:42:18 2006 From: apv at sedition.com (apv) Date: Wed, 8 Feb 2006 13:42:18 -0800 Subject: SPUG: multiple spaces in string In-Reply-To: <1d9a3f400602081131y79a33afu558c02ce9d82f45@mail.gmail.com> Message-ID: On Wednesday, February 8, 2006, at 11:31 AM, jerry gay wrote: > using the transliteration operator > $string =~ tr/ //s; > > may be more accurate than a regular expression > $string =~ s/\s+//g; > > as it won't replace tabs, or combinations of spaces and tabs. > generally, it's also faster, as it does not perform backtracking. That's right and even s/\s+/ /g can be improved b/c as is it is substituting every " " with a " " too which is pointless. This would be closer to the literal intent: s/ */ /g; # or even s/(?<= ) *//g; -Ashley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 584 bytes Desc: not available Url : http://mail.pm.org/pipermail/spug-list/attachments/20060208/fb572cf1/attachment.bin From apv at sedition.com Wed Feb 8 13:48:45 2006 From: apv at sedition.com (apv) Date: Wed, 8 Feb 2006 13:48:45 -0800 Subject: SPUG: multiple spaces in string In-Reply-To: Message-ID: On Wednesday, February 8, 2006, at 01:42 PM, apv wrote: > That's right and even s/\s+/ /g can be improved b/c as is it is > substituting > every " " with a " " too which is pointless. This would be closer to > the > literal intent: Sorry, this > s/ */ /g; should have been s/ +/ /g; Otherwise it's no different from the original. From chuck.orr at cingular.com Wed Feb 15 09:22:45 2006 From: chuck.orr at cingular.com (Orr, Chuck (NOC)) Date: Wed, 15 Feb 2006 09:22:45 -0800 Subject: SPUG: CGI and DBI_File not playing nice Message-ID: Hello, I am trying to use a tied hash to speed up a cgi application. The tied data structure works well as long as I do lookups from perl running on the same machine. When I use CGI and there is a web interface, the following error pops up: Can't load '/usr/perl5/5.6.lib/5.6.1/sun4-solaris-thread-multi/auto/DB_File/DB_File /DB_File.so' for module DB_File: ld.so.1: lookup_uber_hash.cgi: fatal: libgcc_s.so.1: open failed: No such file or directory at /usr/perl5/5.6/lib/5.6.1/sun4-solaris-thread-multi-XSloader.om line 75 This is followed by a couple of compilation errors. I also have perl 5.005_03 running on the same box with the same modules installed. They were installed by a different guy and if I run the same script in this version of perl, it fails in the exact same way. Any thoughts or suggestions? Thanks, Chuck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/spug-list/attachments/20060215/81570272/attachment.html From bill at celestial.com Wed Feb 15 09:54:34 2006 From: bill at celestial.com (Bill Campbell) Date: Wed, 15 Feb 2006 09:54:34 -0800 Subject: SPUG: CGI and DBI_File not playing nice In-Reply-To: References: Message-ID: <20060215175434.GA46235@alexis.mi.celestial.com> On Wed, Feb 15, 2006, Orr, Chuck (NOC) wrote: > > Hello, > > I am trying to use a tied hash to speed up a cgi application. > The tied data structure works well as long as I do lookups from perl > running on the same machine. When I use CGI and there is a web > interface, the following error pops up: It appears that the Berkeley database routines on the machine aren't the same ones that were used when the perl DB_File was built. You probably need to update these from CPAN. In general the Berkeley database routines are nasty! Their API changes from version to version, and even within patch levels to a version (perhaps they're working on the Microsoft model). If you look at the DB_File code in perl, or the corresponding code in python, you'll see #ifdefs all over the place, and lots of #if statements that deal with major, minor, and patch levels. Bill -- INTERNET: bill at Celestial.COM Bill Campbell; Celestial Systems, Inc. URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 ``Fix reason firmly in her seat and call to her tribunal every fact, every opinion. Question with boldness even the existence of a God; because, if there is one, he must more approve of the homage of reason, than that of blindfolded fear.'' --Thomas Jefferson From trosmus at nwnexus.net Wed Feb 15 10:02:05 2006 From: trosmus at nwnexus.net (Tim Rosmus) Date: Wed, 15 Feb 2006 10:02:05 -0800 (PST) Subject: SPUG: CGI and DBI_File not playing nice In-Reply-To: References: Message-ID: On Wed, 15 Feb 2006, Orr, Chuck (NOC) wrote: |# I am trying to use a tied hash to speed up a cgi application. The |# tied data structure works well as long as I do lookups from perl running |# on the same machine. When I use CGI and there is a web interface, the |# following error pops up: |# |# Can't load |# '/usr/perl5/5.6.lib/5.6.1/sun4-solaris-thread-multi/auto/DB_File/DB_File |# /DB_File.so' for module DB_File: ld.so.1: lookup_uber_hash.cgi: |# fatal: libgcc_s.so.1: open failed: No such file or directory at |# /usr/perl5/5.6/lib/5.6.1/sun4-solaris-thread-multi-XSloader.om line 75 When running from the shell you most likely have LD_LIBRARY_PATH set to include /usr/local/lib. When Apache starts from boot this is not set so "libgcc_s.so.1" can not be found as it is not in a secure library area. You have 2 choices... 1) Add the correct LD_LIBRARY_PATH values to your Apache startup script in /etc/init.d/xxxxx 2) Use 'crle' to include /usr/local/lib as a secure library area. -- Tim Rosmus Postmaster / USENET / DNS Northwest Nexus Inc. / NetOS Inc. From chuck.orr at cingular.com Wed Feb 15 11:58:44 2006 From: chuck.orr at cingular.com (Orr, Chuck (NOC)) Date: Wed, 15 Feb 2006 11:58:44 -0800 Subject: SPUG: CGI and DBI_File not playing nice Message-ID: This is working now. Thanks again for your help. This dramatically enhanced performance. Thanks, Chuck -----Original Message----- From: Tim Rosmus [mailto:trosmus at nwnexus.net] Sent: Wednesday, February 15, 2006 10:02 AM To: Orr, Chuck (NOC) Cc: spug-list at pm.org Subject: Re: SPUG: CGI and DBI_File not playing nice On Wed, 15 Feb 2006, Orr, Chuck (NOC) wrote: |# I am trying to use a tied hash to speed up a cgi application. The |# tied data structure works well as long as I do lookups from perl |running # on the same machine. When I use CGI and there is a web |interface, the # following error pops up: # |# Can't load |# '/usr/perl5/5.6.lib/5.6.1/sun4-solaris-thread-multi/auto/DB_File/DB_File |# /DB_File.so' for module DB_File: ld.so.1: lookup_uber_hash.cgi: |# fatal: libgcc_s.so.1: open failed: No such file or directory at |# /usr/perl5/5.6/lib/5.6.1/sun4-solaris-thread-multi-XSloader.om line 75 When running from the shell you most likely have LD_LIBRARY_PATH set to include /usr/local/lib. When Apache starts from boot this is not set so "libgcc_s.so.1" can not be found as it is not in a secure library area. You have 2 choices... 1) Add the correct LD_LIBRARY_PATH values to your Apache startup script in /etc/init.d/xxxxx 2) Use 'crle' to include /usr/local/lib as a secure library area. -- Tim Rosmus Postmaster / USENET / DNS Northwest Nexus Inc. / NetOS Inc. From umar at drizzle.com Wed Feb 15 15:06:13 2006 From: umar at drizzle.com (Umar Cheema) Date: Wed, 15 Feb 2006 15:06:13 -0800 (PST) Subject: SPUG: method call during object construction Message-ID: I was hoping to make this work: my $obj = Class->new('class_name')->change_name('new_class_name'); $obj->do_other_things(); .... But after the constructor call $obj simply holds the value returned by the 'change_name' method. Of course the following works just fine: my $obj = Class->new('class_name'); $obj->change_name('new_name'); $obj->do_other_things(); ... Can someone explain what is going on with the first way of calling a method during construction? Is this something we're not suppose to do or am I just seeing weird perl behavior for some other reason? Thanks, Umar From umar at drizzle.com Wed Feb 15 15:16:32 2006 From: umar at drizzle.com (Umar Cheema) Date: Wed, 15 Feb 2006 15:16:32 -0800 (PST) Subject: SPUG: method call during object construction In-Reply-To: Message-ID: Okay nevermind, I see it now. It's a simple assignment. $obj gets set to the value that's returned by the method call or by the last assignment inside the method. On Wed, 15 Feb 2006, Umar Cheema wrote: I was hoping to make this work: my $obj = Class->new('class_name')->change_name('new_class_name'); $obj->do_other_things(); .... But after the constructor call $obj simply holds the value returned by the 'change_name' method. Of course the following works just fine: my $obj = Class->new('class_name'); $obj->change_name('new_name'); $obj->do_other_things(); ... Can someone explain what is going on with the first way of calling a method during construction? Is this something we're not suppose to do or am I just seeing weird perl behavior for some other reason? Thanks, Umar _____________________________________________________________ Seattle Perl Users Group Mailing List POST TO: spug-list at pm.org SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list MEETINGS: 3rd Tuesdays WEB PAGE: http://seattleperl.org/ From m3047 at inwa.net Wed Feb 15 15:20:11 2006 From: m3047 at inwa.net (Fred Morris) Date: Wed, 15 Feb 2006 15:20:11 -0800 (PST) Subject: SPUG: method call during object construction In-Reply-To: References: Message-ID: Wild guess (since you didn't supply the actual code for the new() or change_name() methods): change_name returns 'new_class_name' as its function value. On Wed, 15 Feb 2006, Umar Cheema wrote: > I was hoping to make this work: > > my $obj = Class->new('class_name')->change_name('new_class_name'); > $obj->do_other_things(); > .... > > But after the constructor call $obj simply holds the value returned by the > 'change_name' method. > Try my $obj; ($obj = Class->new('class_name'))->change_name('new_class_name'); -- Fred Morris http://www.inwa.net/~m3047/contact.html From charles.e.derykus at boeing.com Wed Feb 15 15:43:50 2006 From: charles.e.derykus at boeing.com (DeRykus, Charles E) Date: Wed, 15 Feb 2006 15:43:50 -0800 Subject: SPUG: method call during object construction Message-ID: > I was hoping to make this work: > my $obj = Class->new('class_name')->change_name('new_class_name'); > $obj->do_other_things(); > .... > But after the constructor call $obj simply holds the value returned by the 'change_name' method. > Of course the following works just fine: > my $obj = Class->new('class_name'); > $obj->change_name('new_name'); > $obj->do_other_things(); > ... > Can someone explain what is going on with the first way of calling a method during construction? Is > this something we're not suppose to do or am I just seeing weird perl behavior for some other > reason? This'll work though: (my $obj = Class->new('class_name'))->change_name('new_class_name'); -- Charles DeRykus From umar at drizzle.com Wed Feb 15 15:57:21 2006 From: umar at drizzle.com (Umar Cheema) Date: Wed, 15 Feb 2006 15:57:21 -0800 (PST) Subject: SPUG: method call during object construction In-Reply-To: Message-ID: > This'll work though: > > (my $obj = Class->new('class_name'))->change_name('new_class_name'); Ah, that's exactly what I wanted to try and see if that worked in Perl. I remember using something similar in Java where you could make a method call by putting paranthesis around the newly created object and invoking methods on it. Thank you, that helps. Umar On Wed, 15 Feb 2006, DeRykus, Charles E wrote: > I was hoping to make this work: > my $obj = Class->new('class_name')->change_name('new_class_name'); > $obj->do_other_things(); > .... > But after the constructor call $obj simply holds the value returned by the 'change_name' method. > Of course the following works just fine: > my $obj = Class->new('class_name'); > $obj->change_name('new_name'); > $obj->do_other_things(); > ... > Can someone explain what is going on with the first way of calling a method during construction? Is > this something we're not suppose to do or am I just seeing weird perl behavior for some other > reason? This'll work though: (my $obj = Class->new('class_name'))->change_name('new_class_name'); -- Charles DeRykus From andrew at sweger.net Thu Feb 16 09:32:57 2006 From: andrew at sweger.net (Andrew Sweger) Date: Thu, 16 Feb 2006 09:32:57 -0800 (PST) Subject: SPUG: New Ubuntu and Perl books available from O'Reilly Rough Cuts Message-ID: Just wanted to let you know about these brand new Rough Cuts titles available from O'Reilly: Perl Hacks http://www.oreilly.com/catalog/perlhks/index.html Ubuntu Hacks http://www.oreilly.com/catalog/ubuntuhks/index.html Ajax Design Patterns http://www.oreilly.com/catalog/ajaxdp/index.html Rough Cuts is a new service that gives you early access to content on cutting-edge technologies months before it's published. Other titles include "Ajax Hacks," "Flickr Hacks," "Ruby Cookbook," "Ruby on Rails," and "Java and XML, 3rd Edition." For more information, go to: http://www.oreilly.com/roughcuts/ -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From jobs-noreply at seattleperl.org Thu Feb 16 16:20:07 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Thu, 16 Feb 2006 16:20:07 -0800 (PST) Subject: SPUG: JOB: Greythorn - Perl Developer Needed! Message-ID: Greythorn, Inc. is a global IT Recruitment Agency with an office here in Bellevue. We have a client based in Seattle that is currently looking for a Perl developer to work on a migration project for a production operations support system. The system is being migrated from Perl to a Java/J2EE platform, so it's an excellent opportunity for candidates who are interested in expanding their Java/J2EE skills under the mentorship of very senior engineers/architects. Core responsibilities will be the development of new products/services, backend automation and support for the system during the migration. Required Skill Set: Perl / oo_perl / mod_perl / XML / SOAP / database development experience with SQL and/or Oracle / SDLC / Configuration Management / web app architecture / Linux (Debian/Redhat) / BS Highly preferred / Production environment experience highly preferred / VoIP knowledge preferred Contract or Perm: Perm Position Stock/Incentives/Benefits: Salary: $70,000 - $75,000. Full suite of benefits including full medical, dental, vision (100% paid for employees), 401K with company matching contribution, stock options. Recruiter or Direct: This position is through a direct-hire recruiter W2 vs. 1099: W-2 employee directly at hiring company. No 1099 contracting available. Physical Location: Downtown Seattle Telecommuting: No Company's Product/Service: Broadband Voice & Data For more information, contact: josh.clayton at greythorninc.com or call 425-635-0300 and ask for Josh. Regards, Josh Clayton Direct-Hire Recruitment T +1 425 635 0300 F +1 425 635 0333 Greythorn Inc 40 Lake Bellevue Way Suite 100 Bellevue, WA 98005 From jobs-noreply at seattleperl.org Fri Feb 17 13:24:47 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Fri, 17 Feb 2006 13:24:47 -0800 (PST) Subject: SPUG: JOB: OO Perl, mod_perl, SQL, database, downtown Seattle Message-ID: Lincoln Bay posted with the user group early last month, and got a great response. We placed one of your fellow SPUG members after he responded to the posting. Lincoln Bay has another Perl job that is an immediate need for one of our clients. * OO Perl, mod_perl, experience with SQL, and Database design and development a major plus. Anyone who has come from a company dealing with network protocol, load balancers, firewalls, etc would have an advantage. XML, HTML a plus. This is a great opportunity for Perl developers looking to expand their java skills, but the primary need is in Perl. * This is a permanent opportunity, and the company is ready to screen, and hire immediately. * Lincoln Bay is a recruiting firm that focuses in permanent placement in IT * Downtown Seattle Please let us know if you need any additional information. Have interested candidates contact me directly. Travis J. Winegardner Lincoln Bay | Recruiter travisw at lincolnbay.com 1000 2nd Ave, Ste 1900, Seattle (p) 206.438.5702 (f) 206.438.5711 From andrew at seattleperl.org Tue Feb 21 10:07:09 2006 From: andrew at seattleperl.org (Andrew Sweger) Date: Tue, 21 Feb 2006 10:07:09 -0800 (PST) Subject: SPUG: Meeting Announcement -- A Mixed Bag - 21 February 2006 Message-ID: February 2006 Seattle Perl Users Group (SPUG) Meeting ===================================================== Title: A Mixed Bag Speaker: Duane Blanchard and Geoffrey Grosenbach Meeting Date: Tuesday, 21 February 2006 Meeting Time: 6:30 - 8:30 p.m. Location: Whitepages.com offices Cost: Admission is free and open to the general public Info: http://seattleperl.org/ =========================================== Please join us Tuesday evening on 21 February 2006 at the regular monthly meeting of the Seattle Perl Users Group. We have Duane Blanchard adn Geoffrey Grosenbach presenting a mixed bag of topics including Yahoo Widgets (formerly Konfabulator) or on embedding Perl in Active Server Pages (ASP) and Ruby on Rails (no, really). See below for more information on... - Speaker Background - Presentation Description - Meeting Location Speaker Background ================== Duane Blanchard --------------- Duane is a recent recipient of a masters degree in linguistics from the University of Washington and an experienced web developer. Geoffrey Grosenbach ------------------- Geoffrey Grosenbach is a longtime Perl'er and was a regular member of SPUG until he moved to Taiwan three years ago. After spending two years as a Technology Coordinator at an American school there, he returned and is making a comfortable living as a snooty Ruby on Rails consultant. He hosts the Ruby on Rails podcast[1] and writes the nuby on rails[2] blog. Presentation Description ======================== Ruby on Rails ------------- For a long time, Ruby has presented itself as Perl's little brother (see "man ruby"). Recently, it's been trying to be the little brother who happens to be a movie star and drives a sportscar (search "google hacker of the year"). Is the current attention on Ruby on Rails deserved? Does Rails make website development faster and easier, or is it fueled by hype? Meeting Location ================ Whitepages.com is located on the 16th floor of the Rainier Square Tower (1301 5th Avenue, Seattle) which is across from the 5th Avenue Theater. See the directions[3] for a quick primer on how to reach us from various locations across Puget Sound. There are plenty of locations to park in the area, including on the street. If you're looking for off-street parking, you can park in the Rainier Square garage which has an entrance on Union St. After 6PM, the building management restricts access to most floors. Our host is trying to take care of this, but if unsuccessful, they will station someone on the 1st floor near the elevator bank and 5th Avenue entrance to let people in. Worst case scenario, give our host a call on his cell phone (206-579-7113) and he'll run down to let you in. Our hosts are providing a generous assortment of free sodas, fruit drinks, teas, and coffee, and also have some snacks. You definitely won't dehydrate here. We look forward to seeing you! [1] - http://podcast.rubyonrails.com/ [2] - http://nubyonrails.com/ [3] - http://www.whitepagesinc.com/locations From Eric.D.Peterson at alltel.com Tue Feb 21 12:35:35 2006 From: Eric.D.Peterson at alltel.com (Eric.D.Peterson@alltel.com) Date: Tue, 21 Feb 2006 12:35:35 -0800 Subject: SPUG: spug-list Digest, Vol 32, Issue 10 Message-ID: <7D0AAB71F5A3104AA2A7631DA3C7489D16F990@nwwaseant641.alltel.com> Thanks for the notice, but could it be possible to get more then day-of notice? I've already have an appointment for this evening and can not attend. The topic sounds interesting and I'd like to hear it, can it be presented again in a few months? ________________________________________ Unquestionably there is progress. The average American now pays out twice as much in taxes as he formerly got in wages. -H. L. Mencken -----Original Message----- Date: Tue, 21 Feb 2006 10:07:09 -0800 (PST) From: Andrew Sweger Subject: SPUG: Meeting Announcement -- A Mixed Bag - 21 February 2006 To: SPUG Members Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII February 2006 Seattle Perl Users Group (SPUG) Meeting ===================================================== Title: A Mixed Bag Speaker: Duane Blanchard and Geoffrey Grosenbach Meeting Date: Tuesday, 21 February 2006 Meeting Time: 6:30 - 8:30 p.m. Location: Whitepages.com offices Cost: Admission is free and open to the general public Info: http://seattleperl.org/ =========================================== Please join us Tuesday evening on 21 February 2006 at the regular monthly meeting of the Seattle Perl Users Group. We have Duane Blanchard adn Geoffrey Grosenbach presenting a mixed bag of topics including Yahoo Widgets (formerly Konfabulator) or on embedding Perl in Active Server Pages (ASP) and Ruby on Rails (no, really). See below for more information on... - Speaker Background - Presentation Description - Meeting Location Speaker Background ================== Duane Blanchard --------------- Duane is a recent recipient of a masters degree in linguistics from the University of Washington and an experienced web developer. Geoffrey Grosenbach ------------------- Geoffrey Grosenbach is a longtime Perl'er and was a regular member of SPUG until he moved to Taiwan three years ago. After spending two years as a Technology Coordinator at an American school there, he returned and is making a comfortable living as a snooty Ruby on Rails consultant. He hosts the Ruby on Rails podcast[1] and writes the nuby on rails[2] blog. Presentation Description ======================== Ruby on Rails ------------- For a long time, Ruby has presented itself as Perl's little brother (see "man ruby"). Recently, it's been trying to be the little brother who happens to be a movie star and drives a sportscar (search "google hacker of the year"). Is the current attention on Ruby on Rails deserved? Does Rails make website development faster and easier, or is it fueled by hype? Meeting Location ================ Whitepages.com is located on the 16th floor of the Rainier Square Tower (1301 5th Avenue, Seattle) which is across from the 5th Avenue Theater. See the directions[3] for a quick primer on how to reach us from various locations across Puget Sound. There are plenty of locations to park in the area, including on the street. If you're looking for off-street parking, you can park in the Rainier Square garage which has an entrance on Union St. After 6PM, the building management restricts access to most floors. Our host is trying to take care of this, but if unsuccessful, they will station someone on the 1st floor near the elevator bank and 5th Avenue entrance to let people in. Worst case scenario, give our host a call on his cell phone (206-579-7113) and he'll run down to let you in. Our hosts are providing a generous assortment of free sodas, fruit drinks, teas, and coffee, and also have some snacks. You definitely won't dehydrate here. We look forward to seeing you! [1] - http://podcast.rubyonrails.com/ [2] - http://nubyonrails.com/ [3] - http://www.whitepagesinc.com/locations ------------------------------ ****************************************************************************************** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. From dblanchard at gmail.com Tue Feb 21 12:45:25 2006 From: dblanchard at gmail.com (Duane Blanchard) Date: Tue, 21 Feb 2006 12:45:25 -0800 Subject: SPUG: Meeting Announcement -- A Mixed Bag - 21 February 2006 In-Reply-To: References: Message-ID: Apologies to all, I will not be able to make the meeting tonight. I hope to be able to present on my topics in a meeting soon. Thx, Duane On 2/21/06, Andrew Sweger wrote: > > February 2006 Seattle Perl Users Group (SPUG) Meeting > ===================================================== > > Title: A Mixed Bag > Speaker: Duane Blanchard and Geoffrey Grosenbach > > Meeting Date: Tuesday, 21 February 2006 > Meeting Time: 6:30 - 8:30 p.m. > Location: Whitepages.com offices > > Cost: Admission is free and open to the general public > Info: http://seattleperl.org/ > > =========================================== > > Please join us Tuesday evening on 21 February 2006 at the regular monthly > meeting of the Seattle Perl Users Group. We have Duane Blanchard adn > Geoffrey Grosenbach presenting a mixed bag of topics including Yahoo > Widgets (formerly Konfabulator) or on embedding Perl in Active Server > Pages (ASP) and Ruby on Rails (no, really). > > See below for more information on... > > - Speaker Background > - Presentation Description > - Meeting Location > > Speaker Background > ================== > > Duane Blanchard > --------------- > > Duane is a recent recipient of a masters degree in linguistics from the > University of Washington and an experienced web developer. > > Geoffrey Grosenbach > ------------------- > > Geoffrey Grosenbach is a longtime Perl'er and was a regular member of > SPUG until he moved to Taiwan three years ago. After spending two years > as a Technology Coordinator at an American school there, he returned and > is making a comfortable living as a snooty Ruby on Rails consultant. > > He hosts the Ruby on Rails podcast[1] and writes the nuby on rails[2] blog. > > Presentation Description > ======================== > > Ruby on Rails > ------------- > > For a long time, Ruby has presented itself as Perl's little brother (see > "man ruby"). > > Recently, it's been trying to be the little brother who happens to be a > movie star and drives a sportscar (search "google hacker of the year"). > > Is the current attention on Ruby on Rails deserved? Does Rails make > website development faster and easier, or is it fueled by hype? > > Meeting Location > ================ > > Whitepages.com is located on the 16th floor of the Rainier Square Tower > (1301 5th Avenue, Seattle) which is across from the 5th Avenue Theater. > See the directions[3] for a quick primer on how to reach us from various > locations across Puget Sound. > > There are plenty of locations to park in the area, including on the > street. If you're looking for off-street parking, you can park in the > Rainier Square garage which has an entrance on Union St. > > After 6PM, the building management restricts access to most floors. Our > host is trying to take care of this, but if unsuccessful, they will > station someone on the 1st floor near the elevator bank and 5th Avenue > entrance to let people in. Worst case scenario, give our host a call on > his cell phone (206-579-7113) and he'll run down to let you in. > > Our hosts are providing a generous assortment of free sodas, fruit > drinks, teas, and coffee, and also have some snacks. You definitely > won't dehydrate here. > > We look forward to seeing you! > > [1] - http://podcast.rubyonrails.com/ > [2] - http://nubyonrails.com/ > [3] - http://www.whitepagesinc.com/locations > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > -- Duane Blanchard 206.280.1263 There are 10 kinds of people in the world; those who know binary and those who don't. From jobs-noreply at seattleperl.org Tue Feb 21 13:39:49 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Tue, 21 Feb 2006 13:39:49 -0800 (PST) Subject: SPUG: JOB: Perl programmer Message-ID: Description: This company is the nation's largest independent broadband services company, focused on meeting the needs of discerning businesses, professionals and those who depend on the Internet for higher productivity in life. They manages their own private fiber-optic national network, ensuring fast connections, low latency, and an unparalleled degree of security protection from the public Internet. Their full range of products -- from OneLink and VoIP, to business bandwidth solutions and gaming services -- offers features and benefits that other providers can't match. Their broadband services are available in most metropolitan areas within the 48 contiguous United States. Position Summary: In this position, you'll be responsible for the quality development of new products and services, of back-end automation, and for supporting their Perl-based OSS as we begin a transition to a Java-based technology. This is an exciting opportunity to exercise your Perl skill set while at the same time learning Java and its supporting technologies. Your responsibilities include but are not limited to: *Support the existing Perl-based OSS including bug fixes, management of releases and improvements *Learn Java from their experienced Java developers through coaching and by working to facilitate the integration of these technologies *Analyzing business processes and applying current and future technology to improving overall productivity *Working with other teams throughout the company to determine the feasibility, requirements and technical design on assigned projects. *Designing and developing highly automated web-based systems, primarily using object-oriented mod_perl and XML over HTTP. *Carrying out testing and documentation of all systems developed. *Providing ongoing support, maintenance and enhancement of systems. Requirements: To be considered, you must be creative, passionate about process improvement, have strong technical ability with Perl, SQL, SOAP and related technologies. The successful candidate will have an in-depth knowledge of software development methodologies, and an ability to communicate effectively. You must also have the following skills and experience: *BS in Computer Science or equivalent work experience *5+ years solid development experience with object-oriented Perl, mod_perl, XML and HTML in a dynamic, fast-paced environment *5+ years with Operations Support Software *Database development and design experience with SQL and Oracle *Understanding of various software development lifecycle methodologies, configuration management (CVS) and object-oriented software development methodologies *Detailed knowledge of web application architecture and infrastructure *Experience with Linux (primarily Debian and secondarily Red Hat) and with Apache httpd *Ability to work well independently or within a team, especially cross-functional teams *Excellent written and verbal communication skills *Ability to determine unique and creative solutions to problems within a rapid development environment *Java development experience a plus Byron L. Cassell Technical Recruiter Volt Technical Resources | 12101 Tukwila International Boulevard, Suite 210 | Seattle, WA 98168 bcassell at volt.com | t: 206.444.5600 | f: 206.444.5900 From sbaylis at gmail.com Tue Feb 21 13:55:00 2006 From: sbaylis at gmail.com (Steve Baylis) Date: Tue, 21 Feb 2006 13:55:00 -0800 Subject: SPUG: Meeting Announcement -- A Mixed Bag - 21 February 2006 In-Reply-To: References: Message-ID: I will be filling in for Craig tonight, so if you have trouble getting into the WhitePages office, call 425.894.0360 instead of the number provided earlier. -Steve From andrew at sweger.net Tue Feb 21 14:01:50 2006 From: andrew at sweger.net (Andrew Sweger) Date: Tue, 21 Feb 2006 14:01:50 -0800 (PST) Subject: SPUG: spug-list Digest, Vol 32, Issue 10 In-Reply-To: <7D0AAB71F5A3104AA2A7631DA3C7489D16F990@nwwaseant641.alltel.com> Message-ID: We would all appreciate earlier notice. But to make an announcement, we have to first know the Who-What-Where-When. We almost always know the When. The Where is relatively stable thanks to all our generous hosts over the years. Finding the Who is usually finalized at least a couple weeks before the meeting. It's getting the What from the Who that requires the most effort (usually in the form of pestering them, which is hard for me to do). My observation is that most folks base their decision on whether to come or not on the Who and the What. If the good SPUG-folk were only interested in the Where and When, we'd have packed meetings all of the time (or more discussions about Where and When). It used to be largely just me dealing with all these W's (and before that, Tim went to even greater lengths by filling in a couple of those W's himself on many, many occasions). Now there's a group, the SPUG Workers, who volunteer to help get the W's together. You can learn more about the SPUG Workers at, http://mail.pm.org/mailman/listinfo/spug-workers including archives of the group's activity. The group is just starting out, so don't expect miracles yet. As you have all probably noticed, I'm partial to at least some organization as far as conducting regular meetings (again, if it was just Where and When...). So, we'll all work on getting all the W's together sooner so more people have the opportunity to decide if they can afford the time. On Tue, 21 Feb 2006 Eric.D.Peterson at alltel.com wrote: > Thanks for the notice, but could it be possible to get more then > day-of notice? I've already have an appointment for this evening and > can not attend. The topic sounds interesting and I'd like to hear it, > can it be presented again in a few months? -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From boss at topfunky.com Wed Feb 22 10:41:02 2006 From: boss at topfunky.com (Geoffrey Grosenbach) Date: Wed, 22 Feb 2006 10:41:02 -0800 Subject: SPUG: Ruby Cheat Sheet Message-ID: SPUG'rs and Rubyists -- As promised, here are some links from the presentation last night: Cheat Sheet (in process) http://nubyonrails.com/files/ruby.pdf Slides http://nubyonrails.com/files/spug-feb-2006.pdf My Blog http://nubyonrails.com Ruby on Rails Podcast http://podcast.rubyonrails.org Thanks for the opportunity! I plan to be back to hear the lecture on Catalyst. Geoff From MichaelRWolf at att.net Wed Feb 22 18:25:07 2006 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Wed, 22 Feb 2006 21:25:07 -0500 Subject: SPUG: cpan script not working -- behind a firewall or proxy? Message-ID: I'm teaching a class in Connecticut in community college training room that has enough internet connectivity to view search.cpan.org in a browser and click the download button to get a *.gz file that I can unwind myself and issue the standard mantra: make && make test && make install. But I don't like doing it by hand. I much prefer the cpan script!!!! It's automagic. And it chases dependencies for me. And.... I'm LAZY! How much work could it take to get my laziness to pay off?? When I run the cpan script, it goes into config mode, and initially seems to succeed at getting some files, but then tells me that it did not succeed at getting some files. Were those new files that it couldn't download, or a delayed message about a co-process that didn't really succeed at getting the original files? I'm betting on the later because it never shows me the pick list of continents/countries/mirror-sites. The local sysadmin told me that there's an HTTP proxy on 192.168.1.1:8080. It seemed to be key in getting a browser to work. Since I'm ignorant about proxy servers and ports, could someone share their experience or point me to some documentation on how I can debug what's missing so that I can configure the cpan script accordingly. All this is in the service of my Perl evangelism. I want to turn the class on to CPAN, even though none of the Perl material I typically am required to use even mentions CPAN. Please help me help another class of Perl programmers. Thanks, Michael Wolf -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net From cwilkes-spug at ladro.com Wed Feb 22 18:39:49 2006 From: cwilkes-spug at ladro.com (Chris Wilkes) Date: Wed, 22 Feb 2006 18:39:49 -0800 Subject: SPUG: cpan script not working -- behind a firewall or proxy? In-Reply-To: <20060223022549.E7906177A8@x6.develooper.com> References: <20060223022549.E7906177A8@x6.develooper.com> Message-ID: <20060223023949.GB398@chisq.ladro.com> On Wed, Feb 22, 2006 at 09:25:07PM -0500, Michael R. Wolf wrote: > > When I run the cpan script, it goes into config mode, and initially seems to > succeed at getting some files, but then tells me that it did not succeed at > getting some files. Were those new files that it couldn't download, or a > delayed message about a co-process that didn't really succeed at getting the > original files? I'm betting on the later because it never shows me the pick > list of continents/countries/mirror-sites. > > The local sysadmin told me that there's an HTTP proxy on 192.168.1.1:8080. > It seemed to be key in getting a browser to work. > > Since I'm ignorant about proxy servers and ports, could someone share their > experience or point me to some documentation on how I can debug what's > missing so that I can configure the cpan script accordingly. >From within the CPAN shell do a o conf http_proxy and to set it do a o conf http_proxy 192.168.1.1:8080 Give that a shot. A quick explaination of a proxy server is a server that clients, usually browsers on people's desktops, connect to that then turns around and gets the web page from the internet. People usually install them to save on bandwidth (the server can cache images, which is helpful if hundreds of people go to the same website) and when they want to restrict what IPs can go out the internet or what websites people can go to. In your case the admin has probably turned off all web access to clients not going through the proxy server. Since you didn't tell CPAN to use a proxy server it tries to connect to the website directly, thus the admin's firewall is blocking your request. Chris From tcaine at cac.washington.edu Wed Feb 22 18:43:29 2006 From: tcaine at cac.washington.edu (tcaine@cac.washington.edu) Date: Wed, 22 Feb 2006 18:43:29 -0800 (PST) Subject: SPUG: cpan script not working -- behind a firewall or proxy? In-Reply-To: <20060223022551.11064177E1@x6.develooper.com> References: <20060223022551.11064177E1@x6.develooper.com> Message-ID: You might try setting $CPAN::Config->{http_proxy}. See "perldoc CPAN" for more info. cpan> o conf http_proxy http://192.168.1.1:8080 cpan> o conf commit -Todd On Wed, 22 Feb 2006, Michael R. Wolf wrote: > I'm teaching a class in Connecticut in community college training room that > has enough internet connectivity to view search.cpan.org in a browser and > click the download button to get a *.gz file that I can unwind myself and > issue the standard mantra: make && make test && make install. > > But I don't like doing it by hand. I much prefer the cpan script!!!! It's > automagic. And it chases dependencies for me. And.... I'm LAZY! > > How much work could it take to get my laziness to pay off?? > > When I run the cpan script, it goes into config mode, and initially seems to > succeed at getting some files, but then tells me that it did not succeed at > getting some files. Were those new files that it couldn't download, or a > delayed message about a co-process that didn't really succeed at getting the > original files? I'm betting on the later because it never shows me the pick > list of continents/countries/mirror-sites. > > The local sysadmin told me that there's an HTTP proxy on 192.168.1.1:8080. > It seemed to be key in getting a browser to work. > > Since I'm ignorant about proxy servers and ports, could someone share their > experience or point me to some documentation on how I can debug what's > missing so that I can configure the cpan script accordingly. > > All this is in the service of my Perl evangelism. I want to turn the class > on to CPAN, even though none of the Perl material I typically am required to > use even mentions CPAN. > > Please help me help another class of Perl programmers. > > Thanks, > Michael Wolf > > -- > Michael R. Wolf > All mammals learn by playing! > MichaelRWolf at att.net > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > From jlb at io.com Wed Feb 22 19:53:07 2006 From: jlb at io.com (jlb) Date: Wed, 22 Feb 2006 21:53:07 -0600 (CST) Subject: SPUG: cpan script not working -- behind a firewall or proxy? In-Reply-To: References: <20060223022551.11064177E1@x6.develooper.com> Message-ID: <20060222215201.D2186@eris.io.com> On Wed, 22 Feb 2006 tcaine at cac.washington.edu wrote: > You might try setting $CPAN::Config->{http_proxy}. See "perldoc CPAN" for > more info. > > cpan> o conf http_proxy http://192.168.1.1:8080 > cpan> o conf commit You'll also want to verify that you're using http CPAN servers, I think, any ftp servers will likely not work over ftp. Jon From andrew at seattleperl.org Wed Feb 22 20:16:51 2006 From: andrew at seattleperl.org (Andrew Sweger) Date: Wed, 22 Feb 2006 20:16:51 -0800 (PST) Subject: SPUG: The SPUG Report, 21 February 2006 Message-ID: About 16 folks showed up and got to see Geoffrey Grosenbach's Ruby on Rails presentation. No over ripe vegetables were thrown during the meeting. Even Geoffrey's hired hecklers were suspiciously quiet during the presentation. I walked out of the meeting even more impressed with Ruby and the Rails framework. I also felt even more sure about my choice to stick with Perl (for I am getting older and crustier). Besides, Perl 6 will be done any day now, right? I dropped hints that next month we might have a presentation from Jerry Gay on Parrot. I also suggested that folks might put pressure on a certain long-time SPUGger to put together a Catalyst presentation. Consider yourself warned that the next regular SPUG meeting is Tuesday evening, 21 March 2006. The next announcement should come out sometime before the morning of 21 March 2006. ;) -- Andrew B. Sweger | P.O. Box 33147 President | Seattle WA 98133 Seattle Perl Users Group | (206) 219-7119 andrew{at}seattleperl.org | http://seattleperl.org/ From MichaelRWolf at att.net Thu Feb 23 16:30:16 2006 From: MichaelRWolf at att.net (Michael R. Wolf) Date: Thu, 23 Feb 2006 19:30:16 -0500 Subject: SPUG: reAnimator -- WAY cool Message-ID: This RE animator is way cool. It arrived just in time for the regular expression lecture in the Perl class I'm teaching this week. What a great learning tool. And even fun for those of us who think we know how they work. It doesn't implement the full Perl syntax for regular expressions, but it does a great job. It's only been out since Sunday, and I've already seen some bug fixes. Check it out!!! reAnimator: Regular Expression FSA Visualizer http://osteele.com/tools/reanimator/ -- Michael R. Wolf All mammals learn by playing! MichaelRWolf at att.net