From jhannah at omnihotels.com Tue May 4 08:52:32 2010 From: jhannah at omnihotels.com (Jay Hannah) Date: Tue, 4 May 2010 10:52:32 -0500 Subject: [Omaha.pm] Word frequency counter Message-ID: <396CEDAA86B38646ACE2FEAA22C3FBF1035373E3@l3exchange.omnihotels.net> BEFORE: 1. use feature ':5.10'; 2. 3. #<---------- Word frequency counter ----------> 4. 5. # ARRAY 6. 7. my @words = ("We", "She", "We", "He", "We", "It", "He", "We", "She", "He"); 8. my $word_count = @words; # Count the total of words 9. 10. my $i = 0; 11. my $we_counter = 0; 12. my $she_counter = 0; 13. my $he_counter = 0; 14. my $it_counter = 0; 15. 16. while ($i < $word_count){ 17. 18. if ($word[$i] eq 'We') { 19. $we_counter++; 20. $i++; 21. } 22. 23. elsif ($word[$i] eq 'She') { 24. $she_counter++; 25. $i++; 26. } 27. 28. elsif ($word[$i] eq 'He') { 29. $he_counter++; 30. $i++; 31. } 32. 33. else { 34. $it_counter++; 35. $i++; 36. } 37. } 38. 39. 40. my %report_list = ("We" => $we_counter, "She" => $she_counter, "He" => $he_counter, "It" => $it_counter); 41. 42. 43. say "\n___________________________________________\n#\n#"; 44. say "# Word frequency counter\n#"; 45. 46. say "#\n# There where a total of $word_count words!"; 47. 48. say "#\n# We : $report_list{We}"; 49. say "# She: $report_list{She}"; 50. say "# He : $report_list{He}"; 51. say "# It : $report_list{It}"; 52. say "#\n# $we_counter $she_counter $he_counter $it_counter"; 53. say "#\n#__________________________________________\n\n"; AFTER: my %counts; $counts{$_}++ for @words; :) j -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Tue May 4 15:51:39 2010 From: jay at jays.net (Jay Hannah) Date: Tue, 4 May 2010 17:51:39 -0500 Subject: [Omaha.pm] Fwd: Business Awareness of the Perl programmers References: Message-ID: <43EC1E1E-668D-49FA-97E1-09C6A0267035@jays.net> In case you're on LinkedIn and interested: j From: Gabor Szabo Date: May 1, 2010 4:49:05 PM CDT To: PM Groups Subject: [pm_groups] Business Awareness of the Perl programmers I did a small research checking the size of the LinkedIN groups of the various programming languages. The conclusion is that the Perl group is way behind the other languages. http://szabgab.com/blog/2010/05/1272792637.html It think it would be time to send out a call to all the PM groups, tell them about LinkedIN and about the Perl Monger group on LinkedIN and how they can join it: http://www.linkedin.com/groups?gid=40830 regards Gabor From jay at jays.net Thu May 6 08:51:00 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 6 May 2010 10:51:00 -0500 Subject: [Omaha.pm] YAPC::NA 2010 June 21-23rd Columbus, OH In-Reply-To: References: Message-ID: <556147CB-E72A-4678-8D64-B1307AA2A752@jays.net> On Apr 15, 2010, at 4:50 PM, David Nicol wrote: > Eleven hours to Columbus OH from here is possible without taking any breaks whatsoever and no traffic jam in st. louis or indy. At least three fuel stops plus at least one meal. I wonder what my father would do if I showed up at his house (about 2/3 of the way there) with a van full of perl mongers with sleeping bags. Give us each a cold one and use of the living room floor, probably. Alright, gents. Decision making time. I'm going to buy my flights this week unless we lock in a road trip plan. Who's definitely serious about driving to Columbus and back? Anyone have an appropriate vehicle? Looks like I can fly for $260. Thanks, Jay Hannah Omaha.pm mobile: 402-578-3976 From amoore at mooresystems.com Thu May 6 08:53:05 2010 From: amoore at mooresystems.com (Andrew Moore) Date: Thu, 6 May 2010 10:53:05 -0500 Subject: [Omaha.pm] [Kc] YAPC::NA 2010 June 21-23rd Columbus, OH In-Reply-To: <556147CB-E72A-4678-8D64-B1307AA2A752@jays.net> References: <556147CB-E72A-4678-8D64-B1307AA2A752@jays.net> Message-ID: On Thu, May 6, 2010 at 10:51 AM, Jay Hannah wrote: > Alright, gents. Decision making time. I'm going to buy my flights this week unless we lock in a road trip plan. > > Who's definitely serious about driving to Columbus and back? Anyone have an appropriate vehicle? Looks like I can fly for $260. I'm planning to fly. See you there! -Andy From mkolakow at yahoo.com Fri May 7 06:44:29 2010 From: mkolakow at yahoo.com (Michael Kolakowski) Date: Fri, 7 May 2010 06:44:29 -0700 (PDT) Subject: [Omaha.pm] "Coding Kata" coding challenges In-Reply-To: <8CC4857F-6684-41FB-95BC-D79B385C8B9A@jays.net> Message-ID: <289787.58860.qm@web54208.mail.re2.yahoo.com> Count me in for the June meeting - but there will likely be another person coming from UP as well. We'll sort out between us who is doing the presentation/demo as it's probably necessary to explain kata's first, and then we can actually do one. By the way, it will pretty much need to be in Eclipse/Java. One of the points of a kata is that everyone is using the same tool. Let me know if that is a problem. June 8th, right? Thanks, Michael --- On Wed, 4/28/10, Jay Hannah wrote: > From: Jay Hannah > Subject: Re: [Omaha.pm] "Coding Kata" coding challenges > To: "Perl Mongers of Omaha, Nebraska USA" > Cc: odynug at googlegroups.com > Date: Wednesday, April 28, 2010, 9:48 AM > On Apr 22, 2010, at 7:12 AM, Michael > Kolakowski wrote: > > Actually, a group of us have started doing these at > Union Pacific.? We meet every day first thing in the > morning and go through a kata. > >? > > We've been doing the Bowling Kata from Bob Martin and > sometimes the prime factors one as well.? I find it > very helpful and it's a good way to start the day.? > It's been successful enough that it is being turned into an > official class to be offered in June! > >? > > Kata's certainly are not bound to any particular > language -- or any subject for that matter. > >? > > When is the next meeting? > > Omaha Perl Mongers meets in conjunction with the Omaha > Dynamic Language Users Group on the 2nd Tuesday of each > month. > > ???Tuesday May 11 2010, 7pm > ???http://jays.net/wiki/Odlug > > Our May agenda is set (Sam Tesla presents GO and/or > Haskell), but if you could lead the June meeting with a > "this is how we do Katas at U.P." I think that would be > awesome!? :)? The room is full of computers and > lots of people bring laptops, so they could each work the > Kata in their own preferred tool... or however Katas > work.? :) > > ???Various challenges we've worked on: > ???http://github.com/jhannah/odynug > > Cheers, > > j > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > From djgoku at gmail.com Fri May 7 17:15:41 2010 From: djgoku at gmail.com (Jonathan Otsuka) Date: Fri, 7 May 2010 19:15:41 -0500 Subject: [Omaha.pm] [Kc] YAPC::NA 2010 June 21-23rd Columbus, OH In-Reply-To: <556147CB-E72A-4678-8D64-B1307AA2A752@jays.net> References: <556147CB-E72A-4678-8D64-B1307AA2A752@jays.net> Message-ID: <947F3203-338B-4AD3-8AA4-A75A05175C8A@gmail.com> On May 6, 2010, at 10:51 AM, Jay Hannah wrote: > On Apr 15, 2010, at 4:50 PM, David Nicol wrote: >> Eleven hours to Columbus OH from here is possible without taking any breaks whatsoever and no traffic jam in st. louis or indy. At least three fuel stops plus at least one meal. I wonder what my father would do if I showed up at his house (about 2/3 of the way there) with a van full of perl mongers with sleeping bags. Give us each a cold one and use of the living room floor, probably. > > Alright, gents. Decision making time. I'm going to buy my flights this week unless we lock in a road trip plan. > > Who's definitely serious about driving to Columbus and back? Anyone have an appropriate vehicle? Looks like I can fly for $260. If I go I plan on driving. I haven't booked hotels or anything yet though. Jonathan From jay at jays.net Sun May 9 19:08:32 2010 From: jay at jays.net (Jay Hannah) Date: Sun, 9 May 2010 21:08:32 -0500 Subject: [Omaha.pm] Tue May 11 7pm - Sam Tesla: GO and Haskell Message-ID: http://jays.net/wiki/Odlug Tuesday May 11 2010, 7pm UNO's Peter Kiewit Institute Room PKI 276 1110 South 67th Street Sam Tesla performs a shallow dive into both GO and Haskell Also, on deck for June 8th: Michael Kolakowski and UP coworker present "Coding Kata" (Eclipse/Java). See you there! j From jay at jays.net Tue May 11 14:55:25 2010 From: jay at jays.net (Jay Hannah) Date: Tue, 11 May 2010 16:55:25 -0500 Subject: [Omaha.pm] KC.pm > Omaha.pm Message-ID: Ah, drat! KC.pm has more registered attendees (2) than Omaha.pm (1)! http://yapc2010.com/yn2010/stats I've done my part... where's the Omaha pride? :) j From jhannah at omnihotels.com Wed May 12 10:20:19 2010 From: jhannah at omnihotels.com (Jay Hannah) Date: Wed, 12 May 2010 12:20:19 -0500 Subject: [Omaha.pm] Hudson for Subversion + Perl Message-ID: <396CEDAA86B38646ACE2FEAA22C3FBF1035FFF46@l3exchange.omnihotels.net> Hey, neato. Looks like I got it working. It's polling our Subversion server for changes every 30 minutes and re-running our Perl tests. (Screenshot attached.) I love the SVN polling feature. "Who broke the build?" emails should be cool. Basically it just boils down to: java -jar hudson.war prove --harness=TAP::Harness::JUnit --recurse Thanks for the tip Dave! :) j falling out of love with Smolder (I'm fickle) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hudson.png Type: image/png Size: 94680 bytes Desc: hudson.png URL: From jay at jays.net Thu May 13 14:02:38 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 13 May 2010 16:02:38 -0500 Subject: [Omaha.pm] Presentation request: git workshop Message-ID: <5EAE27EE-41CE-423E-B03A-A71152E40EF7@jays.net> I'd LOVE to attend a git workshop. I envision lots of people on their laptops fetching, branching, and merging a shared common repo. Then splitting into "dev teams" that pull/push each other, prepping a release for push back to the common repo. A "release manager" reviewing what was committed and approving good commits, ignoring bad ones, etc. Goals: - Get comfortable, quicker issuing all the commands - Know what you're pushing before you push it - Oops! I screwed up! Now what? - Local and remote branch management. Creation, patching, deletion, etc. Now that BioPerl is in github I'm finding my lack of fluency frustrating. I need a git personal trainer. Know one? (Is Stephen Haberman the strongest git in Omaha? -grin-) j From jay at jays.net Thu May 13 16:14:34 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 13 May 2010 18:14:34 -0500 Subject: [Omaha.pm] Catalyst and Quality Assurance bliss Message-ID: <4375D1A6-31EC-48F5-A13F-0DB86E9FD050@jays.net> Woot! http://headrattle.blogspot.com/2010/05/catalyst-and-quality-assurance-bliss.html j From stephen at exigencecorp.com Sat May 15 14:56:41 2010 From: stephen at exigencecorp.com (Stephen Haberman) Date: Sat, 15 May 2010 16:56:41 -0500 Subject: [Omaha.pm] [OJUG] Presentation request: git workshop In-Reply-To: <5EAE27EE-41CE-423E-B03A-A71152E40EF7@jays.net> References: <5EAE27EE-41CE-423E-B03A-A71152E40EF7@jays.net> Message-ID: <20100515165641.2733561c.stephen@exigencecorp.com> > I'd LOVE to attend a git workshop. I think this is an awesome idea, Jay. > I need a git personal trainer. Know one? (Is Stephen Haberman the > strongest git in Omaha? -grin-) I must admit I had hit "skim mode" by this point of the email and initially missed my name being thrown out. (Sorry about that.) Nonetheless, yeah, I'd have fun helping out with a workshop like this. I did a git/git-svn talk at OJUG back in January, and showed some basic "push from here, pull from there" stuff, but it definitely wasn't as cool/interactive as having people go through it on their own. Please keep me in the loop if you want to put something together. > Goals: ... > - Oops! I screwed up! Now what? Yeah, that's an important one. :-) - Stephen From sterling at hanenkamp.com Tue May 18 21:31:45 2010 From: sterling at hanenkamp.com (Sterling Hanenkamp) Date: Tue, 18 May 2010 23:31:45 -0500 Subject: [Omaha.pm] Perl Telecommuter Research Message-ID: I'm giving a couple talks at YAPC this year in Columbus. One of them is on telecommuting. I'm doing some research to collect material to (hopefully) make my talk better. If you want to help, here's the deal: I'm giving a talk at YAPC 2010 on telecommuting as a software developer. For the talk to be successful, I'm going to need more than just my own experience to pull from. If you are a telecommuter and have a moment, I would appreciate your help in filling out this survey. The goal of the talk is two-fold: 1. I want to explain the benefits and risks of telecommuting as a Perl developer. 2. I want to provide some practical tips to help fellow telecommuters. I want the format to be oriented towards telling a number of stories about telecommuters with practical advice interspersed. Please answer the parts you want and ignore the rest. It's long and I don't expect everyone to answer. This is more about sparking than being scientific or complete. http://tinyurl.com/2e7mwut Feel free to pass this on as well. Thank you. Cheers, Sterling -- Andrew Sterling Hanenkamp sterling at hanenkamp.com 785.370.4454 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Thu May 20 06:39:50 2010 From: jay at jays.net (Jay Hannah) Date: Thu, 20 May 2010 08:39:50 -0500 Subject: [Omaha.pm] Fwd: The Perl Survey 2010 is now live References: Message-ID: Begin forwarded message: > From: Kieren Diment > > The Perl Survey 2010 is now live. Its purpose is to better understand > the demographics and opinions of the Perl community. You can complete > the survey at http://survey.perlfoundation.org - it should take about > 10 to 15 minutes. Once you've done that, please let your relevant > friends and colleagues know about the survey so they can coplete it as > well. My aim is to get a response of over 1000 individuals, and to > run the survey (lightly adapted) every two or three years so we can > see how the community changes over time. The official announcement of > the survey is here: > http://news.perlfoundation.org/2010/05/grant-update-the-perl-survey-1.html From jhannah at omnihotels.com Mon May 24 18:00:10 2010 From: jhannah at omnihotels.com (Jay Hannah) Date: Mon, 24 May 2010 20:00:10 -0500 Subject: [Omaha.pm] find_or_create() your own test data Message-ID: <396CEDAA86B38646ACE2FEAA22C3FBF1036D8F1A@l3exchange.omnihotels.net> :) This is pretty cute, and I haven't done it in a while. I need to run a bunch of tests against a fake hotel we have called 'SEED'. But that row was missing from one of our cross-reference tables (XfHotelcode). So I wrote a 00_SEED_setup.t, which runs before any of the real tests, which uses DBIx::Class to find or create the row in the database table that I need. Omni2::Model::DB2 is our own wrapper than just returns a properly-connected DBIx::Class::Schema object. Pretty slick. j $ perl 00_SEED_setup.t 1..1 ok 1 - OM SEED is in xf_hotelCode $ cat 00_SEED_setup.t use Test::More tests => 1; use strict; use Omni2::Model::DB2; my $schema = Omni2::Model::DB2::connect( system => 'dal_repl', method => 'DBIC' ); my $row = $schema->resultset('XfHotelcode')->find_or_create( chaincode => 'OM', hotelcode => 'SEED', status => 'A', long_descr => 'Test Hotel', ); is_deeply([ $row->id ], [ 'OM', 'SEED' ], "OM SEED is in xf_hotelCode"); -------------- next part -------------- An HTML attachment was scrubbed... URL: From netarttodd at gmail.com Tue May 25 07:30:16 2010 From: netarttodd at gmail.com (Todd Hamilton) Date: Tue, 25 May 2010 09:30:16 -0500 Subject: [Omaha.pm] find_or_create() your own test data In-Reply-To: <396CEDAA86B38646ACE2FEAA22C3FBF1036D8F1A@l3exchange.omnihotels.net> References: <396CEDAA86B38646ACE2FEAA22C3FBF1036D8F1A@l3exchange.omnihotels.net> Message-ID: Jay, I am just now getting into Catalyst after your workshop. I am following your tutorial and I get this error: "Can't find source for Parks at...". Can you shed any light? Todd Hamilton (402) 881-0438 From netarttodd at gmail.com Tue May 25 07:36:23 2010 From: netarttodd at gmail.com (Todd Hamilton) Date: Tue, 25 May 2010 09:36:23 -0500 Subject: [Omaha.pm] find_or_create() your own test data In-Reply-To: References: <396CEDAA86B38646ACE2FEAA22C3FBF1036D8F1A@l3exchange.omnihotels.net> Message-ID: I mis-replyed. I am going to re-send. On Tue, May 25, 2010 at 9:30 AM, Todd Hamilton wrote: > Jay, > > I am just now getting into Catalyst after your workshop. ?I am > following your tutorial and I get this error: "Can't find source for > Parks at...". ?Can you shed any light? > > Todd Hamilton > (402) 881-0438 > -- Todd Hamilton (402) 881-0438 From netarttodd at gmail.com Tue May 25 07:37:39 2010 From: netarttodd at gmail.com (Todd Hamilton) Date: Tue, 25 May 2010 09:37:39 -0500 Subject: [Omaha.pm] Catalyst Tutorial Problem Message-ID: Jay, I am just now getting into Catalyst after your workshop. I am following your tutorial and I get this error when I do the vi add_a_row.pl : "Can't find source for Parks at...". Can you shed any light? -- Todd Hamilton (402) 881-0438 From jay at jays.net Tue May 25 07:37:59 2010 From: jay at jays.net (Jay Hannah) Date: Tue, 25 May 2010 09:37:59 -0500 Subject: [Omaha.pm] find_or_create() your own test data In-Reply-To: References: <396CEDAA86B38646ACE2FEAA22C3FBF1036D8F1A@l3exchange.omnihotels.net> Message-ID: <741F4130-48DF-4977-8F42-E0A0B2E9BD37@jays.net> On May 25, 2010, at 9:30 AM, Todd Hamilton wrote: > I am just now getting into Catalyst after your workshop. I am > following your tutorial and I get this error: "Can't find source for > Parks at...". Can you shed any light? irc.perl.org #catalyst is an amazing resource. Whoever ends up helping you will need to see (most of) your code and full results. You may want to create yourself a github.com account and put your code there, that way anyone anywhere can reproduce your problem quickly. At the very least, you'll need to nopaste the full error here (or wherever): http://paste.scsys.co.uk/ Cheers, j From jay at jays.net Fri May 28 10:00:12 2010 From: jay at jays.net (Jay Hannah) Date: Fri, 28 May 2010 12:00:12 -0500 Subject: [Omaha.pm] NEW ROOM NUMBER - June 8 meeting Message-ID: <3D6838CC-68AA-4EC8-BFFE-0B10D9D51948@jays.net> http://odlug.org Tuesday June 8 2010, 7pm UNO's Peter Kiewit Institute (PKI) Room PKI 375 <-- NEW ROOM NUMBER Michael Kolakowski and UP coworker present "Coding Kata" (Eclipse/Java). Room 375 is in the far northwest corner of PKI on the top (3rd) floor. It has: Whiteboard, projector. 14 PCs w/ Win XP Pro Michael is working w/ PKI staff to get Eclipse pre-installed 4 iMacs See you there! j http://odlug.org