From pjf at perltraining.com.au Wed Dec 2 01:39:58 2009 From: pjf at perltraining.com.au (Paul Fenwick) Date: Wed, 02 Dec 2009 20:39:58 +1100 Subject: [Melbourne-pm] Dr Damian Conway presents: The Missing Link - 9th December, Editure (new venue) Message-ID: <4B1635EE.6060705@perltraining.com.au> G'day Melbourne.pm, This is a reminder that Dr Damian Conway will be presenting "The Missing Link" next Wednesday, 9th December. In anticipation of a larger than usual crowd, we will be having our December meeting at a larger venue. Many thanks to Editure and Julien Goodwin for the organisation: Wednesday, 9th December, 6:30pm Editure Level 8 14-20 Blackwood Street North Melbourne Dr Damian Conway, author of "Object Oriented Perl" and "Perl Best Practices", CEO of Thoughtstream, author of countless CPAN modules, and the best presenter I have ever seen, will be presenting "The Missing Link": What do duality, annoyances in yellow, chaos theory, tables and metatables, patterns and data, cinematic reboots, watching trees grow, code that writes code that writes code that writes code, debugging debuggers, eating your own dog, "objects-in, objects-out", successful failures, anti-stacks, and active null statements have in common? Watch as Damian weaves them together into a new and improbably useful module that demonstrates the awesome power and beauty of Perl 5.10. All Melbourne Perl Mongers meetings are free. Invite your friends, co-workers, and associates! Looking forward to seeing you there! Paul -- Paul Fenwick | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia | Fax: +61 3 9354 2681 From damian at conway.org Wed Dec 2 01:54:51 2009 From: damian at conway.org (Damian Conway) Date: Wed, 2 Dec 2009 20:54:51 +1100 Subject: [Melbourne-pm] Dr Damian Conway presents: The Missing Link - 9th December, Editure (new venue) In-Reply-To: <4B1635EE.6060705@perltraining.com.au> References: <4B1635EE.6060705@perltraining.com.au> Message-ID: <832f158a0912020154j3a615c79uab3360f2cf6bb519@mail.gmail.com> Paul wrote: > This is a reminder that Dr Damian Conway will be presenting "The Missing > Link" next Wednesday, 9th December. ...and a further reminder that I will be giving away a pristine Mac G4 Cube at the event. No-one has sent a winning proposal yet, so there's still time to secure it. If you'd like to be the proud owner of this classic device, send me a brief explanation of why it should be yours. Damian From sam at nipl.net Wed Dec 2 03:52:04 2009 From: sam at nipl.net (Sam Watkins) Date: Wed, 2 Dec 2009 22:52:04 +1100 Subject: [Melbourne-pm] Dr Damian Conway presents: The Missing Link - 9th December, Editure (new venue) In-Reply-To: <832f158a0912020154j3a615c79uab3360f2cf6bb519@mail.gmail.com> References: <4B1635EE.6060705@perltraining.com.au> <832f158a0912020154j3a615c79uab3360f2cf6bb519@mail.gmail.com> Message-ID: <20091202115204.GB20990@nipl.net> On Wed, Dec 02, 2009 at 08:54:51PM +1100, Damian Conway wrote: > No-one has sent a winning proposal yet, so there's still time to secure it. > If you'd like to be the proud owner of this classic device, send me > a brief explanation of why it should be yours. I'd like to port my public domain programming language "brace" to run on OS X, as someone said told me it doesn't build yet, but I don't have a Mac. Brief enough? :) Brace is a dialect of C that looks a bit like python, implemented by means of a preprocessor. It has a few perl references such as "say" and "slurp", #! scripting with cached executables, two types of coroutines, hygenic macros, header generation, graphics and sound functions, and various other stuff. It's meant to be easy for kids to use it, but powerful enough for pros. http://sam.nipl.net/brace/ Supposing I don't win this, if anyone else has an old OS X capable mac lying around, or is willing to let me ssh into one for a while, please let me know. I need gcc, perl and an X server installed on it. Sam From peter at machell.net Wed Dec 2 03:55:16 2009 From: peter at machell.net (Peter Machell) Date: Wed, 2 Dec 2009 21:55:16 +1000 Subject: [Melbourne-pm] Dr Damian Conway presents: The Missing Link - 9th December, Editure (new venue) In-Reply-To: <20091202115204.GB20990@nipl.net> References: <4B1635EE.6060705@perltraining.com.au> <832f158a0912020154j3a615c79uab3360f2cf6bb519@mail.gmail.com> <20091202115204.GB20990@nipl.net> Message-ID: On 02/12/2009, at 9:52 PM, Sam Watkins wrote: > Supposing I don't win this, if anyone else has an old OS X capable mac lying > around, or is willing to let me ssh into one for a while, please let me know. > I need gcc, perl and an X server installed on it. I have a G4 eMac (the last of the CRT ones) running Leopard, that you, or anyone else is welcome to for the usual price. However I'm in Brisbane and it's probably not worth the cost of shipping. regards, Peter. From damian at conway.org Wed Dec 2 21:54:28 2009 From: damian at conway.org (Damian Conway) Date: Thu, 3 Dec 2009 16:54:28 +1100 Subject: [Melbourne-pm] Dr Damian Conway presents: The Missing Link - 9th December, Editure (new venue) In-Reply-To: <20091202115204.GB20990@nipl.net> References: <4B1635EE.6060705@perltraining.com.au> <832f158a0912020154j3a615c79uab3360f2cf6bb519@mail.gmail.com> <20091202115204.GB20990@nipl.net> Message-ID: <832f158a0912022154u3c0a34a6s8b96969d27915ebe@mail.gmail.com> > I'd like to port my public domain programming language "brace" to run on OS X, > as someone said told me it doesn't build yet, but I don't have a Mac. ?Brief > enough? ?:) Perfect. You're definitely a finalist, so be there on Wednesday! All the best, Damian From sam at nipl.net Wed Dec 2 23:25:51 2009 From: sam at nipl.net (Sam Watkins) Date: Thu, 3 Dec 2009 18:25:51 +1100 Subject: [Melbourne-pm] Dr Damian Conway presents: The Missing Link - 9th December, Editure (new venue) In-Reply-To: <832f158a0912022154u3c0a34a6s8b96969d27915ebe@mail.gmail.com> References: <4B1635EE.6060705@perltraining.com.au> <832f158a0912020154j3a615c79uab3360f2cf6bb519@mail.gmail.com> <20091202115204.GB20990@nipl.net> <832f158a0912022154u3c0a34a6s8b96969d27915ebe@mail.gmail.com> Message-ID: <20091203072551.GA20468@nipl.net> On Thu, Dec 03, 2009 at 04:54:28PM +1100, Damian Conway wrote: > > I'd like to port my public domain programming language "brace" to run on OS X, > > as someone said told me it doesn't build yet, but I don't have a Mac. ?Brief > > enough? ?:) > > Perfect. You're definitely a finalist, so be there on Wednesday! ok, I was planning to come. I hope I don't have to go in a Morris-Dance-off against other finalists or anything bizarre like that! Sam From jarich at perltraining.com.au Sun Dec 6 20:33:01 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 07 Dec 2009 15:33:01 +1100 Subject: [Melbourne-pm] Database-driven web application & design houses Message-ID: <4B1C857D.3050006@perltraining.com.au> G'day folk, Back when I did a lot of consulting, most of my work was in database driven websites. Fortunately for me I don't do so much of this any more, but unfortunately this has meant that I haven't had much pressure to keep up with the new and shiny tools to make this trivial. This is also unfortunate for some of my old clients. If your company does a lot of this kind of stuff, and does it using some MVC framework or ORM or otherwise sensible choices to reduce the required effort; then I'd love to be able to refer you to my old clients. Probably the easiest way for you to help me here would be to add appropriate details to: http://perl.net.au/wiki/Business_directory (Unless you work in something not-Perl in which case contact me directly - my clients have a bit of everything). If you do other Perl work, feel encouraged to add your business to that listing as well. J -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From jarich at perltraining.com.au Mon Dec 7 00:13:17 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 07 Dec 2009 19:13:17 +1100 Subject: [Melbourne-pm] Open Source peoples end of year party (Melbourne) Message-ID: <4B1CB91D.4000002@perltraining.com.au> G'day everyone, You are invited to the 2009 Open Source end of year party. Innovation @ 257 Level One, Emirates House, 257 Collins Street, Melbourne CBD 6:30pm RSVP - 5pm Monday 14th December 2009 There will be light refreshments and a great opportunity to network. Please feel welcome to bring colleagues and partners. Those who work in businesses too small to throw a Christmas party are especially welcome. There will be a $10 entry fee per person, to cover costs. Please make sure you RSVP with expected numbers by 5pm Monday, 14th December so that we can ensure we have the right amount of catering. Please RSVP to osia-rsvp at cc.com.au It would be great to have a short talk or two (10 minutes each) on the theme of "this year in open source", so if you would be able to give us such, please let me know. We are very much looking forward to having you come along and have a great end of year celebration with us! Sponsorship ----------- No event like this can run without costs, if you are in a position to defray some of these costs, even in a little way, we'd love to talk to you. In return we'd be very happy to accommodate your needs. Please contact us on osia-rsvp at cc.com.au All the very best, Jacinta and Donna PS: Arrive before 7pm, as the Collins St front entrance is locked at 7pm sharp. However, you can still enter the building via Shuji Sushi on Flinders Lane. -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From jarich at perltraining.com.au Mon Dec 7 00:16:37 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 07 Dec 2009 19:16:37 +1100 Subject: [Melbourne-pm] Open Source peoples end of year party (Melbourne) Message-ID: <4B1CB9E5.3010007@perltraining.com.au> [Sorry for the repeat, the first one lost the date] G'day everyone, You are invited to the 2009 Open Source end of year party. Innovation @ 257 Level One, Emirates House, 257 Collins Street, Melbourne CBD Thursday, 17th December, 6:30pm RSVP - 5pm Monday 14th December 2009 There will be light refreshments and a great opportunity to network. Please feel welcome to bring colleagues and partners. Those who work in businesses too small to throw a Christmas party are especially welcome. There will be a $10 entry fee per person, to cover costs. Please make sure you RSVP with expected numbers by 5pm Monday, 14th December so that we can ensure we have the right amount of catering. Please RSVP to osia-rsvp at cc.com.au It would be great to have a short talk or two (10 minutes each) on the theme of "this year in open source", so if you would be able to give us such, please let me know. We are very much looking forward to having you come along and have a great end of year celebration with us! Sponsorship ----------- No event like this can run without costs, if you are in a position to defray some of these costs, even in a little way, we'd love to talk to you. In return we'd be very happy to accommodate your needs. Please contact us on osia-rsvp at cc.com.au All the very best, Jacinta and Donna PS: Arrive before 7pm, as the Collins St front entrance is locked at 7pm sharp. However, you can still enter the building via Shuji Sushi on Flinders Lane. -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From scottp at dd.com.au Mon Dec 7 03:22:55 2009 From: scottp at dd.com.au (Scott Penrose) Date: Mon, 7 Dec 2009 22:22:55 +1100 Subject: [Melbourne-pm] Hello World... Message-ID: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> Here is a very fun yet silly idea :-) http://hellowiki.org/ A wiki of hello world examples. I have added Perl and Perl6 Scott From tjc at wintrmute.net Mon Dec 7 04:27:18 2009 From: tjc at wintrmute.net (Toby Wintermute) Date: Mon, 7 Dec 2009 23:27:18 +1100 Subject: [Melbourne-pm] Hello World... In-Reply-To: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> References: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> Message-ID: 2009/12/7 Scott Penrose : > Here is a very fun yet silly idea :-) > > ? ? ? ?http://hellowiki.org/ > > A wiki of hello world examples. > > I have added Perl and Perl6 How cute :) I've added a page for Scala. -Toby -- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world From sam at nipl.net Mon Dec 7 06:28:14 2009 From: sam at nipl.net (Sam Watkins) Date: Tue, 8 Dec 2009 01:28:14 +1100 Subject: [Melbourne-pm] Hello World... In-Reply-To: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> References: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> Message-ID: <20091207142814.GB28905@nipl.net> On Mon, Dec 07, 2009 at 10:22:55PM +1100, Scott Penrose wrote: > Here is a very fun yet silly idea :-) > > http://hellowiki.org/ > > A wiki of hello world examples. I didn't check it out yet due to my system being busy doing something else right now. I reckon it would be nice to extend it to have a "pleasing example" for each language also, a small program (let's say under one 80x25 page) that does something nice and interesting and shows off some nice features of the language in question. The standard Hello World is not a very exciting program and typically shows almost nothing interesting about the language! (Also there is already a website with hello-world programs for every language under the sun.) For example for brace I might post this short mandelbrot set plotter (or maybe something else, it's just an example): #!/lang/b use b Main(): num outside = 16, ox = -0.5, oy = 0, r = 1.5 long i, max_i = 100, rb_i = 30 space() uint32_t *px = pixel() # CONFIGURE! num d = 2*r/h, x0 = ox-d*w_2, y0 = oy+d*h_2 for(y, 0, h): cmplx c = x0 + (y0-d*y)*I repeat(w): cmplx w = c for i=0; i < max_i && cabs(w) < outside; ++i w = w*w + c *px++ = i < max_i ? rainbow(i*359 / rb_i % 360) : black c += d Paint() Sam From damian at conway.org Mon Dec 7 11:25:52 2009 From: damian at conway.org (Damian Conway) Date: Tue, 8 Dec 2009 06:25:52 +1100 Subject: [Melbourne-pm] Hello World... In-Reply-To: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> References: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> Message-ID: <832f158a0912071125r47078d43i2c4265f21ed36f81@mail.gmail.com> Scott pointed out: > Here is a very fun yet silly idea :-) > > ? ? ? ?http://hellowiki.org/ > > A wiki of hello world examples. Slightly less silly, but even more fun: http://progopedia.com/ Damian From ajsavige at yahoo.com.au Mon Dec 7 12:41:07 2009 From: ajsavige at yahoo.com.au (Andrew Savige) Date: Mon, 7 Dec 2009 12:41:07 -0800 (PST) Subject: [Melbourne-pm] Hello World... In-Reply-To: <20091207142814.GB28905@nipl.net> References: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> <20091207142814.GB28905@nipl.net> Message-ID: <556628.3115.qm@web56408.mail.re3.yahoo.com> Sam Watkins wrote: > I reckon it would be nice to extend it to have a "pleasing example" for >?each language also, a small program (let's say under one 80x25 page) that > does something nice and interesting and shows off some nice features of the > language in question. There was the original 99 problems in Lisp (derived from Prolog): ?http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html Taken up by the Haskell folks: ?http://haskell.org/haskellwiki/99_Haskell_exercises The Pugs repository had Perl 6 versions of these problems but I can't find them now. See also: http://rosettacode.org/ and similar pages for: 99 bottles of beer: http://www.99-bottles-of-beer.net/ quines??????????? : http://www.nyx.net/~gthompso/quine.htm /-\ __________________________________________________________________________________ Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7. Enter now: http://au.docs.yahoo.com/homepageset/ From scottp at dd.com.au Mon Dec 7 15:08:30 2009 From: scottp at dd.com.au (scottp at dd.com.au) Date: Mon, 7 Dec 2009 17:08:30 -0600 (CST) Subject: [Melbourne-pm] Hello World... In-Reply-To: <1067289489.260001260227297241.JavaMail.root@mail-4.01.com> Message-ID: <212984854.260021260227310219.JavaMail.root@mail-4.01.com> ----- "Andrew Savige" wrote: > The Pugs repository had Perl 6 versions of these problems but I can't > find them now. I have been slowly porting them to Perl6 Rakudo. Unfortunately most of them didn't work in the pugs repository, for two reasons - not maintained & the spec changed: http://github.com/perl6/perl6-examples I would love some help :-) I have also started porting all the Perl5 Cookbook examples. > See also: http://rosettacode.org/ Yes that is my favorite one. It has some really good examples, practical and good comparisons. Scooter -- http://scott.dd.com.au/ scottp at dd.com.au From mathew.robertson at netratings.com.au Mon Dec 7 18:12:11 2009 From: mathew.robertson at netratings.com.au (Mathew Robertson) Date: Tue, 08 Dec 2009 13:12:11 +1100 Subject: [Melbourne-pm] Hello World... In-Reply-To: <20091207142814.GB28905@nipl.net> References: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> <20091207142814.GB28905@nipl.net> Message-ID: <4B1DB5FB.8040500@netratings.com.au> Sam Watkins wrote: > On Mon, Dec 07, 2009 at 10:22:55PM +1100, Scott Penrose wrote: > >> Here is a very fun yet silly idea :-) >> >> http://hellowiki.org/ >> >> A wiki of hello world examples. >> > > I didn't check it out yet due to my system being busy doing something else > right now. I reckon it would be nice to extend it to have a "pleasing example" > for each language also, [snipped rainbow example] How do you define pleasing? Perl's CPAN is far more useful than pretty much any other language/library, so I'm not sure we can show good examples, without writing examples for most of CPAN. For the Boost library (aka C++), how do you show that compile-time compilation is taking place? And if you like the Java's acronym soup, then a single 80x25 isn't going to cut it... I'm somewhat of a fan of the GNU Hello world example... ;) regards, Mathew Robertson -------------- next part -------------- An HTML attachment was scrubbed... URL: From mir at pax.apana.org.au Mon Dec 7 21:36:01 2009 From: mir at pax.apana.org.au (Mirko Fluher) Date: Tue, 8 Dec 2009 16:36:01 +1100 Subject: [Melbourne-pm] Hello World... In-Reply-To: <832f158a0912071125r47078d43i2c4265f21ed36f81@mail.gmail.com> References: <439D7B08-49C4-444D-BFBB-6E990734F8E9@dd.com.au> <832f158a0912071125r47078d43i2c4265f21ed36f81@mail.gmail.com> Message-ID: <20091208053601.GA13789@pax.apana.org.au> On Tue, Dec 08, 2009 at 06:25:52AM +1100, Damian Conway wrote: > Scott pointed out: > > > Here is a very fun yet silly idea :-) > > > > ? ? ? ?http://hellowiki.org/ > > > > A wiki of hello world examples. > > Slightly less silly, but even more fun: > > http://progopedia.com/ > > Damian and more here: http://www.nyx.net/~gthompso/quine.htm http://www.roesler-ac.de/wolfram/hello.htm Cheers, -- http://pax.apana.org.au gpg key id: EACDC062 pgp.mit.edu Linux #19227 http://www.gnu.org/philosophy/no-word-attachments.hsml Grub first, then ethics -- Bertolt Brecht From pjf at perltraining.com.au Tue Dec 8 12:33:21 2009 From: pjf at perltraining.com.au (Paul Fenwick) Date: Wed, 09 Dec 2009 07:33:21 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link Message-ID: <4B1EB811.6070809@perltraining.com.au> G'day Melbourne.pm, This is a reminder that Dr Damian Conway will be presenting "The Missing Link" TONIGHT, at 6:30pm. In anticipation of a larger than usual crowd, we will be having our December meeting at a larger venue. Many thanks to Editure and Julien Goodwin for the organisation: Wednesday, 9th December, 6:30pm Editure Level 8 14-20 Blackwood Street North Melbourne Dr Damian Conway, author of "Object Oriented Perl" and "Perl Best Practices", CEO of Thoughtstream, author of countless CPAN modules, and the best presenter I have ever seen, will be presenting "The Missing Link": What do duality, annoyances in yellow, chaos theory, tables and metatables, patterns and data, cinematic reboots, watching trees grow, code that writes code that writes code that writes code, debugging debuggers, eating your own dog, "objects-in, objects-out", successful failures, anti-stacks, and active null statements have in common? Watch as Damian weaves them together into a new and improbably useful module that demonstrates the awesome power and beauty of Perl 5.10. All Melbourne Perl Mongers meetings are free. Invite your friends, co-workers, and associates! Looking forward to seeing you there! Paul -- Paul Fenwick | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia | Fax: +61 3 9354 2681 From scottp at dd.com.au Tue Dec 8 19:29:12 2009 From: scottp at dd.com.au (Scott Penrose) Date: Wed, 9 Dec 2009 14:29:12 +1100 Subject: [Melbourne-pm] Contract/Consulting Work Available Message-ID: <40073E88-3A11-43B6-A54B-A31EE298C68F@dd.com.au> Hi PM Team I am looking for a contractor for between 1 and 3 days per week, next year from January to June. The work is very varied, and involves mostly Perl and some Javascript. There is task automation on Linux (using Ubuntu & OpenVZ) (a scheduler written in Perl helps here), some web interfaces (with interesting mapping), and lots of data processing. Many of our tasks are about integration of products, display and automation. If you are interested please contact me (details below) or see me tonight. Scott Penrose Ph: 0417 885 330 From alecclews at gmail.com Tue Dec 8 19:58:27 2009 From: alecclews at gmail.com (Alec Clews) Date: Wed, 9 Dec 2009 14:58:27 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <4B1EB811.6070809@perltraining.com.au> References: <4B1EB811.6070809@perltraining.com.au> Message-ID: <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> Two important issues of course :-) 1) So long since we've been to Editure do we know a reasonable location for beer and a pie? 2) Tonight's hashtag is #melpm 2009/12/9 Paul Fenwick : > G'day Melbourne.pm, > > This is a reminder that Dr Damian Conway will be presenting "The Missing > Link" TONIGHT, at 6:30pm. > > In anticipation of a larger than usual crowd, we will be having our December > meeting at a larger venue. ?Many thanks to Editure and Julien Goodwin for > the organisation: > > ? ? ? ?Wednesday, 9th December, 6:30pm > > ? ? ? ?Editure > ? ? ? ?Level 8 > ? ? ? ?14-20 Blackwood Street > ? ? ? ?North Melbourne > > Dr Damian Conway, author of "Object Oriented Perl" and "Perl Best > Practices", CEO of Thoughtstream, author of countless CPAN modules, and the > best presenter I have ever seen, will be presenting "The Missing Link": > > ? ? ? ?What do duality, annoyances in yellow, chaos theory, tables and > ? ? ? ?metatables, patterns and data, cinematic reboots, watching trees > ? ? ? ?grow, code that writes code that writes code that writes code, > ? ? ? ?debugging debuggers, eating your own dog, "objects-in, objects-out", > ? ? ? ?successful failures, anti-stacks, and active null statements have in > ? ? ? ?common? Watch as Damian weaves them together into a new and > ? ? ? ?improbably useful module that demonstrates the awesome power and > ? ? ? ?beauty of Perl 5.10. > > All Melbourne Perl Mongers meetings are free. ?Invite your friends, > co-workers, and associates! > > Looking forward to seeing you there! > > ? ? ? ?Paul > > -- > Paul Fenwick | http://perltraining.com.au/ > Director of Training ? ? ? ? ? ? ? ? ? | Ph: ?+61 3 9354 6001 > Perl Training Australia ? ? ? ? ? ? ? ?| Fax: +61 3 9354 2681 > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > -- Alec Clews Personal Melbourne, Australia. Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C blog:http://alecthegeek.wordpress.com/ From toby.corkindale at strategicdata.com.au Tue Dec 8 20:10:36 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 09 Dec 2009 15:10:36 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> Message-ID: <4B1F233C.3010300@strategicdata.com.au> Alec Clews wrote: > Two important issues of course :-) > > 1) So long since we've been to Editure do we know a reasonable > location for beer and a pie? > 2) Tonight's hashtag is #melpm Ah, I was just wondering about the important Beer Location too.. I think we used to go to the Redback on Flemington road? Is that still any good? Cheers, Toby From claudine+perl at fastmail.fm Tue Dec 8 20:16:15 2009 From: claudine+perl at fastmail.fm (Claudine Chionh) Date: Wed, 09 Dec 2009 15:16:15 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <4B1F233C.3010300@strategicdata.com.au> References: <4B1EB811.6070809@perltraining.com.au><3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> Message-ID: <1260332175.3365.1349173849@webmail.messagingengine.com> On Wed, 09 Dec 2009 15:10 +1100, "Toby Corkindale" wrote: > Alec Clews wrote: > > Two important issues of course :-) > > > > 1) So long since we've been to Editure do we know a reasonable > > location for beer and a pie? > > 2) Tonight's hashtag is #melpm > > Ah, I was just wondering about the important Beer Location too.. > I think we used to go to the Redback on Flemington road? Is that still > any good? I would also recommend the Edinburgh Castle, even closer at 56 Courtney St. http://www.thecastlehotel.com.au/main.html Claudine now a North Melbourne local :-) -- Claudine Chionh Melbourne, Victoria, Australia From melbourne-pm at popcorn.cx Tue Dec 8 20:40:30 2009 From: melbourne-pm at popcorn.cx (Stephen Edmonds) Date: Wed, 9 Dec 2009 15:40:30 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <4B1F233C.3010300@strategicdata.com.au> References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> Message-ID: Toby Corkindale wrote: > > Ah, I was just wondering about the important Beer Location too.. > I think we used to go to the Redback on Flemington road? Is that still > any good? The regular pub location was actually the Turf Club opposite the big roundabout. But we changed to the Redback Brewery for the last couple of Editure located meetings... Thanks, Stephen From toby.corkindale at strategicdata.com.au Tue Dec 8 20:42:30 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 09 Dec 2009 15:42:30 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> Message-ID: <4B1F2AB6.8030102@strategicdata.com.au> Stephen Edmonds wrote: > Toby Corkindale wrote: >> Ah, I was just wondering about the important Beer Location too.. >> I think we used to go to the Redback on Flemington road? Is that still >> any good? > > The regular pub location was actually the Turf Club opposite the big > roundabout. But we changed to the Redback Brewery for the last couple of > Editure located meetings... Us alcoholics have bad memories.. From alecclews at gmail.com Tue Dec 8 21:17:51 2009 From: alecclews at gmail.com (Alec Clews) Date: Wed, 9 Dec 2009 16:17:51 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <4B1F2AB6.8030102@strategicdata.com.au> References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> <4B1F2AB6.8030102@strategicdata.com.au> Message-ID: <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> 2009/12/9 Toby Corkindale : > Us alcoholics have bad memories.. +1 I vote the Castle as they boast 35 beers; because I'm a beer snob and last time I was at the Redback I was disappointed. -- Alec Clews Personal Melbourne, Australia. Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C blog:http://alecthegeek.wordpress.com/ From melbourne-pm at popcorn.cx Tue Dec 8 21:38:50 2009 From: melbourne-pm at popcorn.cx (Stephen Edmonds) Date: Wed, 9 Dec 2009 16:38:50 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> <4B1F2AB6.8030102@strategicdata.com.au> <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> Message-ID: Alec Clews wrote: >> Us alcoholics have bad memories.. > > +1 > > I vote the Castle as they boast 35 beers; because I'm a beer snob and > last time I was at the Redback I was disappointed. Is that also for pre-talk drinks? Stephen From alec.clews at gmail.com Tue Dec 8 21:39:46 2009 From: alec.clews at gmail.com (Alec Clews) Date: Wed, 9 Dec 2009 16:39:46 +1100 Subject: [Melbourne-pm] Hashtags and bangtags Message-ID: <3c2b63c00912082139x7fa0a90cx2a2bccb0fb7cd473@mail.gmail.com> Just a reminder for identica users. There is a MELPM group on identica, so if you insert !MELPM in your identi.ca status posts it will turn up as #MELPM on twitter (if you have it connected) and turn up in the identica group (http://identi.ca/group/melpm). "It's so social media 2.2 darrling" -- Alec Clews Personal Melbourne, Australia. Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C blog:http://alecthegeek.wordpress.com/ From claudine+perl at fastmail.fm Tue Dec 8 21:41:45 2009 From: claudine+perl at fastmail.fm (Claudine Chionh) Date: Wed, 09 Dec 2009 16:41:45 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> <4B1F2AB6.8030102@strategicdata.com.au> <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> Message-ID: On 09/12/2009, at 4:38 PM, Stephen Edmonds wrote: > Alec Clews wrote: >>> Us alcoholics have bad memories.. >> >> +1 >> >> I vote the Castle as they boast 35 beers; because I'm a beer snob and >> last time I was at the Redback I was disappointed. > > Is that also for pre-talk drinks? Oh! There are pre-talk drinks? When? Claudine From alecclews at gmail.com Tue Dec 8 21:43:51 2009 From: alecclews at gmail.com (Alec Clews) Date: Wed, 9 Dec 2009 16:43:51 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> <4B1F2AB6.8030102@strategicdata.com.au> <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> Message-ID: <3c2b63c00912082143u23d168d1s411df56f85dd9a83@mail.gmail.com> 2009/12/9 Claudine Chionh : > On 09/12/2009, at 4:38 PM, Stephen Edmonds wrote: >>> I vote the Castle as they boast 35 beers; because I'm a beer snob and >>> last time I was at the Redback I was disappointed. >> >> Is that also for pre-talk drinks? > > Oh! There are pre-talk drinks? When? Oh go on then -- 5:30ish? -- Alec Clews Personal Melbourne, Australia. Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C blog:http://alecthegeek.wordpress.com/ From tjc at wintrmute.net Tue Dec 8 21:49:37 2009 From: tjc at wintrmute.net (Toby Wintermute) Date: Wed, 9 Dec 2009 16:49:37 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <3c2b63c00912082143u23d168d1s411df56f85dd9a83@mail.gmail.com> References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> <4B1F2AB6.8030102@strategicdata.com.au> <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> <3c2b63c00912082143u23d168d1s411df56f85dd9a83@mail.gmail.com> Message-ID: 2009/12/9 Alec Clews : > 2009/12/9 Claudine Chionh : >> On 09/12/2009, at 4:38 PM, Stephen Edmonds wrote: >>>> I vote the Castle as they boast 35 beers; because I'm a beer snob and >>>> last time I was at the Redback I was disappointed. >>> >>> Is that also for pre-talk drinks? >> >> Oh! There are pre-talk drinks? When? > > Oh go on then -- 5:30ish? I'll be more like 5:30-5:45, but will check it out :) The Castle - is that on Wrecklyn St and Courtney St? From claudine+perl at fastmail.fm Tue Dec 8 21:58:19 2009 From: claudine+perl at fastmail.fm (Claudine Chionh) Date: Wed, 09 Dec 2009 16:58:19 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: References: <4B1EB811.6070809@perltraining.com.au> <3c2b63c00912081958k52e7cc2en8cea47b2c6cc57cd@mail.gmail.com> <4B1F233C.3010300@strategicdata.com.au> <4B1F2AB6.8030102@strategicdata.com.au> <3c2b63c00912082117l64888fb2q69d2b5db810dc61f@mail.gmail.com> <3c2b63c00912082143u23d168d1s411df56f85dd9a83@mail.gmail.com> Message-ID: On 09/12/2009, at 4:49 PM, Toby Wintermute wrote: > 2009/12/9 Alec Clews : >> 2009/12/9 Claudine Chionh : >>> On 09/12/2009, at 4:38 PM, Stephen Edmonds wrote: >>>>> I vote the Castle as they boast 35 beers; because I'm a beer >>>>> snob and >>>>> last time I was at the Redback I was disappointed. >>>> >>>> Is that also for pre-talk drinks? >>> >>> Oh! There are pre-talk drinks? When? >> >> Oh go on then -- 5:30ish? > > I'll be more like 5:30-5:45, but will check it out :) > > The Castle - is that on Wrecklyn St and Courtney St? Indeed it is! Claudine From jarich at perltraining.com.au Wed Dec 9 20:07:55 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Thu, 10 Dec 2009 15:07:55 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <4B1EB811.6070809@perltraining.com.au> References: <4B1EB811.6070809@perltraining.com.au> Message-ID: <4B20741B.2090902@perltraining.com.au> G'day folk, I just wanted to offer a huge thank you to Damian for giving us a marathon performance last night of 2.5 hours of mind-blowing Perl which was also extremely entertaining. I counted 40 attendees, but suspect I may have missed a head or two. So thank you Damian, that was awesome! Even though this was the third time I've seen parts of the talk, I still feel that I'm only just beginning to understand what you did to achieve it. I think I'll need to see it a few more times to really understand. Thanks to Paul for organising things, and to Julien and Editure for providing us with the room. All the best, Jacinta P.S. I hope many of you will join us next week on Thursday night at Innovation at 257. See my previous email. From damian at conway.org Wed Dec 9 21:11:13 2009 From: damian at conway.org (Damian Conway) Date: Thu, 10 Dec 2009 16:11:13 +1100 Subject: [Melbourne-pm] TONIGHT! Dr Damian Conway presents: The Missing Link In-Reply-To: <4B20741B.2090902@perltraining.com.au> References: <4B1EB811.6070809@perltraining.com.au> <4B20741B.2090902@perltraining.com.au> Message-ID: <832f158a0912092111i79b5aeddmbc64740f3873bbea@mail.gmail.com> Jacinta wrote: > So thank you Damian It was a pleasure. Let me add my thanks to Paul, Julien, and Editure for making the evening happen. And to the numerous other mongers in the audience who contributed so many excellent questions and suggestions. Damian From myfwhite at gmail.com Thu Dec 10 17:39:05 2009 From: myfwhite at gmail.com (Myf White) Date: Fri, 11 Dec 2009 12:39:05 +1100 Subject: [Melbourne-pm] Roman numerals & assessing a CPAN module Message-ID: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> My specific questions... I need to convert roman numerals to arabic, and there seem to be quite a few modules on the CPAN which can do this. So, has anyone used any of these and have any recommendations? - Text::Roman - Roman - Math::Roman - Convert::Number::Roman So on to more general questions... I have a few methods for assessing whether to use a module, eg look at the api to check it is suitable, check out bugs and bug reports, check when it was last updated, check whether the author/maintainer also did/does things I know and like, install it and give it a whirl etc. But if there's no bug reports, do you reckon that's because there are no bugs, or because no one is using it? If something has been on CPAN for a long time, does that make it more trustworthy or less so? What methods do you use for assessing candidate modules? Myf White mailto:myfwhite at gmail.com ?Sometimes your joy is the source of your smile, but sometimes your smile can be the source of your joy." Thich Nhat Hanh -------------- next part -------------- An HTML attachment was scrubbed... URL: From alfiejohn at gmail.com Thu Dec 10 18:25:31 2009 From: alfiejohn at gmail.com (Alfie John) Date: Fri, 11 Dec 2009 13:25:31 +1100 Subject: [Melbourne-pm] Roman numerals & assessing a CPAN module In-Reply-To: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> References: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> Message-ID: Hey Myf, I haven't seen any of those modules, but here's a link to a grammar for Roman numerals which you could use with Regexp::Grammars: http://compilers.iecc.com/comparch/article/07-03-118 Alfie On Fri, Dec 11, 2009 at 12:39 PM, Myf White wrote: > My specific questions... > > I need to convert roman numerals to arabic, and there seem to be quite a > few modules on the CPAN which can do this. So, has anyone used any of these > and have any recommendations? > > - Text::Roman > - Roman > - Math::Roman > - Convert::Number::Roman > > So on to more general questions... > > I have a few methods for assessing whether to use a module, eg look at the > api to check it is suitable, check out bugs and bug reports, check when it > was last updated, check whether the author/maintainer also did/does things I > know and like, install it and give it a whirl etc. > > But if there's no bug reports, do you reckon that's because there are no > bugs, or because no one is using it? > > If something has been on CPAN for a long time, does that make it more > trustworthy or less so? > > What methods do you use for assessing candidate modules? > > > Myf White > mailto:myfwhite at gmail.com > > ?Sometimes your joy is the source of your smile, but sometimes your smile > can be the source of your joy." Thich Nhat Hanh > > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From list at bereft.net Thu Dec 10 19:18:11 2009 From: list at bereft.net (Brad Bowman) Date: Fri, 11 Dec 2009 14:18:11 +1100 Subject: [Melbourne-pm] Roman numerals & assessing a CPAN module In-Reply-To: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> References: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> Message-ID: <4B21B9F3.6090609@bereft.net> Myf White wrote: > I need to convert roman numerals to arabic, and there seem to be quite a > few modules on the CPAN which can do this. So, has anyone used any of > these and have any recommendations? [..] Someone solved: http://projecteuler.net/index.php?section=problems&id=89 with Math::Roman. Although there was a later comment: Both the Perl modules Roman and Math::Roman barf on roman.txt, so I had to write my own roman->arabic converter. Then I used Math::Roman to convert arabic->minimal roman. (Roman doesn't like numbers over 4000). Here's the bulk of the roman->arabic converter [...] > What methods do you use for assessing candidate modules? A thread concentrating on the red flags: http://www.perlmonks.org/index.pl?node_id=278327 Brad From damian at conway.org Thu Dec 10 20:10:51 2009 From: damian at conway.org (Damian Conway) Date: Fri, 11 Dec 2009 15:10:51 +1100 Subject: [Melbourne-pm] Roman numerals & assessing a CPAN module In-Reply-To: <4B21B9F3.6090609@bereft.net> References: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> <4B21B9F3.6090609@bereft.net> Message-ID: <832f158a0912102010x3b303db0g4f1821325071577e@mail.gmail.com> Just in case no module proves acceptable, here's some raw code extracted from Lingua::Romana::Perligata. It handles Roman numerals up to 1 billion. As you see, for larger numbers it uses parens instead of the C-I-reversed-C of classical Latin. I guess under Unicode, you could represent such numbers more accurately with the codepoints: 0x216D (ROMAN NUMERAL ONE HUNDRED), 0x2160 (ROMAN NUMERAL ONE), 0x2183 (ROMAN NUMERAL REVERSED ONE HUNDRED) Damian -----cut----------cut----------cut----------cut----------cut----- sub make_range { my ($unit, $five, $ten) = @_; my ($two, $three) = ($unit x 2, $unit x 3); return [ "", $unit, $two, $three, $unit.$five, $five, $five.$unit, $five.$two, $five.$three, $unit.$ten ]; } my @order = ( make_range(qw{ I V X }), make_range(qw{ X L C }), make_range(qw{ C D M }), make_range(qw{ M I)) ((I)) }), make_range(qw{ ((I)) I))) (((I))) }), make_range(qw{ (((I))) I)))) ((((I)))) }), make_range(qw{ ((((I)))) I))))) (((((I))))) }), make_range(qw{ (((((I))))) I)))))) ((((((I)))))) }), make_range(qw{ ((((((I)))))) I))))))) (((((((I))))))) }), make_range(qw{ (((((((I))))))) I)))))))) ((((((((I)))))))) }), ); my %val; for my $power (0..$#order) { @val{@{$order[$power]}} = map {$_*10**$power} 0..9; } my $roman = '(' . join(")(", map { join("|",map { quotemeta } reverse sort(@$_)) } reverse @order) . '|)' ; sub from_roman { my $roman_val = shift; my @numerals = $roman_val =~ /(?:$roman)/ix; my $arabic_num = 0; for my $numeral (@numerals) { $arabic_num += $val{$numeral}; } return $arabic_num; } sub to_roman { my @digits = split '', shift; my $power = 0; my $roman_num = ""; for my $digit (reverse @digits) { $roman_num = $order[$power++][$digit] . $roman_num; } return $roman_num; } From ajsavige at yahoo.com.au Fri Dec 11 20:12:43 2009 From: ajsavige at yahoo.com.au (Andrew Savige) Date: Fri, 11 Dec 2009 20:12:43 -0800 (PST) Subject: [Melbourne-pm] Roman numerals & assessing a CPAN module In-Reply-To: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> References: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> Message-ID: <155095.15830.qm@web56401.mail.re3.yahoo.com> MyfWhite wrote: > I need to convert roman numerals to arabic, and there seem to be > quite a few modules on the CPAN which can do this. Just in case you prefer a one liner to a CPAN module: use List::Util 'reduce'; sub roman_to_dec { ?reduce{$a+$b-$a%$b*2}map{10**(7&69303333/ord)%9995}split//,uc(shift) } Only works for "modern" Roman Numerals in 1-3999 range ... and I admit maintainability and readability may suffer. :) A while back, I wrote up a node describing the algorithm behind this monstrosity and even gave it a name, the PGA-TRAM algorithm: ?http://www.perlmonks.org/?node_id=771219 Cheers, /-\ __________________________________________________________________________________ See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From myfwhite at gmail.com Sat Dec 12 19:23:50 2009 From: myfwhite at gmail.com (Myf White) Date: Sun, 13 Dec 2009 14:23:50 +1100 Subject: [Melbourne-pm] Roman numerals & assessing a CPAN module In-Reply-To: <155095.15830.qm@web56401.mail.re3.yahoo.com> References: <14bb7600912101739n62a6a90dv4f84ffae9ec4b736@mail.gmail.com> <155095.15830.qm@web56401.mail.re3.yahoo.com> Message-ID: <14bb7600912121923g3d08238eg63120e0634aad835@mail.gmail.com> Thanks for all of the ideas. I've had a bit of a look into them, including testing them against some of the corner cases raised in the thread that Alfie linked to (http://compilers.iecc.com/comparch/article/07-03-118). I actually don't need numbers over 3999 (the ones I need to convert are all years in the late nineteenth century), so the limitations of some of the solutions are no problem. Andrew's solution seems to be the easiest, and it handles the weird corner cases the best, but I prefer the extra line defining a hash that you have in your perlmonks post, than the less readable messing with ord results (clever, but I had to spend 10 minutes working out how it worked!) I had a look at the roman numeral grammar, but unfortunately it's left recursive, so no good for Regexp::Grammars. I think maybe Damian mentioned in his talk that any left recursive grammar can be redefined to not be left recursive (or maybe I got this wrong and only some can). The mental gymnastics of doing this are something I learnt for an exam, and promptly forgot, so not worth trying to relearn on work's time. But definitely something I'd be interested in trying out in my own time. Myf White mailto:myfwhite at gmail.com "The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...'" -- Isaac Asimov On Sat, Dec 12, 2009 at 3:12 PM, Andrew Savige wrote: > MyfWhite wrote: > > I need to convert roman numerals to arabic, and there seem to be > > quite a few modules on the CPAN which can do this. > Just in case you prefer a one liner to a CPAN module: > > use List::Util 'reduce'; > sub roman_to_dec { > reduce{$a+$b-$a%$b*2}map{10**(7&69303333/ord)%9995}split//,uc(shift) > } > > Only works for "modern" Roman Numerals in 1-3999 range ... and I > admit maintainability and readability may suffer. :) > > A while back, I wrote up a node describing the algorithm behind this > monstrosity and even gave it a name, the PGA-TRAM algorithm: > > http://www.perlmonks.org/?node_id=771219 > > Cheers, > /-\ > > ------------------------------ > See what's on at the movies in your area. Find out now > . > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gma at talentscoutbang.com Mon Dec 14 16:21:39 2009 From: gma at talentscoutbang.com (Gregory McCallum Anderson) Date: Tue, 15 Dec 2009 11:21:39 +1100 Subject: [Melbourne-pm] Perl Programmer needed... Message-ID: Hi Melbourne Perl Mongers, Jacinta from Perl Training Australia recommended that someone at Melbourne Perl Mongers may find value in a Perl Programming role we are head hunting for on behalf of our client. (Thanks Jacinta) It could be that this is a ?dream? role for you or someone you know. Our client is a public listed, national transport/logistics company based in Essendon. They have an immediate requirement and will consider a range of Perl Programming skills and experience; and are negotiable on remuneration $60 ? 80K. This is not a Web/HTML job but a major ongoing, core system development project, with a major focus around Perl programming and Db design in a team of six developers/sysadm/engineers. The key skills: Database Objects Design experience. Design and implementation of Stored Procedures, Triggers and Views, Perl Programming, Unix/Linux Programming, Firebird/Interbase/PostGRES Databases experience, Embedded SQL Programming, HTML, PHP, CSS, JavaScript, Python? If you are interested and would like to know more you can call me directly to discuss: Greg Anderson, CEO [ta!ent scout] (61) 0425 861 012, (61) 03 96457683 Email: gma at talentscoutbang.com Thanks for your time and consideration. If I can be of any assistance, let me know. Hey, maybe this could be your ?dream? role after all! -------------- next part -------------- An HTML attachment was scrubbed... URL: From melbourne.pm at joshheumann.com Tue Dec 22 13:24:28 2009 From: melbourne.pm at joshheumann.com (Josh Heumann) Date: Tue, 22 Dec 2009 13:24:28 -0800 Subject: [Melbourne-pm] Call for OSCON Proposals Now Open Message-ID: <20091222212428.GA3288@joshheumann.com> OSCON is an amazing conference. I can't recommend it enough, and it's even better if you're a speaker. J ----------------------------------------------------------------------------------------------- OSCON, the O'Reilly Open Source Convention July 19 - 23, 2010 Oregon Convention Center Portland, OR http://post.oreilly.com/rd/9z1zf0t6dpc3gbtkfelcuhqbcal0jkd6cn0cih1i4vo Faster, Freer, Smarter: Whatever your Goal, Make It Happen with Open Source More than 2,500 experts, developers, sys admins, and hackers will meet up at OSCON 2010 to explore the tools, services, and platforms that make up the vibrant open source ecosystem. Join us! The OSCON Call for Participation is now open. If you have winning techniques, favorite lifesavers, war stories, productivity tips, or other ideas to share, we want to hear from you. We're especially on the look-out for ways to do more with less, design and usability best practices, mobile device innovations, cloud computing, parallelization, open standards and data, open source in government, business models, and beyond. Speak up about the freedom--and opportunity--of open source at OSCON 2010. Submit your proposal by February 1, 2010 at: http://post.oreilly.com/rd/9z1z3rclchmq3gkm32odmh9ii2pj1ch20uugej104no