From jhannah at mutationgrid.com Mon Jan 3 11:46:49 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Mon, 3 Jan 2011 13:46:49 -0600 Subject: [Omaha.pm] github:fi - run your own github Message-ID: <3F2A5FB0-C9D5-4DDF-A698-8360ADCD6CD5@mutationgrid.com> Ooo... shiny http://fi.github.com/ I'm perfectly happy w/ github.com (except when it's down this morning... boo!), but if you have to have your repo behind the firewall and have $2500/year laying around... -ponder- Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From dan at linder.org Tue Jan 4 07:24:15 2011 From: dan at linder.org (Dan Linder) Date: Tue, 4 Jan 2011 09:24:15 -0600 Subject: [Omaha.pm] [odynug] github:fi - run your own github In-Reply-To: <3F2A5FB0-C9D5-4DDF-A698-8360ADCD6CD5@mutationgrid.com> References: <3F2A5FB0-C9D5-4DDF-A698-8360ADCD6CD5@mutationgrid.com> Message-ID: (I've been using Subversion+Apache for about 2.5 years, no experience with Git nor Github.) What's the benefit of using "Github.com" over setting up a Git server yourself in-house? I assume Git can be served over a Apache/SSL connection so aside from setting it up and the maintenance duties (and saving $2500/year)...or is Github aimed more at widely dispersed groups with no central server site of their own? Dan On Mon, Jan 3, 2011 at 13:46, Jay Hannah wrote: > Ooo... shiny > > http://fi.github.com/ > > I'm perfectly happy w/ github.com (except when it's down this morning... > boo!), but if you have to have your repo behind the firewall and have > $2500/year laying around... -ponder- > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Omaha Dynamic Language User Group" group. > To post to this group, send email to odynug at googlegroups.com. > To unsubscribe from this group, send email to > odynug+unsubscribe at googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/odynug?hl=en. > > -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at exigencecorp.com Tue Jan 4 08:02:44 2011 From: stephen at exigencecorp.com (Stephen Haberman) Date: Tue, 4 Jan 2011 10:02:44 -0600 Subject: [Omaha.pm] [odynug] github:fi - run your own github In-Reply-To: References: <3F2A5FB0-C9D5-4DDF-A698-8360ADCD6CD5@mutationgrid.com> Message-ID: <20110104100244.fdd76701.stephen@exigencecorp.com> > What's the benefit of using "Github.com" over setting up a Git server > yourself in-house? I doubt github:fi is meant for just one person with a handful of projects--most of us are better off just paying for the regular github.com service. The fi edition makes more sense to large corporations--think about Union Pacific, which has a crap load of proprietary projects that could never live on github.com, but would nonetheless benefit from their internal developers being able to easily view, checkout, submit patches across a variety of projects. $2500/year is likely cheap compared to traditional enterprise SCMs like Perforce or whatever 90s-era-piece-of-crap UP is using. Forget the name. - Stephen From mkolakow at yahoo.com Tue Jan 4 19:05:58 2011 From: mkolakow at yahoo.com (Michael Kolakowski) Date: Tue, 4 Jan 2011 19:05:58 -0800 (PST) Subject: [Omaha.pm] [odynug] github:fi - run your own github In-Reply-To: <20110104100244.fdd76701.stephen@exigencecorp.com> Message-ID: <400040.48540.qm@web121504.mail.ne1.yahoo.com> UP has moved from MKS Source Integrity to Subversion, thank you very much. ;) Michael --- On Tue, 1/4/11, Stephen Haberman wrote: > From: Stephen Haberman > Subject: Re: [Omaha.pm] [odynug] github:fi - run your own github > To: odynug at googlegroups.com > Cc: "Nebraska USA Perl Mongers of Omaha" > Date: Tuesday, January 4, 2011, 10:02 AM > > > What's the benefit of using "Github.com" over setting > up a Git server > > yourself in-house? > > I doubt github:fi is meant for just one person with a > handful of > projects--most of us are better off just paying for the > regular > github.com service. > > The fi edition makes more sense to large > corporations--think about > Union Pacific, which has a crap load of proprietary > projects that could > never live on github.com, but would nonetheless benefit > from their > internal developers being able to easily view, checkout, > submit patches > across a variety of projects. > > $2500/year is likely cheap compared to traditional > enterprise SCMs like > Perforce or whatever 90s-era-piece-of-crap UP is using. > Forget the name. > > - Stephen > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > From mkolakow at yahoo.com Tue Jan 4 19:05:58 2011 From: mkolakow at yahoo.com (Michael Kolakowski) Date: Tue, 4 Jan 2011 19:05:58 -0800 (PST) Subject: [Omaha.pm] [odynug] github:fi - run your own github In-Reply-To: <20110104100244.fdd76701.stephen@exigencecorp.com> Message-ID: <400040.48540.qm@web121504.mail.ne1.yahoo.com> UP has moved from MKS Source Integrity to Subversion, thank you very much. ;) Michael --- On Tue, 1/4/11, Stephen Haberman wrote: > From: Stephen Haberman > Subject: Re: [Omaha.pm] [odynug] github:fi - run your own github > To: odynug at googlegroups.com > Cc: "Nebraska USA Perl Mongers of Omaha" > Date: Tuesday, January 4, 2011, 10:02 AM > > > What's the benefit of using "Github.com" over setting > up a Git server > > yourself in-house? > > I doubt github:fi is meant for just one person with a > handful of > projects--most of us are better off just paying for the > regular > github.com service. > > The fi edition makes more sense to large > corporations--think about > Union Pacific, which has a crap load of proprietary > projects that could > never live on github.com, but would nonetheless benefit > from their > internal developers being able to easily view, checkout, > submit patches > across a variety of projects. > > $2500/year is likely cheap compared to traditional > enterprise SCMs like > Perforce or whatever 90s-era-piece-of-crap UP is using. > Forget the name. > > - Stephen > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > From jhannah at mutationgrid.com Wed Jan 5 10:59:41 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Wed, 5 Jan 2011 12:59:41 -0600 Subject: [Omaha.pm] Part time Catalyst development Message-ID: Anyone local interested in part time Catalyst development? I doubt I can pay you by the hour to work on it, but I've got all the fundamentals built already and there's a budget and a goal. Unfortunately it looks like I've grown too busy to finish it all myself. If you're interested we may be able to work something out. Thanks, Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From stephen at exigencecorp.com Wed Jan 5 13:16:18 2011 From: stephen at exigencecorp.com (Stephen Haberman) Date: Wed, 5 Jan 2011 15:16:18 -0600 Subject: [Omaha.pm] [odynug] github:fi - run your own github In-Reply-To: <400040.48540.qm@web121504.mail.ne1.yahoo.com> References: <20110104100244.fdd76701.stephen@exigencecorp.com> <400040.48540.qm@web121504.mail.ne1.yahoo.com> Message-ID: <20110105151618.cade3d9e.stephen@exigencecorp.com> > UP has moved from MKS Source Integrity to Subversion, thank you very much. ;) Hehe, sweet! That's good to hear. ...do they still run always-on, scan-every-file-as-its-loaded anti-virus software on dev machines? Compilers just love that. - Stephen From jhannah at mutationgrid.com Mon Jan 10 09:48:27 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Mon, 10 Jan 2011 11:48:27 -0600 Subject: [Omaha.pm] Meeting tomorrow, 7pm Message-ID: <55795DEE-2486-48F1-A55E-56815FFE9B07@mutationgrid.com> Happy 2011! Anyone excited about anything they're working on? Willing to talk about it for 5 or more minutes? Come on down! http://odlug.org/ Tuesday January 11 2010, 7pm UNO's Peter Kiewit Institute (PKI) 1110 South 67th Street Room PKI 276 And/or we could crash the OMG 2 doors down from our room: http://omahamakergroup.org Ad-hoc "what Jay has been working on lately" presentation would probably be composed of a discussion of git --bare archives, hooks, and a debate about whether or not "staging" and "production" should live on the same server. :) I'll also bring the challenge/quiz books Blaine bequeathed us in case we want to do one of those. See you there! Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Mon Jan 10 15:44:34 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Mon, 10 Jan 2011 17:44:34 -0600 Subject: [Omaha.pm] shiny! References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> Message-ID: <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> $ time make test ... t/porting/maintainers..........................................ok t/porting/manifest.............................................ok t/porting/podcheck.............................................ok t/porting/test_bootstrap.......................................ok All tests successful. u=3.21 s=1.51 cu=251.93 cs=34.03 scripts=1693 tests=349868 real 8m48.745s user 4m18.533s sys 0m37.122s Mmm... 5.12.2 installed on my new 27" iMac. -drool- :) Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From mario at ruby-im.net Mon Jan 10 16:13:06 2011 From: mario at ruby-im.net (Mario Steele) Date: Mon, 10 Jan 2011 19:13:06 -0500 Subject: [Omaha.pm] shiny! In-Reply-To: <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> Message-ID: You suck, I want a iMac, or even a Mac Mini. :P On Mon, Jan 10, 2011 at 6:44 PM, Jay Hannah wrote: > $ time make test > ... > t/porting/maintainers..........................................ok > t/porting/manifest.............................................ok > t/porting/podcheck.............................................ok > t/porting/test_bootstrap.......................................ok > All tests successful. > u=3.21 s=1.51 cu=251.93 cs=34.03 scripts=1693 tests=349868 > > real 8m48.745s > user 4m18.533s > sys 0m37.122s > > > Mmm... 5.12.2 installed on my new 27" iMac. -drool- :) > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- Mario Steele Lieutenant Commander 3 XO - Geo 99 XO - STO IFT Fleet http://www.trekfederation.com http://geo99.ruby-im.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhannah at mutationgrid.com Mon Jan 10 16:26:53 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Mon, 10 Jan 2011 18:26:53 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> Message-ID: <04230618-ADEC-405C-82A0-42C17795C7F2@mutationgrid.com> On Jan 10, 2011, at 6:13 PM, Mario Steele wrote: > You suck, I want a iMac, or even a Mac Mini. :P mwooooahhahahhahahhaha!! :) Too bad Mutation Grid makes me work 'till midnight all the time. Slave drivers. -sigh- Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Mon Jan 10 17:53:22 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Mon, 10 Jan 2011 19:53:22 -0600 Subject: [Omaha.pm] Catalyst + Template Toolkit - custom filters Message-ID: <851E9631-8CF8-4BAF-B9C3-78534ECA79AA@mutationgrid.com> I didn't know this was quite this easy. In Controller/View/TT.pm you can add arbitrary filters: __PACKAGE__->config( FILTERS => { commify => \&commify, Define your sub: # Perl Cookbook recipe 2.17 sub commify { return 'N/A' unless defined $_[0] and length $_[0]; my $text = reverse $_[0]; $text =~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g; return scalar reverse $text; } And then your templates can use the new filter: [% num_views | commify %] "1234" becomes "1,234". Etc. Neat, huh? Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Tue Jan 11 09:44:04 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Tue, 11 Jan 2011 11:44:04 -0600 Subject: [Omaha.pm] Meeting tonight, 7pm In-Reply-To: <55795DEE-2486-48F1-A55E-56815FFE9B07@mutationgrid.com> References: <55795DEE-2486-48F1-A55E-56815FFE9B07@mutationgrid.com> Message-ID: On Jan 10, 2011, at 11:48 AM, Jay Hannah wrote: > Happy 2011! > > Anyone excited about anything they're working on? -crickets- (snowbound crickets -grin-) I hereby declare tonight "crashing the Omaha Maker Group" night. (Again.) It's only 2 doors down from our regularly scheduled meeting: January 11th, 2011 at 7pm Peter Kiewit Institute (1110 s 67th st) Room 279 Nick et. al.: How many folks have been showing up recently? (How much pizza should I bring?) (How do I not have Nick's phone number? -ponder-) See you there. :) Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From evaddnomaid at gmail.com Tue Jan 11 17:11:00 2011 From: evaddnomaid at gmail.com (Dave Burchell) Date: Tue, 11 Jan 2011 19:11:00 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> Message-ID: Macbook Air, 11 inch base model: t/porting/maintainers..........................................ok t/porting/manifest.............................................ok t/porting/podcheck.............................................ok t/porting/test_bootstrap.......................................ok All tests successful. u=6.40 s=3.82 cu=521.23 cs=85.58 scripts=1693 tests=349815 real 21m43.452s user 15m19.479s sys 2m10.285s On Mon, Jan 10, 2011 at 5:44 PM, Jay Hannah wrote: > $ time make test > ... > t/porting/maintainers..........................................ok > t/porting/manifest.............................................ok > t/porting/podcheck.............................................ok > t/porting/test_bootstrap.......................................ok > All tests successful. > u=3.21 s=1.51 cu=251.93 cs=34.03 scripts=1693 tests=349868 > > real 8m48.745s > user 4m18.533s > sys 0m37.122s > > > Mmm... 5.12.2 installed on my new 27" iMac. -drool- :) > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- Dave Burchell -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhannah at mutationgrid.com Tue Jan 11 17:46:31 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Tue, 11 Jan 2011 19:46:31 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> Message-ID: <30CF7090-1F5F-4326-8F09-9A89993E3419@mutationgrid.com> On Jan 11, 2011, at 7:11 PM, Dave Burchell wrote: > Macbook Air, 11 inch base model: > u=6.40 s=3.82 cu=521.23 cs=85.58 scripts=1693 tests=349815 > real 21m43.452s On Mon, Jan 10, 2011 at 5:44 PM, Jay Hannah wrote: > u=3.21 s=1.51 cu=251.93 cs=34.03 scripts=1693 tests=349868 > real 8m48.745s Woot! Apparently I have some horsepower. :) I wonder what 53 tests I ran that you didn't run? Curious. I would have thought that OS X 10.6.6 would be identical on every chunk of hardware? Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From evaddnomaid at gmail.com Tue Jan 11 17:50:20 2011 From: evaddnomaid at gmail.com (Dave Burchell) Date: Tue, 11 Jan 2011 19:50:20 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: <30CF7090-1F5F-4326-8F09-9A89993E3419@mutationgrid.com> References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> <30CF7090-1F5F-4326-8F09-9A89993E3419@mutationgrid.com> Message-ID: The MBA has a rep as being underpowered, so I thought I'd see by just how much. (Not that I plan to build a lot of stuff on it.) I can only assume that some tests were "skipped", but couldn't tell you which. Maybe stuff for unmet dependencies? This box is pretty sparse. - djb On Tue, Jan 11, 2011 at 7:46 PM, Jay Hannah wrote: > On Jan 11, 2011, at 7:11 PM, Dave Burchell wrote: > > Macbook Air, 11 inch base model: > > u=6.40 s=3.82 cu=521.23 cs=85.58 scripts=1693 tests=349815 > > real 21m43.452s > > On Mon, Jan 10, 2011 at 5:44 PM, Jay Hannah > wrote: > > u=3.21 s=1.51 cu=251.93 cs=34.03 scripts=1693 tests=349868 > > real 8m48.745s > > Woot! Apparently I have some horsepower. :) > > I wonder what 53 tests I ran that you didn't run? Curious. I would have > thought that OS X 10.6.6 would be identical on every chunk of hardware? > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- Dave Burchell -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhannah at mutationgrid.com Tue Jan 11 18:41:48 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Tue, 11 Jan 2011 20:41:48 -0600 Subject: [Omaha.pm] Another telecommute job References: Message-ID: <967A9FA3-EEF7-4459-9816-5E3BB3698825@mutationgrid.com> Seen on the KC Perl Monger list... On Jan 11, 2011, at 6:02 PM, Paul Millard wrote: > BTW, our company has a 3 month contract-to-perm possibility right now, all telecommute. Working in Catalyst and other. If interested you can contact me, or contact direct - http://jobs.perl.org/job/13444. :) Mutation Grid's closest geographical "competitor" (Fort Collins, CO) is hiring. I didn't realize they had a worker out of KC. Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Payne at MattPayne.org Thu Jan 13 06:32:23 2011 From: Payne at MattPayne.org (Matt Payne) Date: Thu, 13 Jan 2011 08:32:23 -0600 Subject: [Omaha.pm] [odynug] Meeting tomorrow, 7pm In-Reply-To: <55795DEE-2486-48F1-A55E-56815FFE9B07@mutationgrid.com> References: <55795DEE-2486-48F1-A55E-56815FFE9B07@mutationgrid.com> Message-ID: Jay & The Makers -- Jon sent me the exciting note below. Free Day begins at 10am Omaha time today. Enjoy! --Matt Hey, if you're interested in DIY electronics (microcontrollers, etc), SparkFun.com is having their second annual "Free Day" tomorrow (Thursday, 1/13/2011): http://www.sparkfun.com/news/487 Spread the word! On Mon, Jan 10, 2011 at 11:48 AM, Jay Hannah wrote: > Happy 2011! > > Anyone excited about anything they're working on? > > Willing to talk about it for 5 or more minutes? > > Come on down! > > ? http://odlug.org/ > ? Tuesday January 11 2010, 7pm > ? UNO's Peter Kiewit Institute (PKI) > ? 1110 South 67th Street > ? Room PKI 276 > > And/or we could crash the OMG 2 doors down from our room: > ? http://omahamakergroup.org > > Ad-hoc "what Jay has been working on lately" presentation would probably be composed of a discussion of git --bare archives, hooks, and a debate about whether or not "staging" and "production" should live on the same server. ? :) ? ?I'll also bring the challenge/quiz books Blaine bequeathed us in case we want to do one of those. > > See you there! > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > > > -- > You received this message because you are subscribed to the Google Groups "Omaha Dynamic Language User Group" group. > To post to this group, send email to odynug at googlegroups.com. > To unsubscribe from this group, send email to odynug+unsubscribe at googlegroups.com. > For more options, visit this group at http://groups.google.com/group/odynug?hl=en. > > From jhannah at mutationgrid.com Thu Jan 13 09:31:21 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Thu, 13 Jan 2011 11:31:21 -0600 Subject: [Omaha.pm] 5.10 - vertical, horizontal whitespace Message-ID: Ooo, neat. Hadn't noticed these additions to 5.10... http://perldoc.perl.org/perlrebackslash.html ? \h Character class for horizontal whitespace. ? \H Character class for non horizontal whitespace. ? \v Character class for vertical whitespace. ? \V Character class for non vertical whitespace. That could come in really hand on occasion. Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 IRC freenode #bioperl 14:53 < dbolser> how do I stop /s+ matching the final /n? 14:53 < dbolser> s/\s+/\t/g 14:55 * dbolser asks in perl 14:58 <@pyrimidine> dbolser: on modern perl I think you can use \N\ 14:58 <@pyrimidine> * \N 14:59 < dbolser> Missing braces on \N{} at 15:00 < dbolser> Quantifier follows nothing in regex; marked by ... 15:00 < dbolser> I guess I'm not modern 15:00 <@pyrimidine> Nope, I'm wrong 15:00 <@pyrimidine> \N is for Unicode. There is something added recently, though 15:01 <@pyrimidine> no, actually I was correct :) http://perldoc.perl.org/perlre.html 15:02 <@pyrimidine> \N has two meanings in perl 5.12 (not sure if this is in 5.10, but I know it isn't in 5.8) 15:02 <@pyrimidine> dbolser: you can always use a character class instead 15:04 < dbolser> pyrimidine: I found 'the easy way' ;-) 15:04 < dbolser> s/ +/\t/g; 15:04 < dbolser> funny how the blindingly obvoius is easy to miss at times 15:04 <@pyrimidine> what if you have \s\t? 15:05 <@pyrimidine> :) 15:05 < dbolser> I don't 15:05 < dbolser> afaik 15:06 <@pyrimidine> I was thinking something like s/[ \t]+/\t/g 15:08 <@pyrimidine> dbolser: perl 5.10 has a way to match vertical and horizontal whitespace, using \v and \h, so that could probably be s/\h+//g (if you have 5.10. that is) 15:08 <@pyrimidine> http://perldoc.perl.org/perlrebackslash.html 15:17 < dbolser> pyrimidine: right From jhannah at mutationgrid.com Fri Jan 14 19:03:02 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Fri, 14 Jan 2011 21:03:02 -0600 Subject: [Omaha.pm] DateTime::Duration ->days() Message-ID: What the heck? Why is DateTime so popular? Date::Calc and Class::Date make this trivial. $ cat j.pl use 5.12.0; use DateTime; my $end = DateTime->new(year => 2011, month => 01, day => 14); my $start = DateTime->new(year => 2007, month => 05, day => 15); my $d = $end - $start; say $d->days; $ perl j.pl 2 Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Fri Jan 14 19:17:07 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Fri, 14 Jan 2011 21:17:07 -0600 Subject: [Omaha.pm] DateTime::Duration ->days() In-Reply-To: References: Message-ID: <97D033C6-C0F1-46DF-95C2-1BBCAD49556F@mutationgrid.com> On Jan 14, 2011, at 9:03 PM, Jay Hannah wrote: > What the heck? Why is DateTime so popular? Date::Calc and Class::Date make this trivial. See? Easy... $ cat j2.pl use 5.12.0; use Date::Calc qw(Delta_Days); say sprintf('$%0.2f', 1025 / Delta_Days(2007, 5, 15, 2011, 1, 14)); $ perl j2.pl $0.76 My laptop died today. And that's how much money it cost me per day I owned it. Used it daily. Not bad. :) http://www.facebook.com/photo.php?pid=1500762&l=fe015d08cb&id=1032415362 Thanks, Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From sterling at hanenkamp.com Sat Jan 15 22:24:25 2011 From: sterling at hanenkamp.com (Sterling Hanenkamp) Date: Sun, 16 Jan 2011 00:24:25 -0600 Subject: [Omaha.pm] DateTime::Duration ->days() In-Reply-To: <97D033C6-C0F1-46DF-95C2-1BBCAD49556F@mutationgrid.com> References: <97D033C6-C0F1-46DF-95C2-1BBCAD49556F@mutationgrid.com> Message-ID: In DateTime, you want delta_days... twice. my $start = DateTime->new(year => 2007, month => 5, day => 15); my $end = DateTime->new(year => 2011, month => 1, day => 14); say sprintf('$%0.2f', 1025 / $end->delta_days($start)->delta_days); DateTime is popular because it is accurate, common, standard, extensible, and popular (since popularity is a property that feeds itself), not because it is fast or easy to use by itself (it is neither in my experience). On Fri, Jan 14, 2011 at 9:17 PM, Jay Hannah wrote: > On Jan 14, 2011, at 9:03 PM, Jay Hannah wrote: > > What the heck? Why is DateTime so popular? Date::Calc and Class::Date > make this trivial. > > See? Easy... > > > $ cat j2.pl > use 5.12.0; > use Date::Calc qw(Delta_Days); > > say sprintf('$%0.2f', 1025 / Delta_Days(2007, 5, 15, 2011, 1, 14)); > > $ perl j2.pl > $0.76 > > > My laptop died today. And that's how much money it cost me per day I owned > it. Used it daily. Not bad. :) > > http://www.facebook.com/photo.php?pid=1500762&l=fe015d08cb&id=1032415362 > > Thanks, > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- Andrew Sterling Hanenkamp sterling at hanenkamp.com 785.370.4454 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhannah at mutationgrid.com Tue Jan 18 23:41:00 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Wed, 19 Jan 2011 01:41:00 -0600 Subject: [Omaha.pm] Plat_Forms Day 2: Java vs. Perl vs. PHP vs. Ruby Message-ID: <151306F4-A5BF-465E-8C48-10530D3EC954@mutationgrid.com> Blog post: "Day 2: Good morning!" http://www.plat-forms.org/day-2-good-morning The teams: http://www.plat-forms.org/teams-2011 Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Tue Jan 25 12:20:16 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Tue, 25 Jan 2011 14:20:16 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> Message-ID: <57FB84AC-7519-4069-A43A-BFEE7839DBDD@mutationgrid.com> MacBook Air 13" perl 5.12.3 -drool- :) t/porting/podcheck.............................................ok t/porting/test_bootstrap.......................................ok All tests successful. u=4.62 s=2.44 cu=403.61 cs=58.61 scripts=1695 tests=349912 real 11m47.275s user 6m54.281s sys 1m3.840s Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 On Jan 11, 2011, at 7:11 PM, Dave Burchell wrote: > Macbook Air, 11 inch base model: > > t/porting/maintainers..........................................ok > t/porting/manifest.............................................ok > t/porting/podcheck.............................................ok > t/porting/test_bootstrap.......................................ok > All tests successful. > u=6.40 s=3.82 cu=521.23 cs=85.58 scripts=1693 tests=349815 > > real 21m43.452s > user 15m19.479s > sys 2m10.285s On Mon, Jan 10, 2011 at 5:44 PM, Jay Hannah wrote: > Mmm... 5.12.2 installed on my new 27" iMac. -drool- :) > > $ time make test > ... > t/porting/maintainers..........................................ok > t/porting/manifest.............................................ok > t/porting/podcheck.............................................ok > t/porting/test_bootstrap.......................................ok > All tests successful. > u=3.21 s=1.51 cu=251.93 cs=34.03 scripts=1693 tests=349868 > > real 8m48.745s > user 4m18.533s > sys 0m37.122s From evaddnomaid at gmail.com Tue Jan 25 12:32:42 2011 From: evaddnomaid at gmail.com (Dave Burchell) Date: Tue, 25 Jan 2011 14:32:42 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: <57FB84AC-7519-4069-A43A-BFEE7839DBDD@mutationgrid.com> References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> <57FB84AC-7519-4069-A43A-BFEE7839DBDD@mutationgrid.com> Message-ID: Yours? On Tue, Jan 25, 2011 at 2:20 PM, Jay Hannah wrote: > MacBook Air 13" perl 5.12.3 -drool- :) > > t/porting/podcheck.............................................ok > t/porting/test_bootstrap.......................................ok > All tests successful. > u=4.62 s=2.44 cu=403.61 cs=58.61 scripts=1695 tests=349912 > > real 11m47.275s > user 6m54.281s > sys 1m3.840s > > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > -- Dave Burchell -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhannah at mutationgrid.com Tue Jan 25 12:40:58 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Tue, 25 Jan 2011 14:40:58 -0600 Subject: [Omaha.pm] shiny! In-Reply-To: References: <201101080512.p085C6DQ004964@li109-243.members.linode.com> <4CD63A39-5D46-4AD1-8FD3-DDA7EC1357AF@mutationgrid.com> <57FB84AC-7519-4069-A43A-BFEE7839DBDD@mutationgrid.com> Message-ID: On Jan 25, 2011, at 2:32 PM, Dave Burchell wrote: > Yours? Ya. Mutation Grid got a long-term contract so had money around to buy an initial set of furniture and equipment. > MacBook Air 13" perl 5.12.3 -drool- :) > Mmm... 5.12.2 installed on my new 27" iMac. -drool- :) And my black MacBook from 2007 died, pressing the issue. (It wqs later reborn for my 13 year old son.) :) Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Tue Jan 25 22:02:23 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Wed, 26 Jan 2011 00:02:23 -0600 Subject: [Omaha.pm] Plat_Forms epilogue: Java vs. Perl vs. PHP vs. Ruby In-Reply-To: <151306F4-A5BF-465E-8C48-10530D3EC954@mutationgrid.com> References: <151306F4-A5BF-465E-8C48-10530D3EC954@mutationgrid.com> Message-ID: http://www.shadowcat.co.uk/blog/matt-s-trout/plat-forms-redux/ Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From jhannah at mutationgrid.com Fri Jan 28 13:04:37 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Fri, 28 Jan 2011 15:04:37 -0600 Subject: [Omaha.pm] 5.8 becomes unsupported in April Message-ID: <151FEC90-6F22-4937-BA45-5E441FC50B17@mutationgrid.com> Will your perl remain supported -- and what does that mean? Remember, Perl shops: if you're still on 5.8 come April, you're on an unsupported legacy version. Current versions are 5.10.1 and 5.12.3 http://rjbs.manxome.org/rubric/entry/1872 Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From dan at linder.org Fri Jan 28 14:47:59 2011 From: dan at linder.org (Dan Linder) Date: Fri, 28 Jan 2011 16:47:59 -0600 Subject: [Omaha.pm] 5.8 becomes unsupported in April In-Reply-To: <151FEC90-6F22-4937-BA45-5E441FC50B17@mutationgrid.com> References: <151FEC90-6F22-4937-BA45-5E441FC50B17@mutationgrid.com> Message-ID: Thanks for the heads-up. I'm trying to convince my co-workers that listing "Perl 5.8 or greater" as a requirement is more of a hindrance now... Question: Does Perl follow the even/odd method of denoting a production vs development track, or does the number following the first decimal point just happen to be even in all the common examples? Dan On Fri, Jan 28, 2011 at 15:04, Jay Hannah wrote: > Will your perl remain supported -- and what does that mean? > > Remember, Perl shops: if you're still on 5.8 come April, you're on an > unsupported legacy version. Current versions are 5.10.1 and 5.12.3 > > http://rjbs.manxome.org/rubric/entry/1872 > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhannah at mutationgrid.com Fri Jan 28 17:02:31 2011 From: jhannah at mutationgrid.com (Jay Hannah) Date: Fri, 28 Jan 2011 19:02:31 -0600 Subject: [Omaha.pm] 5.8 becomes unsupported in April In-Reply-To: References: <151FEC90-6F22-4937-BA45-5E441FC50B17@mutationgrid.com> Message-ID: <43653B71-6C78-49C0-90AE-E4F7EE19C802@mutationgrid.com> On Jan 28, 2011, at 4:47 PM, Dan Linder wrote: > Question: Does Perl follow the even/odd method of denoting a production vs development track, or does the number following the first decimal point just happen to be even in all the common examples? http://www.cpan.org/src/README.html http://search.cpan.org/~jpeacock/version-0.88/lib/version/Internals.pod How's that for "more than you EVER wanted to know"? :) Jay Hannah Software Architect jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 From dan at linder.org Sat Jan 29 07:09:21 2011 From: dan at linder.org (Dan Linder) Date: Sat, 29 Jan 2011 09:09:21 -0600 Subject: [Omaha.pm] 5.8 becomes unsupported in April In-Reply-To: <43653B71-6C78-49C0-90AE-E4F7EE19C802@mutationgrid.com> References: <151FEC90-6F22-4937-BA45-5E441FC50B17@mutationgrid.com> <43653B71-6C78-49C0-90AE-E4F7EE19C802@mutationgrid.com> Message-ID: Thanks Jay! (Short answer, yes Perl follows the odd/even devel/production numbering scheme.) Dan On Fri, Jan 28, 2011 at 19:02, Jay Hannah wrote: > On Jan 28, 2011, at 4:47 PM, Dan Linder wrote: > > Question: Does Perl follow the even/odd method of denoting a production > vs development track, or does the number following the first decimal point > just happen to be even in all the common examples? > > http://www.cpan.org/src/README.html > http://search.cpan.org/~jpeacock/version-0.88/lib/version/Internals.pod > > How's that for "more than you EVER wanted to know"? > > :) > > Jay Hannah > Software Architect > jhannah at mutationgrid.com | http://mutationgrid.com | 1-402-598-7782 > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- ***************** ************* *********** ******* ***** *** ** "Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal "I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author) ** *** ***** ******* *********** ************* ***************** -------------- next part -------------- An HTML attachment was scrubbed... URL: