From florent.mara at nzregen.co.nz Tue Aug 4 15:25:47 2015 From: florent.mara at nzregen.co.nz (Florent Mara) Date: Wed, 5 Aug 2015 10:25:47 +1200 Subject: [Wellington-pm] Meetings In-Reply-To: <1438250929.9368.5.camel@kereru> References: <1438250929.9368.5.camel@kereru> Message-ID: Well, since nobody is jumping on the occasion to suggest a topic, I go for it once again ... I was wondering if anyone had any experience with using RPerl? Or maybe the back story about how that project came out to be and the people behind it? The performance benchmarks are quite grand and since my code is mostly 'non-perl-magical', is it worth giving it a try and get more processing done out of CPU time? Being just a suggestion, I would also be very happy to hear about something else. Regards, Florent On Thu, Jul 30, 2015 at 10:08 PM, Grant McLean wrote: > Hi Mongers > > Two weeks ago we had our July meeting and were treated to an interesting > and informative talk by Tai Paul on Perl::Critic and how he's been using > it. Thank you very much Tai. > > Our next meeting is scheduled a little less than two weeks away - on > August 11th. I am of course keen to hear from anyone who would like to > speak (or suggest a topic) - reply to me or the list. > > Regards > Grant > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From grant at mclean.net.nz Tue Aug 4 16:19:40 2015 From: grant at mclean.net.nz (Grant McLean) Date: Wed, 05 Aug 2015 11:19:40 +1200 Subject: [Wellington-pm] Meetings In-Reply-To: References: <1438250929.9368.5.camel@kereru> Message-ID: <1438730380.22696.20.camel@putnam.wgtn.cat-it.co.nz> Hi Florent I'm vaguely aware of the RPerl project and its ambitious performance goals/claims but I've certainly not been following it. Some of the "thou shalt not"s on the page defining what "low magic" means are fairly fundamental parts of Perl that *I* wouldn't want to give up. But if anyone has tried it I'd also be interested in hearing how they got on. Cheers Grant On Wed, 2015-08-05 at 10:25 +1200, Florent Mara wrote: > Well, since nobody is jumping on the occasion to suggest a topic, I go > for it once again ... > > I was wondering if anyone had any experience with using RPerl? Or > maybe the back story about how that project came out to be and the > people behind it? > The performance benchmarks are quite grand and since my code is mostly > 'non-perl-magical', is it worth giving it a try and get more > processing done out of CPU time? > > Being just a suggestion, I would also be very happy to hear about > something else. > > Regards, Florent > > On Thu, Jul 30, 2015 at 10:08 PM, Grant McLean > wrote: > Hi Mongers > > Two weeks ago we had our July meeting and were treated to an > interesting > and informative talk by Tai Paul on Perl::Critic and how he's > been using > it. Thank you very much Tai. > > Our next meeting is scheduled a little less than two weeks > away - on > August 11th. I am of course keen to hear from anyone who > would like to > speak (or suggest a topic) - reply to me or the list. > > Regards > Grant From kentfredric at gmail.com Wed Aug 5 05:35:20 2015 From: kentfredric at gmail.com (Kent Fredric) Date: Thu, 6 Aug 2015 00:35:20 +1200 Subject: [Wellington-pm] Meetings In-Reply-To: References: <1438250929.9368.5.camel@kereru> Message-ID: On 5 August 2015 at 10:25, Florent Mara wrote: > The performance benchmarks are quite grand and since my code is mostly > 'non-perl-magical', is it worth giving it a try and get more processing > done out of CPU time? > The opinion we've been seeing based on observations in #toolchain is largely that, at least presently, RPerl is not something you can throw real-world code at on CPAN. Its seems to be more tailored to writing a restricted subset of perl which is almost C++, such that the code can be trivially converted to C++. This means if you write code *for RPerl* that it should be portable to Perl as-is, but the inverse is not true. And its estimated that a potential deliverable RPerl may one day achieve is the ability to write Perl in the RPerl subset to smooth over creation of XS Modules, by allowing you to write them in a perl subset which can be compiled to XS. But outside that, we presently don't see it being useful unless you're ok with re-writing all your perl components in the perl subset, which will be substantial effort seeing one of the "do not"s are "regex" and we simply don't have the expressive feature set of string functions other languages have because we defer them to regex ... Also, "String interpolation" is also on the list of "Do nots", which is rather limiting also. There's quite a lot of things on the "Do not" list that people who do a lot of perl work will be relying on. RPerl is probably going to be fine if you're wanting to write some very low level stuff without using dependencies that does a lot of simple mathematical things which you need to do very quickly, the sorts of usecases people might otherwise reach for PDL to get past perls native speed impediments. But based on my understanding its just not "There" yet for general purpose, ( and it may never be "there" to all/any of some peoples expectations ) -- Kent *KENTNL* - https://metacpan.org/author/KENTNL -------------- next part -------------- An HTML attachment was scrubbed... URL: From grant at mclean.net.nz Sun Aug 9 15:19:29 2015 From: grant at mclean.net.nz (Grant McLean) Date: Mon, 10 Aug 2015 10:19:29 +1200 Subject: [Wellington-pm] Meetings In-Reply-To: <1438250929.9368.5.camel@kereru> References: <1438250929.9368.5.camel@kereru> Message-ID: <1439158769.6384.10.camel@kereru> After some off-list discussion, we have a couple of short talks lined up for tomorrow's meeting ... Richard has requested that I talk about a relational database technique for keeping track of changes to records over time. And Richard is going to tell us about a small authentication module he's been working on. If anyone else wants to do a short talk then I'm sure we can fit them in. Cheers Grant On Thu, 2015-07-30 at 22:08 +1200, Grant McLean wrote: > Hi Mongers > > Two weeks ago we had our July meeting and were treated to an interesting > and informative talk by Tai Paul on Perl::Critic and how he's been using > it. Thank you very much Tai. > > Our next meeting is scheduled a little less than two weeks away - on > August 11th. I am of course keen to hear from anyone who would like to > speak (or suggest a topic) - reply to me or the list. > > Regards > Grant > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm From florent.mara at nzregen.co.nz Mon Aug 10 20:40:13 2015 From: florent.mara at nzregen.co.nz (Florent Mara) Date: Tue, 11 Aug 2015 15:40:13 +1200 Subject: [Wellington-pm] Meetings In-Reply-To: <1439158769.6384.10.camel@kereru> References: <1438250929.9368.5.camel@kereru> <1439158769.6384.10.camel@kereru> Message-ID: Thank you for both reply to my RPerl suggestion. That is enough for me to consider doing something else than trying RPerl out for now. The list of 'do not' is indeed .... restrictive. Interestingly, I considered associated the RPerl topic to PDL but decided to keep that topic for the next call-for-suggestions. Looking forward to both talks later today. :-) On Mon, Aug 10, 2015 at 10:19 AM, Grant McLean wrote: > After some off-list discussion, we have a couple of short talks lined up > for tomorrow's meeting ... > > Richard has requested that I talk about a relational database technique > for keeping track of changes to records over time. And Richard is going > to tell us about a small authentication module he's been working on. > > If anyone else wants to do a short talk then I'm sure we can fit them > in. > > Cheers > Grant > > > On Thu, 2015-07-30 at 22:08 +1200, Grant McLean wrote: > > Hi Mongers > > > > Two weeks ago we had our July meeting and were treated to an interesting > > and informative talk by Tai Paul on Perl::Critic and how he's been using > > it. Thank you very much Tai. > > > > Our next meeting is scheduled a little less than two weeks away - on > > August 11th. I am of course keen to hear from anyone who would like to > > speak (or suggest a topic) - reply to me or the list. > > > > Regards > > Grant > > > > _______________________________________________ > > Wellington-pm mailing list > > Wellington-pm at pm.org > > http://mail.pm.org/mailman/listinfo/wellington-pm > > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From grant at mclean.net.nz Wed Aug 12 03:34:57 2015 From: grant at mclean.net.nz (Grant McLean) Date: Wed, 12 Aug 2015 22:34:57 +1200 Subject: [Wellington-pm] Roundup of last night's meeting, Message-ID: <1439375697.4836.31.camel@kereru> Hi Mongers Thanks to everyone who came along and contributed to the various debates and inquisitions last night - I thoroughly enjoyed the meeting. Notes for Peter: 1. Don't use XML::Simple 2. If you insist on ignoring '1', be sure to enable XML::Simple's "strict mode" as described here: http://www.perlmonks.org/index.pl?node_id=218480 This would have alerted you to the need to define ForceArray. 3. Using XML::LibXML would give you fewer surprises. It is easily installed on Ubuntu/Debian with: apt-get install libxml-libxml-perl 4. The XML::LibXML documentation is not great, but this article should help you convert code from XML::Simple to XML::LibXML: http://www.perlmonks.org/index.pl?node_id=490846 5. You might also want to look at an XPath tutorial, e.g.: http://www.zvon.org/xxl/XPathTutorial/General/examples.html The slides from my Postgres history triggers talk are up on the web site (complete with bugs) here: http://wellington.pm.org/archive The final slide includes a link to resources.zip which includes all you need to set up the simple DB that I described, and try out the triggers. Thanks Richard for your interesting presentation (and also for requesting the other talk). I think you're going to have to come up with a name for your project and feel sure the group can come up with suggestions. Here's some to get the ball rolling: * credcheck * nbad (the "Nothing But Auth" daemon) * bbad (Bare Bones Authentication Daemon) * authify * ics (Isolated Credentials Store) * adwan (authentication daemon without a name) The next meeting will be on September the 8th - let me know if you'dlike to do a talk. Regards Grant From grant at mclean.net.nz Wed Aug 12 14:52:06 2015 From: grant at mclean.net.nz (Grant McLean) Date: Thu, 13 Aug 2015 09:52:06 +1200 Subject: [Wellington-pm] Roundup of last night's meeting, In-Reply-To: <1439375697.4836.31.camel@kereru> References: <1439375697.4836.31.camel@kereru> Message-ID: <1439416326.9978.5.camel@putnam.wgtn.cat-it.co.nz> On Wed, 2015-08-12 at 22:34 +1200, Grant McLean wrote: > The slides from my Postgres history triggers talk are up on the web site > (complete with bugs) here: > > http://wellington.pm.org/archive There's also a tar file of Richard's auth daemon now as well. Cheers Grant From davenportnz at gmail.com Wed Aug 12 15:34:24 2015 From: davenportnz at gmail.com (Peter Davenport) Date: Thu, 13 Aug 2015 10:34:24 +1200 Subject: [Wellington-pm] Roundup of last night's meeting, In-Reply-To: <1439375697.4836.31.camel@kereru> References: <1439375697.4836.31.camel@kereru> Message-ID: <55CBC9F0.7030003@gmail.com> Hi Grant & Mongers, It certainly was very helpful to have the 'reverse talk' of me asking questions and the rest offering advice on XML issues. I had not ben aware that Grant had a prior involvment with XML::Simple. Notwithstanding The advice to avoid this, I went home and added a 'ForceArray' parameter with appropriate element names, and my short script did what I needed it to do. When run over the data that I had, it produced the 80,000+ records that I was wanting. It is only a 'one-off' use, so I am unlikely to migrate this specific one to XML::LibXML, but future excursions into other XML will follow that path. Thanks again for all the productive advice. Peter Davenport On 12/08/2015 10:34 p.m., Grant McLean wrote: > Hi Mongers > > Thanks to everyone who came along and contributed to the various debates > and inquisitions last night - I thoroughly enjoyed the meeting. > > Notes for Peter: > > 1. Don't use XML::Simple > > 2. If you insist on ignoring '1', be sure to enable XML::Simple's > "strict mode" as described here: > > http://www.perlmonks.org/index.pl?node_id=218480 > > This would have alerted you to the need to define ForceArray. > > 3. Using XML::LibXML would give you fewer surprises. It is easily > installed on Ubuntu/Debian with: > > apt-get install libxml-libxml-perl > > 4. The XML::LibXML documentation is not great, but this article should > help you convert code from XML::Simple to XML::LibXML: > > http://www.perlmonks.org/index.pl?node_id=490846 > > 5. You might also want to look at an XPath tutorial, e.g.: > > http://www.zvon.org/xxl/XPathTutorial/General/examples.html > > > The slides from my Postgres history triggers talk are up on the web site > (complete with bugs) here: > > http://wellington.pm.org/archive > > The final slide includes a link to resources.zip which includes all you > need to set up the simple DB that I described, and try out the triggers. > > > Thanks Richard for your interesting presentation (and also for > requesting the other talk). I think you're going to have to come up > with a name for your project and feel sure the group can come up with > suggestions. Here's some to get the ball rolling: > > * credcheck > * nbad (the "Nothing But Auth" daemon) > * bbad (Bare Bones Authentication Daemon) > * authify > * ics (Isolated Credentials Store) > * adwan (authentication daemon without a name) > > > The next meeting will be on September the 8th - let me know if you'dlike > to do a talk. > > Regards > Grant > > > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm From florent.mara at nzregen.co.nz Sun Aug 16 20:31:34 2015 From: florent.mara at nzregen.co.nz (Florent Mara) Date: Mon, 17 Aug 2015 15:31:34 +1200 Subject: [Wellington-pm] Roundup of last night's meeting, In-Reply-To: <55CBC9F0.7030003@gmail.com> References: <1439375697.4836.31.camel@kereru> <55CBC9F0.7030003@gmail.com> Message-ID: I should have known better!!! After one additional convincing conversation about the limitations of XML::Simple, I had a look at how and where I was using it and decide to 'upgrade' two modules to use XML::LibXML. While it went smoothly for the first module, it uncovered a minor defect in the second where it was consistently missing an optional parameter. Grant was right once again - not that I can recall Grant being wrong anyway. If I may preempt the next call for topics, I would be delighted to hear about PDL. On Thu, Aug 13, 2015 at 10:34 AM, Peter Davenport wrote: > Hi Grant & Mongers, > It certainly was very helpful to have the 'reverse talk' of me asking > questions and the rest offering advice on XML issues. I had not ben aware > that Grant had a prior involvment with XML::Simple. Notwithstanding The > advice to avoid this, I went home and added a 'ForceArray' parameter with > appropriate element names, and my short script did what I needed it to do. > When run over the data that I had, it produced the 80,000+ records that I > was wanting. It is only a 'one-off' use, so I am unlikely to migrate this > specific one to XML::LibXML, but future excursions into other XML will > follow that path. Thanks again for all the productive advice. > > Peter Davenport > > > On 12/08/2015 10:34 p.m., Grant McLean wrote: > >> Hi Mongers >> >> Thanks to everyone who came along and contributed to the various debates >> and inquisitions last night - I thoroughly enjoyed the meeting. >> >> Notes for Peter: >> >> 1. Don't use XML::Simple >> >> 2. If you insist on ignoring '1', be sure to enable XML::Simple's >> "strict mode" as described here: >> >> http://www.perlmonks.org/index.pl?node_id=218480 >> >> This would have alerted you to the need to define ForceArray. >> >> 3. Using XML::LibXML would give you fewer surprises. It is easily >> installed on Ubuntu/Debian with: >> >> apt-get install libxml-libxml-perl >> >> 4. The XML::LibXML documentation is not great, but this article should >> help you convert code from XML::Simple to XML::LibXML: >> >> http://www.perlmonks.org/index.pl?node_id=490846 >> >> 5. You might also want to look at an XPath tutorial, e.g.: >> >> http://www.zvon.org/xxl/XPathTutorial/General/examples.html >> >> >> The slides from my Postgres history triggers talk are up on the web site >> (complete with bugs) here: >> >> http://wellington.pm.org/archive >> >> The final slide includes a link to resources.zip which includes all you >> need to set up the simple DB that I described, and try out the triggers. >> >> >> Thanks Richard for your interesting presentation (and also for >> requesting the other talk). I think you're going to have to come up >> with a name for your project and feel sure the group can come up with >> suggestions. Here's some to get the ball rolling: >> >> * credcheck >> * nbad (the "Nothing But Auth" daemon) >> * bbad (Bare Bones Authentication Daemon) >> * authify >> * ics (Isolated Credentials Store) >> * adwan (authentication daemon without a name) >> >> >> The next meeting will be on September the 8th - let me know if you'dlike >> to do a talk. >> >> Regards >> Grant >> >> >> >> _______________________________________________ >> Wellington-pm mailing list >> Wellington-pm at pm.org >> http://mail.pm.org/mailman/listinfo/wellington-pm >> > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From grant at mclean.net.nz Sun Aug 30 19:09:44 2015 From: grant at mclean.net.nz (Grant McLean) Date: Mon, 31 Aug 2015 14:09:44 +1200 Subject: [Wellington-pm] Meeting next week Message-ID: <1440986984.5563.12.camel@putnam.wgtn.cat-it.co.nz> Hi Mongers The September meeting of Wellington Perl mongers is next Tuesday (the 8th). Anyone want to speak or suggest a topic? Cheers Grant From ajm1170 at gmail.com Sun Aug 30 23:40:47 2015 From: ajm1170 at gmail.com (Andrew Maguire) Date: Mon, 31 Aug 2015 18:40:47 +1200 Subject: [Wellington-pm] Meeting next week In-Reply-To: <1440986984.5563.12.camel@putnam.wgtn.cat-it.co.nz> References: <1440986984.5563.12.camel@putnam.wgtn.cat-it.co.nz> Message-ID: I am going to try and pull together some slides about CVopen and Perl ! Sent from my iPhone > On 31/08/2015, at 2:09 pm, Grant McLean wrote: > > Hi Mongers > > The September meeting of Wellington Perl mongers is next Tuesday > (the 8th). > > Anyone want to speak or suggest a topic? > > Cheers > Grant > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm