Kake's Friends' Journals http://use.perl.org/~Kake/journal/friends/ Kake's Friends' use Perl Journals en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T01:58:18+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 Kake's Friends' Journals http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~Kake/journal/friends/ Will parrot be the last one standing? http://use.perl.org/~nicholas/journal/40509?from=rss <p>I'm a bit behind the times here, but I read today that one of the two remaining developers of IronRuby has left Microsoft:</p><blockquote><div><p>Overall, I see a serious lack of commitment to IronRuby, and dynamic language on<nobr> <wbr></nobr>.NET in general. At the time of my leaving Tomas and myself were the only Microsoft employees working on IronRuby.</p></div></blockquote><p> <a href="http://blog.jimmy.schementi.com/2010/08/start-spreading-news-future-of-jimmy.html">http://blog.jimmy.schementi.com/2010/08/start-spreading-news-future-of-jimmy.ht<nobr>m<wbr></nobr> l</a>*</p><p>So if Microsoft's interest in dynamic languages is wilting, and Oracle's litigation scares everyone away from Java, will that leave <a href="http://parrot.org/">Parrot</a> as the last one standing?</p><p> <small>* yep, that's a formatting bug. I assume that it's not worth reporting while the site's future is unclear.</small> </p> nicholas 2010-08-20T09:37:19+00:00 journal Some you win, some you loose http://use.perl.org/~nicholas/journal/40467?from=rss <p>So, my attempt to avoid <a href="http://www.lightbluetouchpaper.org/2010/01/26/how-online-card-security-fails/">3D Secure</a> was successful, but seems to have had the unintended side effect that I <a href="http://conferences.yapceurope.org/ye2010/news/616">sold my soul for 3 days</a>.</p><p>I feel that I have to categorically deny that my product roadmap is in doubt, and that the rumours of forking me to regain control are completely unfounded, and unworthy of any further comment.<nobr> <wbr></nobr>:-)</p><p>See you all at <a href="http://conferences.yapceurope.org/ye2010/">YAPC::Europe</a> next week. Right now, there's <a href="http://conferences.yapceurope.org/ye2010/news/617">another free ticket up for grabs</a>, thanks to <a href="http://www.shadowcat.co.uk/">Shadowcat</a>.</p> nicholas 2010-07-28T19:50:24+00:00 journal Announcing CPAN Testers 2.0 http://use.perl.org/~barbie/journal/40435?from=rss <p>After 6 months of development work, following 2 years worth of design and preparation, CPAN Testers 2.0 is finally live.</p><p>With the rapid growth in CPAN Testers environments and testers over the past few years, the previous method of posting reports to a mailing list had reached a point where the scalability was no longer viable. This was recognised several years ago and discussions for a new system had already begun, with the view that reports should be submitted via HTTP.</p><p>At the Oslo QA Hackathon in 2008, David Golden and Ricardo Signes devised the Metabase, with the design work continuing at the Birmingham QA Hackathon in 2009, where David and Ricardo were able to bring others into the thought process to work through potential issues and begin initial coding. A number of releases to CPAN and Github followed, with more people taking an interest in the project.</p><p>The Metabase itself is a database framework and web API to store and search opinions from anyone about anything. In the terminology of Metabase, Users store Facts about Resources. In the Metabase world, each CPAN tester is a User. The Resource is a CPAN distribution. The Fact is the test report. Today that&#8217;s just the text of the email message, but in the future it will be structured data. The Metabase specifies data storage capabilities, but the actual database storage is pluggable, from flat files to relational databases to cloud services, which gives CPAN Testers more flexibility to evolve or scale over time.</p><p>Meanwhile the CPAN Testers community was also attracting more and more interest from people wanting to be testers themselves. As a consequence the volume of reports submitted increased each month, to the point that the perl.org mail server was struggling to deal with all the mailing lists it hosted. The cpan-testers mailing list was submitting more posts in one day than any other list submitted in a month (in a year in some cases). Robert and Ask, very reasonably, asked if the testers could throttle their submissions down to 5k report posts a day, and set a deadline of 1st March 2010 to switch off the mailing list.</p><p>David Golden quickly took on the task to envisage a project plan, and work began in earnest in December 2009. With less than 3 months to the cut-off date, there was a lot of work to do. David concentrated on the Metabase, with Barbie working on ensuring that the current cpanstats database and related websites could move to the Metabase style of reports. Despite a lot of hard work from a lot of people, we unfortunately missed the 1st March deadline. Having throttled report submissions to a more manageable level, and although not complete, the target for HTTP submissions was in sight, Robert and Ask were very understanding and agreed to keep us going a little while longer.</p><p>Throughout March and April a small group of beta testers were asked to fire their submissions at the new system. It ironed out many wrinkles and resulted in a better understanding of what we wanted to achieve. The first attempts at retrieving the reports from the Metabase into the cpanstats database began in April, and again highlighted further wrinkles that needed to be addressed. After a month of hard testing and refinement, we finally had working code that went from report submission by a tester, storage into the Metabase, retrieval into the cpanstats database and finally presentation on the CPAN Testers family of websites.</p><p>During June the process was silently switched from testing to live, allowing reports to be fed through into the live websites. Due to the ease with which the new style reporting fit into the existing system, the switch largely went unnoticed by the CPAN testers community as well as the Perl community. A considerable success.</p><p>The CPAN Testers eco-system is now considerably larger than those early days of simply submitting handwritten reports by email to a mailing list, and the work to get here has featured a cast of thousands. Specifically for CPAN Testers 2.0, the following people have contributed code, ideas and effort to the project over the past six months:</p><ul> <li>Andreas K&ouml;nig</li><li>Apocalypse</li><li>Ask Bj&oslash;rn Hansen</li><li>Barbie</li><li>Chris Williams</li><li>Dan Collins</li><li>David Cantrell</li><li>David Golden</li><li>Florian Ragwitz</li><li>H.Merijn Brand</li><li>Jon Allen</li><li>Lars D&#618;&#7431;&#7428;&#7435;&#7439;&#7457; &#36842;&#25289;&#26031;</li><li>L&eacute;on Brocard</li><li>MW487</li><li>Nigel Horne</li><li>Ricardo Signes</li><li>Richard Dawe</li><li>Robert Spier</li><li>Serguei Trouchelle</li><li>Shlomi Fish</li><li>Slaven Rezi&#263;</li></ul><p>Barbie and David would like to thank everyone for their involvement. Without these guys CPAN Testers 2.0 would not have been possible. Thanks to everyone, we can now look forward to another 10 years and more of CPAN Testers.</p><p> <a href="http://www.cpantesters.org/">CPAN Testers</a> now holds over 7.5 million test reports covering nearly 11 years worth of testing Perl distributions. There have been over 1,000 testers in that time, and every single one has helped the CPAN Testers project to be the largest single community supported testing system of any programming language. For a full list of everyone who has contributed, visit the <a href="http://stats.cpantesters.org/testers.html">CPAN Testers Leaderboard</a>. A huge thank you to everyone.</p><p>With the Metabase now online and live, we can now announce an absolute deadline to close the mailing list. This is currently set as 31st August 2010. After this date all submissions via email will be rejected, and testers will be encouraged to upgrade their testing tools to take advantage of the new HTTP submission system. Many of the high volume testers have already moved to the new system, and we expect nearly everyone else to move in the next month. We will be tailing the SMTP submissions to catch those who haven't switched, such as some of the more infrequent testers, and warn them of the deadline.</p><p>More work is planned for CPAN Testers, from further validation and administration of reports, to providing more functionality for alternative analysis and search capabilities. Please check the <a href="http://blog.cpantesters.org/">CPAN Testers Blog</a> for our regular updates.</p><p>If you'd like to become a CPAN Tester, please check the <a href="http://wiki.cpantesters.org/">CPAN Testers Wiki</a> for details about setting up a smoke testing environment, and join the <a href="http://lists.perl.org/list/cpan-testers-discuss.html">cpan-testers-discuss mailing list</a> where many of the key members of the project can offer help and advice.</p><p>You can find out more about CPAN Testers at two forthcoming conferences. David Golden will be presenting <a href="http://www.oscon.com/oscon2010/public/schedule/detail/13759">"Free QA! What FOSS can Learn from CPAN Testers"</a> at OSCON and Barbie will be presenting <a href="http://conferences.yapceurope.org/ye2010/talk/2891">"CPAN Testers 2.0 : I love it when a plan comes together"</a> at YAPC::Europe.</p><p>CPAN Testers is sponsored by Birmingham Perl Mongers, and supported by the Perl community.</p><p>You can now <a href="http://blog.cpantesters.org/press-release-ct20-20100705.pdf">download the full and complete Press Release</a> from the CPAN Testers Blog. If you have access to further IT news reporting services, please feel free to submit the Press Release to them. Please let us know if you are successful it getting it published.</p><p>Cross-posted from the <a href="http://blog.cpantesters.org/diary/83">CPAN Testers Blog</a> </p> barbie 2010-07-05T09:50:22+00:00 journal Test counts and vim http://use.perl.org/~tomhukins/journal/40425?from=rss <p>My current favourite vim trick when writing tests in Perl is CTRL-A.</p><p>My tests contain a line near the top that looks like <code>use Test::More tests =&gt; 12</code> where my test suite has 12 tests. I move my cursor over the number 12 and type <code>mc</code> which sets a mark labelled "c" for test count.</p><p>Then, if I write 5 new tests, I type <code>`c</code> (backtick c) to jump to my test count, then <code>5 CTRL-A</code> to increment my test count by 5. Finally, <code>``</code> (2 backticks) takes me back to where I was last editing.</p><p>If I remove tests, I use CTRL-V instead of CTRL-A to decrement the test count.</p> tomhukins 2010-07-01T08:05:23+00:00 journal Birmingham.pm Technical Meeting - Wednesday 26th May 2010 http://use.perl.org/~barbie/journal/40364?from=rss <code> Event:&nbsp;&nbsp;&nbsp;Birmingham.pm Technical Meeting<br> Date:&nbsp;&nbsp;&nbsp;&nbsp;Wednesday 26th May 2010<br> Times:&nbsp;&nbsp;&nbsp;from 7pm onwards (see below)<br> Venue:&nbsp;&nbsp;&nbsp;The Victoria, 48 John Bright Street, Birmingham, B1 1BN.<br> Details:&nbsp;<a href="http://birmingham.pm.org/tech/next">http://birmingham.pm.org/tech/next</a> <br> </code> <p> <b>Talks:</b> </p><ul> <li>Accelerated web development with Catalyst [Richard Wallman]</li><li>CPAN Testers 2.0 - "I love it when a plan comes together" [Barbie]</li></ul><p> <b>Details</b> </p><p>This month we welcome a returning guest speaker, Richard Wallman, who will be taking a look at how Catalyst has eased the development lifcycle of websites, from his own experiences. In addition I'll be looking at the progress of the CPAN Testers 2.0, and looking at some of the near future plans for CPAN Testers.</p><p>As per usual, this month's technical meeting will be upstairs at The Victoria. The pub is on the corner of John Bright Street and Beak Street, between the old entrance to the Alexandra Theatre and the backstage entrance. If in doubt, the main entrance to the Theatre is on the inner ring road, near the Pagoda roundabout. The pub is on the road immediately behind the main entrance. See the map link on the website if you're stuck.</p><p>As always entry is free, with no knowledge of Perl required. We'd be delighted to have you along, so feel free to invite family, friends and colleagues<nobr> <wbr></nobr>;)</p><p>Some of us should be at the venue from about 7.00pm, usually in the backroom downstairs. Order food as you get there, and we'll aim to begin talks at about 8pm. I expect talks to finish by 9.30pm, with plenty of time for discussion in the bar downstairs.</p><p> <b>Venue &amp; Directions:</b> </p><p> The Victoria, 48 John Bright Street, Birmingham, B1 1BN<br> - <a href="http://www.pubs247.co.uk/pubPages/pub.asp?id=24358&amp;from=&amp;promotion=">Pub Details</a> <br> - <a href="http://birmingham.pm.org/images/upload/victoria.jpg">Picture</a> <br> - <a href="http://www.google.co.uk/maps?hl=en&amp;client=firefox-a&amp;q=the+victoria+pub&amp;near=Birmingham&amp;radius=0.0&amp;cd=1&amp;cid=52482921,-1893619,7492755984503563963&amp;li=lmd&amp;z=14&amp;t=m">Google Map</a></p><p>The venue is approximately 5-10 minutes walk from New Street station, and about the same from the city centre. On street car parking is available see full details and directions on the <a href="http://birmingham.pm.org/tech/next">website</a>.</p><p> <b>Times:</b> </p><p>These are the rough times for the evening:</p><ul> <li>food available until 9.00pm</li><li>talks: 8.00-10.00pm</li><li>pub closes: 11.00pm</li></ul><p>Please note that beer will be consumed during all the above sessions<nobr> <wbr></nobr>;)</p> barbie 2010-05-24T19:26:06+00:00 journal Ding Dong! The Witch is Dead! http://use.perl.org/~nicholas/journal/40320?from=rss <p> <code>$ git show --stat 75108aefc8b50fcf<br> commit <a href="http://perl5.git.perl.org/perl.git/commit/75108aefc8b50fcf2f053da2df34756c7b269a1f">75108aefc8b50fcf2f053da2df34756c7b269a1f</a> <br> Author: Nicholas Clark &lt;nick@ccl4.org&gt;<br> Date: Mon Apr 19 20:35:54 2010 +0100<br> <br> Remove Switch from the core distribution. Get it from CPAN now.<br> <br> &nbsp;MANIFEST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;9&nbsp;-<br> &nbsp;Porting/Maintainers.pl&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;10&nbsp;-<br> &nbsp;dist/Switch/Changes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;121&nbsp;-------<br> &nbsp;dist/Switch/MANIFEST&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;9&nbsp;-<br> &nbsp;dist/Switch/META.yml&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;14&nbsp;-<br> &nbsp;dist/Switch/Makefile.PL&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp;-<br> &nbsp;dist/Switch/README&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;26&nbsp;--<br> &nbsp;dist/Switch/Switch.pm&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;875&nbsp;-----------------------------------------------<nobr> <wbr></nobr> <br> &nbsp;dist/Switch/t/given.t&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;272&nbsp;---------------<br> &nbsp;dist/Switch/t/nested.t&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;35&nbsp;--<br> &nbsp;dist/Switch/t/switch.t&nbsp;&nbsp;|&nbsp;&nbsp;272&nbsp;---------------<br> 11 files changed, 0 insertions(+), 1650 deletions(-)<br> </code> </p><p>It's taken about 2 years, from the original idea on how to smoothly migrate modules out, getting agreement from Andreas and Jos in the buffet queue at <a href="http://conferences.yapceurope.org/ye2008/">YAPC::Europe 2008</a>, a lot of "fun" re-ordering <code>@INC</code>, coding by Andreas, Jos, BinGOs and David Golden, and Jesse getting a 5.12.0 release out, but finally, now Ding-Dong! The Witch Is Dead.</p><p>Albeit only in <a href="http://perl5.git.perl.org/perl.git/shortlog/refs/heads/blead">blead</a>. Not even in a dev release <b>yet</b>, let alone stable. But these things will come...</p> nicholas 2010-04-21T21:10:27+00:00 journal Random thing to phase Dean http://use.perl.org/~nicholas/journal/40319?from=rss <p>It seems that I haven't seen <i>The Sound of Music</i> recently enough*. I can't remember more than a couple of lines from any of the songs, despite being confident about the tunes. Hammerstein would be frustrated. Rogers, I assume, happy enough. <a href="http://www.unixdaemon.net/">Dean Wilson</a> likely will comment that I have too much time on my hands, as seemingly surreal blog entries like this one seem to perturb him.</p><p> <small>* I don't know whether this is a bug or a feature.</small> </p> nicholas 2010-04-21T20:58:26+00:00 journal Rocket fuel review http://use.perl.org/~nicholas/journal/40294?from=rss <p>So, mostly conclusions without much justification. Of the recent consumption:</p><dl> <dt> <a href="http://www.westons-cider.co.uk/Shop/Sparkling-Ciders/Medium-Dry-Ciders/Henry-Westons-Vintage-Special-Reserve~~12x500ml/">Weston's Vintage Special Reserve</a></dt><dd>I didn't like this as much as the first time I had it. It feels like it's over doing it somehow.</dd><dt> <a href="http://www.thatcherscider.co.uk/products/singlevarietal/katy/">Thatchers' Katy</a> </dt><dd>Nicer than the Special Reserve.</dd><dt> <a href="http://www.westons-cider.co.uk/Shop/Sparkling-Ciders/Perry-and-Specialist-Ciders/Perry/">Weston's Perry</a> </dt><dd>Want more. Seriously drinkable. Seriously dangerous*.</dd><dt>Brother's Festival Cider</dt><dd>I didn't like it that much. It has a slight rough undertone, like there's a trace of scrumpy in it. But I wasn't trying to drink paint stripper (this time).</dd></dl><p>Unfortunately I have run out of Katy and Perry. There will have to be a third place drink-off between the Special Reserve and the Festival Cider. Carefully. And not on a school night.</p><p> <small>* Trumps Apple Hooch in the "danger" category. To me, Apple Hooch tastes like Appletize. Problem is that I know that Appletize is non-alcholic, and don't pace myself. Only Apple Hooch is (well, was) 5% ABV. Weston's Perry is 7.4%.</small></p> nicholas 2010-04-04T20:22:16+00:00 journal svn to mercurial? http://use.perl.org/~nicholas/journal/40285?from=rss <p>Dear lazyweb...</p><p>We're using Trac at work. It's made of <a href="http://hates-software.com/">software</a>, but some software is more equal than others. In particular, we're planning to move from subversion to mercurial, because Trac seems to work nicely (enough)* with mercurial, unlike git.</p><p>So, what's the best way to convert a 20000 revision svn repository to mercurial? We have branches, which it would be nice to convert to real branches. I have some idea how to do this for svn to git, including branches and tags, but not for mercurial.</p><p> <small>* svn <i>vs.</i> Trac - which sucks more? The ultimate cagematch.</small> </p> nicholas 2010-04-01T14:14:06+00:00 journal So we're getting Calais back? http://use.perl.org/~nicholas/journal/40189?from=rss <blockquote><div><p>The ambitious scheme follows a move by the French to cash in on the London Olympics by rebranding their region &#8216;part of Britain&#8217;.</p></div></blockquote><blockquote><div><p>The ploy has helped them land contracts with a string of foreign teams to train in France ahead of the 2012 Games.</p></div></blockquote><blockquote><div><p>Boulogne and Calais now claim that the Britain no longer stops at the white cliffs of Dover.</p></div></blockquote><blockquote><div><p>&#8216;I consider that we are the south of England,&#8217; said Mr Dupilet. &#8216;And because we're the south of England it's normal that we would associate ourselves with this extraordinary event.&#8217;</p></div></blockquote><p>Eh. This is putting pragmatism ahead of patriotism. Most unusual.</p><blockquote><div><p>Mr Dupilet said people who wanted a comfortable commute to London would be far better off basing themselves in northern France than in other parts of Britain.</p></div></blockquote><p> <b>That</b> is key, and I'm surprised that it's taken <b>this</b> long to get going. As (I think) <a href="http://astray.com/">L&#233;on</a> said 5 years ago, it's not 1h15 from Calais to London, and 1h15 back, it's <b>only a 15 minute commute to London</b>, thanks to the timezone difference. Which would really help the lifestyle. And it ties up with something Pierre Denis said. If your job allows you to live anywhere in France, you'll choose the south. Even 3% of the population being able to do this has started to massively skew property prices there. Whereas the south east of England is and has long been desirable as a location for those who commute to London, so there's no new skew as location unconstrained people increase.</p><p>Result - Kent is crowded and expensive. However, the Pas de Calias is much emptier, and much less expensive. All it needs is a commuter service. And of course:</p><blockquote><div><p>&#8216;Who wants to go to Birmingham?&#8217; he said. &#8216;In the Pas-de-Calais the French lifestyle is better. And as for the food over there, well, forget it.&#8217;</p></div></blockquote><p>From the <a href="http://www.dailymail.co.uk/news/worldnews/article-1248558/Metro-commuter-trains-Calais-Kent-running-2012-Olympics.html">Daily Fail</a>, but not the usual fayre. And if you're wondering about my choice of subject:</p><blockquote><div><p>England ruled Calais for more than 200 years after being besieged and captured by Edward III in 1347.</p></div> </blockquote> nicholas 2010-02-17T20:01:43+00:00 journal don't do this http://use.perl.org/~nicholas/journal/40186?from=rss <p>It's just occurred to me that <a href="http://groups.google.com/group/develnytprof-dev/msg/51a1c7650532210b">it might be possible</a> to <code>goto \&amp;sub_ref</code> out of a <code>BEGIN</code> block. After all, they're really subroutines at heart. So, does it work?</p><blockquote><div><p> <tt>$ cat sick.pl<br>#!perl -w<br>use strict;<br> <br>sub sick {<br>&nbsp; &nbsp; warn "Yuck!";<br>}<br> <br>BEGIN {<br>&nbsp; &nbsp; goto \&amp;sick;<br>}<br> <br>__END__<br>$ perl sick.pl<br>Yuck! at sick.pl line 5.</tt></p></div> </blockquote><p>Yep. Sure does.</p><p>Don't do this.</p><p>This is where someone points me at prior art from 10 years ago. There is, after all, nothing new under the sun.</p> nicholas 2010-02-16T18:03:08+00:00 journal Chip and Pin counterfud exposed. http://use.perl.org/~nicholas/journal/40178?from=rss <p>So, <a href="http://www.lightbluetouchpaper.org/2010/02/11/chip-and-pin-is-broken/">Chip and Pin is broken</a>.</p><p>But the fun part is in the comments. Comment 19 from the anonymous "Scrutineer" includes:</p><blockquote><div><p>The attack was never successfully executed. To be successful it had to be done against a card that was reported lost and stolen. Nowhere in the report do they assert that they reported their cards they tested as lost or stolen! All they have done is prove a genuine card can be processed with odd and inconsistent CVR and TVR settings. Hardly compelling evidence.</p></div></blockquote><p>Which <b>of course</b> misses the point - it's about the interval between theft and discovery of theft - the time that someone else has your card <b>before</b> you're able to successfully report it stolen. This attack changes the game from "the PIN protects you better than a signature - now if someone steals your card they need to guess your PIN" back to "They only need to steal your card" (and actually easier, because they don't need to learn to forge signatures).</p><p>But the best bit is comment 22:</p><blockquote><div><p>The chap &#8220;Scrutineer&#8221; who posted comment 19 seems to have forgotten to sign it!<br> Anyway he&#8217;s not very good at anonymity:<br> <br> $ whois<br> &#8230;.<br> address: APACS (Administration) Ltd<br> address: 14 Finsbury Square<br> address: London<br> address: EC2A 1BR<br> address: England, UK<br> <br> Pity APACS couldn&#8217;t get it together to put up a spokesman for Newsnight</p></div></blockquote><p>Touch&#233;</p><p>Update: It's really someone at APACS. Not an exercising in framing, taking advantage of a proxy:</p><blockquote><div><p>A spokeswoman for UK Card Association said the posts violated staff internet-use guidelines.</p></div></blockquote><p> <a href="http://www.theregister.co.uk/2010/02/24/chip_and_pin_rant/">http://www.theregister.co.uk/2010/02/24/chip_and_pin_rant/</a> </p> nicholas 2010-02-12T17:31:11+00:00 journal Not Your Father's Von Neumann Machine http://use.perl.org/~nicholas/journal/40169?from=rss <p>I really liked this talk - <a href="http://www.infoq.com/presentations/click-crash-course-modern-hardware">This Is Not Your Father's Von Neumann Machine by Cliff Click</a>*</p><p>It's well worth watching. It has really nicely presented explanations of:</p><ol> <li>How and why a modern CPU executes out of order, and why cache misses are king.</li><li>How memory architecture means that two cores can cause writes to be read out of order, and the implications (your code goes boom<code>^W</code>SEGV).</li></ol><p> <small>* Brian Goetz was co-author of the talk, and co-presented it on its first outing, but this presentation of it just has Cliff Click.</small> </p> nicholas 2010-02-08T21:00:35+00:00 journal ... unless you're a Sikh http://use.perl.org/~nicholas/journal/40166?from=rss <blockquote><div><p> <a href="http://news.bbc.co.uk/1/hi/uk/8500712.stm">Although Sikhs carrying the Kirpan are exempt from prosecution under the offensive weapons act</a></p></div> </blockquote><p>I didn't know about that one. I knew that a practising member of the Sikh faith is allowed to wear a turban instead of a helmet when riding a motorcycle. I wonder how many other such exemptions are carefully written into UK law. I need a list - Wikipedia you <a href="http://www.google.com/search?q=site%3Aen.wikipedia.org+list">fail</a> me!<nobr> <wbr></nobr>:-(</p> nicholas 2010-02-08T11:04:21+00:00 journal Memory usage http://use.perl.org/~nicholas/journal/40165?from=rss <p>There were a few things that caught my attention in <a href="http://www.ustream.tv/recorded/4409735">Facebook's presentation on HipHop</a>, their PHP to C++ converter. It sounds like it relies on static analysis of the entire program's source, hence why they can't support <code>eval</code>, <code>create_function</code> <i>etc.</i> (22m25s in). I suspect that that sort of restriction would be, um, "interesting", in a general CPAN using environment, as a lot of modules build on various low level code that encapsulates <code>eval</code>, such as the traditional way <code>h2xs</code> did constants via <code>AUTOLOAD</code>. Also, as it's different runtime from Zend, so extensions need to be ported to it (19m in).</p><p>However, the most interesting part was a an early slide about memory usage, at 6m20. Transcribed:</p><blockquote><div><p>150MB</p><blockquote><div><p> <tt>for ($i = 0; $i &lt; 1000000; $i++ ) {<br>&nbsp; &nbsp; &nbsp; $a[] = $i;<br>}</tt></p></div> </blockquote><p> 700MB</p><blockquote><div><p> <tt>for ($i = 0; $i &lt; 5000000; $i++ ) {<br>&nbsp; &nbsp; &nbsp; $a[] = $i;<br>}</tt></p></div> </blockquote><p> (700M - 150M) / 4,000,000 = 144 BYTES</p></div> </blockquote><p>Does PHP really consume 144 bytes per integer value? Is that on a 32 bit or 64 bit machine?</p><p>For comparison, here is Perl:</p><blockquote><div><p> <tt>$ perl -le 'for ($i = 0; $i &lt; 1000000; $i++ ) { push @a, $i; }; print `cat<nobr> <wbr></nobr>/proc/$$/statm` * 4 / 1024'<br>22.4765625<br>$<nobr> <wbr></nobr>./perl -le 'for ($i = 0; $i &lt; 5000000; $i++ ) { push @a, $i; }; print `cat<nobr> <wbr></nobr>/proc/$$/statm` * 4 / 1024'<br>118.44140625</tt></p></div> </blockquote><p>which works out at 25.155 bytes per integer value, or under 20% of their figure for PHP. The odd number of bytes will be the <code>malloc</code> overhead spread across all the structures allocated from the same arena.</p><p>I have no idea what the usage of Python or Ruby are like, but there's a comment in the <a href="http://code.google.com/p/unladen-swallow/wiki/ProjectPlan">Unladen Swallow wiki</a>:</p><blockquote><div><p>Here at Red Hat we use Python for a lot of things. What we've observed is that execution performance is not the main issue (although it improving it would be greatly appreciated), rather it's the memory footprint which is the problem we most often encounter. If anything can be done to reduce the massive amount of memory Python uses it would be a huge win. I would encourage you to consider memory usage as just as important a goal as execution speed if you're going to tackle optimizing CPython.</p></div></blockquote> nicholas 2010-02-07T16:20:40+00:00 journal Phished by Visa/3D insecure http://use.perl.org/~nicholas/journal/40131?from=rss <p> <a href="http://www.lightbluetouchpaper.org/2010/01/26/how-online-card-security-fails/">Steven Murdoch and Ross Anderson systematically demolish 3D secure/Verified by Visa</a>. Shame that the banks don't employ the smart people, just the security researchers and the malware authors.</p><p>Meanwhile, at work, we continue to love the banks. Such as a large UK bank who will <b>authorise</b> a Euro transaction on Maestro (which must have been with 3DS/VbV) yet only reject it at settlement time because you can only use (UK) Maestro in sterling. Another authorised a card, but then rejected it at settlement because it was Electron rather than Visa Debit, and that merchant wasn't allowed to accept Electron. I'd love to be big enough to have the clout to tell banks "if you authorise it, the <b>only</b> reason to subsequently refuse to settle it is because it was reported as missing/fraudulent in the meantime. Otherwise, you honour your authorisation", and bear the cost of (fixing) your own bugs.</p><p>And the coda on the second one - said large UK bank then admitted that its own binranges had an error. If the <b>banks</b> can't get that right, what hope has anyone else?</p> nicholas 2010-01-26T16:27:34+00:00 journal CPAN Testers Summary - December 2009 - The Wall http://use.perl.org/~barbie/journal/40083?from=rss <p>Cross-posted from the <a href="http://blog.cpantesters.org/diary/64">CPAN Testers Blog</a>.</p><p>Last month CPAN Testers was finally <a href="http://blog.cpantesters.org/diary/61">given a deadline</a> to complete the move away from SMTP to HTTP submissions for reports. Or perhaps more accurately to move away from the perl.org servers, as the amount of report submissions has been affecting support of other services to the Perl eco-system. The deadline is <b>1st March 2010</b>, which leaves just under 2 months for us to move to the CPAN Testers 2.0 infrastructure. Not very long.</p><p> <b>David Golden</b> has now put together a <a href="http://www.dagolden.com/index.php/614/project-plan-for-cpan-testers-2-0-migration/">plan of action</a>, which is being rapidly consumed and worked on. The first fruits of which has been an update to the <a href="http://www.cpantesters.org/">CPAN Testers Reports</a> site. The ID previously visible on the site, refering to a specific report, is now being hidden away. The reason for this is that the current ID refers to the NNTP ID that is used on the perl.org NNTP archive for the <i>cpan-testers</i> mailing list. This ID is specific to the SMTP submissions and includes many posts which are not valid reports. As such we will be moving to a GUID as supplied by the Metabase framework, with existing valid SMTP submitted reports being imported into the Metabase. The NNTP ID will eventually be completely replaced by the Metabase GUID across all parts of the CPAN Testers eco-system, including all the databases and websites. As such you will start to see a transition over the next few weeks.</p><p>The second change which has now been implemented, is to present the reports via the <a href="http://www.cpantesters.org/">CPAN Testers Report</a> site and not the NNTP arcive on the perl.org servers. Currently the presentation of a report (e.g. <a href="http://www.cpantesters.org/cpan/report/6524841">this report for App-Maisha</a>) is accessed via the reports pages for a distribution or an author, but will also be accessible in a similar manner across all the CPAN Testers websites. There are a large batch of early reports that are currently missing from the database, but these are being updated now, and will hopefully be complete within the next few days. If you have any issues with the way the reports are presented, including any broken or missing links from other parts of the site, please let me know.</p><p>In all this change, there is one aspect that may worry a few people, and that is the <i>"Find A Tester"</i> application. For the next few months it will still exist, but the plan is to make the Reports site more able to provide tester contact information. In addition to this the testers themselves will soon have the ability to update their own profiles. Initially this will be used to link email addresses to reports and then map those email addresses to a profile held wihtin the Metabase, but in the longer term will be used to help us manage the report submissions better.</p><p>David Golden is concentrating on the Client and Metabase parts of the action plan, and I am working on porting the websites and 'cpanstats' database. If you have any free time and would like to help out, please review the <a href="http://www.dagolden.com/index.php/614/project-plan-for-cpan-testers-2-0-migration/">action plan</a>, join the <a href="http://wiki.cpantesters.org/wiki/MailingLists"> <i>cpan-testers-discuss</i> mailing list</a>, and please let us know where you'd like to help. There is a lot of work to be done and the more people involved, the better the spread of knowledge in the longer term.</p><p>After David announced the <a href="http://www.mail-archive.com/cpan-testers-discuss@perl.org/msg01550.html">deadline last month</a>, all the testers have throttled back their smoke bots. This saw a dramatic reduction in the number of reports and page being processed, and enabled the Reports Page Builder to catchup with itself, to the point it was frequently having less than a 1000 request waiting. That changed yesterday with the changes to the website, as every page now needs to be updated. It typically takes about 5 days to build the complete site, so this quiet period will help allow the Builder to rebuild the site, without adversely affecting the currently level of report submissions. Expect the site to reach a more managable level of processing some time next week. To help monitor the progress of the builder, a new part of the Reports site, <a href="http://www.cpantesters.org/home/status">The Status Page</a>, now checks the status of all outstanding request every 15 minutes, providing a 24 hour persepctive and a week long perspective.</p><p>A new addition to the family was also launched recently, the <a href="http://analysis.cpantesters.org/">CPAN Testers Analysis</a> site, which <b>Andreas K&#246;nig</b> has been working on, to help authors identify failure trends from reports for their distributions. Read more on <a href="http://blogs.perl.org/users/andreas_konig/2010/01/so-you-got-mixed-results-from-cpantesters.html">Andreas' blog</a>.</p><p>Last month we had a total of 168 tester addresses submitting reports. The mappings this month included 22 total addresses mapped, of which 2 were for newly identified testers. Another low mapping month, due to work being done on CPAN Testers as a whole.</p><p>My thanks this month go to <b>David Golden</b> for finding the time to write an action plan, and <b>his wife</b> for allowing him the time to write it, as well as working on all the other areas involving the CPAN Testers and the Metabase<nobr> <wbr></nobr>:)</p> barbie 2010-01-07T13:54:38+00:00 journal spontaneous mysql UTF-8 encoding http://use.perl.org/~nicholas/journal/40062?from=rss <p>Dear Lazyweb,</p><p>Has anyone seen the following - perfectly happy MySQL connection, with:</p><blockquote><div><p> <tt>$VAR1 = [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_client',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'latin1'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_connection',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'latin1'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_database',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'latin1'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_filesystem',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'binary'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_results',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'latin1'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_server',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'latin1'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_set_system',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'utf8'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'character_sets_dir',<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '/usr/share/mysql/charsets/'<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ]<br>&nbsp; &nbsp; &nbsp; &nbsp; ];</tt></p></div> </blockquote><p>(<i>i.e.</i> the connection is consistently latin1), and data that is Latin 1. Yet, sometimes the server will return the characters of Latin 1 encoded as UTF-8. Same query. Same table. Nothing changed.</p><p>And, yes, I <b>know</b> that it's the server, or at least the client libraries, because I have "instrumented" my copy of DBD::mysql:</p><blockquote><div><p> <tt>--- dbdimp.c~&nbsp; &nbsp;2008-04-29 00:36:17.000000000 +0100<br>+++ dbdimp.c&nbsp; &nbsp; 2009-12-31 14:30:58.000000000 +0000<br>@@ -3489,6 +3489,18 @@<br>&nbsp; &nbsp; &nbsp;if (DBIc_TRACE_LEVEL(imp_xxh) &gt;= 2)<br>&nbsp; &nbsp; &nbsp; &nbsp;PerlIO_printf(DBILOGFP, "\t&lt;- dbd_st_fetch, %d cols\n", num_fields);<br> <br>+&nbsp; &nbsp; {<br>+&nbsp; &nbsp; &nbsp; char buffer[256];<br>+&nbsp; &nbsp; &nbsp; sprintf(buffer, "/tmp/DBD.%d", getpid());<br>+&nbsp; &nbsp; &nbsp; PerlIO *fh = PerlIO_open(buffer, "a");<br>+&nbsp; &nbsp; &nbsp; if (fh) {<br>+&nbsp; &nbsp; &nbsp; &nbsp;do_sv_dump(0, fh, av, 0, 32, 0, 0);<br>+&nbsp; &nbsp; &nbsp; &nbsp;PerlIO_close(fh);<br>+&nbsp; &nbsp; &nbsp; } else {<br>+&nbsp; &nbsp; &nbsp; &nbsp;croak("open '%s': %d", buffer, errno);<br>+&nbsp; &nbsp; &nbsp; }<br>+&nbsp; &nbsp; }<br>+<br>&nbsp; &nbsp; &nbsp;return av;<br>&nbsp; &nbsp;}<br>&nbsp; &nbsp;else<br>@@ -3601,6 +3613,17 @@<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(void) SvOK_off(sv);&nbsp;<nobr> <wbr></nobr>/*&nbsp; Field is NULL, return undef&nbsp; */<br>&nbsp; &nbsp; &nbsp;}<br> <br>+&nbsp; &nbsp; {<br>+&nbsp; &nbsp; &nbsp; char buffer[256];<br>+&nbsp; &nbsp; &nbsp; sprintf(buffer, "/tmp/DBD.%d", getpid());<br>+&nbsp; &nbsp; &nbsp; PerlIO *fh = PerlIO_open(buffer, "a");<br>+&nbsp; &nbsp; &nbsp; if (fh) {<br>+&nbsp; &nbsp; &nbsp; &nbsp;do_sv_dump(0, fh, av, 0, 32, 0, 0);<br>+&nbsp; &nbsp; &nbsp; &nbsp;PerlIO_close(fh);<br>+&nbsp; &nbsp; &nbsp; } else {<br>+&nbsp; &nbsp; &nbsp; &nbsp;croak("open '%s': %d", buffer, errno);<br>+&nbsp; &nbsp; &nbsp; }<br>+&nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp;if (DBIc_TRACE_LEVEL(imp_xxh) &gt;= 2)<br>&nbsp; &nbsp; &nbsp; &nbsp;PerlIO_printf(DBILOGFP, "\t&lt;- dbd_st_fetch, %d cols\n", num_fields);<br>&nbsp; &nbsp; &nbsp;return av;</tt></p></div> </blockquote><p> <small> <code> "mysql_st_internal_execute MYSQL_VERSION_ID 50134", DBD-mysql-4.007, DBI-1.609, perl 5.8.8, x86_64 GNU/Linux</code> </small> </p> nicholas 2009-12-31T15:38:43+00:00 journal What we should thank the X-Factor for http://use.perl.org/~nicholas/journal/40059?from=rss <p>Some people seem sufficiently upset about the X-Factor "always" being Christmas Number 1 <a href="http://news.bbc.co.uk/1/hi/entertainment/8423340.stm">that they did something about it</a>.</p><p>However, I think that we forget that we should be thankful for X-Factor number 1s - at least it stops <a href="http://en.wikipedia.org/wiki/Cliff_Richard#Works">Cliff getting it</a>. (And the wannaby trendy UK might be ashamed to know that Cliff <b>isn't</b> the hardest working pop act out there - <a href="http://news.bbc.co.uk/1/hi/entertainment/8432278.stm">it's actually The Quo</a>.)</p> nicholas 2009-12-30T09:49:13+00:00 journal Perl Oasis 2010: Schedule Posted http://use.perl.org/~perigrin/journal/40050?from=rss <p>The Perl Oasis team would like to announce <a href="http://perloasis.org/opw2010/schedule">the Schedule</a> has been posted for Perl Oasis 2010. We have 15 speakers from 3 continents giving 9 hours of talks, culimating in a keynote by the Enlightened Perl Organisation Secretary Mark Keating (mdk).</p><p>Perl Oasis is a one day workshop focusing on Modern Enlightened Perl. The workshop this year is held January 16th at the Four Points Sheraton in Orlando Florida. Workshop registration costs $20 USD for non-students, and $10 USD for students. Every one is welcome to attend regardless of race, creed, ethnicity, gender, or preference of language (There are even PHP people speaking!)</p> perigrin 2009-12-24T07:10:54+00:00 journal some vehicles serve no purpose http://use.perl.org/~nicholas/journal/40034?from=rss <p>So, this morning on the way in, the (4 wheel drive) Suzuki in front of me was trying to pull away from me at some traffic lights, but was having trouble because its right rear wheel was spinning. Me, on a <b>racing bike</b> behind it had no problems.</p><p>Some vehicles serve no purpose.</p><p> <small>Context - It snowed last night. There's a couple of inches* of snow, and unlike last time, none of the roads have been gritted. Grr.</small> </p><p> <small>* For people outside the UK, the correct unit conversion for snow is <b>1 inch</b> == <b>1 metre</b>. This will make everything make sense.</small> </p> nicholas 2009-12-18T09:30:48+00:00 journal Some things are not what they seem or what they say they are http://use.perl.org/~nicholas/journal/40009?from=rss <p>So I have a bottle. A green bottle. The label says "Aspall Crisp Draught Suffolk Cyder". Most of that is true. Apart from the <i>Draught</i> part. Clearly it's a bottle. So, um, why use that word?</p><p>But that's not actually the most disconcerting thing about it. The rather confusing thing about it is that it's made of plastic. Yes, this rather nice high-end cider is being sold in a bottle, that at first inspection seems to be rather trog. You pick up a full bottle, and you have to keep checking that it's really 500ml, not 330ml, because it doesn't feel <i>right</i> for a half litre of booze.</p><p>But I can see why they're doing it. This bottle weighs 32g. A glass bottle (admittedly technically a beer bottle, as everything else went with the recycling yesterday morning) weighs 321g. So this bottle is a tenth of the weight, and reduces the container from 40% of the total shipped weight to 6%.</p><p>Hmm, <a href="http://use.perl.org/~nicholas/journal/28396">I've been here before</a>.</p> nicholas 2009-12-11T19:55:28+00:00 journal Escaping the pantopticon http://use.perl.org/~nicholas/journal/40006?from=rss <p>It seems that if moving to Switzerland isn't feasible, another way to escape the prying eyes of Google Street View is to head underground. It seems that the spycars only <a href="http://maps.google.com/?ie=UTF8&amp;ll=51.501619,0.000122&amp;spn=0,359.948502&amp;z=15&amp;layer=c&amp;cbll=51.501696,0.000015&amp;panoid=2F3Kf42baWGeZkHqSai3bA&amp;cbp=13,141.14,,0,5">go so far down tunnels</a>. (Or one did, and never came back, so the others <a href="http://maps.google.com/?ie=UTF8&amp;ll=51.502545,-0.049353&amp;spn=0,359.948502&amp;z=15&amp;layer=c&amp;cbll=51.499027,-0.054989&amp;panoid=7-uueAY0EaEJSUJK_yj7QQ&amp;cbp=13,50.44,,0,5">avoid</a> <a href="http://maps.google.com/?ie=UTF8&amp;ll=53.406846,-2.986221&amp;spn=0,359.948502&amp;z=15&amp;layer=c&amp;cbll=53.409339,-2.982578&amp;panoid=s-G5XhVwCzOiJ7u-sFL2Jw&amp;cbp=13,267.24,,0,5">dark</a> <a href="http://maps.google.com/?ie=UTF8&amp;ll=53.408867,-3.008065&amp;spn=0,359.948502&amp;z=15&amp;layer=c&amp;cbll=53.408762,-3.030046&amp;panoid=xC8WiVypSggLIwWtsisYeA&amp;cbp=13,81.45,,0,5">places</a>). I wonder who has been waiting in tunnels and mugging black Opels.</p> nicholas 2009-12-11T10:47:27+00:00 journal Random interesting geology link http://use.perl.org/~nicholas/journal/40005?from=rss <p> <a href="http://geology.utah.gov/utahgeo/gsl/lakedivided.htm">A Lake Divided - A History of the Southern Pacific Railroad Causeway and Its Effect on Great Salt Lake, Utah</a> </p><p>Well, <i>I</i> thought that it was interesting. I assume that <a href="http://maps.google.com/?ie=UTF8&amp;ll=41.221309,-112.750754&amp;spn=0.024274,0.051498&amp;t=h&amp;z=15">this</a> and <a href="http://maps.google.com/?ie=UTF8&amp;ll=41.214692,-112.533131&amp;spn=0.024277,0.051498&amp;t=h&amp;z=15">this</a> are the ends of the 1950s causeway described in the article.</p> nicholas 2009-12-11T10:33:36+00:00 journal o&#1080;goi&#1080;g busway fu&#1080; http://use.perl.org/~nicholas/journal/40000?from=rss <p>The (expensive) farce continues - (temporarily) illiterate workmen managed to get an <a href="http://news.bbc.co.uk/1/hi/england/cambridgeshire/8405434.stm">N backwards in some busway signage</a>.</p> nicholas 2009-12-10T13:48:51+00:00 journal rotating MPEGs http://use.perl.org/~nicholas/journal/39994?from=rss <p>Dear lazyweb...</p><p>What's the best way to rotate an MPEG movie through 90&#730;?</p><p>My understanding is that JPEGs can be rotated through 90&#730; losslessly, so I assume that this can be done losslessly for MPEGs too, and I hope with a command-line tool.</p> nicholas 2009-12-09T21:30:51+00:00 journal The carbon footprint of code http://use.perl.org/~nicholas/journal/39989?from=rss <p>At <a href="http://conferences.yapceurope.org/lpw2009/">lpw2009</a> <a href="http://use.perl.org/~miyagawa">miyagawa</a> gave a(n award winning) talk about <a href="http://plackperl.org/">Plack</a>.</p><p>During it, he commented "while I was on the plane from San Francisco to Japan I hacked on<nobr> <wbr></nobr>...", and then "while I was on the plane here I hacked on<nobr> <wbr></nobr>...", and I wondered <i>what is the carbon footprint of miyagawa's modules?</i> </p><p>This seemed rather an unfair question to ask in public, but when I told it to him later in <a href="http://conferences.yapceurope.org/lpw2009/wiki?node=Saturday+Social+List">the pub*</a> he laughed. However the full question is slightly longer:</p><blockquote><div><p>What is the carbon cost of the modules' creation? What is the carbon saving from reduced dev time and reduced server load from using the modules? When is the cross over point?</p></div></blockquote><p>And, I guess, a more general abstract question - is jetting off to all these conferences we like to go to cost effective? Do we save more from what we learn than we pay to get there?</p><p> <small>* Thanks to <a href="http://www.shadowcat.co.uk/">Shadowcat</a>, <a href="http://www.antibodymx.net/">antibodyMX</a> and <a href="http://www.venda.com/pcat/careers">Venda</a> for sponsoring the food and <a href="http://twitpic.com/sizue">beer</a>. I hope they decide to do it again <a href="http://conferences.yapceurope.org/lpw2010">next year</a> </small> </p> nicholas 2009-12-08T13:47:26+00:00 journal CPAN Testers Summary - November 2009 - Abbey Road http://use.perl.org/~barbie/journal/39976?from=rss <p>Cross-posted from the <a href="http://blog.cpantesters.org/">CPAN Testers Blog</a>.</p><p>In November we reached the <a href="http://blog.cpantesters.org/diary/58">6 million reports</a> submitted mark. It's quite staggering how many reports are being submitted these days. It's now roughly 1 million reports every 3 months! So expect a 10 million reports post some time in August 2010<nobr> <wbr></nobr>:)</p><p>Now that we are producing so many reports, while there is a desire to get more reports from less tested operating systems, Tim Bunce recently highlighted his interest in getting reports that included a diverse set of Perl configuration flags, in particular regarding how Perl was compiled (with and without threads, etc). At the moment the CPAN Testers Statistics database doesn't include that information, but the Metabase that is behind CPAN Testers 2.0 will. In addition the Metabase will be able to be queried to glean the reports that contain a specific set of flags, etc. At the moment there are quite a few different setups testing on the top few operating systems being tested. While some authors see these as just repeated results, in some cases they provide slight differences in the test results. This is particularly what Tim was interested in for <a href="http://search.cpan.org/dist/Devel-NYTProf">Devel-NYTProf</a>. Hopefully we'll be closer to getting more of that information more readily available soon. In the meantime, if you do want to get involved with CPAN Testers, and only have a traditional operating system available, take a look at some of the reports posted by current testers for the same platform, and see what different setups you could provide.</p><p>In the CPAN Testers namespace, CPAN has seen a new upload, <a href="http://search.cpan.org/dist/CPAN-Testers-Data-Addresses">CPAN-Testers-Data-Addresses</a>. This release will be the new way for me to manage the tester address mappings. To begin with the testing is being run stand-alone, but it will be shortly be integrated to the <a href="http://stats.cpantesters.org/">CPAN Testers Statistics</a> website. From there it will also be integrated into the new site that is hopefully being launched early next year, which will allow testers to register their testing addresses (among other things). More uploads to the CPAN Testers namespace are being worked on, in particular ones to provide a more programmatic access to the CPAN Testers APIs. More news on those hopefully next month.</p><p>This weekend sees the annual <a href="http://conferences.yapceurope.org/lpw2009/">London Perl Workshop</a>. Featured in the schedule is <a href="http://search.cpan.org/~bingos">Chris 'BinGOs' Williams</a>' talk "<a href="http://conferences.yapceurope.org/lpw2009/talk/2433">Rough Guide to CPAN Testing</a>". If you are a CPAN Tester and are planning to attend the event, please come along and say hello<nobr> <wbr></nobr>:)</p><p>Last month we had a total of 164 tester addresses submitting reports. The mappings this month included 17 total addresses mapped, of which 7 were for newly identified testers. A bit of a low mapping month, mostly due to my attention being elsewhere. With the new mapping system hopefully this will become a little more streamlined for next year.</p><p>Until next time, happy Christmas testing<nobr> <wbr></nobr>:)</p> barbie 2009-12-04T10:52:07+00:00 journal Spiteful spam http://use.perl.org/~petdance/journal/39969?from=rss <p> I know that a lot of people are moving their blogs over to <a href="http://blogs.perl.org/">http://blogs.perl.org/</a>, leaving <a href="http://use.perl.org/">http://use.perl.org/</a> behind. Part of the frustration is that Chris Nandor, Pudge, hasn't done much to modernize use.perl.org, but hey, it's Pudge's choice, and he runs the site, and we're all here by grace of him running it. Beggars and choosers, y'know. If you're frustrated with a Perl news site, you can go <a href="http://perlbuzz.com/">start your own</a>. </p><p> So certainly, I think this spam I just received is just out of line.</p><blockquote><div><p> <tt>From: GreatestColonHealth &lt;Kevin...@...by.com&gt;<br>Subject: With This Astounding Cleanser You May Eliminate Pudge</tt></p></div> </blockquote><p>That's just nasty!</p> petdance 2009-12-01T16:53:59+00:00 journal Sun reinvented Zimki and it still failed http://use.perl.org/~nicholas/journal/39955?from=rss <p>I'm a <i>bit</i> slow on reporting this one, but no-one seems to have made the connection...</p><p>In 2005ish, Fotango started developing something that "evolved" into Zimki, a hosted "Software As A Service" offering, allowing you to write applications in server-side Javascript. The plan (or at least, one iteration of the plan) was to trial it as "free", but later on charge for it (or at least, above a low "free" threshold). It never seemed to get that many actual users, and folded when Canon Europe folded Fotango.</p><p>Of course, <b>nothing</b> is left online describing it, other than a <a href="http://radar.oreilly.com/2006/09/zimki-hosted-javascript-enviro.html">O'Reilly radar post</a>.</p><p>So, it seems, Sun re-invented the concept, and called it Zembly. It seems to be incredibly similar - <a href="http://java.sun.com/javaone/2009/articles/gen_zembly.jsp">SaaS, browser-based, server side JavaScript, scaling catered for, two syllable name starting with Z</a>. Curiously, they <b>did</b> find a credible pitch for <b>who</b> might want to use it - people writing applications for social networking sites. This is actually a really sensible target - from what I remember reading, social networking apps can explode into <a href="http://www.ccl4.org/~nick/I/Keep%20shovelling%20carrots.mpeg">resource-devouring monsters</a>, so having all your insane scaling problems handled by someone else with experience seems like a big win. Heck, they even <a href="http://radar.oreilly.com/2008/06/zembly-provides-social-context.html">even got a Radar pitch</a>.</p><p>Only <a href="http://zembly.com/static/suspend/index.html">they too are shutting down</a> [that link likely will break soon after 30th November, try <a href="http://www.techcrunch.com/2009/11/10/sun-kills-zembly/">TechCrunch</a>]. Is there any money in this? Or at least, is there any <b>profit</b>, at this level of abstraction?</p> nicholas 2009-11-27T11:36:11+00:00 journal