From joel.a.berger at gmail.com Tue Dec 6 09:05:11 2011 From: joel.a.berger at gmail.com (Joel Berger) Date: Tue, 6 Dec 2011 11:05:11 -0600 Subject: [Chicago-talk] Informal WindyCity.pm Meeting at Dugans Message-ID: Hello All, Thanksgiving and Christmas have the Windy City Perl Mongers on hiatus for a while, is anyone up for just the beer part? A few of us will be meeting at Dugan's (the pub we visited after the last meeting) on Dec 8. Anyone interested? All are welcome. To RSVP (not really necessary, but helpful on number of tables), or for more info visit: http://www.meetup.com/Windy-City-Perl-mongers-Meetup/events/42937882/ Cheers, Joel Berger -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel.a.berger at gmail.com Wed Dec 7 20:01:39 2011 From: joel.a.berger at gmail.com (Joel Berger) Date: Wed, 7 Dec 2011 22:01:39 -0600 Subject: [Chicago-talk] Informal Meeting Tomorrow Message-ID: Ok I only have two other people signed up for the Informal Meeting at Dugan's tomorrow ( http://www.meetup.com/Windy-City-Perl-mongers-Meetup/events/42937882/). Unless I get any more response, I think I might end up cancelling, or doing something in the North burbs, where I and one of the other suburban confirmed attendees lives. Respond by email or RSVP to the meetup soon to keep it happening! Joel Berger joel.a.berger at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel.a.berger at gmail.com Thu Dec 8 07:19:05 2011 From: joel.a.berger at gmail.com (Joel Berger) Date: Thu, 8 Dec 2011 09:19:05 -0600 Subject: [Chicago-talk] Informal Meeting Tomorrow In-Reply-To: References: Message-ID: Ok so while there is still only a small response, those who have responded are still excited to meet, so: We Are Still On! Anyone, of course, will be welcome to come join us. We will be at Dugan's, just north of Adams on Halsted. As I metion in the meetup description, during happy hour (which I believe is 5-7) they have some free food, other than that there is no food at Dugans, so plan accordingly. I expect I will be there a little early so as to partake. The official start time for the meetup is 7:00. Some topics which may be discussed: - Physical units as Moose types (for unit conversion via coersion) - The Zoidberg Perl Shell - David has a lead on a jit for Perl5! So plenty of fun for all; hope to see you there! Joel Berger joel.a.berger at gmail.com On Wed, Dec 7, 2011 at 10:01 PM, Joel Berger wrote: > Ok I only have two other people signed up for the Informal Meeting at > Dugan's tomorrow ( > http://www.meetup.com/Windy-City-Perl-mongers-Meetup/events/42937882/). > Unless I get any more response, I think I might end up cancelling, or doing > something in the North burbs, where I and one of the other suburban > confirmed attendees lives. > > Respond by email or RSVP to the meetup soon to keep it happening! > > Joel Berger > joel.a.berger at gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at shlomifish.org Thu Dec 8 08:28:31 2011 From: shlomif at shlomifish.org (Shlomi Fish) Date: Thu, 8 Dec 2011 18:28:31 +0200 Subject: [Chicago-talk] Informal Meeting Tomorrow In-Reply-To: References: Message-ID: <20111208182831.05a7cbd8@lap.shlomifish.org> Hi, On Thu, 8 Dec 2011 09:19:05 -0600 Joel Berger wrote: > Ok so while there is still only a small response, those who have responded > are still excited to meet, so: > > We Are Still On! > > Anyone, of course, will be welcome to come join us. We will be at Dugan's, > just north of Adams on Halsted. As I metion in the meetup description, > during happy hour (which I believe is 5-7) they have some free food, other > than that there is no food at Dugans, so plan accordingly. I expect I will > be there a little early so as to partake. The official start time for the > meetup is 7:00. > > Some topics which may be discussed: > > - Physical units as Moose types (for unit conversion via coersion) You may wish to look into Language::Farnsworth : http://search.cpan.org/dist/Language-Farnsworth/ It has support for unit conversion and unit mathematics, including that of aggregate units. So you can divide 100 miles by 2 hours and get the result in metres/second, or much more funky stuff. We've been enjoying the "farnsworth" bot on some Perl channels on Freenode. Regards, Shlomi Fish > - The Zoidberg Perl Shell > - David has a lead on a jit for Perl5! > > So plenty of fun for all; hope to see you there! > > Joel Berger > joel.a.berger at gmail.com -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Stop Using MSIE - http://www.shlomifish.org/no-ie/ ?THERE IS NO JUSTICE. THERE?S ONLY ME.? ? Death in Terry Pratchett's Mort Please reply to list if it's a mailing list post - http://shlom.in/reply . From joel.a.berger at gmail.com Fri Dec 9 08:11:58 2011 From: joel.a.berger at gmail.com (Joel Berger) Date: Fri, 9 Dec 2011 10:11:58 -0600 Subject: [Chicago-talk] Fwd: Informal Meeting Tomorrow In-Reply-To: References: <20111208182831.05a7cbd8@lap.shlomifish.org> Message-ID: Hi Shlomi, Thanks for the lead. I didn't end up using Language::Farnsworth but rather a combination of Math::Units and Physics::Unit, which both do something like multiplying units. The big task for me though was simply to accept a string with a unit and via coercion end up with a number in the appropriate unit. It certainly isn't in a final form, and no docs yet, but my repo at https://github.com/jberger/MooseX-Types-NumUnit has my current work on the matter. My pride and joy is that: package MyTest; use Moose; use MooseX::Types::NumUnit qw/num_of_unit/; #$MooseX::Types::NumUnit::Verbose = 1; has 'speed' => ( isa => num_of_unit('ft / hour'), is => 'rw', required => 1 ); no Moose; __PACKAGE__->meta->make_immutable; my $test = MyTest->new( speed => '2 m / s' ); print $test->speed, "\n"; __END__ prints: 23622.0472440945 Cheers, Joel Berger On Thu, Dec 8, 2011 at 10:28 AM, Shlomi Fish wrote: > Hi, > > On Thu, 8 Dec 2011 09:19:05 -0600 > Joel Berger wrote: > > > Ok so while there is still only a small response, those who have > responded > > are still excited to meet, so: > > > > We Are Still On! > > > > Anyone, of course, will be welcome to come join us. We will be at > Dugan's, > > just north of Adams on Halsted. As I metion in the meetup description, > > during happy hour (which I believe is 5-7) they have some free food, > other > > than that there is no food at Dugans, so plan accordingly. I expect I > will > > be there a little early so as to partake. The official start time for the > > meetup is 7:00. > > > > Some topics which may be discussed: > > > > - Physical units as Moose types (for unit conversion via coersion) > > You may wish to look into Language::Farnsworth : > > http://search.cpan.org/dist/Language-Farnsworth/ > > It has support for unit conversion and unit mathematics, including that of > aggregate units. So you can divide 100 miles by 2 hours and get the result > in > metres/second, or much more funky stuff. We've been enjoying the > "farnsworth" > bot on some Perl channels on Freenode. > > Regards, > > Shlomi Fish > > > > > - The Zoidberg Perl Shell > > - David has a lead on a jit for Perl5! > > > > So plenty of fun for all; hope to see you there! > > > > Joel Berger > > joel.a.berger at gmail.com > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > Stop Using MSIE - http://www.shlomifish.org/no-ie/ > > ?THERE IS NO JUSTICE. THERE?S ONLY ME.? > ? Death in Terry Pratchett's Mort > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > -------------- next part -------------- An HTML attachment was scrubbed... URL: