From rkleeman at energoncube.net Thu Apr 1 16:01:48 2010 From: rkleeman at energoncube.net (Bob Kleemann) Date: Thu, 1 Apr 2010 16:01:48 -0700 Subject: [San-Diego-pm] Fwd: UG News: Discount for O'Reilly Open Source Convention (OSCON) In-Reply-To: <1270162821.6730.0.298015@post.oreilly.com> References: <1270162821.6730.0.298015@post.oreilly.com> Message-ID: ---------- Forwarded message ---------- From: Marsee Henon Date: Thu, Apr 1, 2010 at 4:00 PM Subject: UG News: Discount for O'Reilly Open Source Convention (OSCON) If you would like to view this information in your browser, click here . [image: O'Reilly] Forward this announcement Hi, OSCON Registration is open. Here's a discount you can pass along to your members through your mailing list or at your meetings: OSCON happens July 19-23, 2010 in Portland, OR Use code "os10usrg" when you register, and receive 20% off the registration price. To register for the conference, go to http://oreil.ly/osconug2010 At OSCON, you'll participate in hundreds of sessions covering open source languages and platforms, practical tutorials that go deep into technical skill and best practices, inspirational keynote presentations, an Expo Hall featuring dozens of the latest projects and products, fun networking events and activities, and the best "hallway track" around. - Explore the benefits and challenges of building scalable applications for the cloud - Use open source to target Android, iPhone and other mobile platforms - Understand how and when to use NoSQL databases - Learn best practices from experts in Python, Java, Ruby, Perl, PHP and JavaScript - Use open source effectively as part of your business strategy - Learn how to foster contribution and adoption of your open source projects Follow OSCON on your favorite social networking sites: Facebook Twitter(or look for #OSCON) LinkedIn Hope to see you there, Marsee Henon [image: Spreading the knowledge of innovators][image: oreilly.com] You are receiving this email because you are a User Group contact with O'Reilly Media. Forward this announcement. If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to marsee at oreilly.com. O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472 (707) 827-7000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rkleeman at energoncube.net Tue Apr 6 14:51:43 2010 From: rkleeman at energoncube.net (Bob Kleemann) Date: Tue, 6 Apr 2010 14:51:43 -0700 Subject: [San-Diego-pm] Perl question In-Reply-To: <79F7A6621048EF4680FE4FA12B9F8A5837DB45@swrmcmail2.SWRMC.NAVY.MIL> References: <79F7A6621048EF4680FE4FA12B9F8A5837DB45@swrmcmail2.SWRMC.NAVY.MIL> Message-ID: Norm, Since I'm not familiar with the process or what environment it runs in, it's hard to say what is going wrong. If you're not running in a persistent environment like mod_perl or FastCGI, then it's probably unlikely that you're sharing information between two processes. Explicitly scoping your variables with "my" will probably help. I'm CC'ing your message to the mailing list in case anybody else has some ideas which might help your situation. -- Bob On Tue, Apr 6, 2010 at 10:56 AM, Knupp, Norman C. wrote: > Bob, > > I have been seeing an occasional problem with my application. ?It sends out > event-related e-mails, but once in a while I see instances where a message > is sent to a recipient for wrong event. ?It is as if two instances of the > program are running at exactly the same time and sharing global variable > space. ?Is that possible? ?I'm not explicitly scoping them. ?I'm using a > hash to store two types of addresses: authenticated and unauthenticated. > The list of addresses in the authenticated hash gets one message and each > address in the unauthenticated has gets another message, but both are > supposed to be for the same event. > > Any thoughts? > > Norm Knupp, BAE Systems SDSR > RMMCO DBA & Webmaster > https://rmmco.navy.mil > 619-556-4998 (DSN 312-526-4998) > norman.knupp.ctr at swrmc.navy.mil or norman.knupp at navy.mil > From rlssdpm at schnapp.org Tue Apr 6 15:03:58 2010 From: rlssdpm at schnapp.org (Russ Schnapp) Date: Tue, 06 Apr 2010 15:03:58 -0700 Subject: [San-Diego-pm] Conway talk? In-Reply-To: <4BBBAF6D.2@schnapp.org> References: <4BBBAF6D.2@schnapp.org> Message-ID: <4BBBAFCE.9060301@schnapp.org> So, is Damian Conway still scheduled to give us a talk on Thursday night? 8PM? Qualcomm Auditorium? From rkleeman at energoncube.net Tue Apr 6 15:32:25 2010 From: rkleeman at energoncube.net (Bob Kleemann) Date: Tue, 6 Apr 2010 15:32:25 -0700 Subject: [San-Diego-pm] Conway talk? In-Reply-To: <4BBBAFCE.9060301@schnapp.org> References: <4BBBAF6D.2@schnapp.org> <4BBBAFCE.9060301@schnapp.org> Message-ID: Russ, and fellow Perl Mongers, Yes, Damian Conway is scheduled to talk this Thursday evening. Time (either 7 PM or 8 PM) and location (somewhere in the Mira Mesa area) are still being nailed down. I'm sorry for the delay, I intend to send out an email as soon as I know. On Tue, Apr 6, 2010 at 3:03 PM, Russ Schnapp wrote: > So, is Damian Conway still scheduled to give us a talk on Thursday night? > ?8PM? ?Qualcomm Auditorium? > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > From tkil at scrye.com Tue Apr 6 19:20:48 2010 From: tkil at scrye.com (Anthony Foiani) Date: Tue, 06 Apr 2010 20:20:48 -0600 Subject: [San-Diego-pm] mysteriously shared email addresses (was: Re: Perl question) In-Reply-To: (Bob Kleemann's message of "Tue, 6 Apr 2010 14:51:43 -0700") References: <79F7A6621048EF4680FE4FA12B9F8A5837DB45@swrmcmail2.SWRMC.NAVY.MIL> Message-ID: Norm -- On Tue, Apr 6, 2010 at 10:56 AM, Knupp, Norman C. wrote: > I have been seeing an occasional problem with my application. ?It > sends out event-related e-mails, but once in a while I see instances > where a message is sent to a recipient for wrong event. ?It is as if > two instances of the program are running at exactly the same time > and sharing global variable space. ?Is that possible? ?I'm not > explicitly scoping them. ? As Bob mentioned, if you're running two separate processes, they will not share information unless you go through some effort for them to do so. What might be happening, though, is that your script might use some sort of global resource in such a way that another process could be impacting that resource. In this case, I wonder if your e-mail generating script perhaps writes temporary files to /tmp or similar? If those names are not carefully chosen, I can easily see a situation where process 1 writes a message, process 2 overwrites it with another message, then process 1 sends the contents of that file to some address. Various standard ways of generating tempfile names (or even naked file descriptors that never even appear in a listing) should fix that. > I'm using a hash to store two types of addresses: authenticated and > unauthenticated. The list of addresses in the authenticated hash > gets one message and each address in the unauthenticated has gets > another message, but both are supposed to be for the same event. Is this a persistent hash, e.g., using one of the DBM modules, or BerkeleyDB or similar? If so, that's another place where you could be accidentally sharing information. Make sure that your access to any shared resource (/tmp, email database, etc) is fully protected against unwanted reader/writer interactions. Good luck, t. From rkleeman at energoncube.net Wed Apr 7 15:22:10 2010 From: rkleeman at energoncube.net (Bob Kleemann) Date: Wed, 7 Apr 2010 15:22:10 -0700 Subject: [San-Diego-pm] Damian Conway, April 8, 7 PM Message-ID: Perl Mongers, Here is what everyone has been waiting for: Damian Conway is speaking Thursday night, April 8th. Show up at the Residence Inn Sorrento Mesa (5995 Pacific Mesa Court, San Diego, CA 92121, Phone (858) 552-9100) and watch him present Twilight Perl (http://damian.conway.org/Seminars/Twilight.html). We'll start around 7 PM and laugh and learn all the way through. All are welcome, RSVPs are appreciated. Please let me know if there are any questions. I look forward to seeing you all soon! From rkleeman at energoncube.net Wed Apr 14 10:23:03 2010 From: rkleeman at energoncube.net (Bob Kleemann) Date: Wed, 14 Apr 2010 10:23:03 -0700 Subject: [San-Diego-pm] Meeting Thursday Message-ID: Perl Mongers! There is a meeting tomorrow evening, at our normal time and location: The Anonymizer offices near I-805 and Mira Mesa Blvd at 7 PM. We're going to chat about Damian's recent talk "Twilight Perl", Perl 6, and probably many other topics. Bring your notes, reviews, thoughts, ideas, and questions and we'll discuss. Give me a heads up if you're planning to attend. I look forward to seeing you all there. -- Bob From rkleeman at energoncube.net Sun Apr 18 14:39:40 2010 From: rkleeman at energoncube.net (Bob Kleemann) Date: Sun, 18 Apr 2010 14:39:40 -0700 Subject: [San-Diego-pm] Fwd: Poll: What is the primary operating system you use for developing Perl applications? In-Reply-To: References: Message-ID: Perl Mongers, Please answer the survey at your convenience. ---------- Forwarded message ---------- From: Gabor Szabo Date: Sun, Apr 18, 2010 at 1:46 PM Subject: Poll: What is the primary operating system you use for developing Perl applications? Please take the 5 sec to answer this question on the new poll I setup: http://perlide.org/poll201004/ and send this request to the other people using Perl in your company. thanks Gabor -- Gabor Szabo http://szabgab.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruberad at gmail.com Mon Apr 19 20:02:39 2010 From: ruberad at gmail.com (Reuben Settergren) Date: Mon, 19 Apr 2010 20:02:39 -0700 Subject: [San-Diego-pm] San-Diego-pm Digest, Vol 72, Issue 5 In-Reply-To: References: Message-ID: Can I vote for solaris 6 times, and WinXP 4 times, to reflect my approximate proportion of unix/windoze perl development? Frankly, some of the biggest advances in my Perl best practice came from writing Perl scripts that have to run on both platforms. :-) r On Mon, Apr 19, 2010 at 12:00 PM, wrote: > Send San-Diego-pm mailing list submissions to > san-diego-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.pm.org/mailman/listinfo/san-diego-pm > or, via email, send a message with subject or body 'help' to > san-diego-pm-request at pm.org > > You can reach the person managing the list at > san-diego-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of San-Diego-pm digest..." > > > Today's Topics: > > 1. Fwd: Poll: What is the primary operating system you use for > developing Perl applications? (Bob Kleemann) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 18 Apr 2010 14:39:40 -0700 > From: Bob Kleemann > Subject: [San-Diego-pm] Fwd: Poll: What is the primary operating > system you use for developing Perl applications? > To: San Diego Perl Mongers > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Perl Mongers, > > Please answer the survey at your convenience. > > ---------- Forwarded message ---------- > From: Gabor Szabo > Date: Sun, Apr 18, 2010 at 1:46 PM > Subject: Poll: What is the primary operating system you use for developing > Perl applications? > > Please take the 5 sec to answer this question on the new poll I setup: > > http://perlide.org/poll201004/ > > and send this request to the other people using Perl in your company. > > thanks > Gabor > > -- > Gabor Szabo http://szabgab.com/ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.pm.org/pipermail/san-diego-pm/attachments/20100418/b669b612/attachment-0001.html > > > > ------------------------------ > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > > End of San-Diego-pm Digest, Vol 72, Issue 5 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gautam.dey77 at gmail.com Tue Apr 20 06:48:30 2010 From: gautam.dey77 at gmail.com (Gautam Dey) Date: Tue, 20 Apr 2010 06:48:30 -0700 Subject: [San-Diego-pm] Damian Conway Message-ID: Anyway remember the tip Damian gave for examining what the perl parser thinks your code looks like? I can not find my notes on that. thanks, Gautam. From elspicyjack at gmail.com Tue Apr 20 06:56:21 2010 From: elspicyjack at gmail.com (Brian Manning) Date: Tue, 20 Apr 2010 07:56:21 -0600 Subject: [San-Diego-pm] Damian Conway In-Reply-To: References: Message-ID: On Tue, Apr 20, 2010 at 7:48 AM, Gautam Dey wrote: > Anyway remember the tip Damian gave for examining what the perl parser > thinks your code looks like? > > I can not find my notes on that. IIRC it's B::Deparse http://perldoc.perl.org/B/Deparse.html perl -MO=Deparse,-x9 Unfortunately, my notes are in San Diego, and I'm currently in Boulder, so the above line may not be 100% correct. Thanks, Brian From mark.schoonover at gmail.com Tue Apr 20 07:48:44 2010 From: mark.schoonover at gmail.com (Mark Schoonover) Date: Tue, 20 Apr 2010 07:48:44 -0700 Subject: [San-Diego-pm] Damian Conway In-Reply-To: References: Message-ID: On Tue, Apr 20, 2010 at 6:56 AM, Brian Manning wrote: > On Tue, Apr 20, 2010 at 7:48 AM, Gautam Dey > wrote: > > Anyway remember the tip Damian gave for examining what the perl parser > > thinks your code looks like? > > > > I can not find my notes on that. > > IIRC it's B::Deparse > > http://perldoc.perl.org/B/Deparse.html > > perl -MO=Deparse,-x9 > > Unfortunately, my notes are in San Diego, and I'm currently in > Boulder, so the above line may not be 100% correct. > I wrote that little gem down, and it's correct. Well, once you provide the filename on the end of the command! :) Mark Schoonover RUSA #5251 http://surlyrando.blogspot.com http://www.linkedin.com/in/markschoonover Cell: 619-368-0099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xrz1138 at gmail.com Tue Apr 20 10:43:28 2010 From: xrz1138 at gmail.com (Christopher Hahn) Date: Tue, 20 Apr 2010 10:43:28 -0700 Subject: [San-Diego-pm] Damian Conway In-Reply-To: References: Message-ID: Confirmed! (you have it right) (I am still giggling about the Process Table Progress Meter ;0) 2010/4/20 Mark Schoonover : > On Tue, Apr 20, 2010 at 6:56 AM, Brian Manning > wrote: >> >> On Tue, Apr 20, 2010 at 7:48 AM, Gautam Dey >> wrote: >> > Anyway remember the tip Damian gave for examining what the perl parser >> > thinks your code looks like? >> > >> > I can not find my notes on that. >> >> IIRC it's B::Deparse >> >> http://perldoc.perl.org/B/Deparse.html >> >> perl -MO=Deparse,-x9 >> >> Unfortunately, my notes are in San Diego, and I'm currently in >> Boulder, so the above line may not be 100% correct. > > > I wrote that little gem down, and it's correct. Well, once you provide the > filename on the end of the command! :) > > Mark Schoonover RUSA #5251 > http://surlyrando.blogspot.com > http://www.linkedin.com/in/markschoonover > Cell: 619-368-0099 > > > _______________________________________________ > San-Diego-pm mailing list > San-Diego-pm at pm.org > http://mail.pm.org/mailman/listinfo/san-diego-pm > -- Realisant mon espoir, je me lance vers la gloire. Christopher Hahn == xrz1138 at gmail.com From joel at fentin.com Tue Apr 20 19:44:44 2010 From: joel at fentin.com (Joel Fentin) Date: Tue, 20 Apr 2010 19:44:44 -0700 Subject: [San-Diego-pm] zip map overlay Message-ID: <4BCE669C.7050903@fentin.com> Is there anything out there where you give it a zip code (or zip codes) and it overlays a color over that/those zip code(s) on Google maps? Anything similar? perl perl perl -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From chris at chrisgrau.com Wed Apr 21 08:19:08 2010 From: chris at chrisgrau.com (Chris Grau) Date: Wed, 21 Apr 2010 08:19:08 -0700 Subject: [San-Diego-pm] zip map overlay In-Reply-To: <4BCE669C.7050903@fentin.com> References: <4BCE669C.7050903@fentin.com> Message-ID: <20100421151908.GA30743@chrisgrau.com> On Tue, Apr 20, 2010 at 07:44:44PM -0700, Joel Fentin wrote: > Is there anything out there where you give it a zip code (or zip > codes) and it overlays a color over that/those zip code(s) on Google > maps? > > Anything similar? A quick Google search found me this: http://www.zipmaps.net (I don't think that's actually irony). Is that what you were looking for? I don't think there's any Perl involved, though. From joel at fentin.com Wed Apr 21 08:50:51 2010 From: joel at fentin.com (Joel Fentin) Date: Wed, 21 Apr 2010 08:50:51 -0700 Subject: [San-Diego-pm] zip map overlay In-Reply-To: <20100421151908.GA30743@chrisgrau.com> References: <4BCE669C.7050903@fentin.com> <20100421151908.GA30743@chrisgrau.com> Message-ID: <4BCF1EDB.3010606@fentin.com> Chris Grau wrote: > On Tue, Apr 20, 2010 at 07:44:44PM -0700, Joel Fentin wrote: >> Is there anything out there where you give it a zip code (or zip >> codes) and it overlays a color over that/those zip code(s) on Google >> maps? >> >> Anything similar? > > A quick Google search found me this: http://www.zipmaps.net (I don't > think that's actually irony). > > Is that what you were looking for? I don't think there's any Perl > involved, though. Probably not, but I'll take a closer look. Suppose a particular native plant grows in an area roughly corresponding to a few zip codes. Suppose you wish to display a map with said area overlaid or highlighted on a web page. When you are dealing with thousands of plants, something dynamic is needed. If something new is understood/discovered about the plant one might also change its boundaries. Thank you for getting back to me. -- Joel Fentin tel: 760-749-8863 Biz Website: http://fentin.com Personal Website: http://fentin.com/me From chris at chrisgrau.com Mon Apr 26 09:30:32 2010 From: chris at chrisgrau.com (Chris Grau) Date: Mon, 26 Apr 2010 09:30:32 -0700 Subject: [San-Diego-pm] Meeting Notes - 15 April 2010 Message-ID: <20100426163032.GA17988@chrisgrau.com> =head1 NAME SanDiego::Meeting - Meeting of the San Diego Perl Mongers =head1 DATE Thursday, 15 April 2010, 19:00 - 21:00 =head1 LOCATION The offices of Anonymizer, San Diego (Sorrento Valley), Calif., USA L Thanks for the use of the room and for the food from Rubio's! =head1 DESCRIPTION This is a simple meeting recap, conveniently written in pod so everyone can read it in whatever format they prefer. If you lack an appropriate formatter, well, you can always write one. As an added bonus, if you're using a decent MUA *cough*Mutt*cough*, a formatter is only a few keystrokes away: macro pager ,pd "pod2text" =head1 ATTENDEES April's meeting was sparsely attended. It was assumed everyone was still attempting to digest Damian Conway's presentation of I last Thursday, which was well attended. =over =item * Cathy =item * Manny =item * Michelle (Happy Birthday!) =item * Jeremy (Thanks for hosting) =item * Chris (Me) =item * Brian =back =head1 TOPICS =head2 Loading User-Defined Plugin Modules Manny is working on a plugin system for a Perl-based blogging application he's hacking on. He queried the group for advice on how to implement such a system. The C module L was recommended as a solution from the CPAN. However, this being a Perl Mongers meeting, we had to take the time to discuss other methods, including how we'd roll our own solution. For example, a simple way of adding plugin support would be to implement something like this: for my $module ( glob "$plugin_dir/*.pm" ) { do $module; } Plugin authors would place their modules in a known, or configured, location. The C statement would evaluate the file, running any code and defining any packages or subroutines contained in the plugin files. By using C instead of C, plugin files can be re-read (without modifying C<%INC>) in running code, such as in a mod_perl environment. The Template Toolkit system has a mature and flexible method of defining and loading plugins L, which is worth evaluating as a potential solution. Plugins inherit from a common class and may be located anywhere within the C<@INC> search path. The trade off is that the developer or user must explicitly load each plugin before it can be used; however, for Template Toolkit, this is a desirable behavior. =head2 I I spent about half the meeting reviewing each of the concepts presented in Damian Conway's I L last week. This was a fun review for those who attended the presentation. However, for those who weren't able to attend, I did not do it justice. While I have decent notes from the presentation, posting them to the list begins to border on plagiarism. However, I'll be more than happy to discuss each concept at future meetings or in the IRC channel (#SanDiego.pm on Freenode). =head1 NEXT MEETING Thursday, 20 May 2010, 19:00 - 21:00 Tentatively planned is a presentation on and demonstration of the awesome new features found in Perl 6 using Rakudo. =cut