2shortplanks's Friends' Journals http://use.perl.org/~2shortplanks/journal/friends/ 2shortplanks'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-25T02:02:08+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 2shortplanks's Friends' Journals http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~2shortplanks/journal/friends/ use Perl; Shutting Down Indefinitely http://use.perl.org/~pudge/journal/40525?from=rss <p>See <a href="http://use.perl.org/article.pl?sid=10/09/08/2053239">here</a>.</p> pudge 2010-09-08T22:07:47+00:00 useperl use Perl; http://use.perl.org/~pudge/journal/40493?from=rss <p>I am no longer working for Slashdot/Geeknet as of September 30. I am actively seeking new employment. Unless you want to hire me, you don't need to care, unless you also care about <a href="http://use.perl.org/">use Perl;</a>, because it has been generously hosted by Geeknet since I started the site over 10 years ago, shortly after I was hired by Andover.Net to work on Slashdot.</p><p>Long story short, I have not done much with the site in recent years, so my options at this point are to do nothing; migrate the site to a new server and keep it running as-is; or take the data and do something with it on a new site. Or something I haven't thought of.</p><p>I am hereby accepting proposals for what to do with use Perl;. In short, I would like to donate it to someone who will give it a good home. If you're interested, give me your best pitch.</p><p>Cross-posted on <a href="http://pudge.net/glob/2010/08/use-perl.html">&lt;pudge/*&gt;</a>.</p> pudge 2010-08-11T23:34:11+00:00 journal Matt Trout, aka mst, is insane http://use.perl.org/~pudge/journal/40492?from=rss <p>Wow. I occasionally, but not too often, go into #perl. Very busy with family and life. So I go in today, and for no reason, <a href="http://www.trout.me.uk/">mst</a> bans me and tells me to not come back.</p><p>What's up with him being such an irrational dick?</p> pudge 2010-08-11T16:41:54+00:00 journal Summary of Celtics vs. Lakers NBA Finals History http://use.perl.org/~pudge/journal/40370?from=rss <p>There have been 60 NBA Finals. The Boston Celtics have won 17, and the Minneapolis/Los Angeles Lakers have won 15, which amounts to those teams winning more than half of all NBA Finals. This year, they play each other in the Finals again, making it 33 champions out of 61 being either the Lakers or the Celtics.</p><p>Additionally, 39 of the 61 Finals have included either the Lakers or the Celtics. Including this year, the Celtics and Lakers have played each other in the Finals a whopping 12 times (just under one-fifth of all Finals have been these two teams).</p><p>The Celtics have made 21 total Finals appearances, so have faced the Lakers more than half of the times they've been in the Finals. The Lakers have made 30 Finals appearances, facing the Celtics in two-fifths of those.</p><p>The Celtics won nine of those against the Lakers, which accounts for more than half of all their 17 championships. The Lakers' two victories over the Celtics came after the Celtics won their first eight encounters.</p><p>The longest streak without either team in the Finals was eight years from '92-'99. The longest streak <b>with</b> either the Lakers or Celtics in the Finals was 10 years, done twice (from '57-'66, in which the Celtics appears all 10 years, and the Lakers five of those; and '80-'89, in which the Lakers appeared eight times, the Celtics five).</p><p>The longest streak for one team appearing in the Finals was, as noted, Boston, in the 10 years from '57-'66. Boston won nine of those 10 years, including eight in a row (the longest winning streak from any one team) from '59-'66, and also won 10 in 12 years, from '57-'69.</p><p>The Lakers' longest appearance streak is "only" four, from '82-'85, winning twice; but they have also appeared three times in a row five additional times (including the current three-year streak). In two of those, they won all three years; in one, they lost all three.</p><p>The only other team to "threepeat" was the Bulls, winning three years in a row twice in eight years ('91-'98). No other team but the Celtics and Lakers have had four consecutive appearances. The only other team to have three consecutive appearances was the Knicks, losing all three from '51-'53.</p><p>The 2010 NBA Finals begin in Los Angeles on Thursday.</p><p>Cross-posted on <a href="http://pudge.net/glob/2010/05/summary-of-celtics-vs-lakers-nba-finals-history.html">&lt;pudge/*&gt;</a>.</p> pudge 2010-05-30T05:25:50+00:00 journal Unique http://use.perl.org/~pudge/journal/40329?from=rss <p>I wonder how long it will be before people start just putting together random letters for names of companies, bands, and so on, so they can be unique in Google searches.</p><blockquote><div><p>Your search - fobhwueufg8 - did not match any documents.</p></div></blockquote><p>^^ my new band name</p><p>(Hm, "Did Not Match Any Documents" would be a fun band name. Or the name of the debut album of the band fobhwueufg8.)</p><p>Cross-posted on <a href="http://pudge.net/glob/2010/04/unique.html">&lt;pudge/*&gt;</a>.</p> pudge 2010-04-26T17:45:28+00:00 journal My Slashroulette Videos http://use.perl.org/~pudge/journal/40290?from=rss <p>Today Slashdot did a spoof of Chatroulette, that we called Slashroulette. We prerecorded videos of ourselves and others. Here's five of the six I did (the sixth was me tuning the guitar, I didn't post that one on YouTube): <a href="http://www.youtube.com/watch?v=qHwz6sG37_Q">video 1</a>, <a href="http://www.youtube.com/watch?v=IQYgAxVo050">video 2</a>, <a href="http://www.youtube.com/watch?v=IlJBlObJnJY">video 3</a>, <a href="http://www.youtube.com/watch?v=GWxewYtRc48">video 4</a>, <a href="http://www.youtube.com/watch?v=TkVisbPXHVo">video 5</a>.</p><p>Cross-posted on <a href="http://pudge.net/glob/2010/04/my-slashroulette-videos.html">&lt;pudge/*&gt;</a>.</p> pudge 2010-04-02T05:15:16+00:00 journal My Netgear Router is Dumber Than It Thinks It Is http://use.perl.org/~pudge/journal/40163?from=rss <p>I upgraded the firmware on my Netgear router today and it wouldn't let me use the LAN IP I usually use for it,, because it thinks my ISP uses that subnet, because I set the router to read from my own internal DNS. Took me awhile to figure out <b>why</b> it thought what it did, because it didn't occur to me that it would care what DNS addresses I gave it.</p><p>Cross-posted on <a href="http://pudge.net/glob/2010/02/my-netgear-router-is-dumber-than-it-thinks-it-is.html">&lt;pudge/*&gt;</a>.</p> pudge 2010-02-07T02:09:27+00:00 journal Franchise Tag Whiners http://use.perl.org/~pudge/journal/40146?from=rss <p>There's a long line of players in the NFL who claim that it is a personal offense when their teams place the franchise tag on them.</p><p>These players are big fat babies.</p><p>The players agreed to the franchise tag for the owners, as a compromise. The players take advantage of everything available to them under the contract; why shouldn't the owners do the same?</p><p>Stop crying. Stop whining. Sure, you don't like it, but so what? Grow up. Those are the rules that you agreed to.</p> pudge 2010-01-30T18:52:27+00:00 journal ah, dreams... http://use.perl.org/~Matts/journal/40130?from=rss <p>I just woke from a dream where it was rjbs' birthday and we got him an onion cake. Only the person who made the cake misunderstood, and instead of a cake shaped like an onion he cooked it WITH onions in it.</p><p>Bizarro.</p> Matts 2010-01-26T10:31:17+00:00 journal Time::Piece test failures on Win32 http://use.perl.org/~Matts/journal/40129?from=rss <p>Can someone with Time::Piece test failures on Win32 please contact me offlist? I have a proposed patch I'd like to test, but no Win32 perl to test it on.</p> Matts 2010-01-25T23:23:53+00:00 journal Moving 32-bit Intel Perl to Mac OS X 10.6 http://use.perl.org/~pudge/journal/40097?from=rss <p>Dear Google,</p><p>When you move a 32-bit x86 perl installation to a 64-bit Mac OS X 10.6 environment, you should edit $ARCH/Config_heavy.pl and add "-arch i386" to lddlflags, ldflags, and ccflags. The compiler and tools in Mac OS X 10.6 assume 64 bits unless you explicitly tell it otherwise, but some 32-bit installs don't bother putting in an -arch flag, because at the time it wasn't necessary.</p><p>Cross-posted on <a href="http://pudge.net/glob/2010/01/moving-32bit-intel-perl-to-mac-os-x-106.html">&lt;pudge/*&gt;</a>.</p> pudge 2010-01-12T17:39:58+00:00 journal Warning compiling perl stuff on Snow Leopard http://use.perl.org/~Matts/journal/40075?from=rss <p>I've searched but can't find any reference to this...</p><p>Compiling IO::KQueue on Snow Leopard I get the following warning:</p><blockquote><div><p> <tt>KQueue.xs: In function 'XS_IO__KQueue_kevent':<br>KQueue.xs:71: warning: format not a string literal and no format arguments</tt></p></div> </blockquote><p>Yet that line is just:</p><blockquote><div><p> <tt>&nbsp; &nbsp; Newxz(ke, max_events, struct kevent);</tt></p></div> </blockquote><p>Which seems to me pretty standard perl, and no format strings involved (though Newxz expands quite a few macros).</p> Matts 2010-01-04T22:13:57+00:00 journal Perl 5.11.2 http://use.perl.org/~acme/journal/39925?from=rss <div><p>&#160; The streets were pretty quiet, which was nice. They&#39;re always quiet here<br>&#160; at that time: you have to be wearing a black jacket to be out on the<br> &#160; streets between seven and nine in the evening, and not many people in the<br> &#160; area have black jackets. It&#39;s just one of those things. I currently live<br> &#160; in Colour Neighbourhood, which is for people who are heavily into colour.<br> &#160; All the streets and buildings are set for instant colourmatch: as you<br> &#160; walk down the road they change hue to offset whatever you&#39;re wearing.<br> &#160; When the streets are busy it&#39;s kind of intense, and anyone prone to<br> &#160; epileptic seizures isn&#39;t allowed to live in the Neighbourhood, however<br> &#160; much they&#39;re into colour.<br> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;- Michael Marshall Smith, &quot;Only Forward&quot; </p><p> It gives me great pleasure to announce the release of Perl 5.11.2. </p><p> This is the third DEVELOPMENT release in the 5.11.x series leading to a stable release of Perl 5.12.0. You can find a list of high-profile changes in this release in the file &quot;perl5112delta.pod&quot; inside the distribution. </p><p> You can download the 5.11.2 release from: </p><p>&#160;&#160; <a href="http://search.cpan.org/~lbrocard/perl-5.11.2/">http://search.cpan.org/~lbrocard/perl-5.11.2/</a> </p><p> The release&#39;s SHA1 signatures are: </p><p>&#160;&#160; 2988906609ab7eb00453615e420e47ec410e0077 &#160;perl-5.11.2.tar.gz</p><div><p>&#160;&#160; 0014442fdd0492444e1102e1a80089b6a4649682 &#160;perl-5.11.2.tar.bz2<br> <br> We welcome your feedback on this release. If you discover issues with Perl 5.11.2, please use the &#39;perlbug&#39; tool included in this distribution to report them. If Perl 5.11.2 works well for you, please use the &#39;perlthanks&#39; tool included with this distribution to tell the all-volunteer development team how much you appreciate their work.<br> <br> If you write software in Perl, it is particularly important that you test your software against development releases. While we strive to maintain source compatibility with prior stable versions of Perl wherever possible, it is always possible that a well-intentioned change can have unexpected consequences. If you spot a change in a development version which breaks your code, it&#39;s much more likely that we will be able to fix it before the next stable release. If you only test your code against stable releases of Perl, it may not be possible to undo a backwards-incompatible change which breaks your code.<br> <br> Notable changes in this release:</p><ul> <li> It is now possible to overload the C operator</li><li> Extension modules can now cleanly hook into the Perl parser to define new kinds of keyword-headed expression and compound statement</li><li> The lowest layers of the lexer and parts of the pad system now have C APIs available to XS extensions</li><li> Use of C&lt;:=&gt; to mean an empty attribute list is now deprecated</li></ul><p> Perl 5.11.2 represents approximately 3 weeks development since Perl 5.11.1 and contains 29,992 lines of changes across 458 files from 38 authors and committers:<br> <br> Abhijit Menon-Sen, Abigail, Ben Morrow, Bo Borgerson, Brad Gilbert, Bram, Chris Williams, Craig A. Berry, Daniel Frederick Crisman, Dave Rolsky, David E. Wheeler, David Golden, Eric Brine, Father Chrysostomos, Frank Wiegand, Gerard Goossen, Gisle Aas, Graham Barr, Harmen, H.Merijn Brand, Jan Dubois, Jerry D. Hedden, Jesse Vincent, Karl Williamson, Kevin Ryde, Leon Brocard, Nicholas Clark, Paul Marquess, Philippe Bruhat, Rafael Garcia-Suarez, Sisyphus, Steffen Mueller, Steve Hay, Steve Peters, Vincent Pit, Yuval Kogman, Yves Orton, and Zefram.<br> <br> Many of the changes included in this version originated in the CPAN modules included in Perl&#39;s core. We&#39;re grateful to the entire CPAN community for helping Perl to flourish.<br> <br> Jesse Vincent or a delegate will release Perl 5.11.3 on December 20, 2009. Ricardo Signes will release Perl 5.11.4 on January 20, 2010. Steve Hay will release Perl 5.11.5 on February 20, 2010.<br> <br> Regards, L&#233;on</p></div></div> acme 2009-11-21T08:56:15+00:00 journal OOPSLA 2009 http://use.perl.org/~acme/journal/39846?from=rss <div><p> <a href="http://www.oopsla.org/oopsla2009/">OOPSLA 2009</a> happened a few weeks ago. OOPSLA stands for Object-Oriented Programming, Systems, Languages &amp; Applications and I&#39;ve always been quite interested in the conference. The proceedings of the conference aren&#39;t put online, but I&#39;ve managed to find two interesting papers:</p><p> <a href="http://www.eecs.harvard.edu/~malvika/ons00025-bacon.pdf">A Market-Based Approach to Software Evolution</a> (PDF) tries to imagine an open market which is targetted around fixing bugs and improving software. It&#39;s quite interesting as it&#39;s quite similar to a proposal from Nicholas on <a href="http://www.nntp.perl.org/group/perl.perl5.porters/2009/05/msg146785.html">spending other people&#39;s money</a>. The authors point out many potential flaws.</p><p> <a href="http://dirkriehle.com/wp-content/uploads/2009/08/oni0017-arafat.pdf">The Commenting Practice of Open Source</a> (PDF) analyses projects on <a href="http://www.ohloh.net/">Ohloh</a> and tries to spot commenting trends. &quot;We find that comment density is independent of team and project size&quot;, but they find that it varies from language to language. &quot;Java has the highest mean of comment lines per source lines at.. one comment line for three source code lines&quot; and &quot;Perl has the lowest mean with.. one comment line for nine source code lines&quot;. They list as future work to find out why this might be the case.</p></div> acme 2009-11-05T08:41:53+00:00 journal Games http://use.perl.org/~acme/journal/39771?from=rss <div><p>A few weeks ago I was up in the hills about Geneva reminiscing with my sister about all the things we used to enjoy when we were smaller. When I was younger I used to really enjoy programming computer games, first on my 48K Spectrum and then later on in <a href="http://en.wikipedia.org/wiki/STOS_BASIC">STOS BASIC</a> and then <a href="http://en.wikipedia.org/wiki/68000">68000</a> assembly language on my Atari ST.</p><p>I haven&#39;t programmed a game in a very long time. However, I&#39;m an avid gamer, playing games while travelling on my DS and at home on my Xbox 360. I almost enjoy reading <a href="http://www.edge-online.com/">Edge magazine</a> more than I like playing games.</p><p>At YAPC::Europe in Lisbon, Domm pointed out that the <a href="http://search.cpan.org/dist/SDL_Perl/">Perl SDL project</a> (which wraps the <a href="http://www.libsdl.org/">Simple DirectMedia Layer</a>) was languishing and that we should all programs games in Perl.</p><p>A few months later I got around to playing with SDL and made a simple <a href="http://en.wikipedia.org/wiki/Breakout_clones">breakout clone</a> which I styled after <a href="http://www.worldofspectrum.org/infoseekid.cgi?id=0000472">Batty</a> on the Spectrum, but with gravity. It was fairly easy to program, but there was a lot to grasp. The Perl libraries are a mix between a Perl interface to SDL and a Perlish interface to SDL, with limited documentation, tests and examples.</p><p>Of course this is where I join the #sdl IRC channel on irc.perl.org and start discussing with the other hackers (kthakore, garu, nothingmuch). We decide on a major redesign to split the project into two sections: the main code will just wrap SDL and then there will be another layer which makes it easier to use. I&#39;ve started writing a bunch of XS on the <a href="http://github.com/kthakore/SDL_perl/tree/redesign">redesign branch</a> of the repository while trying to keep <a href="http://github.com/acme/bouncy">Bouncy (my game)</a> still working. There is a bunch of work still to do but we&#39;ve made a good start. This is what Bouncy looks like at the moment:<br> <br> <a href="http://www.youtube.com/watch?v=W0wdkKB0lvg">[YouTube video]</a><br> <br> The physics are pretty fun and it runs pretty fast (1800 frames/second). I'm taking a little break as I'm off to Taipei...</p></div> acme 2009-10-19T07:34:03+00:00 journal Apaches Hanging http://use.perl.org/~pudge/journal/39763?from=rss <p>When I try to print high-bit data to STDERR from mod_perl 1.x and perl 5.10.0 -- sometimes, not always -- the process hangs and sucks up 100% CPU. I wonder if updating perl to 5.10.1 might help.</p><p>Cross-posted on <a href="http://pudge.net/glob/2009/10/apaches-hanging.html">&lt;pudge/*&gt;</a>.</p> pudge 2009-10-16T22:30:03+00:00 journal DirecTV, Versus, Center Ice Update http://use.perl.org/~pudge/journal/39725?from=rss <p>We called up DirecTV to complain about a lack of Versus (which means I don't get all the Bruins games, even though I purchased Center Ice) and they refunded $50 to my account, and gave me the sports pack (including NESN) for six months for free.</p><p>I still want Versus though.</p><p>Cross-posted on <a href="http://pudge.net/glob/2009/10/directv-versus-center-ice-update.html">&lt;pudge/*&gt;</a>.</p> pudge 2009-10-06T22:54:09+00:00 journal Mac-Carbon-0.82 Released http://use.perl.org/~pudge/journal/39719?from=rss <p>Mac-Carbon-0.82 has been released. Download it from <a href="http://www.cpan.org/authors/id/CNANDOR">the CPAN</a> or <a href="http://sourceforge.net/project/showfiles.php?group_id=7940">SF.net</a>.</p><p>(Note: it may take time for the release to propagate to the various download mirrors.)<br>Changes:</p><blockquote><div><p> <tt>* v0.82, 4 October 2009<br> &nbsp; <br>&nbsp; More Makefile.PL fixes.&nbsp; Try to catch 64-bit-only perls.&nbsp; Fix bug introduced<br>&nbsp; in 0.81 for older gcc 4's.</tt></p></div> </blockquote><p> <em>Posted using <a href="http://search.cpan.org/dist/release/">release</a> by brian d foy.</em></p> pudge 2009-10-06T04:50:41+00:00 journal Mac-Carbon 0.81 Released http://use.perl.org/~pudge/journal/39680?from=rss <p>Mac-Carbon-0.81 has been released. Download it from <a href="http://www.cpan.org/authors/id/cnandor">the CPAN</a>.</p><p>(Note: it may take time for the release to propagate to the various download mirrors.)</p><p>Changes:</p><blockquote><div><p> <tt>* v0.81, 26 September 2009<br> &nbsp; <br>&nbsp; Fixes for building on 64-bit perls and Mac OS X 10.6.&nbsp; Build should now work<br>&nbsp; on any perl, whether self-built or system perl (unless your perl is 64-bit<br>&nbsp; only), and tests should run under 32-bit mode.<br> &nbsp; <br>&nbsp; Other miscellaneous test fixes.</tt></p></div> </blockquote> pudge 2009-09-27T05:25:09+00:00 journal Mac-Carbon Makefile.PL 64-bit Check http://use.perl.org/~pudge/journal/39641?from=rss <p>I should add a check for 64-bit mode to the Mac-Carbon Makefile.PL. This will save a lot of hassle if I can give a nice error message, with a link to more information, up front.</p><p>I can't test this easily, though, since I don't yet have a 10.6 64-bit box (it's only on an original MacBook Pro, which is 32 bits). I will upgrade to Snow Leopard soon. I could try to make my own perl before then, but I don't know it would work the same way. So. If you want to help, now's your chance!</p><p>First thought is Config, but we all know Config can be flaky. For example, on my 32-bit box:</p><blockquote><div><p> <tt>$ perl -V:use64bitall<br>use64bitall='define';</tt></p></div> </blockquote><p>Doesn't really help. I don't know if <tt>$Config{intsize}</tt> would be <tt>8</tt> on a 64-bit perl. It's <tt>4</tt> on this 10.6 32-bit perl. I do know you should be able to call perl with <tt>VERSIONER_PERL_PREFER_32_BIT=yes</tt> to give you 32-bit perl, instead of the default 64-bit perl.</p><p>So anyway<nobr> <wbr></nobr>... if you can figure out a way to know, under 10.6 stock perl, if I am running under 32-bit perl or 64-bit perl, let me know.</p> pudge 2009-09-17T18:01:27+00:00 journal Mac-Carbon, and Related Things http://use.perl.org/~pudge/journal/39640?from=rss <p>Please do test the aforementioned Mac-Carbon-0.80, and report it on <a href="http://rt.cpan.org/">RT</a> if there's a problem. Please note that <a href="http://use.perl.org/~pudge/journal/39596">you MUST build under 32-bit mode</a>, which is especially important if you are using the standard perl that comes with Mac OS X 10.6.</p><p>I've also got new versions of Mac::AppleEvents::Simple, Mac::OSA::Simple, and Mac::Glue coming out soon. I want to get Mac-Carbon well-tested out there first, though.</p> pudge 2009-09-17T15:14:56+00:00 journal Mac-Carbon 0.80 Released http://use.perl.org/~pudge/journal/39637?from=rss <p>Mac-Carbon-0.80 has been released. Download it from <a href="http://www.cpan.org/authors/id/cnandor">the CPAN</a>.</p><p>(Note: it may take time for the release to propagate to the various download mirrors.)</p><p>Changes:</p><blockquote><div><p> <tt>* v0.80, 16 September 2009<br> &nbsp; <br>&nbsp; Add notes for 64-bit perl<br> &nbsp; <br>&nbsp; Bump all the version numbers<br> &nbsp; <br>&nbsp; Fix a bunch of tests (nothing major, just make them work better)<br> &nbsp; <br>&nbsp; Fix sound-env-var checking code for tests (no more sound tests<br>&nbsp; unless you ask for them with MAC_CARBON_SOUND, which was in the<br>&nbsp; last version, but the logic was broken)<br> &nbsp; <br>&nbsp; Make CFStringRef typemap better<br> &nbsp; <br>&nbsp; Remove high-bit characters from source files<br> &nbsp; <br>&nbsp; Add new system version gestalt constants<br> &nbsp; <br>&nbsp; Fix leak in Mac::Processes and Mac::Speech</tt></p></div> </blockquote> pudge 2009-09-17T07:19:21+00:00 journal Perl/iX for HP e3000 MPE http://use.perl.org/~acme/journal/39628?from=rss <div><p>I&#39;m trying to update various URLs in the Perl source code. Regarding the <a href="http://perl5.git.perl.org/perl.git/blob_plain/HEAD:/README.mpeix">Perl/iX for HP e3000 MPE README</a>.</p><p>It&#39;s very out of date now and most of the URLs are broken. I&#39;ve contacted Mark Bixby, but he no longer has any involvement with the MPE/iX OS or that particular Perl port.</p><p>Does anyone run Perl on this platform? Does anyone build Perl on this platform? If so, please contact me and we&#39;ll try and update the details. Cheers!</p></div> acme 2009-09-15T13:54:28+00:00 journal Mac-Carbon Modules and Mac OS X 10.6 http://use.perl.org/~pudge/journal/39596?from=rss <p>The default perl for Mac OS X 10.6 runs in 64-bit mode by default. The problem for <a href="http://search.cpan.org/~cnandor/Mac-Carbon/">Mac-Carbon</a> is that significant portions of the Carbon API are unavailable to 64-bit programs on Mac OS X.</p><p>Perhaps a subset of the API could be made available to a 64-bit perl (for more information see Apple's "<a href="http://developer.apple.com/mac/library/documentation/Carbon/Conceptual/Carbon64BitGuide/Introduction/Introduction.html">64-Bit Guide for Carbon Developers</a>"), and might in the future, but it's simpler at this point to just run perl in 32-bit mode.</p><p>There's a few ways to do this. Most obviously, you could simply build a 32-bit perl. I always build my own perl, and I just compile it for 32 bits.</p><p>There's also two methods mentioned in L under Mac OS X 10.6: you can set an environment variable, or set a system preference. For the environment use:</p><blockquote><div><p> <tt>VERSIONER_PERL_PREFER_32_BIT=yes</tt></p></div> </blockquote><p>And for the system preference, execute this line in your terminal:</p><blockquote><div><p> <tt>defaults write com.apple.versioner.perl Prefer-32-Bit -bool yes</tt></p></div> </blockquote><p>Cross-posted on <a href="http://pudge.net/glob/2009/09/maccarbon-modules-and-mac-os-x-106.html">&lt;pudge/*&gt;</a>.</p> pudge 2009-09-08T05:54:34+00:00 journal Happy Labor Day http://use.perl.org/~pudge/journal/39594?from=rss <p>I plowed through a bunch of bugs for Mac-Carbon today. And I found an unfixed endian bug in Mac::Glue.</p><p>And I did it without the help of a union!</p><p>I hope to get this work done before September 9th, after which my time will belong to The Beatles Rock Band for awhile. I might not release by then, but the bulk of the work should be there.</p><p>Thanks to everyone who filed reports, and their subsequent patience. I've gone through the process many open source developers before me have<nobr> <wbr></nobr>... as we get older and have more obligations, some of our public release work slows down. A lot. Thankfully most of the bugs are pretty superficial; unfortunately, being related to tests, they will prevented some people from getting the code installed.</p><p>I've promised myself I won't waste my time feeling guilty about it, but I apologize for the inconvenience.</p><p>(And no, Mac-Carbon won't work on 64-bit perl, but I will document the reasons why, and various workarounds.)</p><p>Cross-posted on <a href="http://pudge.net/glob/2009/09/happy-labor-day.html">&lt;pudge/*&gt;</a>.</p> pudge 2009-09-07T15:01:43+00:00 journal Pudge's Picks 2009 http://use.perl.org/~pudge/journal/39512?from=rss <p>Please, if you wish, go to join Pudge's Picks for 2009, <a href="http://games.espn.go.com/pigskin/frontpage">hosted on ESPN.com.</a></p><p>After logging in (create a new login if you don't have one), create an entry (each user can have one to three entries).</p><p>Then for each entry, click Join a Group. Type in "Pudge's Picks" in the search field, then click on Pudge's Picks when it shows up in the list. You can also go directly <a href="http://games.espn.go.com/pigskin/en/group?groupID=8026">to the group page</a>, instead.</p><p>The password to join is "longhorn."</p><p>Invite others, if you wish.</p><p>Cross-posted on <a href="http://pudge.net/glob/2009/08/pudges-picks-2009.html">&lt;pudge/*&gt;</a>.</p> pudge 2009-08-23T01:42:32+00:00 journal iPhone Hacking http://use.perl.org/~pudge/journal/39496?from=rss <p>I got me a used iPhone. In playing with it, I installed <a href="http://www.pcalc.com/itunes_store_link/pcalc_lite">PCalc Lite</a>, as I am a longtime fan of PCalc (and <a href="http://www.dragthing.com/">DragThing</a>, by the same author, James Thomson). I liked it and so I got the <a href="http://www.pcalc.com/itunes_store_link/pcalc">full PCalc</a>, which has a lot more features, including a bunch of different themes.</p><p>Getting into hacking the iPhone, I thought I'd try to make a theme. You can't do this, I suppose, for now, unless you jailbreak the iPhone, as the themes are stored in the app and that breaks Apple's code signature stuff. But the same themes work on PCalc for the Mac, too. So I gave it a shot. Without further ado, my <a href="http://www.flickr.com/photos/pudge/3837421393/">Slashdot theme for PCalc</a>. You can also download the <a href="http://pudge.net/tmp/net.pudge.pcalc.theme.slashdot.zip">theme archive</a> itself. Not sure why you'd want to, unless you're me, though.</p><p><a href="http://www.flickr.com/photos/pudge/3837421393/"> </a></p><p>I also have been playing a lot of <a href="http://www.quordy.com/">Quordy</a> and <a href="http://www.muddledgame.com/">Muddled</a>, two word games from <a href="http://quordy.com/lonelystar.html">Lonely Star Software.</a> A friend of mine from college wrote Muddled. And I wrote a <a href="http://pudge.net/tmp/quordy.txt">Perl program</a> that solves both games. Both use a dictionary (I grabbed 'words.sql', a DBLite file, from the Quordy bundle, after uncompressing the ZIP file with the<nobr> <wbr></nobr>.ipa extension). You just enter the letters you have available to you (in order from left to right, top to bottom for Quordy), pick the dictionary options and the game you're playing, and run it.</p><p>Cross-posted on <a href="http://pudge.net/glob/2009/08/iphone-hacking.html">&lt;pudge/*&gt;</a>.</p> pudge 2009-08-19T22:08:27+00:00 journal YAPC::Europe 2009 http://use.perl.org/~acme/journal/39471?from=rss <div><p>Two weeks ago I attended <a href="http://yapceurope2009.org/ye2009/">YAPC::Europe 2009</a> in Lisbon, Portgual. This wasn&#39;t the first YAPC in Portugal - in 2005 we went to <a href="http://braga.yapceurope.org/">Braga</a>, a university town inland and it was a very well organised conference. It&#39;s no surprise the YAPC in Lisbon was also amazingly well organised, as it was the same organisers -&#160; Jos&#233; Castro (cog), Alberto Sim&#245;es (ambs) and Magda Joana Silva. Thank you so much Jos&#233;, Alberto, Magda and all the others involved - it was amazing.</p><p>The theme of the conference was &quot;Corporate Perl&quot; and this made a useful track in the <a href="http://yapceurope2009.org/ye2009/talks">vast schedule</a>. It&#39;s amazing all the places Perl is used. Every talk I attended was great - the speakers knew their material and explained their content well. Some of the presentations are already online, see &quot;Talk&quot; in the schedule.</p><p>I liked the venue, three metro stops away from our hotel (also very walkable). The main room was huge and the three other tracks were just nearby, leaving a large space behind these for socialising with the just-over 300 attendees (and easy access to the sun). This was also where the terribly-important refreshments were, including oh-so-tasty <a href="http://en.wikipedia.org/wiki/Pastel_de_nata">past&#233;is de Nata</a>.</p><p>The attendees&#39; dinner was great. It was in a huge <a href="http://en.wikipedia.org/wiki/Churrascaria">churrascaria</a> (meat on swords!) by the river. It was also a good location for the <a href="http://yapceurope2009.org/ye2009/wiki?node=QuizzShow">Quizz Show</a>, with 16 two-person teams fighting to be the geekiest. This was quite hard, as the questions varied from Portuguese history, Star Trek, Buffy and Perl internals (&quot;How many levels of precedence does Perl 5.10.0 have?&quot;) to Unix history.</p><p>Community was very important at the conference - there are lots of seperate groups of Perl people clustered around the core, Perl modules, Perl projects or even cities and conferences are where you can mix, meet people in real life and start making crazy plans for the future. There are so many exciting things going on in Perl and I&#39;m really looking forward to YAPC::Europe in Pisa in 2010!</p></div> acme 2009-08-16T13:46:30+00:00 journal SIGGRAPH 2009 http://use.perl.org/~acme/journal/39465?from=rss <div><p>I always enjoy reading the papers of the <a href="http://www.siggraph.org/">SIGGRAPH</a> conference. It&#39;s nice to see what new graphical techniques are coming. Here are my favourite picks from 2009:</p><ul> <li> <a href="http://pages.cs.wisc.edu/~fliu/project/3dstab.htm">Content-Preserving Warps for 3D Video Stabilization</a> </li><li> <a href="http://algorithmicbotany.org/papers/selforg.sig2009.html">Self-organizing tree models for image synthesis</a> </li><li> <a href="http://www.wisdom.weizmann.ac.il/~levina/papers/lattice/">4D Frequency Analysis of Computational Cameras for Depth of Field Extension</a> </li><li> <a href="http://www.cc.gatech.edu/~wojtan/topo_goop/topo_goop.html">Deforming Meshes that Split and Merge</a> </li></ul><p>The last one contains great quotes like &quot;A stretched cow that is torn when two bars scissor together&quot; and &quot;These images from an animation show viscoelastic horses being dropped onto one another&quot;.</p></div> acme 2009-08-15T12:18:16+00:00 journal Moose book http://use.perl.org/~acme/journal/39415?from=rss <div><p>I love <a href="http://search.cpan.org/dist/Moose/">Moose</a>. It&#39;s a postmodern object system for Perl 5. It&#39;s very powerful, saves me writing a lot of code and is very extensible. Dave Rolsky <a href="http://blog.urth.org/2009/04/moose-docs-grant-wrap-up.html">received a grant</a> to write the <a href="http://search.cpan.org/dist/Moose/lib/Moose/Manual.pod">Moose::Manual</a> and it&#39;s a great introduction to Moose, how to use Moose and covers every part of it in detail. I don&#39;t really enjoying reading documentation on a screen, so I converted the manual from Pod to LaTeX so that the typography would be beautiful, fixed a few typos in the manual, designed a nice cover and you can now <a href="http://www.mrmonkey.com/">buy a copy for yourself</a>. At the YAPC::Europe 2009 auction a copy of the book signed by Yuval Kogman <small> <a href="http://search.cpan.org/~nuffin/"> </a> </small>and Larry Wall went for &#8364;120!</p></div> acme 2009-08-06T15:45:38+00:00 journal