From sean at blanton.com Mon Aug 1 07:39:00 2011 From: sean at blanton.com (Sean Blanton) Date: Mon, 1 Aug 2011 09:39:00 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: References: Message-ID: How about 6:30? Regards, Sean On Sat, Jul 30, 2011 at 2:46 AM, brian d foy wrote: > On Fri, Jul 29, 2011 at 3:32 PM, Shawn Carroll > wrote: > > Instead of 7pm, could we move this back to 6pm? > > Does anyone object to starting meetings earlier? > > -- > brian d foy > http://www.pair.com/~comdog/ > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean at blanton.com Mon Aug 1 07:47:26 2011 From: sean at blanton.com (Sean Blanton) Date: Mon, 1 Aug 2011 09:47:26 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: References: Message-ID: Never mind, I'm late to reply - I see you already set the time. 6 is iffy for me going forward. Regards, Sean On Mon, Aug 1, 2011 at 9:39 AM, Sean Blanton wrote: > How about 6:30? > > Regards, > Sean > > > > > > On Sat, Jul 30, 2011 at 2:46 AM, brian d foy wrote: > >> On Fri, Jul 29, 2011 at 3:32 PM, Shawn Carroll >> wrote: >> > Instead of 7pm, could we move this back to 6pm? >> >> Does anyone object to starting meetings earlier? >> >> -- >> brian d foy >> http://www.pair.com/~comdog/ >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Mon Aug 1 14:32:04 2011 From: richard at rushlogistics.com (Richard Reina) Date: Mon, 01 Aug 2011 17:32:04 -0400 (EDT) Subject: [Chicago-talk] return value of failed system call Message-ID: <20110801213204.7E9A452B@courageux.xo.com> I am writing a short script that will install several packages and report if any fail. The problem I am having is that whether the install fails of succeeds I am getting "0" as a result. I am doing the follwing: my $result = system("yum -y install NotA_real_package.hah-ha"); and $result comes back as "0" just as it does when I successfully install a package. I am using CentOS. Any help would be greatly appreicated. -- Richard Reina Rush Logistics, Inc. Watch our 3 minute movie: http://www.rushlogistics.com/movie From merlyn at stonehenge.com Mon Aug 1 14:43:38 2011 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Mon, 01 Aug 2011 14:43:38 -0700 Subject: [Chicago-talk] return value of failed system call In-Reply-To: <20110801213204.7E9A452B@courageux.xo.com> (Richard Reina's message of "Mon, 01 Aug 2011 17:32:04 -0400 (EDT)") References: <20110801213204.7E9A452B@courageux.xo.com> Message-ID: <86bow8iz91.fsf@red.stonehenge.com> >>>>> "Richard" == Richard Reina writes: Richard> I am writing a short script that will install several packages Richard> and report if any fail. The problem I am having is that Richard> whether the install fails of succeeds I am getting "0" as a Richard> result. I am doing the follwing: my $result = system("yum -y Richard> install NotA_real_package.hah-ha"); Richard> and $result comes back as "0" just as it does when I Richard> successfully install a package. I am using CentOS. It's up to the authors of yum to write code the way you want it. If they don't return a non-zero for a failed install, you'll have to parse the error messages instead. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From frag at ripco.com Mon Aug 1 18:32:45 2011 From: frag at ripco.com (Mike Fragassi) Date: Mon, 1 Aug 2011 20:32:45 -0500 (CDT) Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: References: Message-ID: I'm in the same boat. Will there be a problem getting in if I can't arrive until 6:30? On Mon, 1 Aug 2011, Sean Blanton wrote: > Never mind, I'm late to reply - I see you already set the time. 6 is iffy > for me going forward. > > Regards, > Sean From andy at petdance.com Mon Aug 1 18:35:38 2011 From: andy at petdance.com (Andy Lester) Date: Mon, 1 Aug 2011 20:35:38 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: References: Message-ID: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> On Aug 1, 2011, at 8:32 PM, Mike Fragassi wrote: > I'm in the same boat. Will there be a problem getting in if I can't > arrive until 6:30? Sounds like if there's any hope of having people outside the city being there, times will have to be moved back. As it is, a 6:00 start time is basically saying "Too bad" to the suburban folks. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.d.foy at gmail.com Mon Aug 1 19:02:15 2011 From: brian.d.foy at gmail.com (brian d foy) Date: Mon, 1 Aug 2011 21:02:15 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> References: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> Message-ID: > Sounds like if there's any hope of having people outside the city being > there, times will have to be moved back. ?As it is, a 6:00 start time is > basically saying "Too bad" to the suburban folks. Every time is saying "too bad" to some group. The people not working in Chicago can't get there in time or the people who have to take trains back to the 'burbs have to leave early. We're going to try 6pm for a few meetings and see how people like it. Last time, there was a bit of socializing and chatting at the start. If someone gets there late, it's not a big deal. From shawn.c.carroll at gmail.com Mon Aug 1 19:35:45 2011 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Mon, 1 Aug 2011 21:35:45 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> References: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> Message-ID: On Mon, Aug 1, 2011 at 20:35, Andy Lester wrote: > > On Aug 1, 2011, at 8:32 PM, Mike Fragassi wrote: > > I'm in the same boat. ?Will there be a problem getting in if I can't > arrive until 6:30? > > Sounds like if there's any hope of having people outside the city being > there, times will have to be moved back. ?As it is, a 6:00 start time is > basically saying "Too bad" to the suburban folks. > xoa > Kinda harsh there Andy. Some of suburban folks work downtown and want to be able to take a reasonable train back to the boonies. From andy at petdance.com Mon Aug 1 19:37:01 2011 From: andy at petdance.com (Andy Lester) Date: Mon, 1 Aug 2011 21:37:01 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: References: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> Message-ID: <99654385-484D-4CE7-8A7B-8ECBB026F076@petdance.com> On Aug 1, 2011, at 9:02 PM, brian d foy wrote: > Last time, there was a bit of socializing and chatting at the start. > If someone gets there late, it's not a big deal. If that was made explicit, it might give the best of both worlds. Say 6-7 is social, and 7 is talk, then I'd feel better hauling all the way into the city. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.d.foy at gmail.com Mon Aug 1 23:22:59 2011 From: brian.d.foy at gmail.com (brian d foy) Date: Tue, 2 Aug 2011 01:22:59 -0500 Subject: [Chicago-talk] [WindyCity-pm] Next month's meeting In-Reply-To: <99654385-484D-4CE7-8A7B-8ECBB026F076@petdance.com> References: <3FE91016-6A17-44A1-9529-95C9FC658F9B@petdance.com> <99654385-484D-4CE7-8A7B-8ECBB026F076@petdance.com> Message-ID: > If that was made explicit, it might give the best of both worlds. ?Say 6-7 > is social, and 7 is talk, then I'd feel better hauling all the way into the > city. That doesn't work. The meeting might as well start at 7, which is what the people who work in the city don't want. We're going to try it at 6 and see what happens. I'm not going to make a schedule for when we can do what. The people who show up can decide how long they want to chat and when they want to start other stuff. It kinda sucks to say it, but if you aren't in the actual City of Chicago, them's the breaks. -- brian d foy http://www.pair.com/~comdog/ From sean at blanton.com Tue Aug 2 08:10:47 2011 From: sean at blanton.com (Sean Blanton) Date: Tue, 2 Aug 2011 10:10:47 -0500 Subject: [Chicago-talk] Tag Library Implementation/Graph DB Message-ID: How are the current graph databases out there for managing tag libraries? Anyone have a favorite strategy/implementation for a system with two sets of objects with a one-to-many and many-to-one relationships? Graph database or no? I'm not real keen on coding like this: http://infogrid.org/wiki/Examples/FirstStep Regards, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andy_Bach at wiwb.uscourts.gov Tue Aug 2 09:34:39 2011 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Tue, 2 Aug 2011 11:34:39 -0500 Subject: [Chicago-talk] return value of failed system call In-Reply-To: <20110801213204.7E9A452B@courageux.xo.com> References: <20110801213204.7E9A452B@courageux.xo.com> Message-ID: my $result = system("yum -y install NotA_real_package.hah-ha"); > and $result comes back as "0" just as it does when I successfully install a package. I am using CentOS. Because yum is saying - "I didn't find that, but everything worked as expected otherwise" # yum -y install NotA_real_package.hah-ha Loaded plugins: downloadonly, rhnplugin, security Setting up Install Process No package NotA_real_package.hah-ha available. Nothing to do # echo $? 0 "info" though ... # yum info NotA_real_package.hah-ha Loaded plugins: downloadonly, rhnplugin, security Error: No matching Packages to list # echo $? 1 a ---------------------- Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov Voice: (608) 261-5738, Cell: (608) 658-1890 "Nod's as good as a wink to a blind bat!" -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at kineticode.com Fri Aug 5 08:53:24 2011 From: david at kineticode.com (David E. Wheeler) Date: Fri, 5 Aug 2011 08:53:24 -0700 Subject: [Chicago-talk] Postgres Open Message-ID: <6FBAF8CC-1D3C-4B95-A2C1-17105BDE5BB0@kineticode.com> Chicago Perl Mongers, Wanted to bring to your attention a conference in your neck of the woods happening next month: Postgres Open: http://postgresopen.org/ Should be a good con. I can probably get Chicago.pm folks a discount code, too. Let me know if you or your employers are interested. Best, David From andy at petdance.com Mon Aug 8 09:55:28 2011 From: andy at petdance.com (Andy Lester) Date: Mon, 8 Aug 2011 11:55:28 -0500 Subject: [Chicago-talk] The future of Perl 5 Message-ID: http://perlbuzz.com/2011/08/the-future-of-perl-5.html Jesse Vincent, the pumpking for Perl 5, gave a talk at OSCON called "Perl 5.16 and beyond" where he lays out the future of Perl 5. The slides are up on slideshare, and they're well worth reading. I haven't read perl5-porters, the Perl 5 maintainers' mailing list, in a few years, and Jesse's slides are an eye-opener to the trials and tribulations of keeping Perl 5 usable in legacy situations but moving forward with new innovations. The pumpking is sort of the project leader for Perl 5, and arbiter of what gets committed into the source tree. The pumpking also used to be the person who created the releases, but as Jesse points out below, this responsibility has been delegated to others. The term "pumpking" comes from the holder of the patch pumpkin. Key points from the slides: Perl 5 is now on a regular release schedule, where releases are made based on the calendar, not some critical mass of changes. The dual track of odd numbers (5.13.x) for development releases and even numbers (5.14.x) for production releases continues. Although Perl 5.14.1 is current production, 5.12.4 and 5.15.0 have recently been released as well. Releases used to take three weeks for a single pumpking to do. Now it's a documented process that takes only a few hours. Releases are done by rotating volunteer release engineers. Per Larry, the time of hero pumpkings is over. As Perl 5 changes much more quickly, we need to be able to recover from mistakes. Perl should have sane defaults. Perl 5 should run everywhere: Every OS, every browser, every phone. Forward changes should not break older code. Programmers shouldn't have to build defensive code to protect against future changes to Perl 5. The Perl runtime needs to slim down. Old modules are getting yanked from core and moved to CPAN. Not deprecating, but decoupling. We need to release a version of the Perl core that contains all the stuff we've yanked out of the "slim" core distribution. The test suite needs to be split into three types of tests: language, bug-fix and implementation. Jesse wants saner defaults in the future, to make Perl 5 cleaner, simpler and easier to work with: warnings on autodie-esque behavior throwing exceptions rather than returning on failure 1-arg and 2-arg open gone Latin-1 autopromote off utf-8 autopromote on Basic classes and methods No indirect object syntax How to make this happen faster? Donate to the Perl 5 Core Maintenance Fund. I couldn't attend Jesse's talk because I was speaking about community and project management with Github in the same time slot, so if video exists I'd love to see it. And thanks very much to Jesse and the rest of p5p for keeping Perl 5 so amazing. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance -------------- next part -------------- An HTML attachment was scrubbed... URL: From merlyn at stonehenge.com Mon Aug 8 10:06:33 2011 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Mon, 08 Aug 2011 10:06:33 -0700 Subject: [Chicago-talk] The future of Perl 5 In-Reply-To: (Andy Lester's message of "Mon, 8 Aug 2011 11:55:28 -0500") References: Message-ID: <864o1r6deu.fsf@red.stonehenge.com> >>>>> "Andy" == Andy Lester writes: Andy> http://perlbuzz.com/2011/08/the-future-of-perl-5.html I just google-plussed this and it's getting a bunch of traction. By the way, I have invites to hand out for google-plus. If you want an invite, please send me YOUR GMAIL.COM ADDRESS. And I'll say this twice, because people seem to miss this fact: "YOUR GMAIL.COM ADDRESS". Not Google Apps. Not @someother.domain.example.com. Gmail.com *only*. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From me at heyjay.com Mon Aug 8 12:36:47 2011 From: me at heyjay.com (Jay Strauss) Date: Mon, 8 Aug 2011 14:36:47 -0500 Subject: [Chicago-talk] The future of Perl 5 In-Reply-To: <864o1r6deu.fsf@red.stonehenge.com> References: <864o1r6deu.fsf@red.stonehenge.com> Message-ID: <2455371550055049411@unknownmsgid> jjstrauss at gmail.com 1 google+ please Thanks Jay Sent from my iPhone On Aug 8, 2011, at 12:06 PM, merlyn at stonehenge.com (Randal L. Schwartz) wrote: >>>>>> "Andy" == Andy Lester writes: > > Andy> http://perlbuzz.com/2011/08/the-future-of-perl-5.html > > I just google-plussed this and it's getting a bunch of traction. > > By the way, I have invites to hand out for google-plus. If you want an > invite, please send me YOUR GMAIL.COM ADDRESS. And I'll say this twice, > because people seem to miss this fact: "YOUR GMAIL.COM ADDRESS". Not > Google Apps. Not @someother.domain.example.com. Gmail.com *only*. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.posterous.com/ for Smalltalk discussion > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From me at heyjay.com Mon Aug 8 14:14:17 2011 From: me at heyjay.com (Jay Strauss) Date: Mon, 8 Aug 2011 16:14:17 -0500 Subject: [Chicago-talk] The future of Perl 5 In-Reply-To: <864o1r6deu.fsf@red.stonehenge.com> References: <864o1r6deu.fsf@red.stonehenge.com> Message-ID: Thanks, got the google+ invite Jay On Mon, Aug 8, 2011 at 12:06 PM, Randal L. Schwartz wrote: > >>>>> "Andy" == Andy Lester writes: > > Andy> http://perlbuzz.com/2011/08/the-future-of-perl-5.html > > I just google-plussed this and it's getting a bunch of traction. > > By the way, I have invites to hand out for google-plus. If you want an > invite, please send me YOUR GMAIL.COM ADDRESS. And I'll say this twice, > because people seem to miss this fact: "YOUR GMAIL.COM ADDRESS". Not > Google Apps. Not @someother.domain.example.com. Gmail.com *only*. > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 > 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.posterous.com/ for Smalltalk discussion > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at petdance.com Fri Aug 19 20:20:45 2011 From: andy at petdance.com (Andy Lester) Date: Fri, 19 Aug 2011 22:20:45 -0500 Subject: [Chicago-talk] Fwd: Books and News from the O'Reilly User Group Program--August References: <1313798490.14535.0.818447@post.oreilly.com> Message-ID: Begin forwarded message: > From: "Marsee Henon & Jon Johns" > Subject: Books and News from the O'Reilly User Group Program--August > Date: August 19, 2011 7:01:30 PM CDT > To: andy at petdance.com > > If you cannot read the information below, click here. > > Forward this annoucement to a friend > > > Aug 2011 Issue > > New Releases: > > ActionScript Developer's Guide to Robotlegs > By Joel Hooks,Lindsey Fallow > > Advanced Software Testing - Vol. 3 > By Rex Black,Jamie Mitchell > > Basic Sensors in iOS > By Alasdair Allan > > Build Your Own Website The Right Way Using HTML & CSS, Third Edition > By Ian Lloyd > > Building on SugarCRM > > Buying the Right Photo Equipment > By Elin Rantakrans > > CoffeeScript > By Trevor Burnham > > CSS Pocket Reference, Fourth Edition > By Eric A. Meyer > > Customizing My Site in Microsoft SharePoint 2010: Rough Cuts Version > > More New Releases >> > > Hi there, > > We're excited about our upcoming Strata Conference in New York City, September 20th-23rd. > > It's for developers, data scientists, data analysts, and other data professionals. Three days of the nuts-and-bolts needed for building a data-driven business?the latest on skills, tools, and technologies you need to make data work. Demand for data scientists has skyrocketed in the last year, so here's the chance to gain new tools and technologies to meet this demand. Use discount code stn11usrg to get 30% off the registration price. > > Some Strata Events: > > Inside Google+: Bradley Horowitz talks with Tim O'Reilly > Free Online Event Tuesday, August 23, 2011 1pm PT > The Strata Science Fair is featuring the theme: Sensors. How do you collect and crunch data? > The Strata Conference/Juice Vizathlon contest is open for entries until Aug 28th. Create an infographic and enter to win. > Registration for Strata Launch Pad ends August 22 if you'd like to pitch your early stage company to venture capitalists. > If you're headed to Maker Faire New York, stop by and say hello to Jon on Sept 17-18 in the info booth. The call for makers is only open until Aug 20th, but general tickets are available now. > > We're happy the Linux Plumbers Conference is taking place in Santa Rosa, CA this year Sept 7-9. If you're attending, say hi. > > Science Hack Day is a 48-hour-all-night event that brings together designers, developers, scientists, and other geeks in the same physical space for a brief but intense period of collaboration, hacking, and building 'cool stuff.' Want to create a Science Hack Day in your town? Check out the open source instructions. The next Science Hack Day will be in San Francisco, November 12-13 > > Did you know we offer many free book samplers at O'Reilly? If you have a new reader or tablet, or just want to see what our ebooks look like, check them out. > > Webcasts happening soon: > > The Complex Anatomy of the Home Network > Aug 23rd 10AM PT Presented by: Ciprian Adrian Rusen > Android Honeycomb Fragments: Creating Large-Screen UIs for Android Devices > Sept 9th 10AM PT Presented by: Blake Meike > Every Book is a Startup O'Reilly TOC Online Event Series > Sept 7 10am PT Presented by: Todd Sattersten > Thanks, > > ---- Marsee Henon and Jon Johns > > > UG Discounts--Ebooks, Strata, Android Open, and More > > Strata Conference Sept 22-23, 2011 > Get 30% off any pass with code stn11usrg > http://strataconf.com/stratany2011/ > > O'Reilly Android Open Conference > Oct 9-11, 2011 San Francisco, CA > Get 30% off any pass with code an11ug > http://androidopen.com/ > > Buy 1 Ebook, Get 1 Free: > Go to oreilly.com and use discount code DSUG2 > When you buy ebooks through oreilly.com you get lifetime access to the book, and whenever possible we provide it to you in five DRM-free file formats--PDF, ePub, Kindle compatible .mobi, DAISY, and Android APK--to use on the devices of your choice. Our ebook files are fully searchable and you can cut, paste, and print them. We also alert you when we've updated the files with corrections and additions. > > Receive a 10-day free trial and 20% off monthly fees to a Safari Books Online Library subscription for up to a year. That means unlimited access to more than 16,000 books and videos about technology, digital media, personal development, and business from O'Reilly Media and more than 40 of the world's leading publishers.http://www.safaribooksonline.com/usergroup > > > UG leaders only--Put Up a Banner; Get a Free Book > > We're looking for user groups to display our discount banners on your websites. If you send us your group's site with one or more banners posted, we'll send you the O'Reilly book(s) of your choice. Choose from the following list of banners: > > O'Reilly Answers > Customizable O'Reilly Book Widgets > User Group Discount Slides (PowerPoint, Keynote, and OpenOffice.org versions) > > Upcoming Event > > > Webcast: Gamification by Design > When: Sep 8, 2011 > This webcast provides highlights of the design strategy and tactics you need to integrate game mechanics into any kind of consumer-facing website or mobile app. > > More Upcoming Events >> > > > > You are receiving this email because you are a User Group contact with O'Reilly Media. If you would like to stop receiving this newsletter please email marsee at oreilly.com with your request. > > O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472 (707) 827-7000 > http://oreilly.com/ | http://ug.oreilly.com/ > > Forward this announcement: http://post.oreilly.com/f2f/9z1zj1hpj37p2pk8gcgibf9k9fu2dsu5d09i7o24338 > > > -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at heyjay.com Sun Aug 21 11:56:34 2011 From: me at heyjay.com (Jay Strauss) Date: Sun, 21 Aug 2011 13:56:34 -0500 Subject: [Chicago-talk] mod-perl dynamic recompile Message-ID: Hi, I'm running in a simple mod-perl 2 env. My script (chart.pl in /var/www/MarketData) I run from mod-perl "use"s a package outside my apache2 tree. I want to be able to edit and change the package (that is "use"d) and have Apache recompile the package on the fly like it does for the chart.pl script. But I'm not sure what to do. (I've been googling but can not get it to work) (I've tired putting a startup.pl but my server fails to start with the startup.pl) I'm hoping someone here can spot what I'm doing wrong. I'm not seeing it. Any help is appreciated Thanks Jay I'm running on Ubuntu. so here are the relevant bits: root at black:/etc/apache2# cat sites-enabled/ ... Alias /MarketData/ /var/www/MarketData/ SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Order allow,deny Allow from all root at black:/etc/apache2# cat conf.d/mod_perl PerlPostConfigRequire /home/jstrauss/perl/startup.pl root at black:/etc/apache2# cat /home/jstrauss/perl/startup.pl use lib "/home/jstrauss/perl/MarketData-Historic-Yahoo/lib"; # cat /var/www/MarketData/chart.pl use 5.010; use CGI; use strict; use warnings; use lib '/home/jstrauss/perl/MarketData-Historic-Yahoo/lib'; use MarketData::Historic::Yahoo qw(:all); my $q = CGI->new(); say $q->header(), $q->start_html(); say "

Parameters

"; get($q->param("symbol"),$q->param("from")); From andy at petdance.com Mon Aug 22 08:54:19 2011 From: andy at petdance.com (Andy Lester) Date: Mon, 22 Aug 2011 10:54:19 -0500 Subject: [Chicago-talk] mod-perl dynamic recompile In-Reply-To: References: Message-ID: On Aug 21, 2011, at 1:56 PM, Jay Strauss wrote: > I want to be able to edit and change the package (that > is "use"d) and have Apache recompile the package on the fly like it > does for the chart.pl script. But I'm not sure what to do. https://perl.apache.org/docs/2.0/api/Apache2/Reload.html xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at heyjay.com Mon Aug 22 12:05:41 2011 From: me at heyjay.com (Jay Strauss) Date: Mon, 22 Aug 2011 14:05:41 -0500 Subject: [Chicago-talk] mod-perl dynamic recompile In-Reply-To: References: Message-ID: Thanks Andy On Mon, Aug 22, 2011 at 10:54 AM, Andy Lester wrote: > > On Aug 21, 2011, at 1:56 PM, Jay Strauss wrote: > > I want to be able to edit and change the package (that > is "use"d) and have Apache recompile the package on the fly like it > does for the chart.pl script. ?But I'm not sure what to do. > > https://perl.apache.org/docs/2.0/api/Apache2/Reload.html > xoa > > -- > Andy Lester =>?andy at petdance.com?=>?www.petdance.com?=> AIM:petdance > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From lee at laylward.com Thu Aug 25 21:30:45 2011 From: lee at laylward.com (Lee Aylward) Date: Thu, 25 Aug 2011 23:30:45 -0500 Subject: [Chicago-talk] code review follow up Message-ID: Hey all, Thanks for the code review/comments! All very helpful. Here are my follow up commmits: https://github.com/leedo/noembed/compare/afac3dbaa81dc283b6238005219df92857b0f133?289498d171fc94e1e0177521bbc350dbc8bf29c9 -- Lee From lee at laylward.com Thu Aug 25 21:36:35 2011 From: lee at laylward.com (Lee Aylward) Date: Thu, 25 Aug 2011 23:36:35 -0500 Subject: [Chicago-talk] code review follow up In-Reply-To: References: Message-ID: On Aug 25, 2011, at 11:30 PM, Lee Aylward wrote: > > https://github.com/leedo/noembed/compare/afac3dbaa81dc283b6238005219df92857b0f133?289498d171fc94e1e0177521bbc350dbc8bf29c9 > Thank you Lion for your wonderful (read: horrible) new autocorrect feature. Maybe this will work better: https://github.com/leedo/noembed/compare/afac3db...289498d -- Lee From dcmertens.perl at gmail.com Fri Aug 26 10:42:01 2011 From: dcmertens.perl at gmail.com (David Mertens) Date: Fri, 26 Aug 2011 12:42:01 -0500 Subject: [Chicago-talk] code review discussion Message-ID: Hey folks - I've never been involved in a code review so last night's discussion was pretty informative. In general we seemed to have a good time. However I observed last night that our final code review seemed a little tense. I have a few observations about it that may explain why it differed from the first few reviews: 1) As was pointed out last night (by John?), we had been sitting in the dark drinking beer and looking at computer screens for two hours. That's a long time to stay sensitive and patient. Take away point: keep code reviews short (and on time, though that wasn't really an issue last night). 2) A lot of people took issue with the architecture of the last speaker's solution to his problem. (Sorry, I don't remember your name.) This was in sharp contrast to the previous code reviews in which we mostly nit-picked on details. Attacking somebody's architecture is much more offensive than picking on details; ideally the architecture of the solution would have been discussed in a previous meeting, at which point we would be reviewing the code for implementation. 3) That having been said, the speaker did a very poor job explaining why he was using such a huge hammer for such a simple problem. He had a good reason, of course, but he spent so little time motivating the solution that all I remembered was 'code reuse,' and I was left scratching my head as to why this was better than writing a simple function. (My ignorance about Moose was a further barrier for me, but hopefully that would not be a problem for his team.) Obviously the take-away point here is that, in your preparations for your own code reviews, you must motivate why you chose the particular solution that you chose. (None of the speakers prepared for this, so I'm not saying they did a bad job.) 4) As with all reviews, code reviews should focus on what the programmer is doing *well*, with only a few items for improvement. Take away: when you're presenting your own code, start by showing off your good stuff, and then move on to any potential problem code. When you're reviewing somebody else's code, work really hard initially to find what's good about it, what the programmer did well. Frankly, I thought that the implementation of the code was excellent, it just needed some documentation and examples. Overall, the evening was a good one and I'm sorry I wasn't able to go out afterwards. Hopefully next time! David From brian.d.foy at gmail.com Tue Aug 30 07:39:25 2011 From: brian.d.foy at gmail.com (brian d foy) Date: Tue, 30 Aug 2011 09:39:25 -0500 Subject: [Chicago-talk] code review discussion In-Reply-To: References: Message-ID: > 3) That having been said, the speaker did a very poor job explaining > why he was using such a huge hammer for such a simple problem. He had > a good reason, of course, but he spent so little time motivating the > solution I think that in any real situation, most of the people looking at the code would already know a lot of that stuff. The combination of the problem domain (dealing with CME files), the particular architecture, and the implementation, combined to make things tougher than they needed to be. We should have controlled that more. I made the point in my talk that code reviews should pick something to review, but we didn't really state what we would review in the last one. We could have done that much better. However, a lot of this also suffers from a complete lack of documentation in all the samples after mine. Writing documentation is one of the ways that you figure out how to explain what you are doing and why you are doing it. If you don't go through that exercise beforehand, you'll probably won't be able to organize the ideas in your head to explain them to someone else. Also, code reviews shouldn't be code demonstrations with the code author explaining the source to the reviewers, and we let that slip a bit. You don't get to see how understandable the code is if you have the side channel of the author explaining it as you go along. Thanks for the feedback, :) -- brian d foy http://www.pair.com/~comdog/ From brian.d.foy at gmail.com Wed Aug 31 21:21:27 2011 From: brian.d.foy at gmail.com (brian d foy) Date: Wed, 31 Aug 2011 23:21:27 -0500 Subject: [Chicago-talk] Sept. Meeting moved to Tuesday the 13th Message-ID: The Postgres Open Conference (http://www.postgresql.org/about/event.1232) is in Chicago for September 12-16, so I've convinced some of those people to visit the Windy City Perl Mongers. We're still working out the details, but the September meeting will now be on Tuesday the 13th at 6:30pm so we can accommodate the guest speaker. As usual, we expect to socialize afterward. :) There's also a $150 discount available to us for this conference: http://pgopen.eventbrite.com/?discount=PUGLUV -- brian d foy http://www.pair.com/~comdog/