From shlomif at iglu.org.il Tue Mar 1 04:52:32 2011 From: shlomif at iglu.org.il (Shlomi Fish) Date: Tue, 1 Mar 2011 14:52:32 +0200 Subject: [Melbourne-pm] anyone for #mxug IRC? In-Reply-To: <20110301053623.GA21243@opal.ai.ki> References: <20110301053623.GA21243@opal.ai.ki> Message-ID: <201103011452.32914.shlomif@iglu.org.il> Hi Sam, On Tuesday 01 Mar 2011 07:36:23 Sam Watkins wrote: > I'd like to invite melbourne coder/hackers of whatever affiliation to hang > out in #mxug on freenode and/or attend MXUG meetings. MXUG is a good > friendly user group (can present full or lightning talks about whatever is > of interest, generally with a dev / tech focus). > > Although the group meetings are always interesting and well-attended, the > IRC channel isn't! So, please come and visit it and stay joined in it. I > saw #PerlNet is also not well populated. Do people use something other > than IRC to chat these days? Please don't say facebook!! I use IRC mostly as well as Jabber/XMPP and MSN. I use X-Chat for IRC and Pidgin for everything else. Facebook provides a Jabber interface to its chat, so I configured Pidgin to interact with it, and I can chat with my Facebook friends (I don't like the Facebook web-interface). I should note that from my experience with Israel-specific topical channels (e.g: for Perl, PHP, Lisp, Python, etc.), most such channels tend to eventually become extremely inactive. What I could suggest instead is to create something like #australia or #au for general off-topic discussions (like #israel is on Freenode and other channels) and something like ##linux-au or ##foss-au for more open-source/tech related discussions (like ##linux-il is on Freenode which is pretty active). If anyone know of such prior efforts, please shout. Also see what Joel wrote about it here: http://www.joelonsoftware.com/items/2004/09/03.html Anyway, Freenode and other chat networks are still very popular among the more technically-oriented people (and some people who are not so technically- oriented), and seem to become somewhat more popular in time. I trimmed the rest of the E-mail because I don't know how to reply to it. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ My Aphorisms - http://www.shlomifish.org/humour.html There's no point in keeping an idea to yourself since there's a 10 to 1 chance that somebody already has it and will share it before you. Please reply to list if it's a mailing list post - http://shlom.in/reply . From melbourne-pm at mjch.net Sat Mar 5 18:28:35 2011 From: melbourne-pm at mjch.net (Malcolm Herbert) Date: Sun, 6 Mar 2011 13:28:35 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... Message-ID: <20110306022832.GC16528@fastmail.fm> I've created a Catalyst app using database schema classes as provided by DBIx::Class - I have a database with two tables: create table channel ( channel uuid not null primary key, name text not null, description text not null, url text not null, ); create table show ( show uuid not null primary key, channel uuid not null references channel, name text not null, description text not null, url text, ); I've used the DBIx::Class automatic schema class creator to create the appropiate result set classes, so in my test code this works: my $chan_rs = $schema->resultset('Channel')->search( { 'channel' => 'db9c299c-04e0-11e0-81e8-8fcb8e6c1511' } ); my $chan = $chan_rs->next; print $chan->sane . ': ' . $chan->description . "\n"; However when I try the following, DBI complains: my $show_rs = $chan_rs->search_related('shows'); The error it spits out is: DBIx::Class::ResultSet::all(): DBI Exception: DBD::Pg::st execute failed: ERROR: column reference "channel" is ambiguous LINE 1: ... show shows ON shows.channel = me.channel WHERE ( channel = ... ^ [for Statement "SELECT shows.show, shows.channel, shows.name, shows.sane, shows.description, shows.url, shows.logo, shows.hosts FROM channel me JOIN show shows ON shows.channel = me.channel WHERE ( channel = ? )" with ParamValues: 1='db9c299c-04e0-11e0-81e8-8fcb8e6c1511'] at exp/test.pl line 26 I can see that the WHERE clause should read 'me.channel = ?' instead of 'channel = ?', and running the query manually with this change yields the correct result ... I have been able to get around the issue by modifying my schema to append _id to the primary key fields, but I really shouldn't have to do that ... How would I go about fixing this properly? It sounds like a problem with the SQL query generator that DBIx::Class uses but as I am working at several layers removed from it, I'm a little at a loss as to how to attack this problem ... Thanks, Malcolm -- Malcolm Herbert This brain intentionally mjch at mjch.net left blank From simon at unisolve.com.au Sun Mar 6 14:23:56 2011 From: simon at unisolve.com.au (Simon Taylor) Date: Mon, 07 Mar 2011 09:23:56 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <20110306022832.GC16528@fastmail.fm> References: <20110306022832.GC16528@fastmail.fm> Message-ID: <4D74097C.1070203@unisolve.com.au> Hello Malcolm, > I have been able to get around the issue by modifying my schema to > append _id to the primary key fields, but I really shouldn't have to do > that ... > > How would I go about fixing this properly? It sounds like a problem > with the SQL query generator that DBIx::Class uses but as I am working > at several layers removed from it, I'm a little at a loss as to how to > attack this problem ... This does sound like a bug in the automatic schema. Have you tried making the references clause in the "show" table more specific, ie: channel uuid not null references channel (channel) Cheers, Simon From andrew at sericyb.com.au Sun Mar 6 17:09:11 2011 From: andrew at sericyb.com.au (Andrew Pam) Date: Mon, 07 Mar 2011 12:09:11 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <20110306022832.GC16528@fastmail.fm> References: <20110306022832.GC16528@fastmail.fm> Message-ID: <4D743037.2040803@sericyb.com.au> On 06/03/11 13:28, Malcolm Herbert wrote: > I've created a Catalyst app using database schema classes as provided by > DBIx::Class - I have a database with two tables: > > create table channel ( > channel uuid not null primary key, > name text not null, > description text not null, > url text not null, > ); > > create table show ( > show uuid not null primary key, > channel uuid not null references channel, > name text not null, > description text not null, > url text, > ); I don't recommend having fields and tables with the same name. That leads to ambiguity and potential confusion, making code hard to maintain. One possible practice is to always name fields in the singular and tables in the plural, so you could have "channels.channel" and "shows.channel". Hope that helps, Andrew From andrew at sericyb.com.au Sun Mar 6 18:37:21 2011 From: andrew at sericyb.com.au (Andrew Pam) Date: Mon, 07 Mar 2011 13:37:21 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <20110307010922.GA12490@joshheumann.com> References: <20110306022832.GC16528@fastmail.fm> <4D743037.2040803@sericyb.com.au> <20110307010922.GA12490@joshheumann.com> Message-ID: <4D7444E1.7010006@sericyb.com.au> On 07/03/11 12:09, Josh Heumann wrote: >> I don't recommend having fields and tables with the same name. > +1, although I prefer naming the primary key in a table just 'id'. That works too, but not if you want to use natural joins. Andrew From melbourne-pm at mjch.net Sun Mar 6 19:41:32 2011 From: melbourne-pm at mjch.net (Malcolm Herbert) Date: Mon, 07 Mar 2011 14:41:32 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <20110307010922.GA12490@joshheumann.com> References: <20110306022832.GC16528@fastmail.fm> <4D743037.2040803@sericyb.com.au> <20110307010922.GA12490@joshheumann.com> Message-ID: <1299469292.13395.1426887953@webmail.messagingengine.com> before we let this get too far ahead - I also do normally use 'id' or similar for the primary key, however I found that as it wasn't qualifying which table id it was referring to in the join, I got the same error ... using the table name as the primary key was part of the diagnostic process, and as it didn't seem to make any difference to the problem, I kept it in the examples ... Regards, Malcolm -- Malcolm Herbert This brain intentionally mjch at mjch.net left blank From sam at nipl.net Sun Mar 6 20:55:53 2011 From: sam at nipl.net (Sam Watkins) Date: Mon, 7 Mar 2011 15:55:53 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <4D743037.2040803@sericyb.com.au> References: <20110306022832.GC16528@fastmail.fm> <4D743037.2040803@sericyb.com.au> Message-ID: <20110307045553.GF18934@opal.ai.ki> > One possible practice is to always name fields in the > singular and tables in the plural, so you could have "channels.channel" > and "shows.channel". Good idea. I was thinking of something similar with C structs and array names, I would call the struct 'cow' and the array 'cows' (like a table). An individual cow might be called 'c', or 'Bessie' :) Sam From melbourne-pm at mjch.net Mon Mar 7 03:59:40 2011 From: melbourne-pm at mjch.net (Malcolm Herbert) Date: Mon, 7 Mar 2011 22:59:40 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <4D74097C.1070203@unisolve.com.au> References: <20110306022832.GC16528@fastmail.fm> <4D74097C.1070203@unisolve.com.au> Message-ID: <20110307115938.GD16528@fastmail.fm> On Mon, Mar 07, 2011 at 09:23:56AM +1100, Simon Taylor wrote: |This does sound like a bug in the automatic schema. | |Have you tried making the references clause in the "show" table more |specific, ie: | | channel uuid not null references channel (channel) thanks for the tip, unfortunately it didn't pan out - changed all the primary key fields to 'id' across the board and made sure each reference restriction named the primary key field explicitly, as in: create table channel ( id uuid not null primary key, : : ); create table show ( id uuid not null primary key, channel uuid not null references channel(id), : : ); ... but I wound up with the same error: DBIx::Class::ResultSet::all(): DBI Exception: DBD::Pg::st execute failed: ERROR: column reference "id" is ambiguous LINE 1: ...e JOIN show shows ON shows.channel = me.id WHERE ( id = $1 ) ^ [for Statement "SELECT shows.id, shows.channel, shows.name, shows.sane, shows.description, shows.url, shows.logo, shows.hosts FROM channel me JOIN show shows ON shows.channel = me.id WHERE ( id = ? )" with ParamValues: 1='db9c299c-04e0-11e0-81e8-8fcb8e6c1511'] at exp/test.pl line 28 looks like I'll just have to use _id for my primary keys ... :( -- Malcolm Herbert This brain intentionally mjch at mjch.net left blank From toby.corkindale at strategicdata.com.au Mon Mar 7 16:57:20 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Tue, 08 Mar 2011 11:57:20 +1100 Subject: [Melbourne-pm] Next meeting - Tomorrow In-Reply-To: <4D6B8701.5040609@gmail.com> References: <4D6B1F19.1070708@strategicdata.com.au> <4D6B8701.5040609@gmail.com> Message-ID: <4D757EF0.604@strategicdata.com.au> On 28/02/11 22:29, Alec Clews wrote: > On 28/02/11 15:05, Toby Corkindale wrote: >> The next Melbourne Perlmongers Meeting will be on the 9th of March. >> >> I wondered if anyone has a talk they would like to give? >> And also - were there any talks or discussions people would like to >> request? > > Here is a topic I know nothing about but wish I did: > > Using Emacs to hack Perl (e.g. debugging, version control, cperl, > perldoc etc from within emacs) So, the meeting is on for tomorrow, but we're still searching for some talks.. It would be good to have The Great Holy War, and have two talks - one on Vim+Perl and another on Emacs+Perl. Can anyone step up to present? Aside from that, I've been looking into DTrace and SystemTap (essentially a clone of DTrace that isn't owned by Oracle), and how this interacts with Perl and system profiling. I'm not sure I'm familiar enough to give a full-length talk on it, but hope to be able to give a quick demonstration tomorrow. Cheers, Toby From toby.corkindale at strategicdata.com.au Mon Mar 7 16:59:06 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Tue, 08 Mar 2011 11:59:06 +1100 Subject: [Melbourne-pm] Correction re next meeting date In-Reply-To: <4D6B1F19.1070708@strategicdata.com.au> References: <4D6B1F19.1070708@strategicdata.com.au> Message-ID: <4D757F5A.6050008@strategicdata.com.au> I need to apologise - last week I made a post which had the content below, correctly announcing the next meeting date as the 9th of March. However in the message subject line I put 6/Mar/11! I hope no-one attempted to turn up on Sunday? Toby On 28/02/11 15:05, Toby Corkindale wrote: > Hi everyone, > The next Melbourne Perlmongers Meeting will be on the 9th of March. > > I wondered if anyone has a talk they would like to give? > And also - were there any talks or discussions people would like to > request? From toby.corkindale at strategicdata.com.au Mon Mar 7 22:56:18 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Tue, 08 Mar 2011 17:56:18 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <20110307115938.GD16528@fastmail.fm> References: <20110306022832.GC16528@fastmail.fm> <4D74097C.1070203@unisolve.com.au> <20110307115938.GD16528@fastmail.fm> Message-ID: <4D75D312.4070205@strategicdata.com.au> On 07/03/11 22:59, Malcolm Herbert wrote: > On Mon, Mar 07, 2011 at 09:23:56AM +1100, Simon Taylor wrote: > thanks for the tip, unfortunately it didn't pan out - changed all the primary > key fields to 'id' across the board and made sure each reference restriction > named the primary key field explicitly, as in: > > create table channel ( > id uuid not null primary key, > : > : > ); > > create table show ( > id uuid not null primary key, > channel uuid not null references channel(id), > : > : > ); > > ... but I wound up with the same error: > > DBIx::Class::ResultSet::all(): DBI Exception: DBD::Pg::st execute failed: ERROR: column reference "id" is ambiguous > LINE 1: ...e JOIN show shows ON shows.channel = me.id WHERE ( id = $1 ) > ^ [for Statement "SELECT shows.id, shows.channel, shows.name, shows.sane, shows.description, shows.url, shows.logo, shows.hosts FROM channel me JOIN show shows ON shows.channel = me.id WHERE ( id = ? )" with ParamValues: 1='db9c299c-04e0-11e0-81e8-8fcb8e6c1511'] at exp/test.pl line 28 > > looks like I'll just have to use
_id for my primary keys ... :( Hi Malcolm, I have two methods for you, which both work fine for me here (on DBIx::Class 0.08127). However I think it would be good if you could post your original query on the DBIx::Class mailing list, since it does seem like they could do better. The output (including SQL) from my program below is: SELECT COUNT( * ) FROM channel me: SELECT COUNT( * ) FROM channel me WHERE ( me.name = ? ): 'BBC 2' Found 1 channel(s). SELECT COUNT( * ) FROM channel me JOIN show shows ON shows.channel = me.id WHERE ( me.name = ? ): 'BBC 2' Found 3 shows. SELECT COUNT( * ) FROM channel me WHERE ( name = ? ): 'BBC 2' Found 1 channel(s). SELECT COUNT( * ) FROM (SELECT me.id, me.name FROM channel me WHERE ( name = ? )) me JOIN show shows ON shows.channel = me.id: 'BBC 2' Found 3 shows. #!/usr/bin/env perl use 5.12.0; use warnings; use Malcolm::Schema; use autodie; my $schema = Malcolm::Schema->connect( 'dbi:Pg:dbname=malcolm' ); initial_data($schema) unless $schema->resultset('Channel')->search->count; # Method one (that works) { my $chan_rs = $schema->resultset('Channel')->search( { 'me.name' => 'BBC 2' } ); say "Found " . $chan_rs->count. " channel(s)."; my $show_rs = $chan_rs->search_related('shows'); say "Found " . $show_rs->count . " shows."; } # Method two (that works) { my $chan_rs = $schema->resultset('Channel')->search( { name => 'BBC 2' } ); say "Found " . $chan_rs->count. " channel(s)."; my $show_rs = $chan_rs->as_subselect_rs->search_related('shows'); say "Found " . $show_rs->count . " shows."; } sub initial_data { my $schema = shift; my $chan = $schema->resultset('Channel')->create( { id => new_uuid(), name => 'BBC 2', } ); map { $schema->resultset('Show')->create( { id => new_uuid(), name => $_, channel => $chan->id, } ); } ('Top Gear', 'Never mind the Buzzcocks', 'QI'); return; } sub new_uuid { open my $fh, '/proc/sys/kernel/random/uuid'; my $uuid = <$fh>; close $fh; chomp $uuid; return $uuid; } From toby.corkindale at strategicdata.com.au Mon Mar 7 23:05:02 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Tue, 08 Mar 2011 18:05:02 +1100 Subject: [Melbourne-pm] Melbourne Perlmongers - Wednesday 9th March Message-ID: <4D75D51E.7000402@strategicdata.com.au> Hello everyone, The next Melbourne Perlmongers meeting will be held TOMORROW on Wednesday the 9th of March, at 6:30pm. Location: Strategic Data Level 2 51-55 Johnston Street Fitzroy Main content: We'll have something of an open forum discussing development environments and editors; hopefully people can chip in with suggestions for their preferred IDEs and getting the most out of them. Lightning talks: * I'll give a quick demo of SystemTap and Perl, and suggest ways you can use it to profile or detect anomalous conditions on running production code. + Other lightning talks as they come up.. Cheers, Toby From toby.corkindale at strategicdata.com.au Mon Mar 7 23:08:40 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Tue, 08 Mar 2011 18:08:40 +1100 Subject: [Melbourne-pm] DBIx::Class join errors ... In-Reply-To: <4D75D312.4070205@strategicdata.com.au> References: <20110306022832.GC16528@fastmail.fm> <4D74097C.1070203@unisolve.com.au> <20110307115938.GD16528@fastmail.fm> <4D75D312.4070205@strategicdata.com.au> Message-ID: <4D75D5F8.2090203@strategicdata.com.au> If the mailing list lets this through, it's a tarball of the complete test code incl. schema, in case it differs from yours.. -Toby -------------- next part -------------- A non-text attachment was scrubbed... Name: malcolm_dbic.tar.gz Type: application/x-gzip Size: 1129 bytes Desc: not available URL: From toby.corkindale at strategicdata.com.au Tue Mar 8 19:30:30 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 09 Mar 2011 14:30:30 +1100 Subject: [Melbourne-pm] Next meeting - 6/Mar/11 In-Reply-To: References: <4D6B1F19.1070708@strategicdata.com.au> Message-ID: <4D76F456.9050805@strategicdata.com.au> On 04/03/11 17:14, Gerry Ferguson wrote: > Topic suggestion: > I would like to know more about Perl Gui programming especially using QT. I don't know much about this myself, but perhaps someone else here will be able to help? I note that PerlQt hasn't had a release in just over 11 years, so I suggest avoiding it; it'll almost certainly be problematic. QtGui looks a little more modern, being only a tad over 3 years old, and unfortunately appears to have no documentation :( However it looks like it has quite a lot of example code, so it might be possible to get by with it. http://search.cpan.org/~vadiml/QtGui-4.004/ I think your best bet would be to give up on QT and use WxWidgets: http://www.wxwidgets.org/ I know these are actually used in real-life by Padre, the Perl IDE, so they must actually work to some degree! My only other advice is: Don't use Win32::GUI - it's seriously buggy and will break your Perl. But if you do have to use it, then I have a patch that at least makes it stable. (Submitted to author, and ignored for several years.) Cheers, Toby From leigh.sharpe at gmail.com Tue Mar 8 21:18:23 2011 From: leigh.sharpe at gmail.com (Leigh Sharpe) Date: Wed, 9 Mar 2011 16:18:23 +1100 Subject: [Melbourne-pm] GUI Toolkits Message-ID: On Wed, Mar 9, 2011 at 2:30 PM, Toby Corkindale < toby.corkindale at strategicdata.com.au> wrote: > On 04/03/11 17:14, Gerry Ferguson wrote: > >> Topic suggestion: >> I would like to know more about Perl Gui programming especially using QT. >> > > I don't know much about this myself, but perhaps someone else here will be > able to help? > > > > Or, if you want a somewhat lesser learning curve, perhaps consider using Tk? -------------- next part -------------- An HTML attachment was scrubbed... URL: From toby.corkindale at strategicdata.com.au Tue Mar 8 22:24:35 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 09 Mar 2011 17:24:35 +1100 Subject: [Melbourne-pm] Facebook group for Melbourne Perl Mongers Message-ID: <4D771D23.6070602@strategicdata.com.au> Some of you will love it and some will hate it, but I've created a Facebook group for the Melbourne Perl Mongers: http://www.facebook.com/home.php?sk=group_146370755427693 Cheers, Toby From alec.clews at gmail.com Wed Mar 9 13:19:27 2011 From: alec.clews at gmail.com (Alec Clews) Date: Thu, 10 Mar 2011 08:19:27 +1100 Subject: [Melbourne-pm] VIM-plug-in perl-support.vim (Perl IDE) Message-ID: http://lug.fh-swf.de/vim/vim-perl/screenshots-en.html After last nights discussion here is the link to the Vim module I showed. Alec -------------- next part -------------- An HTML attachment was scrubbed... URL: From toby.corkindale at strategicdata.com.au Wed Mar 9 15:34:30 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Thu, 10 Mar 2011 10:34:30 +1100 Subject: [Melbourne-pm] SystemTap and Perl Message-ID: <4D780E86.2060201@strategicdata.com.au> Details on the Perl profiling via SystemTap: http://blog.dryft.net/2011/03/profiling-perl-with-systemtap-on-linux.html -Toby From cosimo.streppone at gmail.com Thu Mar 10 15:55:57 2011 From: cosimo.streppone at gmail.com (Cosimo Streppone) Date: Fri, 11 Mar 2011 10:55:57 +1100 Subject: [Melbourne-pm] SystemTap and Perl In-Reply-To: <4D780E86.2060201@strategicdata.com.au> References: <4D780E86.2060201@strategicdata.com.au> Message-ID: 2011/3/10 Toby Corkindale : > Details on the Perl profiling via SystemTap: > http://blog.dryft.net/2011/03/profiling-perl-with-systemtap-on-linux.html Thanks guys for the great meetup! I enjoyed it a lot, the technical (lightning) talks and even more than that the "war stories" talk at the pub :) I haven't got all your names yet. I hope to make it for the next month meeting too. I could put together some slides. When I have time, I write about what I do here: http://my.opera.com/cstrep/blog/ If you want, have a look, and tell me if there's something that's interesting to you. I'd be glad to share. I'm not a very good at presenting, though :) You have been warned. Topics could be: * Perl 6 modules (very basic level I'm afraid) * Deployment tools (puppet, fabric) * Varnish, VCL, embedding C in varnish * What we're doing at Opera (geographic dns, mod_perl, Plack, browser APIs, ...) As I'll be back in Oslo in a couple of months, this is a "limited time offer"! :-) -- Cosimo From list at bereft.net Thu Mar 10 17:09:31 2011 From: list at bereft.net (Brad Bowman) Date: Fri, 11 Mar 2011 12:09:31 +1100 Subject: [Melbourne-pm] SystemTap and Perl In-Reply-To: References: <4D780E86.2060201@strategicdata.com.au> Message-ID: <4D79764B.5000300@bereft.net> On 11/03/11 10:55, Cosimo Streppone wrote: > * What we're doing at Opera (geographic dns, mod_perl, Plack, browser APIs, ...) We've got the Plack bug at Strategic Data, so hearing more about that would be interesting. From cosimo.streppone at gmail.com Thu Mar 10 19:49:09 2011 From: cosimo.streppone at gmail.com (Cosimo Streppone) Date: Fri, 11 Mar 2011 14:49:09 +1100 Subject: [Melbourne-pm] SystemTap and Perl In-Reply-To: <4D79764B.5000300@bereft.net> References: <4D780E86.2060201@strategicdata.com.au> <4D79764B.5000300@bereft.net> Message-ID: 2011/3/11 Brad Bowman : > On 11/03/11 10:55, Cosimo Streppone wrote: >> >> * What we're doing at Opera (geographic dns, mod_perl, Plack, browser >> APIs, ...) > > We've got the Plack bug at Strategic Data, so hearing more > about that would be interesting. Yeah, well, don't expect much :) though our first production app based on Plack has been live for some weeks now. -- Cosimo From jarich at perltraining.com.au Sun Mar 13 18:47:28 2011 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 14 Mar 2011 12:47:28 +1100 Subject: [Melbourne-pm] $1000 discount on Programming Perl course in Melbourne, next week (21st -25th March) Message-ID: <4D7D73B0.5060703@perltraining.com.au> G'day folk, We're running a Programming Perl course in Melbourne next week, Monday 21st - Friday 25th March at: Training Choice Level 3 455 Bourke Street Melbourne, VIC, 3000 and I'd really like to have a few more people on it. As such I'm offering Melbourne PM, and their colleagues, a $1000 discount on the training course if you sign up before 5pm Thursday, 17th March (and mention this email). I realise this isn't a lot of warning. The course is lots of fun, and I hope to see a booking from you soon! http://perltraining.com.au/bookings/Melbourne.html For an idea of what the course covers please visit: http://perltraining.com.au/courses/programmingperl.html All the best, Jacinta -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From toby.corkindale at strategicdata.com.au Tue Mar 15 19:47:31 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 16 Mar 2011 13:47:31 +1100 Subject: [Melbourne-pm] SystemTap and Perl In-Reply-To: References: <4D780E86.2060201@strategicdata.com.au> Message-ID: <4D8024C3.9020102@strategicdata.com.au> On 11/03/11 10:55, Cosimo Streppone wrote: > 2011/3/10 Toby Corkindale: > >> Details on the Perl profiling via SystemTap: >> http://blog.dryft.net/2011/03/profiling-perl-with-systemtap-on-linux.html > > Thanks guys for the great meetup! > > I enjoyed it a lot, the technical (lightning) talks > and even more than that the "war stories" talk at the pub :) I'm glad you could make it :) > I haven't got all your names yet. > I hope to make it for the next month meeting too. > > I could put together some slides. > When I have time, I write about what I do here: > > http://my.opera.com/cstrep/blog/ *reads blog* Hah, I filed that bug on Class::XSAccessor which you mention hitting.. BTW, as I recall, the "fix" leads to a memory leak, but only during the end of your application - so as long as you're never exiting, or never in a long-running Perl interpreter, you don't notice it. But mod_perl was the example that might get affected; I never looked into it further though. > If you want, have a look, and tell me if there's something that's > interesting to you. > I'd be glad to share. I'm not a very good at presenting, though :) > You have been warned. I'd be interested in talks on: * Varnish and VCL * geographic DNS and what you can do with it; * Your experiences with Plack, perhaps something about how to scale it up? Thanks, Toby From drew at drewtaylor.com Sat Mar 19 16:05:34 2011 From: drew at drewtaylor.com (Drew Taylor) Date: Sat, 19 Mar 2011 23:05:34 +0000 Subject: [Melbourne-pm] Moving to Australia In-Reply-To: References: Message-ID: Hi all, The sydney group seems to be dormant so I thought I would post here instead. I found a job this week with a company in Sydney and will be moving down under some time in April once the visa paperwork is approved. I hope I can make it down to Melbourne one day for a meeting. I can't wait to meet you Australia! :) Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: From toby.corkindale at strategicdata.com.au Sun Mar 20 17:07:11 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Mon, 21 Mar 2011 11:07:11 +1100 Subject: [Melbourne-pm] Moving to Australia In-Reply-To: References: Message-ID: <4D8696AF.8010107@strategicdata.com.au> On 20/03/11 10:05, Drew Taylor wrote: > Hi all, > > The sydney group seems to be dormant so I thought I would post here > instead. I found a job this week with a company in Sydney and will be > moving down under some time in April once the visa paperwork is > approved. I hope I can make it down to Melbourne one day for a meeting. > > I can't wait to meet you Australia! :) Hi Drew, I'm glad you're making the move, and we hope to see you at a meeting soon. May I ask where you're coming over from? Cheers, Toby From sam at nipl.net Sun Mar 20 17:18:30 2011 From: sam at nipl.net (Sam Watkins) Date: Mon, 21 Mar 2011 11:18:30 +1100 Subject: [Melbourne-pm] Moving to Australia In-Reply-To: References: Message-ID: <20110321001830.GH2170@opal.ai.ki> On Sat, Mar 19, 2011 at 11:05:34PM +0000, Drew Taylor wrote: > I hope I can make it down to Melbourne one day for a meeting. hi Drew, I hope you enjoy your time in Australia. I guess you know this but Australia is big, and Melbourne is a long way away from Sydney. It's a very long drive for a meeting! But if you're going to have a little holiday or tour around Melbourne / Victoria at the same time it would be worthwhile. Sam From drew at drewtaylor.com Sun Mar 20 19:15:14 2011 From: drew at drewtaylor.com (Drew Taylor) Date: Mon, 21 Mar 2011 02:15:14 +0000 Subject: [Melbourne-pm] Moving to Australia In-Reply-To: <4D8696AF.8010107@strategicdata.com.au> References: <4D8696AF.8010107@strategicdata.com.au> Message-ID: Hi Toby, We're moving over from Ireland, but I'm an American. Drew On Mar 21, 2011 12:07 AM, "Toby Corkindale" < toby.corkindale at strategicdata.com.au> wrote: > On 20/03/11 10:05, Drew Taylor wrote: >> Hi all, >> >> The sydney group seems to be dormant so I thought I would post here >> instead. I found a job this week with a company in Sydney and will be >> moving down under some time in April once the visa paperwork is >> approved. I hope I can make it down to Melbourne one day for a meeting. >> >> I can't wait to meet you Australia! :) > > Hi Drew, > I'm glad you're making the move, and we hope to see you at a meeting soon. > May I ask where you're coming over from? > > Cheers, > Toby > _______________________________________________ > 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 drew at drewtaylor.com Sun Mar 20 19:18:24 2011 From: drew at drewtaylor.com (Drew Taylor) Date: Mon, 21 Mar 2011 02:18:24 +0000 Subject: [Melbourne-pm] Moving to Australia In-Reply-To: <20110321001830.GH2170@opal.ai.ki> References: <20110321001830.GH2170@opal.ai.ki> Message-ID: Hi Sam, Yes, I do know how far apart the two cities are. :) I'm amazed at how big Australia is! But in any case I definitely plan to visit Melbourne in the near future. Thanks, Drew On Mar 21, 2011 12:18 AM, "Sam Watkins" wrote: > On Sat, Mar 19, 2011 at 11:05:34PM +0000, Drew Taylor wrote: >> I hope I can make it down to Melbourne one day for a meeting. > > hi Drew, I hope you enjoy your time in Australia. > > I guess you know this but Australia is big, and Melbourne is a long way away > from Sydney. It's a very long drive for a meeting! But if you're going to > have a little holiday or tour around Melbourne / Victoria at the same time it > would be worthwhile. > > Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarich at perltraining.com.au Mon Mar 21 15:19:26 2011 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Tue, 22 Mar 2011 09:19:26 +1100 Subject: [Melbourne-pm] Happy 11th Birthday 5.6.0 Message-ID: <4D87CEEE.70609@perltraining.com.au> G'day everyone, I just wanted to say that Perl 5.6.0 turns 11 this year (Perl 5.6.1 turns 10 in April). So happy birthday! Coincidentally I'm running a training course this week (as I did last year at this time too) so I've shouted my students birthday cupcakes to celebrate! If your organisation is still using a version of Perl that's older than 11 years, you might want to agitate for an upgrade. J From tjc at wintrmute.net Tue Mar 22 05:01:33 2011 From: tjc at wintrmute.net (Toby Wintermute) Date: Tue, 22 Mar 2011 23:01:33 +1100 Subject: [Melbourne-pm] Announce: Flickr::API2 Message-ID: Announce: Flickr::API2 Just a quick announce about a project I've been twiddling with for a while now. The CPAN module implementing the Flickr API is a bit crufty and low-level, and basically I just didn't like it. I had a private fork of it, and I've been encouraged to fix it up and release it. The work-in-progress is available at: https://github.com/TJC/Flickr-API2 Apart from returning easier-to-use raw data, the main objective is to implement "easy" methods of doing common things, such as search for photos, or handle info within photos. So, for example, rather than handing back raw dates, it should hand back DateTime objects or something like that. It's in a working state currently, but isn't finished; it only has helper methods for a couple of Flickr API calls. Just thought I'd put it out there in case anyone else could use it, and maybe feels like helping implement more parts of it :) Cheers, 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 toby.corkindale at strategicdata.com.au Tue Mar 22 17:52:45 2011 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 23 Mar 2011 11:52:45 +1100 Subject: [Melbourne-pm] AI Challenge Message-ID: <4D89445D.9070206@strategicdata.com.au> Some of us entered the Google-sponsored AI Contest at http://ai-contest.com/ last year. The AI Contest is on again later this year, this time with a game of "Ants". The scoring and game system isn't finalised yet, but it is in a playable state - you can get it from: https://github.com/aichallenge/aichallenge I've submitted an initial Perl starter bot, although already want to go back and improve it.. (Last year's Perl starter bot was horrible, IMO, very old-school Perl. I'd like to avoid that happening, hence getting in early for it myself this year.) I'm going to enter a Scala-powered bot myself this year, but am happy to help out if you have queries on Perl ones. Cheers, Toby