From gwadej at anomaly.org Mon Oct 6 09:28:24 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 6 Oct 2014 11:28:24 -0500 Subject: [pm-h] Parking at Hostgator on Thursday Message-ID: <20141006112824.7385d31f@cygnus> Hi All, I just heard from Xaviar at Hostgator and the parking deck behind the building is open for business (see the map on the houston.pm.org main page). You should park on the deck from now on, instead of parking in front. I look forward to seeing everyone there. G. Wade -- You forgot the first rule of the fanatic: when you become obsessed with the enemy, you become the enemy. -- Jeffrey Sinclair in "Infection" From mrdvt92 at yahoo.com Mon Oct 6 15:37:53 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 6 Oct 2014 15:37:53 -0700 Subject: [pm-h] Parking at Hostgator on Thursday In-Reply-To: <20141006112824.7385d31f@cygnus> References: <20141006112824.7385d31f@cygnus> Message-ID: <1412635073.678.YahooMailNeo@web121001.mail.ne1.yahoo.com> G. Wade, I'm planning to attend the meeting this week. The last meeting I made was a social one at a bar. Can I bring anything? Food, beer, etc? I know we have Robert Stone slated to talk but if anyone wants to chat about any of my CPAN modules please hit me up. http://search.cpan.org/~mrdvt/ Thanks, Mike mrdvt92 From: G. Wade Johnson via Houston To: Houston Perl Mongers Sent: Monday, October 6, 2014 12:28 PM Subject: [pm-h] Parking at Hostgator on Thursday Hi All, I just heard from Xaviar at Hostgator and the parking deck behind the building is open for business (see the map on the houston.pm.org main page). You should park on the deck from now on, instead of parking in front. I look forward to seeing everyone there. G. Wade -- You forgot the first rule of the fanatic: when you become obsessed with the enemy, you become the enemy. -- Jeffrey Sinclair in "Infection" _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrdvt92 at yahoo.com Mon Oct 6 15:37:53 2014 From: mrdvt92 at yahoo.com (Michael R. Davis) Date: Mon, 6 Oct 2014 15:37:53 -0700 Subject: [pm-h] Parking at Hostgator on Thursday In-Reply-To: <20141006112824.7385d31f@cygnus> References: <20141006112824.7385d31f@cygnus> Message-ID: <1412635073.678.YahooMailNeo@web121001.mail.ne1.yahoo.com> G. Wade, I'm planning to attend the meeting this week. The last meeting I made was a social one at a bar. Can I bring anything? Food, beer, etc? I know we have Robert Stone slated to talk but if anyone wants to chat about any of my CPAN modules please hit me up. http://search.cpan.org/~mrdvt/ Thanks, Mike mrdvt92 From: G. Wade Johnson via Houston To: Houston Perl Mongers Sent: Monday, October 6, 2014 12:28 PM Subject: [pm-h] Parking at Hostgator on Thursday Hi All, I just heard from Xaviar at Hostgator and the parking deck behind the building is open for business (see the map on the houston.pm.org main page). You should park on the deck from now on, instead of parking in front. I look forward to seeing everyone there. G. Wade -- You forgot the first rule of the fanatic: when you become obsessed with the enemy, you become the enemy. -- Jeffrey Sinclair in "Infection" _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Mon Oct 6 16:14:27 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 6 Oct 2014 18:14:27 -0500 Subject: [pm-h] Parking at Hostgator on Thursday In-Reply-To: <1412635073.678.YahooMailNeo@web121001.mail.ne1.yahoo.com> References: <20141006112824.7385d31f@cygnus> <1412635073.678.YahooMailNeo@web121001.mail.ne1.yahoo.com> Message-ID: <20141006181427.52615ae9@cygnus> On Mon, 6 Oct 2014 15:37:53 -0700 "Michael R. Davis via Houston" wrote: > G. Wade, > I'm planning to attend the meeting this week. The last meeting I > made was a social one at a bar. Can I bring anything? Food, beer, > etc? I know we have Robert Stone slated to talk but if anyone wants > to chat about any of my CPAN modules please hit me up. > http://search.cpan.org/~mrdvt/ Gah! Send too quickly... We normally have conversation before and after the talk. If people are aware of your modules they can ask. Also, if you would like to do a presentation about any of your modules (or any other topic of interest), feel free to let me know or respond to the "anyone have a topic" email. Thanks, G. Wade > Thanks, > Mike > > mrdvt92 > > From: G. Wade Johnson via Houston > To: Houston Perl Mongers > Sent: Monday, October 6, 2014 12:28 PM > Subject: [pm-h] Parking at Hostgator on Thursday > > > Hi All, > > I just heard from Xaviar at > Hostgator and the parking deck behind the > building is open for business (see the map on the houston.pm.org main > page). You should park on the deck from now on, instead of parking in > front. > > I look forward to seeing everyone there. > > G. Wade -- If the universe puts a mystery in front of us as a gift, politeness requires that we at least try to solve it. -- Delenn in "Attonement" From gwadej at anomaly.org Fri Oct 10 20:37:18 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 10 Oct 2014 22:37:18 -0500 Subject: [pm-h] Performance discussion after the meeting. Message-ID: <20141010223718.4f0d2bf6@cygnus> After the meeting last night, I decided to do some investigation of the discussion we had about the word rotation code. I used Benchmark to get a rough idea of the speed of the different approaches we talked about. The four approaches I tested were: push - Robert's original approach reanon - recreate anonymous array each time to save memory creep slice - this was the array slice assignment we looked at last twiddle - bit twiddling of the integer as we suggested for C Each test runs the actual code 10_000 times so that the subroutine overhead does not swamp the actual work. The loop overhead is probably not much of an issue. The program is between the lines: ---------------------------------------------------------- use strict; use warnings; use 5.010; use Benchmark qw/cmpthese/; use Devel::Size qw/total_size/; my @word = ("\x12", "\x34", "\x56", "\x78"); my $int_word = 0x12345678; my $iters = 10_000; my %sizes; print "Orig size: ", total_size( \@word ), "\n"; cmpthese( -2, { slice => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { @{$w}[0..3] = @{$w}[1,2,3,0]; }; $sizes{slice} = total_size( $w ); }, push => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { push @{$w}, shift @{$w}; }; $sizes{push} = total_size( $w ); }, reanon => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { $w = [ @{$w}[1,2,3,0] ]; }; $sizes{reanon} = total_size( $w ); }, twiddle => sub { my $w = $int_word; foreach ( 0 .. $iters ) { $w = ($w >> 1 | $w << 3); } }, } ); foreach my $t ( sort keys %sizes ) { print "$t: $sizes{$t}\n"; } ---------------------------------------------------------- The output is below: Orig size: 320 Rate slice reanon push twiddle slice 127/s -- -14% -77% -83% reanon 148/s 17% -- -74% -81% push 560/s 341% 278% -- -27% twiddle 763/s 501% 415% 36% -- push: 400 reanon: 320 slice: 320 ----------------------------------------------------------- As you can see, Robert's solution (push) is about three times as fast as either of the other two. (It was 5-6 times as fast on another machine.) The memory issue I brought up has apparently been corrected. Although the array does grow in size, it's only 80 bytes, so that would not be a real issue. Interestingly, the bit twiddling response is only another 36% faster in Perl. Some of that is due to other changes in the sub. In C, I suspect it would be a whole lot faster. So, it looks like Robert had the best solution after all. G. Wade -- An expert is a person who has made all the mistakes that can be made in a very narrow field. -- Niels Bohr From gwadej at anomaly.org Sun Oct 12 13:30:36 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sun, 12 Oct 2014 15:30:36 -0500 Subject: [pm-h] Write-up for October Houston.pm meeting is on-line. Message-ID: <20141012153036.628b381f@cygnus> Robert's presentation was a good mix of high-level and low-level. For a complete review see the full write-up at http://houston.pm.org/talks/2014talks/1410Talk/index.html. G. Wade -- The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...' -- Isaac Asimov From drzigman at drzigman.com Mon Oct 13 08:43:09 2014 From: drzigman at drzigman.com (Robert Stone) Date: Mon, 13 Oct 2014 15:43:09 +0000 (GMT) Subject: [pm-h] Performance discussion after the meeting. In-Reply-To: <20141010223718.4f0d2bf6@cygnus> References: <20141010223718.4f0d2bf6@cygnus> Message-ID: <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> Greetings, This is a very fascinating example of making use of Benchmark to empirically discover the most efficient method of performing an operation. Thank you for putting it together! This is the first time I've seen Benchmark used (https://metacpan.org/pod/Benchmark) and I think it's very powerful stuff. A few questions come to mind for the list... 1. Who wants to do a presentation on Benchmark? :) 2. Who wants to do a presentation on Devel::NYTProf? :) :) In all seriousness though, this looks great. Thanks again for taking the time to point out that while push/shift is a workable solution, I can squeak out a few more cycles with bit shifting. Moreover, the bit shifting solution is likely what I will use in the XS version of the module. Best Regards, Robert Stone ----- Original Message ----- From: "G. Wade Johnson via Houston" To: "Houston Perl Mongers" Sent: Friday, October 10, 2014 10:37:18 PM Subject: [pm-h] Performance discussion after the meeting. After the meeting last night, I decided to do some investigation of the discussion we had about the word rotation code. I used Benchmark to get a rough idea of the speed of the different approaches we talked about. The four approaches I tested were: push - Robert's original approach reanon - recreate anonymous array each time to save memory creep slice - this was the array slice assignment we looked at last twiddle - bit twiddling of the integer as we suggested for C Each test runs the actual code 10_000 times so that the subroutine overhead does not swamp the actual work. The loop overhead is probably not much of an issue. The program is between the lines: ---------------------------------------------------------- use strict; use warnings; use 5.010; use Benchmark qw/cmpthese/; use Devel::Size qw/total_size/; my @word = ("\x12", "\x34", "\x56", "\x78"); my $int_word = 0x12345678; my $iters = 10_000; my %sizes; print "Orig size: ", total_size( \@word ), "\n"; cmpthese( -2, { slice => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { @{$w}[0..3] = @{$w}[1,2,3,0]; }; $sizes{slice} = total_size( $w ); }, push => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { push @{$w}, shift @{$w}; }; $sizes{push} = total_size( $w ); }, reanon => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { $w = [ @{$w}[1,2,3,0] ]; }; $sizes{reanon} = total_size( $w ); }, twiddle => sub { my $w = $int_word; foreach ( 0 .. $iters ) { $w = ($w >> 1 | $w << 3); } }, } ); foreach my $t ( sort keys %sizes ) { print "$t: $sizes{$t}\n"; } ---------------------------------------------------------- The output is below: Orig size: 320 Rate slice reanon push twiddle slice 127/s -- -14% -77% -83% reanon 148/s 17% -- -74% -81% push 560/s 341% 278% -- -27% twiddle 763/s 501% 415% 36% -- push: 400 reanon: 320 slice: 320 ----------------------------------------------------------- As you can see, Robert's solution (push) is about three times as fast as either of the other two. (It was 5-6 times as fast on another machine.) The memory issue I brought up has apparently been corrected. Although the array does grow in size, it's only 80 bytes, so that would not be a real issue. Interestingly, the bit twiddling response is only another 36% faster in Perl. Some of that is due to other changes in the sub. In C, I suspect it would be a whole lot faster. So, it looks like Robert had the best solution after all. G. Wade -- An expert is a person who has made all the mistakes that can be made in a very narrow field. -- Niels Bohr _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ From mrallen1 at yahoo.com Mon Oct 13 09:15:13 2014 From: mrallen1 at yahoo.com (Mark Allen) Date: Mon, 13 Oct 2014 09:15:13 -0700 Subject: [pm-h] Performance discussion after the meeting. In-Reply-To: <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> References: <20141010223718.4f0d2bf6@cygnus> <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> Message-ID: <1413216913.84415.YahooMailNeo@web142402.mail.bf1.yahoo.com> Benchmark is the bomb. I have used it for exactly the kind of comparisons that Wade did in a different context: comparing various Perl user agents against LWP::UserAgent. Talk recommendations and/or tl;dr - Use HTTP::Tiny if possible (especially if your base Perl is 5.14 or later), or LWP::Curl if you feel the need for speed and can tolerate XS in your dependencies. Code: https://github.com/mrallen1/perl-UA-Bench Slides: https://speakerdeck.com/mrallen1/giving-lwp-its-well-deserved-golden-watch I have also used it to compare serialization library performance (specifically benchmarking pure-perl JSON encoding/decoding to XS based JSON encoding/decoding.) Mark On Monday, October 13, 2014 10:43 AM, Robert Stone via Houston wrote: Greetings, This is a very fascinating example of making use of Benchmark to empirically discover the most efficient method of performing an operation. Thank you for putting it together! This is the first time I've seen Benchmark used (https://metacpan.org/pod/Benchmark) and I think it's very powerful stuff. A few questions come to mind for the list... 1. Who wants to do a presentation on Benchmark? :) 2. Who wants to do a presentation on Devel::NYTProf? :) :) In all seriousness though, this looks great. Thanks again for taking the time to point out that while push/shift is a workable solution, I can squeak out a few more cycles with bit shifting. Moreover, the bit shifting solution is likely what I will use in the XS version of the module. Best Regards, Robert Stone ----- Original Message ----- From: "G. Wade Johnson via Houston" To: "Houston Perl Mongers" Sent: Friday, October 10, 2014 10:37:18 PM Subject: [pm-h] Performance discussion after the meeting. After the meeting last night, I decided to do some investigation of the discussion we had about the word rotation code. I used Benchmark to get a rough idea of the speed of the different approaches we talked about. The four approaches I tested were: push - Robert's original approach reanon - recreate anonymous array each time to save memory creep slice - this was the array slice assignment we looked at last twiddle - bit twiddling of the integer as we suggested for C Each test runs the actual code 10_000 times so that the subroutine overhead does not swamp the actual work. The loop overhead is probably not much of an issue. The program is between the lines: ---------------------------------------------------------- use strict; use warnings; use 5.010; use Benchmark qw/cmpthese/; use Devel::Size qw/total_size/; my @word = ("\x12", "\x34", "\x56", "\x78"); my $int_word = 0x12345678; my $iters = 10_000; my %sizes; print "Orig size: ", total_size( \@word ), "\n"; cmpthese( -2, { slice => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { @{$w}[0..3] = @{$w}[1,2,3,0]; }; $sizes{slice} = total_size( $w ); }, push => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { push @{$w}, shift @{$w}; }; $sizes{push} = total_size( $w ); }, reanon => sub { my $w = [ @word ]; foreach ( 0 .. $iters ) { $w = [ @{$w}[1,2,3,0] ]; }; $sizes{reanon} = total_size( $w ); }, twiddle => sub { my $w = $int_word; foreach ( 0 .. $iters ) { $w = ($w >> 1 | $w << 3); } }, } ); foreach my $t ( sort keys %sizes ) { print "$t: $sizes{$t}\n"; } ---------------------------------------------------------- The output is below: Orig size: 320 Rate slice reanon push twiddle slice 127/s -- -14% -77% -83% reanon 148/s 17% -- -74% -81% push 560/s 341% 278% -- -27% twiddle 763/s 501% 415% 36% -- push: 400 reanon: 320 slice: 320 ----------------------------------------------------------- As you can see, Robert's solution (push) is about three times as fast as either of the other two. (It was 5-6 times as fast on another machine.) The memory issue I brought up has apparently been corrected. Although the array does grow in size, it's only 80 bytes, so that would not be a real issue. Interestingly, the bit twiddling response is only another 36% faster in Perl. Some of that is due to other changes in the sub. In C, I suspect it would be a whole lot faster. So, it looks like Robert had the best solution after all. G. Wade -- An expert is a person who has made all the mistakes that can be made in a very narrow field. -- Niels Bohr _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Mon Oct 13 09:53:03 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 13 Oct 2014 11:53:03 -0500 Subject: [pm-h] Performance discussion after the meeting. In-Reply-To: <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> References: <20141010223718.4f0d2bf6@cygnus> <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> Message-ID: <20141013115303.09ce8b05@cygnus> On Mon, 13 Oct 2014 15:43:09 +0000 (GMT) Robert Stone wrote: > Greetings, > > This is a very fascinating example of making use of Benchmark to > empirically discover the most efficient method of performing an > operation. Thank you for putting it together! > > This is the first time I've seen Benchmark used > (https://metacpan.org/pod/Benchmark) and I think it's very powerful > stuff. A few questions come to mind for the list... > > 1. Who wants to do a presentation on Benchmark? :) > 2. Who wants to do a presentation on Devel::NYTProf? :) :) > > In all seriousness though, this looks great. Thanks again for taking > the time to point out that while push/shift is a workable solution, I > can squeak out a few more cycles with bit shifting. Moreover, the > bit shifting solution is likely what I will use in the XS version of > the module. I've done presentations on both. Remember that the results of Benchmark (and to a lesser extent, NYTProf) are actually not very precise. They give a pretty good guess if the ratios are high (>25%). The author of Benchmark has repeated pointed out that improvements of ~7% are actually noise. The module cannot really distinguish changes that small. G. Wade > Best Regards, > Robert Stone > > ----- Original Message ----- > From: "G. Wade Johnson via Houston" > To: "Houston Perl Mongers" > Sent: Friday, October 10, 2014 10:37:18 PM > Subject: [pm-h] Performance discussion after the meeting. > > After the meeting last night, I decided to do some investigation of > the discussion we had about the word rotation code. I used Benchmark > to get a rough idea of the speed of the different approaches we > talked about. > > The four approaches I tested were: > push - Robert's original approach > reanon - recreate anonymous array each time to save memory creep > slice - this was the array slice assignment we looked at last > twiddle - bit twiddling of the integer as we suggested for C > > Each test runs the actual code 10_000 times so that the subroutine > overhead does not swamp the actual work. The loop overhead is probably > not much of an issue. > > The program is between the lines: > ---------------------------------------------------------- > use strict; > use warnings; > use 5.010; > > use Benchmark qw/cmpthese/; > use Devel::Size qw/total_size/; > > my @word = ("\x12", "\x34", "\x56", "\x78"); > my $int_word = 0x12345678; > my $iters = 10_000; > > my %sizes; > > print "Orig size: ", total_size( \@word ), "\n"; > > cmpthese( -2, > { > slice => sub { > my $w = [ @word ]; > foreach ( 0 .. $iters ) { > @{$w}[0..3] = @{$w}[1,2,3,0]; > }; > $sizes{slice} = total_size( $w ); > }, > push => sub { > my $w = [ @word ]; > foreach ( 0 .. $iters ) { > push @{$w}, shift @{$w}; > }; > $sizes{push} = total_size( $w ); > }, > reanon => sub { > my $w = [ @word ]; > foreach ( 0 .. $iters ) { > $w = [ @{$w}[1,2,3,0] ]; > }; > $sizes{reanon} = total_size( $w ); > }, > twiddle => sub { > my $w = $int_word; > foreach ( 0 .. $iters ) { > $w = ($w >> 1 | $w << 3); > } > }, > } > ); > > foreach my $t ( sort keys %sizes ) > { > print "$t: $sizes{$t}\n"; > } > ---------------------------------------------------------- > > The output is below: > Orig size: 320 > Rate slice reanon push twiddle > slice 127/s -- -14% -77% -83% > reanon 148/s 17% -- -74% -81% > push 560/s 341% 278% -- -27% > twiddle 763/s 501% 415% 36% -- > push: 400 > reanon: 320 > slice: 320 > ----------------------------------------------------------- > > As you can see, Robert's solution (push) is about three times as fast > as either of the other two. (It was 5-6 times as fast on another > machine.) The memory issue I brought up has apparently been corrected. > Although the array does grow in size, it's only 80 bytes, so that > would not be a real issue. > > Interestingly, the bit twiddling response is only another 36% faster > in Perl. Some of that is due to other changes in the sub. In C, I > suspect it would be a whole lot faster. > > So, it looks like Robert had the best solution after all. > > G. Wade -- Contrary to popular opinion, the plural of 'anecdote' is not 'fact'. From gwadej at anomaly.org Mon Oct 13 09:55:51 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 13 Oct 2014 11:55:51 -0500 Subject: [pm-h] Performance discussion after the meeting. In-Reply-To: <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> References: <20141010223718.4f0d2bf6@cygnus> <893774630.26735.1413214989721.JavaMail.zimbra@drzigman.com> Message-ID: <20141013115551.64c821fe@cygnus> One final note on benchmarking. If you want to dig into it more, look at the Dumbbench module (https://metacpan.org/release/Dumbbench). It's POD gives a lot of information on why you should not trust benchmarks and why we do them anyway. G. Wade On Mon, 13 Oct 2014 15:43:09 +0000 (GMT) Robert Stone wrote: > Greetings, > > This is a very fascinating example of making use of Benchmark to > empirically discover the most efficient method of performing an > operation. Thank you for putting it together! > > This is the first time I've seen Benchmark used > (https://metacpan.org/pod/Benchmark) and I think it's very powerful > stuff. A few questions come to mind for the list... > > 1. Who wants to do a presentation on Benchmark? :) > 2. Who wants to do a presentation on Devel::NYTProf? :) :) > > In all seriousness though, this looks great. Thanks again for taking > the time to point out that while push/shift is a workable solution, I > can squeak out a few more cycles with bit shifting. Moreover, the > bit shifting solution is likely what I will use in the XS version of > the module. > > Best Regards, > Robert Stone > > ----- Original Message ----- > From: "G. Wade Johnson via Houston" > To: "Houston Perl Mongers" > Sent: Friday, October 10, 2014 10:37:18 PM > Subject: [pm-h] Performance discussion after the meeting. > > After the meeting last night, I decided to do some investigation of > the discussion we had about the word rotation code. I used Benchmark > to get a rough idea of the speed of the different approaches we > talked about. > > The four approaches I tested were: > push - Robert's original approach > reanon - recreate anonymous array each time to save memory creep > slice - this was the array slice assignment we looked at last > twiddle - bit twiddling of the integer as we suggested for C > > Each test runs the actual code 10_000 times so that the subroutine > overhead does not swamp the actual work. The loop overhead is probably > not much of an issue. > > The program is between the lines: > ---------------------------------------------------------- > use strict; > use warnings; > use 5.010; > > use Benchmark qw/cmpthese/; > use Devel::Size qw/total_size/; > > my @word = ("\x12", "\x34", "\x56", "\x78"); > my $int_word = 0x12345678; > my $iters = 10_000; > > my %sizes; > > print "Orig size: ", total_size( \@word ), "\n"; > > cmpthese( -2, > { > slice => sub { > my $w = [ @word ]; > foreach ( 0 .. $iters ) { > @{$w}[0..3] = @{$w}[1,2,3,0]; > }; > $sizes{slice} = total_size( $w ); > }, > push => sub { > my $w = [ @word ]; > foreach ( 0 .. $iters ) { > push @{$w}, shift @{$w}; > }; > $sizes{push} = total_size( $w ); > }, > reanon => sub { > my $w = [ @word ]; > foreach ( 0 .. $iters ) { > $w = [ @{$w}[1,2,3,0] ]; > }; > $sizes{reanon} = total_size( $w ); > }, > twiddle => sub { > my $w = $int_word; > foreach ( 0 .. $iters ) { > $w = ($w >> 1 | $w << 3); > } > }, > } > ); > > foreach my $t ( sort keys %sizes ) > { > print "$t: $sizes{$t}\n"; > } > ---------------------------------------------------------- > > The output is below: > Orig size: 320 > Rate slice reanon push twiddle > slice 127/s -- -14% -77% -83% > reanon 148/s 17% -- -74% -81% > push 560/s 341% 278% -- -27% > twiddle 763/s 501% 415% 36% -- > push: 400 > reanon: 320 > slice: 320 > ----------------------------------------------------------- > > As you can see, Robert's solution (push) is about three times as fast > as either of the other two. (It was 5-6 times as fast on another > machine.) The memory issue I brought up has apparently been corrected. > Although the array does grow in size, it's only 80 bytes, so that > would not be a real issue. > > Interestingly, the bit twiddling response is only another 36% faster > in Perl. Some of that is due to other changes in the sub. In C, I > suspect it would be a whole lot faster. > > So, it looks like Robert had the best solution after all. > > G. Wade -- Reality is just a convenient measure of complexity. -- Alvy Ray Smith From zaki.mughal at gmail.com Sat Oct 25 18:01:13 2014 From: zaki.mughal at gmail.com (Zakariyya Mughal) Date: Sat, 25 Oct 2014 20:01:13 -0500 Subject: [pm-h] Richard Stallman talk at UH on November 2nd Message-ID: <20141026010113.GA11118@quadra> Hi folks, The CougarCS student organization is hosting a talk by Richard Stallman, the founder of the GNU Project and the Free Software Foundation. More info is available at . Title: ?The Free Software Movement?. Speaker: Richard Stallman When: Sunday November 2nd, 2014 from 3:30 PM to 6:00 PM. RSVP: Please register at the Free Software Foundation (FSF) . Registration is anonymous, but appreciated to help us accommodate the audience. Where: University of Houston, SEC 100 , University of Houston, 4800 Calhoun Rd (Large Auditorium near the Stadium and Stadium Parking lot off of Cullen Boulevard) Cheers, - Zaki Mughal -- Secretary, CougarCS | ACM chapter Dept. of Computer Science, University of Houston Houston, TX, 77204-3010 Contact us: PAUSE: ZMUGHAL From gwadej at anomaly.org Sat Oct 25 18:10:37 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 25 Oct 2014 20:10:37 -0500 Subject: [pm-h] November Houston.pm meeting: Call for Presentation Message-ID: <20141025201037.5f94917c@cygnus> So the next Houston.pm meeting is coming up on November 13 at cPanel. That means it's time to find out if anyone has a presentation topic they would like to volunteer or request. Any opinions? suggestions? One idea we've proposed many times without much luck is a set of Lightning Talks (5 minutes, hard time limit). The upside is that it's a short presentation, almost anyone can manage to talk for 5 minutes. The downside is we've never been able to get 5 or more people to commit, which is what we'd need for a reasonable run. Looking forward to hearing what people think. G. Wade -- A 'language' is a dialect with an army. From zaki.mughal at gmail.com Sat Oct 25 18:15:45 2014 From: zaki.mughal at gmail.com (Zakariyya Mughal) Date: Sat, 25 Oct 2014 20:15:45 -0500 Subject: [pm-h] November Houston.pm meeting: Call for Presentation In-Reply-To: <20141025201037.5f94917c@cygnus> References: <20141025201037.5f94917c@cygnus> Message-ID: <20141026011545.GB11118@quadra> On 2014-10-25 at 20:10:37 -0500, G. Wade Johnson via Houston wrote: > So the next Houston.pm meeting is coming up on November 13 at cPanel. > > One idea we've proposed many times without much luck is a set of > Lightning Talks (5 minutes, hard time limit). > > The upside is that it's a short presentation, almost anyone can manage > to talk for 5 minutes. The downside is we've never been able to get 5 > or more people to commit, which is what we'd need for a reasonable run. Hey, Me again. I'm giving a lightning talk at the Houston R Users Group on Nov. 3rd. The topic is a module I'm writing to allow embedding R in Perl through the C API. Might as well present it at Houston.pm as well, right? Cheers, - Zaki Mughal > > Looking forward to hearing what people think. > G. Wade > -- > A 'language' is a dialect with an army. > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ From gwadej at anomaly.org Sat Oct 25 19:30:11 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 25 Oct 2014 21:30:11 -0500 Subject: [pm-h] November Houston.pm meeting: Call for Presentation In-Reply-To: <20141026011545.GB11118@quadra> References: <20141025201037.5f94917c@cygnus> <20141026011545.GB11118@quadra> Message-ID: <20141025213011.41b1e90a@cygnus> On Sat, 25 Oct 2014 20:15:45 -0500 Zakariyya Mughal via Houston wrote: > On 2014-10-25 at 20:10:37 -0500, G. Wade Johnson via Houston wrote: > > So the next Houston.pm meeting is coming up on November 13 at > > cPanel. > > > > One idea we've proposed many times without much luck is a set of > > Lightning Talks (5 minutes, hard time limit). > > > > The upside is that it's a short presentation, almost anyone can > > manage to talk for 5 minutes. The downside is we've never been able > > to get 5 or more people to commit, which is what we'd need for a > > reasonable run. > > Hey, > > Me again. I'm giving a lightning talk at the Houston R Users Group on > Nov. 3rd. The topic is a module I'm writing to allow embedding R in > Perl through the C API. Might as well present it at Houston.pm as > well, right? So that's one taker for a lightning talk, can we get 5 more? G. Wade > Cheers, > - Zaki Mughal > > > > > > Looking forward to hearing what people think. > > G. Wade > > -- > > A 'language' is a dialect with an army. > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible. -- John William Chambless, <39v25i$2rbc at whale.st.usm.edu> From gwadej at anomaly.org Mon Oct 27 20:50:48 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 27 Oct 2014 22:50:48 -0500 Subject: [pm-h] Good article on split Message-ID: <20141027225048.0317beab@cygnus> David Farrell has released a really good article on Perl's split. http://perltricks.com/article/121/2014/10/24/Perl-s-versatile-split-function Unfortunately, he left off one of my favorite features: the third argument. my ($key, $value) = split /:/, $line, 2; This works much better than something I've seen repeatedly my ($key, $value) = split /:/, $line; when the input line looks like: "plugin:Module::Name" If you didn't multi-part module names, you're going to get a surprise in the second case. But, by supplying the third parameter, we can make split give us what we need. G. Wade -- Controlling complexity is the essence of computer programming -- Brian Kernighan From gwadej at anomaly.org Tue Oct 28 05:13:38 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 28 Oct 2014 07:13:38 -0500 Subject: [pm-h] November Topic Message-ID: <20141028071338.58e3b533@cygnus> We've had a single lightning talk volunteer. Unless Zaki is willing to turn that lightning talk into a full presentation, we need a few more. Any takers? G. Wade -- If you like laws and sausages, you should never watch either one being made. -- Otto von Bismarck From john at nixnuts.net Tue Oct 28 08:01:11 2014 From: john at nixnuts.net (John Lightsey) Date: Tue, 28 Oct 2014 10:01:11 -0500 Subject: [pm-h] November Topic In-Reply-To: <20141028071338.58e3b533@cygnus> References: <20141028071338.58e3b533@cygnus> Message-ID: <544FAFB7.50004@nixnuts.net> I'd be happy to put a lightning talk together. On 10/28/2014 7:13 AM, G. Wade Johnson via Houston wrote: > We've had a single lightning talk volunteer. Unless Zaki is willing to > turn that lightning talk into a full presentation, we need a few more. > > Any takers? > > G. Wade > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gwadej at anomaly.org Tue Oct 28 08:08:58 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 28 Oct 2014 10:08:58 -0500 Subject: [pm-h] November Topic In-Reply-To: <544FAFB7.50004@nixnuts.net> References: <20141028071338.58e3b533@cygnus> <544FAFB7.50004@nixnuts.net> Message-ID: <20141028100858.61db7dd4@cygnus> On Tue, 28 Oct 2014 10:01:11 -0500 John Lightsey via Houston wrote: > I'd be happy to put a lightning talk together. > > On 10/28/2014 7:13 AM, G. Wade Johnson via Houston wrote: > > We've had a single lightning talk volunteer. Unless Zaki is willing > > to turn that lightning talk into a full presentation, we need a few > > more. Woo-hoo! We now have a total of 3 people volunteering for lightning talks. We only need a couple more to have a reasonable meeting. We could actually handle as many as 7 more if people like the idea. Come on, let's see what we can do. BTW, your lightning talk can be serious or funny, about an important topic or a strange one, about Perl or not. Feel free to have fun with it. (You can even use it as a "toe in the water" for a bigger talk if you want to see how it would be received.) G. Wade -- You need at least two viewpoints to have perspective. -- Rick Hoselton From flbaker at sbcglobal.net Tue Oct 28 09:32:17 2014 From: flbaker at sbcglobal.net (Fraser Baker) Date: Tue, 28 Oct 2014 11:32:17 -0500 Subject: [pm-h] November Topic Message-ID: I'm embarking on an event monitor. Specifically, I need to identify caregivers who are late and the event monitor sends a notice to management. ?A brief talk about event monitors would be of interest to me. Sent from my Samsung Galaxy Express? -------- Original message -------- From: "G. Wade Johnson via Houston" Date: 10/28/2014 10:08 AM (GMT-06:00) To: houston at pm.org Subject: Re: [pm-h] November Topic On Tue, 28 Oct 2014 10:01:11 -0500 John Lightsey via Houston wrote: > I'd be happy to put a lightning talk together. > > On 10/28/2014 7:13 AM, G. Wade Johnson via Houston wrote: > > We've had a single lightning talk volunteer. Unless Zaki is willing > > to turn that lightning talk into a full presentation, we need a few > > more. Woo-hoo! We now have a total of 3 people volunteering for lightning talks. We only need a couple more to have a reasonable meeting. We could actually handle as many as 7 more if people like the idea. Come on, let's see what we can do. BTW, your lightning talk can be serious or funny, about an important topic or a strange one, about Perl or not. Feel free to have fun with it. (You can even use it as a "toe in the water" for a bigger talk if you want to see how it would be received.) G. Wade -- You need at least two viewpoints to have perspective. ??????????????????????????????????????????????????? -- Rick Hoselton _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Tue Oct 28 10:08:34 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 28 Oct 2014 12:08:34 -0500 Subject: [pm-h] November Topic In-Reply-To: References: Message-ID: <20141028120834.596c859b@cygnus> On Tue, 28 Oct 2014 11:32:17 -0500 Fraser Baker via Houston wrote: > I'm embarking on an event monitor. Specifically, I need to identify > caregivers who are late and the event monitor sends a notice to > management. ?A brief talk about event monitors would be of interest > to me. Could you give a short talk about what you know and maybe what questions you have? G. Wade > Sent from my Samsung Galaxy Express? > > -------- Original message -------- > From: "G. Wade Johnson via Houston" > Date: 10/28/2014 10:08 AM (GMT-06:00) > To: houston at pm.org > Subject: Re: [pm-h] November Topic > > On Tue, 28 Oct 2014 10:01:11 -0500 > John Lightsey via Houston wrote: > > > I'd be happy to put a lightning talk together. > > > > On 10/28/2014 7:13 AM, G. Wade Johnson via Houston wrote: > > > We've had a single lightning talk volunteer. Unless Zaki is > > > willing to turn that lightning talk into a full presentation, we > > > need a few more. > > Woo-hoo! We now have a total of 3 people volunteering for lightning > talks. > > We only need a couple more to have a reasonable meeting. We could > actually handle as many as 7 more if people like the idea. > > Come on, let's see what we can do. > > BTW, your lightning talk can be serious or funny, about an important > topic or a strange one, about Perl or not. Feel free to have fun with > it. (You can even use it as a "toe in the water" for a bigger talk if > you want to see how it would be received.) > > G. Wade -- More good code has been written in languages denounced as "bad" than in languages proclaimed "wonderful" -- much more. -- Bjarne Stroustrup, "The Design and Evolution of C++" From gwadej at anomaly.org Thu Oct 30 08:53:56 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 30 Oct 2014 10:53:56 -0500 Subject: [pm-h] November Lightning talks Message-ID: <20141030105356.27e58d28@cygnus> We stand now at 3-4 people who are willing to do a lightning talk at the next meeting. If we can get at least 3 more, we'll have the meeting covered. Come on people, all you need is one tip, technique, module, or even function that you are willing to talk about for up to 5 minutes. We should be able to get a few more takers. Anyone? G. Wade -- Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius, and a lot of courage, to move in the opposite direction. -- Albert Einstein From drzigman at drzigman.com Thu Oct 30 16:21:04 2014 From: drzigman at drzigman.com (Robert Stone) Date: Thu, 30 Oct 2014 23:21:04 +0000 (GMT) Subject: [pm-h] November Lightning talks In-Reply-To: <20141030105356.27e58d28@cygnus> References: <20141030105356.27e58d28@cygnus> Message-ID: <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> Greetings, I'd be happy to talk for a few minutes about the mysterious (just TRY to google it, I dare you!) $# sigil. :) Best Regards, Robert Stone ----- Original Message ----- From: "G. Wade Johnson via Houston" To: "Houston Perl Mongers" Sent: Thursday, October 30, 2014 10:53:56 AM Subject: [pm-h] November Lightning talks We stand now at 3-4 people who are willing to do a lightning talk at the next meeting. If we can get at least 3 more, we'll have the meeting covered. Come on people, all you need is one tip, technique, module, or even function that you are willing to talk about for up to 5 minutes. We should be able to get a few more takers. Anyone? G. Wade -- Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius, and a lot of courage, to move in the opposite direction. -- Albert Einstein _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ From gwadej at anomaly.org Thu Oct 30 21:07:33 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 30 Oct 2014 23:07:33 -0500 Subject: [pm-h] November Lightning talks In-Reply-To: <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> References: <20141030105356.27e58d28@cygnus> <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> Message-ID: <20141030230733.18940312@cygnus> On Thu, 30 Oct 2014 23:21:04 +0000 (GMT) Robert Stone wrote: > Greetings, > > I'd be happy to talk for a few minutes about the mysterious (just TRY > to google it, I dare you!) $# sigil. :) That's now 4 (5 if I do one). 1 Zaki Mughal - Embedding R in Perl through the C API - This sounds a little long for a lightning talk 2 JD - no topic specified 3 Fraser Baker - Event monitor demo 4 Robert Stone - $# sigil 5 Wade Johnson - I have a couple of ideas, I'd pick one 6 ??? 7 ??? Only a couple more needed to get a reasonable set of lightning talks. G. Wade > Best Regards, > Robert Stone > > ----- Original Message ----- > From: "G. Wade Johnson via Houston" > To: "Houston Perl Mongers" > Sent: Thursday, October 30, 2014 10:53:56 AM > Subject: [pm-h] November Lightning talks > > We stand now at 3-4 people who are willing to do a lightning talk at > the next meeting. > > If we can get at least 3 more, we'll have the meeting covered. Come on > people, all you need is one tip, technique, module, or even function > that you are willing to talk about for up to 5 minutes. > > We should be able to get a few more takers. > > Anyone? > > G. Wade -- A language that doesn't affect the way you think about programming is not worth knowing. -- Alan Perlis From todd at rinaldo.us Fri Oct 31 09:00:14 2014 From: todd at rinaldo.us (Todd Rinaldo) Date: Fri, 31 Oct 2014 11:00:14 -0500 Subject: [pm-h] November Lightning talks In-Reply-To: <20141030230733.18940312@cygnus> References: <20141030105356.27e58d28@cygnus> <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> <20141030230733.18940312@cygnus> Message-ID: I'm in the couple of ideas camp. I can talk about perlcc, log4perl, my latest rant: "UNIT TESTS! What are they?" On Thu, Oct 30, 2014 at 11:07 PM, G. Wade Johnson via Houston wrote: > On Thu, 30 Oct 2014 23:21:04 +0000 (GMT) > Robert Stone wrote: > >> Greetings, >> >> I'd be happy to talk for a few minutes about the mysterious (just TRY >> to google it, I dare you!) $# sigil. :) > > That's now 4 (5 if I do one). > > 1 Zaki Mughal - Embedding R in Perl through the C API > - This sounds a little long for a lightning talk > 2 JD - no topic specified > 3 Fraser Baker - Event monitor demo > 4 Robert Stone - $# sigil > 5 Wade Johnson - I have a couple of ideas, I'd pick one > 6 ??? > 7 ??? > > Only a couple more needed to get a reasonable set of lightning talks. > > G. Wade > >> Best Regards, >> Robert Stone >> >> ----- Original Message ----- >> From: "G. Wade Johnson via Houston" >> To: "Houston Perl Mongers" >> Sent: Thursday, October 30, 2014 10:53:56 AM >> Subject: [pm-h] November Lightning talks >> >> We stand now at 3-4 people who are willing to do a lightning talk at >> the next meeting. >> >> If we can get at least 3 more, we'll have the meeting covered. Come on >> people, all you need is one tip, technique, module, or even function >> that you are willing to talk about for up to 5 minutes. >> >> We should be able to get a few more takers. >> >> Anyone? >> >> G. Wade > > > -- > A language that doesn't affect the way you think about programming is > not worth knowing. -- Alan Perlis > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ -- Todd Rinaldo todd at rinaldo.us From gwadej at anomaly.org Fri Oct 31 09:14:34 2014 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 31 Oct 2014 11:14:34 -0500 Subject: [pm-h] November Lightning talks In-Reply-To: References: <20141030105356.27e58d28@cygnus> <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> <20141030230733.18940312@cygnus> Message-ID: <20141031111434.12c63569@cygnus> On Fri, 31 Oct 2014 11:00:14 -0500 Todd Rinaldo via Houston wrote: > I'm in the couple of ideas camp. I can talk about perlcc, log4perl, my > latest rant: "UNIT TESTS! What are they?" > > On Thu, Oct 30, 2014 at 11:07 PM, G. Wade Johnson via Houston > wrote: > > On Thu, 30 Oct 2014 23:21:04 +0000 (GMT) > > Robert Stone wrote: > > > >> Greetings, > >> > >> I'd be happy to talk for a few minutes about the mysterious (just > >> TRY to google it, I dare you!) $# sigil. :) > > > > That's now 4 (5 if I do one). 1 Zaki Mughal - Embedding R in Perl through the C API - This sounds a little long for a lightning talk 2 JD - no topic specified 3 Fraser Baker - Event monitor demo 4 Robert Stone - $# sigil 5 Wade Johnson - I have a couple of ideas, I'd pick one 6 Todd Rinaldo - one of several 7 ??? We can definitely do this, one or two more? G. Wade > > Only a couple more needed to get a reasonable set of lightning > > talks. > > > > G. Wade > > > >> Best Regards, > >> Robert Stone > >> > >> ----- Original Message ----- > >> From: "G. Wade Johnson via Houston" > >> To: "Houston Perl Mongers" > >> Sent: Thursday, October 30, 2014 10:53:56 AM > >> Subject: [pm-h] November Lightning talks > >> > >> We stand now at 3-4 people who are willing to do a lightning talk > >> at the next meeting. > >> > >> If we can get at least 3 more, we'll have the meeting covered. > >> Come on people, all you need is one tip, technique, module, or > >> even function that you are willing to talk about for up to 5 > >> minutes. > >> > >> We should be able to get a few more takers. > >> > >> Anyone? > >> > >> G. Wade > > > > > > -- > > A language that doesn't affect the way you think about programming > > is not worth knowing. -- Alan > > Perlis _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > -- Perl isn't really about safety. It's about getting where you're going, and enjoying the trip. It's more important to be a good driver than to have seven feet of sponge rubber all around your car. -- Larry Wall From julian at jlbprof.com Fri Oct 31 10:02:05 2014 From: julian at jlbprof.com (Julian Brown) Date: Fri, 31 Oct 2014 12:02:05 -0500 Subject: [pm-h] November Lightning talks In-Reply-To: References: <20141030105356.27e58d28@cygnus> <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> <20141030230733.18940312@cygnus> Message-ID: Do the unit tests should be just that unit tests and not end to end. :) Julian On Fri, Oct 31, 2014 at 11:00 AM, Todd Rinaldo via Houston wrote: > I'm in the couple of ideas camp. I can talk about perlcc, log4perl, my > latest rant: "UNIT TESTS! What are they?" > > On Thu, Oct 30, 2014 at 11:07 PM, G. Wade Johnson via Houston > wrote: > > On Thu, 30 Oct 2014 23:21:04 +0000 (GMT) > > Robert Stone wrote: > > > >> Greetings, > >> > >> I'd be happy to talk for a few minutes about the mysterious (just TRY > >> to google it, I dare you!) $# sigil. :) > > > > That's now 4 (5 if I do one). > > > > 1 Zaki Mughal - Embedding R in Perl through the C API > > - This sounds a little long for a lightning talk > > 2 JD - no topic specified > > 3 Fraser Baker - Event monitor demo > > 4 Robert Stone - $# sigil > > 5 Wade Johnson - I have a couple of ideas, I'd pick one > > 6 ??? > > 7 ??? > > > > Only a couple more needed to get a reasonable set of lightning talks. > > > > G. Wade > > > >> Best Regards, > >> Robert Stone > >> > >> ----- Original Message ----- > >> From: "G. Wade Johnson via Houston" > >> To: "Houston Perl Mongers" > >> Sent: Thursday, October 30, 2014 10:53:56 AM > >> Subject: [pm-h] November Lightning talks > >> > >> We stand now at 3-4 people who are willing to do a lightning talk at > >> the next meeting. > >> > >> If we can get at least 3 more, we'll have the meeting covered. Come on > >> people, all you need is one tip, technique, module, or even function > >> that you are willing to talk about for up to 5 minutes. > >> > >> We should be able to get a few more takers. > >> > >> Anyone? > >> > >> G. Wade > > > > > > -- > > A language that doesn't affect the way you think about programming is > > not worth knowing. -- Alan Perlis > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > Website: http://houston.pm.org/ > > > > -- > Todd Rinaldo > todd at rinaldo.us > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julian at jlbprof.com Fri Oct 31 15:28:10 2014 From: julian at jlbprof.com (Julian Brown) Date: Fri, 31 Oct 2014 17:28:10 -0500 Subject: [pm-h] November Lightning talks In-Reply-To: References: <20141030105356.27e58d28@cygnus> <289833817.30171.1414711263997.JavaMail.zimbra@drzigman.com> <20141030230733.18940312@cygnus> Message-ID: I can talk for a few minutes on unit testing I do for Postgresql Modules using Temp tables. Not sure if there would be much interest. On Fri, Oct 31, 2014 at 2:14 PM, Julian Brown wrote: > Interesting question, it's not exactly perlish, but I have been playing > with a db tool called adminer.php a very light replacement for phpmyadmin > and phppgadmin. > > Not sure if anyone would be interested. > > Or maybe some perl module unit testing involving postgres I have been > doing might be of interest. > > Let me think about it. > > Julian > > On Fri, Oct 31, 2014 at 12:23 PM, Todd Rinaldo wrote: > >> Julian, >> >> What topic are you doing? :) >> >> On Fri, Oct 31, 2014 at 12:02 PM, Julian Brown >> wrote: >> > Do the unit tests should be just that unit tests and not end to end. >> > >> > :) >> > >> > Julian >> > >> > On Fri, Oct 31, 2014 at 11:00 AM, Todd Rinaldo via Houston < >> houston at pm.org> >> > wrote: >> >> >> >> I'm in the couple of ideas camp. I can talk about perlcc, log4perl, my >> >> latest rant: "UNIT TESTS! What are they?" >> >> >> >> On Thu, Oct 30, 2014 at 11:07 PM, G. Wade Johnson via Houston >> >> wrote: >> >> > On Thu, 30 Oct 2014 23:21:04 +0000 (GMT) >> >> > Robert Stone wrote: >> >> > >> >> >> Greetings, >> >> >> >> >> >> I'd be happy to talk for a few minutes about the mysterious (just >> TRY >> >> >> to google it, I dare you!) $# sigil. :) >> >> > >> >> > That's now 4 (5 if I do one). >> >> > >> >> > 1 Zaki Mughal - Embedding R in Perl through the C API >> >> > - This sounds a little long for a lightning talk >> >> > 2 JD - no topic specified >> >> > 3 Fraser Baker - Event monitor demo >> >> > 4 Robert Stone - $# sigil >> >> > 5 Wade Johnson - I have a couple of ideas, I'd pick one >> >> > 6 ??? >> >> > 7 ??? >> >> > >> >> > Only a couple more needed to get a reasonable set of lightning talks. >> >> > >> >> > G. Wade >> >> > >> >> >> Best Regards, >> >> >> Robert Stone >> >> >> >> >> >> ----- Original Message ----- >> >> >> From: "G. Wade Johnson via Houston" >> >> >> To: "Houston Perl Mongers" >> >> >> Sent: Thursday, October 30, 2014 10:53:56 AM >> >> >> Subject: [pm-h] November Lightning talks >> >> >> >> >> >> We stand now at 3-4 people who are willing to do a lightning talk at >> >> >> the next meeting. >> >> >> >> >> >> If we can get at least 3 more, we'll have the meeting covered. Come >> on >> >> >> people, all you need is one tip, technique, module, or even function >> >> >> that you are willing to talk about for up to 5 minutes. >> >> >> >> >> >> We should be able to get a few more takers. >> >> >> >> >> >> Anyone? >> >> >> >> >> >> G. Wade >> >> > >> >> > >> >> > -- >> >> > A language that doesn't affect the way you think about programming is >> >> > not worth knowing. -- Alan >> Perlis >> >> > _______________________________________________ >> >> > Houston mailing list >> >> > Houston at pm.org >> >> > http://mail.pm.org/mailman/listinfo/houston >> >> > Website: http://houston.pm.org/ >> >> >> >> >> >> >> >> -- >> >> Todd Rinaldo >> >> todd at rinaldo.us >> >> _______________________________________________ >> >> Houston mailing list >> >> Houston at pm.org >> >> http://mail.pm.org/mailman/listinfo/houston >> >> Website: http://houston.pm.org/ >> > >> > >> >> >> >> -- >> Todd Rinaldo >> todd at rinaldo.us >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: