From josh at agliodbs.com Mon Sep 3 21:19:43 2012 From: josh at agliodbs.com (Josh Berkus) Date: Mon, 03 Sep 2012 21:19:43 -0700 Subject: [sf-perl] [job] Perl/Catalyst/Postgres job at UC Berkeley Message-ID: <5045815F.3040704@agliodbs.com> Folks, Paul Rivers asked me to pass this along: http://jobs.perl.org/job/16392 This must be somebody's dream job. Please get in contact with UCB! -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com From fred at redhotpenguin.com Wed Sep 5 22:18:05 2012 From: fred at redhotpenguin.com (Fred Moyer) Date: Wed, 5 Sep 2012 22:18:05 -0700 Subject: [sf-perl] [meeting] SVPerl field trip on September 6th In-Reply-To: References: Message-ID: If anyone needs a ride to this event tomorrow, I'm leaving SF at ~5:30pm (traffic depending) and can take 3 passengers. Email me off list to co-ordinate. On Thu, Aug 23, 2012 at 1:37 PM, Fred Moyer wrote: > SVPerl is having a meeting on September 6th. If you're interested in > carpooling to the event as part of an SF.pm contingent, RSVP here and > also on their meetup page (which is linked). I can drive and take 3 > passengers. > > http://www.meetup.com/San-Francisco-Perl-Mongers/events/76145992/ From doom at kzsu.stanford.edu Thu Sep 6 13:21:16 2012 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Thu, 6 Sep 2012 13:21:16 -0700 Subject: [sf-perl] Slides for OOPS: Object Oriented Persistent Store Message-ID: David Sharnoff was good enough to send along the link to his slides for his talk about OOPS: "Object Oriented Persistent Store": https://docs.google.com/presentation/d/1jGo53fdAQA0WcvDfNvZEvR2P3taqjAM7u22-lM56Om4/edit Note: these work much better in the chromium browser than in firefox. From fred at redhotpenguin.com Mon Sep 10 08:09:30 2012 From: fred at redhotpenguin.com (Fred Moyer) Date: Mon, 10 Sep 2012 08:09:30 -0700 Subject: [sf-perl] =?windows-1252?q?Fwd=3A_=5Boak_perl=5D_George_Woolley?= =?windows-1252?q?=2C_1935=962012?= In-Reply-To: <504A7FC1.6020907@lmi.net> References: <504A7FC1.6020907@lmi.net> Message-ID: Some of you here from the early days of SF.pm may have known George. ---------- Forwarded message ---------- From: Arden Schaeffer Date: Fri, Sep 7, 2012 at 4:14 PM Subject: [oak perl] George Woolley, 1935?2012 To: OPUG George Woolley died September 6 shortly before 4:40 p.m. you may wish to send condolences to Rachel Woolley i send my condolences to all those of you who miss him. ~Arden Schaeffer _______________________________________________ Oakland mailing list Oakland at pm.org http://mail.pm.org/mailman/listinfo/oakland From david at fetter.org Mon Sep 10 08:50:19 2012 From: david at fetter.org (David Fetter) Date: Mon, 10 Sep 2012 08:50:19 -0700 Subject: [sf-perl] =?utf-8?q?Fwd=3A_=5Boak_perl=5D_George_Woolley=2C_1935?= =?utf-8?b?4oCTMjAxMg==?= In-Reply-To: References: <504A7FC1.6020907@lmi.net> Message-ID: <20120910155019.GA12290@fetter.org> I don't recall that George attended early SF.pm meetings, but he did work hard and make sure that Oakland.pm functioned, for years. Rest in peace, George. Cheers, David. On Mon, Sep 10, 2012 at 08:09:30AM -0700, Fred Moyer wrote: > Some of you here from the early days of SF.pm may have known George. > > > ---------- Forwarded message ---------- > From: Arden Schaeffer > Date: Fri, Sep 7, 2012 at 4:14 PM > Subject: [oak perl] George Woolley, 1935?2012 > To: OPUG > > > George Woolley died September 6 shortly before 4:40 p.m. > > you may wish to send condolences to > Rachel Woolley > > i send my condolences to all those of you who miss him. > > ~Arden Schaeffer > > _______________________________________________ > Oakland mailing list > Oakland at pm.org > http://mail.pm.org/mailman/listinfo/oakland > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter at gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate From extasia at extasia.org Tue Sep 18 14:32:10 2012 From: extasia at extasia.org (David Alban) Date: Tue, 18 Sep 2012 14:32:10 -0700 Subject: [sf-perl] [ot?] no pipe for you Message-ID: greetings, a user said that one of my perl library routines that does sudo commands was hanging. the user was using the routine to restart a system service (i.e., invoke an /etc/init.d script via /sbin/service). i started poking and it was hanging in my routine at the line: @results = qx{ $command 2>&1 }; we've used this routine for a few years without anything like this happening. so i poke some more and found that all of these act "normally": $ sudo service foo restart $ sudo service foo stop $ sudo service foo start $ sudo bash -xv /etc/init.d/foo stop 2>&1 | tee junk but... these do their actions successfully (start and restart) and then subsequently fail to return the command prompt (i.e., hang): $ sudo bash -xv /etc/init.d/foo start 2>&1 | tee junk $ sudo bash -xv /etc/init.d/foo restart 2>&1 | tee junk these "hang", too: $ sudo service wso2am start 2>&1 | tee ~/junk $ sudo service wso2am restart 2>&1 | tee ~/junk i remember discovering that the ps command behaves different if its output goes to a pipe (it doesn't truncate the output at the edge of your screen), but might anyone here have an idea about why the start and restart hang when their output it going to a pipe? wierd. thanks, david -- Live in a world of your own, but always welcome visitors. *** Rule of law is for the little people. http://www.amazon.com/Liberty-Justice-Some-Equality-Powerful/dp/0805092056 From doom at kzsu.stanford.edu Tue Sep 18 16:20:22 2012 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Tue, 18 Sep 2012 16:20:22 -0700 Subject: [sf-perl] [ot?] no pipe for you In-Reply-To: References: Message-ID: Hm. Never heard of this one... David Alban wrote: > a user said that one of my perl library routines that does sudo > commands was hanging. the user was using the routine to restart a > system service (i.e., invoke an /etc/init.d script via /sbin/service). > > i started poking and it was hanging in my routine at the line: > > @results = qx{ $command 2>&1 }; > > we've used this routine for a few years without anything like this happening. > > so i poke some more and found that all of these act "normally": > > $ sudo service foo restart > $ sudo service foo stop > $ sudo service foo start > $ sudo bash -xv /etc/init.d/foo stop 2>&1 | tee junk > > but... these do their actions successfully (start and restart) and > then subsequently fail to return the command prompt (i.e., hang): > > $ sudo bash -xv /etc/init.d/foo start 2>&1 | tee junk > $ sudo bash -xv /etc/init.d/foo restart 2>&1 | tee junk > > these "hang", too: > > $ sudo service wso2am start 2>&1 | tee ~/junk > $ sudo service wso2am restart 2>&1 | tee ~/junk > > i remember discovering that the ps command behaves different if its > output goes to a pipe (it doesn't truncate the output at the edge of > your screen), but might anyone here have an idea about why the start > and restart hang when their output it going to a pipe? Speculating wildly... Do the scripts involved play games with checking `tty -s` for non-zero return? Maybe fancy sudo redirect pipe combos can convince them there's nothing connected to stdin or stdout? (Seems unlikely). Could there be a peculiar permissions problem on teeing to ~/junk? Typically you'd expect "sudo" to give you higher permissions, but if it's just giving you *different* permissions, you might have trouble accessing a location in a networked file system. (Also seems unlikely). Are you really multiplying redirects, like this (I've never tried this... don't see why it would cause something to hang, but it seems funny): sudo bash -xv /etc/init.d/foo start 2>&1 | tee junk 2>%1 From sphink at gmail.com Tue Sep 18 16:34:41 2012 From: sphink at gmail.com (Steve Fink) Date: Tue, 18 Sep 2012 16:34:41 -0700 Subject: [sf-perl] [ot?] no pipe for you In-Reply-To: References: Message-ID: On Tue, Sep 18, 2012 at 4:20 PM, Joseph Brenner wrote: > Hm. Never heard of this one... > > David Alban wrote: > >> a user said that one of my perl library routines that does sudo >> commands was hanging. the user was using the routine to restart a >> system service (i.e., invoke an /etc/init.d script via /sbin/service). >> >> i started poking and it was hanging in my routine at the line: >> >> @results = qx{ $command 2>&1 }; >> >> we've used this routine for a few years without anything like this happening. >> >> so i poke some more and found that all of these act "normally": >> >> $ sudo service foo restart >> $ sudo service foo stop >> $ sudo service foo start >> $ sudo bash -xv /etc/init.d/foo stop 2>&1 | tee junk >> >> but... these do their actions successfully (start and restart) and >> then subsequently fail to return the command prompt (i.e., hang): >> >> $ sudo bash -xv /etc/init.d/foo start 2>&1 | tee junk >> $ sudo bash -xv /etc/init.d/foo restart 2>&1 | tee junk >> >> these "hang", too: >> >> $ sudo service wso2am start 2>&1 | tee ~/junk >> $ sudo service wso2am restart 2>&1 | tee ~/junk >> > Could there be a peculiar permissions problem on teeing to ~/junk? > Typically you'd expect "sudo" to give you higher permissions, but if > it's just giving you *different* permissions, you might have trouble > accessing a location in a networked file system. (Also seems > unlikely). tee isn't running under sudo in the above commands. I would strace the hung process to see what it's blocked on. (You'll have to sudo strace it, of course.) From fred at redhotpenguin.com Wed Sep 19 13:17:39 2012 From: fred at redhotpenguin.com (Fred Moyer) Date: Wed, 19 Sep 2012 13:17:39 -0700 Subject: [sf-perl] [meeting] tidyall, the one-stop code cleaning wonder! Message-ID: Our regularly scheduled meeting will take place at Mother Jones next Tuesday at 7pm. http://www.meetup.com/San-Francisco-Perl-Mongers/events/81413862/ Great code tidiers and validators exist for just about every language (Perl, HTML, Javascript, CSS...), but each tool has its own interface and idiosyncracies. Applying the right ones to all files in your project can be painful and error prone. Enter tidyall: a unifying framework for code tidiers and validators. A single config file at the top of your project specifies which tools to use on which files. Besides the command-line, you can run tidyall in a variety of useful contexts: your editor, git/svn pre-commit hooks, unit tests, and Dist::Zilla builds. The author will describe tidyall and, more generally, the benefits of enforcing common styles in a multi-developer, multi-lingual code base. For more information about tidyall see https://metacpan.org/module/tidyall http://www.openswartz.com/2012/08/21/one-tidier-to-rule-them-all/ ABOUT THE AUTHOR Jonathan Swartz is a 15+ year unabashed Perl devotee living in Berkeley, CA. He's the author of various CPAN distributions including Mason, Poet and CHI. He currently consults for Hearst Magazines in New York as well as VeriFone, Inc. From jeff at imaginative-software.com Wed Sep 19 19:07:24 2012 From: jeff at imaginative-software.com (Jeffrey Thalhammer) Date: Wed, 19 Sep 2012 19:07:24 -0700 Subject: [sf-perl] [Module Announcement] Pinto Message-ID: Pinto is a sophisticated application for managing Perl module dependencies. You may have heard about it from my presentation at YAPC earlier this year. In the last few months, Pinto has continued to evolve. The latest release includes a version control mechanism that allows you to review changes to your dependency stack and roll the stack back to a prior revision. If your application has ever broken unexpectedly when a new version of a dependency is released to CPAN, or if you've struggled to create builds with consistent versions of your dependencies, then Pinto might be the tool you need. So I invite you to give it a try and send me your feedback. Some features are still experimental, so I recommend installing it into a sandbox with cpanm. Here's how to get started: # Install into the "sandbox" directory cpanm --local-lib=sandbox Pinto App::Pinto # Get a listing of available pinto commands perl -Isandbox/lib/perl5 sandbox/bin/pinto commands Pinto has extensive documentation too. Pinto::Manual::QuickStart shows sample commands for common operations. Pinto::Manual::Tutorial is a step-by-step explanation of how and why to use Pinto. Lastly, Pinto::Manual::Introduction gives the big-picture of why Pinto exists in the first place. I look forward to hearing what you all think. --Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From rdm at cfcl.com Fri Sep 21 07:26:15 2012 From: rdm at cfcl.com (Rich Morin) Date: Fri, 21 Sep 2012 07:26:15 -0700 Subject: [sf-perl] Is Perl helping Mother Jones to cope? Message-ID: <10B170AF-CBD9-45EB-9A57-8AD2A2001A3E@cfcl.com> Mother Jones has gotten more than a little publicity recently. I suspect that this has caused a slew of web hits. So, I'm wondering if we might be able to get some informal comments next week on how Perl is helping them to cope. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm at cfcl.com http://www.cfcl.com/rdm/weblog +1 650-873-7841 Software system design, development, and documentation From smurph at smurph.org Fri Sep 21 08:10:15 2012 From: smurph at smurph.org (smurph) Date: Fri, 21 Sep 2012 08:10:15 -0700 (PDT) Subject: [sf-perl] Is Perl helping Mother Jones to cope? In-Reply-To: <10B170AF-CBD9-45EB-9A57-8AD2A2001A3E@cfcl.com> References: <10B170AF-CBD9-45EB-9A57-8AD2A2001A3E@cfcl.com> Message-ID: Hi Rich, There's not a lot of Perl in our stack here at Mother Jones right now. For an organization of our size and resources, scaling has been mostly about finding the right folks to outsource the things to. I'd be happy to chat about it on Tuesday though. The Perl Mongers community, however, has been really great for keeping up with what folks are doing out there on other parts of the web. For example, here is a data vizualization that we did using the D3 library you presented about earlier in the year: http://www.motherjones.com/politics/2012/06/interactive-chart-super-pac-election-money -smurph On Fri, 21 Sep 2012, Rich Morin wrote: > Mother Jones has gotten more than a little publicity recently. I > suspect that this has caused a slew of web hits. So, I'm wondering > if we might be able to get some informal comments next week on how > Perl is helping them to cope. > > -r > > -- > http://www.cfcl.com/rdm Rich Morin > http://www.cfcl.com/rdm/resume rdm at cfcl.com > http://www.cfcl.com/rdm/weblog +1 650-873-7841 > > Software system design, development, and documentation > > > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm > From doomvox at gmail.com Fri Sep 21 10:52:10 2012 From: doomvox at gmail.com (Joseph Brenner) Date: Fri, 21 Sep 2012 10:52:10 -0700 Subject: [sf-perl] Is Perl helping Mother Jones to cope? In-Reply-To: References: <10B170AF-CBD9-45EB-9A57-8AD2A2001A3E@cfcl.com> Message-ID: > For an organization of our size and resources, scaling has been mostly about finding the right folks to outsource the things to. Yeah, I was going to ask about that myself. I couldn't imagine that you'd want to host that video on your own servers. On Fri, Sep 21, 2012 at 8:10 AM, smurph wrote: > Hi Rich, > > There's not a lot of Perl in our stack here at Mother Jones right now. For > an organization of our size and resources, scaling has been mostly about > finding the right folks to outsource the things to. I'd be happy to chat > about it on Tuesday though. > > The Perl Mongers community, however, has been really great for keeping up > with what folks are doing out there on other parts of the web. For example, > here is a data vizualization that we did using the D3 library you presented > about earlier in the year: > > http://www.motherjones.com/politics/2012/06/interactive-chart-super-pac-election-money > > -smurph > > > On Fri, 21 Sep 2012, Rich Morin wrote: > >> Mother Jones has gotten more than a little publicity recently. I >> suspect that this has caused a slew of web hits. So, I'm wondering >> if we might be able to get some informal comments next week on how >> Perl is helping them to cope. >> >> -r >> >> -- >> http://www.cfcl.com/rdm Rich Morin >> http://www.cfcl.com/rdm/resume rdm at cfcl.com >> http://www.cfcl.com/rdm/weblog +1 650-873-7841 >> >> Software system design, development, and documentation >> >> >> _______________________________________________ >> SanFrancisco-pm mailing list >> SanFrancisco-pm at pm.org >> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm >> > _______________________________________________ > SanFrancisco-pm mailing list > SanFrancisco-pm at pm.org > http://mail.pm.org/mailman/listinfo/sanfrancisco-pm From david at fetter.org Fri Sep 21 10:54:04 2012 From: david at fetter.org (David Fetter) Date: Fri, 21 Sep 2012 10:54:04 -0700 Subject: [sf-perl] Is Perl helping Mother Jones to cope? In-Reply-To: References: <10B170AF-CBD9-45EB-9A57-8AD2A2001A3E@cfcl.com> Message-ID: <20120921175404.GF20299@fetter.org> On Fri, Sep 21, 2012 at 10:52:10AM -0700, Joseph Brenner wrote: > > For an organization of our size and resources, scaling has been > > mostly about finding the right folks to outsource the things to. > > Yeah, I was going to ask about that myself. I couldn't imagine that > you'd want to host that video on your own servers. Speaking of which, is there a way to arrange for "burst" usage like this with CDNs? Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter at gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate From extasia at extasia.org Fri Sep 21 18:55:10 2012 From: extasia at extasia.org (David Alban) Date: Fri, 21 Sep 2012 18:55:10 -0700 Subject: [sf-perl] [ot?] no pipe for you In-Reply-To: References: Message-ID: thanks joseph and steve for your responses. the issue was handed off to someone else and i'm a "watcher" on the helpdesk ticket. if they post a solution, i'll copy it here. -- Live in a world of your own, but always welcome visitors. *** Rule of law is for the little people. http://www.amazon.com/Liberty-Justice-Some-Equality-Powerful/dp/0805092056 From doom at kzsu.stanford.edu Tue Sep 25 10:31:30 2012 From: doom at kzsu.stanford.edu (Joseph Brenner) Date: Tue, 25 Sep 2012 10:31:30 -0700 Subject: [sf-perl] tonight's meeting: perl tidyall at Mother Jones Message-ID: I just thought I'd remind folks that tonight's meeting is back at the Mother Jones location, so please do RSVP if you're interested in attending, the guard at the door needs to see your name on the list: http://www.meetup.com/San-Francisco-Perl-Mongers/events/81413862/?a=cr1_grp&rv=cr1&_af_eid=81413862&_af=event The talk tonight is by Jonathan Swartz (of Mason fame), who is going to be presenting the ultimate perl tidy solution "tidyall". And our host, smurph (aka Robert Wise) has graciously volunteered to tell us a bit about the recent adventures at Mother Jones with releasing a politically hot story in the middle of election season (you know, "47%").