From rob at eatenbyagrue.org Sun Sep 2 19:01:24 2012 From: rob at eatenbyagrue.org (Robert Norris) Date: Mon, 3 Sep 2012 12:01:24 +1000 Subject: [Melbourne-pm] Meeting - Wednesday the 12th of September 2012 In-Reply-To: <1346211630.30531.140661120876429.32C1AB1C@webmail.messagingengine.com> References: <1346211630.30531.140661120876429.32C1AB1C@webmail.messagingengine.com> Message-ID: <20120903020124.GA2433@pyro.melbourne.osa> On Wed, Aug 29, 2012 at 01:40:30PM +1000, Alfie John wrote: > Rob Norris is back from Oslo via YAPC::Europe (Frankfurt). While still > jet lagged, I've managed to convince him to give a talk for next month's > Perl Mongers. I don't have the details yet on what Rob will talk about, > but he'll give an update to the list soon. Sad news everyone. I just learned that my daughter has her school concert next Wednesday night, so I will be able to attend. However I will save it for October - Alfie and I have been talking about some stuff and it should be good :) Cheers, Rob. From rob at eatenbyagrue.org Sun Sep 2 19:08:15 2012 From: rob at eatenbyagrue.org (Robert Norris) Date: Mon, 3 Sep 2012 12:08:15 +1000 Subject: [Melbourne-pm] OpenID, XRDS In-Reply-To: References: Message-ID: <20120903020815.GC2433@pyro.melbourne.osa> On Thu, Aug 30, 2012 at 12:18:45PM +1000, Scott Penrose wrote: > Anyone experienced with OpenID and XRDS in the group? I have implemented an OpenID identity provider before. It worked well enough. It was a couple of years ago though so I'm sketchy on the details, but I can try to remember. > In particular I have some questions on the method Google uses to add > user identity to the request on the fly (ie. they use a single URL > returning a XRDS with one common URL, that common URL then adds the > identity as part of login and approve, instead of the other way, where > each user has a separate URL). I remember that it happens, and seemed a bit unusual but seems to be within spec. That's not a lot of help. I can try to dig up some old code if you think it would help. Cheers, Rob. From rob at eatenbyagrue.org Sun Sep 2 19:23:40 2012 From: rob at eatenbyagrue.org (Robert Norris) Date: Mon, 3 Sep 2012 12:23:40 +1000 Subject: [Melbourne-pm] Meeting - Wednesday the 12th of September 2012 In-Reply-To: <20120903020124.GA2433@pyro.melbourne.osa> References: <1346211630.30531.140661120876429.32C1AB1C@webmail.messagingengine.com> <20120903020124.GA2433@pyro.melbourne.osa> Message-ID: <20120903022340.GD2433@pyro.melbourne.osa> On Mon, Sep 03, 2012 at 12:01:24PM +1000, Robert Norris wrote: > Sad news everyone. I just learned that my daughter has her school > concert next Wednesday night, so I will be able to attend. ... her concert, and not PM. Yay for thinkos. From lev at levlafayette.com Tue Sep 4 17:10:46 2012 From: lev at levlafayette.com (Lev Lafayette) Date: Wed, 5 Sep 2012 10:10:46 +1000 Subject: [Melbourne-pm] Software Freedom Day: Saturday September 15 Message-ID: <2a286a9c23bab91d5d45e9966e628940.squirrel@webmail.levlafayette.com> Linux Users of Victoria and Free Software Melbourne is hosting Software Freedom Day in Melbourne! At a conference dedicated to the theme of free software in a free society, confirmed speakers include Jon Lawrence of Electronic Frontiers Australia, Chris Samuel of the Victorian Life Sciences Initiative, Alec Clews of the Melbourne Raspberry Jam, Andy Gleme of the Connected Community HackerSpace, Daniel Jitnah of GreenwareIT, and Lev Lafayette of Linux Users of Victoria. There is a possibility that Belgian social theorist Michel Bauwens ‏will be attending. Presentations will cover the recent Internet surveillance laws, the importance of free software in scientific computing, new embedded technologies and micro-computers, free software and 3D printers, free software in education, and the business of free software. Software Freedom Day will be opened by Dr. Alison Parkes, senior lecturer in business information systems at the University of Melbourne, and Greens candidate for Lord Mayor of Melbourne. Free Software Melbourne will be hosting a games area, the One Laptop per Child project will be present, as will the Raspberry Jam group. There will be plenty of free software available, as well as copies of the OpenDisc. Software Freedom Day will come with a free lunch (with open sauce!). Software Freedom Day will be held at the Melbourne Unitarian Church hall (110 Grey Street, East Melbourne). It's about 5 minutes from Jolimont Station, or a brisk 10 minute walk from Parliament station. There's plenty of parking at the site as well! Free software has changed the world! Twenty years ago, free software advocates took on the multi-billion proprietary operating systems in the server, supercomputer, and mainframe world - and we won. Ten years ago, we took on the big online encyclopaedias with a free alternative - and we won. Now we're taking on producers themselves with three-dimensional printers. We'll win that as well. Come celebrate software freedom! For more information contact Deb Henry on 0409338182 http://softwarefreedomday.org http://luv.asn.au http://www.freesoftware.asn.au/melb/ -- Lev Lafayette, mobile: 0432 255 208 RFC 1855 Netiquette Guidelines http://www.ietf.org/rfc/rfc1855.txt From jarich at perltraining.com.au Wed Sep 5 03:15:01 2012 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Wed, 05 Sep 2012 20:15:01 +1000 Subject: [Melbourne-pm] Meeting - Wednesday the 12th of September 2012 In-Reply-To: <20120903020124.GA2433@pyro.melbourne.osa> References: <1346211630.30531.140661120876429.32C1AB1C@webmail.messagingengine.com> <20120903020124.GA2433@pyro.melbourne.osa> Message-ID: <50472625.50509@perltraining.com.au> On 03/09/12 12:01, Robert Norris wrote: > On Wed, Aug 29, 2012 at 01:40:30PM +1000, Alfie John wrote: >> Rob Norris is back from Oslo via YAPC::Europe (Frankfurt). While still >> jet lagged, I've managed to convince him to give a talk for next month's >> Perl Mongers. I don't have the details yet on what Rob will talk about, >> but he'll give an update to the list soon. > Sad news everyone. I just learned that my daughter has her school > concert next Wednesday night, so I will be able to attend. However I > will save it for October - Alfie and I have been talking about some > stuff and it should be good :) > It's not a Perl talk, but I could give my Small Business Mistakes talk from OSCON. J From sam at nipl.net Wed Sep 5 04:26:10 2012 From: sam at nipl.net (Sam Watkins) Date: Wed, 5 Sep 2012 21:26:10 +1000 Subject: [Melbourne-pm] Meeting - Wednesday the 12th of September 2012 In-Reply-To: <50472625.50509@perltraining.com.au> References: <1346211630.30531.140661120876429.32C1AB1C@webmail.messagingengine.com> <20120903020124.GA2433@pyro.melbourne.osa> <50472625.50509@perltraining.com.au> Message-ID: <20120905112610.GA5727@opal.nipl.net> On Wed, Sep 05, 2012 at 08:15:01PM +1000, Jacinta Richardson wrote: > It's not a Perl talk, but I could give my Small Business Mistakes > talk from OSCON. I'd like to see any slides or notes you might have for that, if they're online? Sam From alfiej at opera.com Wed Sep 5 18:31:14 2012 From: alfiej at opera.com (Alfie John) Date: Thu, 06 Sep 2012 11:31:14 +1000 Subject: [Melbourne-pm] Meeting - Wednesday the 12th of September 2012 In-Reply-To: <50472625.50509@perltraining.com.au> References: <1346211630.30531.140661120876429.32C1AB1C@webmail.messagingengine.com> <20120903020124.GA2433@pyro.melbourne.osa> <50472625.50509@perltraining.com.au> Message-ID: <1346895074.24422.140661124201093.44C75814@webmail.messagingengine.com> On Wed, Sep 5, 2012, at 08:15 PM, Jacinta Richardson wrote: > On 03/09/12 12:01, Robert Norris wrote: > It's not a Perl talk, but I could give my Small Business Mistakes talk > from OSCON. That would be great. So it looks like the meeting is back on next week then :) Alfie -- Alfie John alfiej at opera.com From alfiej at opera.com Sun Sep 9 17:21:12 2012 From: alfiej at opera.com (Alfie John) Date: Mon, 10 Sep 2012 10:21:12 +1000 Subject: [Melbourne-pm] No meeting this week Message-ID: <1347236472.7706.140661125710509.4C23BD9D@webmail.messagingengine.com> Hi everyone, Although Jacinta has kindly put up her hand to present this week, my daughter has been ill the past couple of days and I don't think she'll make a full recovery by this Wednesday, so I'm going to have to stay home instead of hosting MPM this week. I apologise for canceling this month's meeting unless anyone else is able to host it? Alfie -- Alfie John alfiej at opera.com From tjc at wintrmute.net Mon Sep 10 02:46:48 2012 From: tjc at wintrmute.net (Toby Wintermute) Date: Mon, 10 Sep 2012 10:46:48 +0100 Subject: [Melbourne-pm] No meeting this week In-Reply-To: <1347236472.7706.140661125710509.4C23BD9D@webmail.messagingengine.com> References: <1347236472.7706.140661125710509.4C23BD9D@webmail.messagingengine.com> Message-ID: I'm still overseas, and thus unavailable to host. -Toby On 10 September 2012 01:21, Alfie John wrote: > Hi everyone, > > Although Jacinta has kindly put up her hand to present this week, my > daughter has been ill the past couple of days and I don't think she'll > make a full recovery by this Wednesday, so I'm going to have to stay > home instead of hosting MPM this week. > > I apologise for canceling this month's meeting unless anyone else is > able to host it? > > Alfie > > -- > Alfie John > alfiej at opera.com > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm -- 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 jarich at perltraining.com.au Mon Sep 10 06:53:33 2012 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 10 Sep 2012 23:53:33 +1000 Subject: [Melbourne-pm] No meeting this week In-Reply-To: References: <1347236472.7706.140661125710509.4C23BD9D@webmail.messagingengine.com> Message-ID: <504DF0DD.10805@perltraining.com.au> On 10/09/12 19:46, Toby Wintermute wrote: > I'm still overseas, and thus unavailable to host. > -Toby > It'll keep until next month. :) J From brendon.oliver at gmail.com Thu Sep 13 19:54:25 2012 From: brendon.oliver at gmail.com (Brendon Oliver) Date: Fri, 14 Sep 2012 11:54:25 +0900 Subject: [Melbourne-pm] Message queues Message-ID: Hi all, I recall a meeting earlier this year where someone (might've been Toby?) did a presentation on message queues & frameworks that work with perl. Is there anywhere I could get my hands on a copy of the slides used during the presentation? One of the guys I work with has a situation where a messaging system like rabbitmq might be useful - just looking to refresh my memory a bit on what was said during the presentation. Cheers, - Brendon. From brendon.oliver at gmail.com Fri Sep 14 05:53:12 2012 From: brendon.oliver at gmail.com (Brendon Oliver) Date: Fri, 14 Sep 2012 21:53:12 +0900 Subject: [Melbourne-pm] Message queues In-Reply-To: References: Message-ID: <505328B8.1060103@gmail.com> On 14/09/2012 6:59 PM, Toby Corkindale wrote: > > If you shoot me an email after the 26th this month, I'll be back in > Melbourne and can find a copy to send. > Thanks Toby, shall do. Cheers, - Brendon From ickphum at gmail.com Sun Sep 16 19:52:37 2012 From: ickphum at gmail.com (Ian Macdonald) Date: Mon, 17 Sep 2012 12:52:37 +1000 Subject: [Melbourne-pm] Moose 'isa' property prevents setting attribute to undef Message-ID: Hi, We've got a Moose class with this attribute: has 'dataset' => ( is => 'rw', isa => 'AG::Dataset', required => 0, ); It's not required so you can happily create objects without supplying a value for it, but once you've done so, you can't then remove/clear it via "$object->dataset(undef)" : Attribute (dataset) does not pass the type constraint because: Validation failed for 'AG::Dataset' failed with value undef (not isa AG::Dataset) Given that it's legal to have undefs in there initially it seems funny not to be allowed to revert to that state. Am I missing another property which will allow this? I'd rather not have to remove the validation or do it manually, seems like a backward step. Thanks, -- Ian Macdonald -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.warring at gmail.com Sun Sep 16 20:19:19 2012 From: david.warring at gmail.com (David Warring) Date: Mon, 17 Sep 2012 13:19:19 +1000 Subject: [Melbourne-pm] Moose 'isa' property prevents setting attribute to undef In-Reply-To: References: Message-ID: Hi Ian, You most likely want to delete the attribute entirely, rather than setting it to undef. One way is to define a clearer property for it: package Foo; use Moose; # ... has 'dataset' => ( is => 'rw', isa => 'AG::Dataset', required => 0, clearer => 'clear_dataset', ); then ... my $foo = Foo->new(); $foo->dataset(bless {}, 'AG::Dataset'); use YAML::Syck; print YAML::Syck::Dump({foo => $foo}); $foo->clear_dataset; use YAML::Syck; print YAML::Syck::Dump({foo => $foo}); - David On Mon, Sep 17, 2012 at 12:52 PM, Ian Macdonald wrote: > Hi, > > We've got a Moose class with this attribute: > > > has 'dataset' => ( > is => 'rw', > isa => 'AG::Dataset', > required => 0, > ); > > It's not required so you can happily create objects without supplying a > value for it, but once you've done so, you can't then remove/clear it via > "$object->dataset(undef)" : > > Attribute (dataset) does not pass the type constraint because: > Validation failed for 'AG::Dataset' failed with value undef (not isa > AG::Dataset) > > Given that it's legal to have undefs in there initially it seems funny not > to be allowed to revert to that state. Am I missing another property which > will allow this? I'd rather not have to remove the validation or do it > manually, seems like a backward step. > > Thanks, > -- > Ian Macdonald > > > _______________________________________________ > 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 stephen.thirlwall at strategicdata.com.au Sun Sep 16 21:05:00 2012 From: stephen.thirlwall at strategicdata.com.au (Stephen Thirlwall) Date: Mon, 17 Sep 2012 14:05:00 +1000 Subject: [Melbourne-pm] Moose 'isa' property prevents setting attribute to undef In-Reply-To: References: Message-ID: <5056A16C.2070406@strategicdata.com.au> The easiest way to do what you want is: isa => 'Maybe[AG::Dataset]' or isa => 'Undef|AG::Dataset' Then undef is also an accepted value for dataset. (no idea which is the preferred syntax) David's suggestion has the benefit/drawback of preventing dataset from being inadvertently set to undef. $foo->dataset($value_is_undef) There is also: predicate => 'has_dataset' which does what is says. It also makes sense to use both the clearer/predicate and nullable type, in the (rare?) case where you need to distinguish unset from set-to-undef. eg. my $foo = Foo->new; # $foo->has_dataset is false $foo->dataset($x); # $foo->has_dataset is true $foo->dataset(undef); # $foo->has_dataset is still true $foo->clear_dataset; # $foo->has_dataset is false again Steve On 17/09/12 1:19 PM, David Warring wrote: > Hi Ian, > You most likely want to delete the attribute entirely, rather than setting it to undef. > > One way is to define a clearer property for it: > > package Foo; > > use Moose; > > # ... > > has 'dataset' => ( > is => 'rw', > isa => 'AG::Dataset', > required => 0, > clearer => 'clear_dataset', > ); > > then ... > > my $foo = Foo->new(); > $foo->dataset(bless {}, 'AG::Dataset'); > > use YAML::Syck; print YAML::Syck::Dump({foo => $foo}); > > $foo->clear_dataset; > > use YAML::Syck; print YAML::Syck::Dump({foo => $foo}); > > - David > > On Mon, Sep 17, 2012 at 12:52 PM, Ian Macdonald > wrote: > > Hi, > > We've got a Moose class with this attribute: > > > has 'dataset' => ( > is => 'rw', > isa => 'AG::Dataset', > required => 0, > ); > > It's not required so you can happily create objects without supplying a value for it, but once you've done so, you can't then remove/clear it via "$object->dataset(undef)" : > > Attribute (dataset) does not pass the type constraint because: Validation failed for 'AG::Dataset' failed with value undef (not isa AG::Dataset) > > Given that it's legal to have undefs in there initially it seems funny not to be allowed to revert to that state. Am I missing another property which will allow this? I'd rather not have to remove the validation or do it manually, seems like a backward step. > > Thanks, > -- > Ian Macdonald > > > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > > > > > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > From ickphum at gmail.com Sun Sep 16 21:39:43 2012 From: ickphum at gmail.com (Ian Macdonald) Date: Mon, 17 Sep 2012 14:39:43 +1000 Subject: [Melbourne-pm] Moose 'isa' property prevents setting attribute to undef In-Reply-To: <5056A16C.2070406@strategicdata.com.au> References: <5056A16C.2070406@strategicdata.com.au> Message-ID: Thanks to David and Stephen for their prompt and informative replies, much appreciated. On Mon, Sep 17, 2012 at 2:05 PM, Stephen Thirlwall < stephen.thirlwall at strategicdata.com.au> wrote: > The easiest way to do what you want is: > > isa => 'Maybe[AG::Dataset]' > or > isa => 'Undef|AG::Dataset' > > Then undef is also an accepted value for dataset. > (no idea which is the preferred syntax) > > > David's suggestion has the benefit/drawback of preventing dataset > from being inadvertently set to undef. > > $foo->dataset($value_is_undef) > > > There is also: > > predicate => 'has_dataset' > > which does what is says. > > > It also makes sense to use both the clearer/predicate and nullable type, > in the (rare?) case where you need to distinguish unset from set-to-undef. > > eg. > > my $foo = Foo->new; # $foo->has_dataset is false > $foo->dataset($x); # $foo->has_dataset is true > $foo->dataset(undef); # $foo->has_dataset is still true > $foo->clear_dataset; # $foo->has_dataset is false again > > > Steve > > > > On 17/09/12 1:19 PM, David Warring wrote: > >> Hi Ian, >> You most likely want to delete the attribute entirely, rather than >> setting it to undef. >> >> One way is to define a clearer property for it: >> >> package Foo; >> >> use Moose; >> >> # ... >> >> has 'dataset' => ( >> is => 'rw', >> isa => 'AG::Dataset', >> required => 0, >> clearer => 'clear_dataset', >> ); >> >> then ... >> >> my $foo = Foo->new(); >> $foo->dataset(bless {}, 'AG::Dataset'); >> >> use YAML::Syck; print YAML::Syck::Dump({foo => $foo}); >> >> $foo->clear_dataset; >> >> use YAML::Syck; print YAML::Syck::Dump({foo => $foo}); >> >> - David >> >> On Mon, Sep 17, 2012 at 12:52 PM, Ian Macdonald > ickphum at gmail.com>> wrote: >> >> Hi, >> >> We've got a Moose class with this attribute: >> >> >> has 'dataset' => ( >> is => 'rw', >> isa => 'AG::Dataset', >> required => 0, >> ); >> >> It's not required so you can happily create objects without supplying >> a value for it, but once you've done so, you can't then remove/clear it via >> "$object->dataset(undef)" : >> >> Attribute (dataset) does not pass the type constraint because: >> Validation failed for 'AG::Dataset' failed with value undef (not isa >> AG::Dataset) >> >> Given that it's legal to have undefs in there initially it seems >> funny not to be allowed to revert to that state. Am I missing another >> property which will allow this? I'd rather not have to remove the >> validation or do it manually, seems like a backward step. >> >> Thanks, >> -- >> Ian Macdonald >> >> >> ______________________________**_________________ >> Melbourne-pm mailing list >> Melbourne-pm at pm.org >> http://mail.pm.org/mailman/**listinfo/melbourne-pm >> >> >> >> >> >> ______________________________**_________________ >> Melbourne-pm mailing list >> Melbourne-pm at pm.org >> http://mail.pm.org/mailman/**listinfo/melbourne-pm >> >> > ______________________________**_________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/**listinfo/melbourne-pm > -- Ian Macdonald -------------- next part -------------- An HTML attachment was scrubbed... URL: