dc2000's Journal http://use.perl.org/~dc2000/journal/ dc2000's use Perl Journal 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:28:51+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 dc2000's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~dc2000/journal/ Dear Template Toolkit reader http://use.perl.org/~dc2000/journal/31160?from=rss <p>Dear Amazon.com Customer,</p><p>We've noticed that customers who have expressed interest in "Perl<br>Template Toolkit" by Darren Chamberlain have also ordered "Programming<br>Python" by Mark Lutz. For this reason, you might like to know that Mark<br>Lutz's "Programming Python" is now available. You can order your copy<nobr> <wbr></nobr>...</p> dc2000 2006-09-29T14:42:06+00:00 journal mathworks, bioperl http://use.perl.org/~dc2000/journal/25976?from=rss Mathworks newsletter <a href="http://www.mathworks.com/company/newsletters/digest/2005/july/integrate_matlab.html?mld_na_tech1">2005 July</a> give a friendly report on <a href="http://bioperl.org/">bioperl</a>. dc2000 2005-07-30T17:10:40+00:00 journal Google contests http://use.perl.org/~dc2000/journal/19917?from=rss Google is infatuated with <i>e</i>. <a href="http://news.com.com/Google+recruits+eggheads+with+mystery+billboard/2100-1023_3-5263941.html">Covered by</a> CNet, and <a href="http://www.elistas.com/billboardtrick.html">answered in c</a>. dc2000 2004-07-19T05:28:39+00:00 journal Journal Topic: 'User Journal' or 'use Perl' ? http://use.perl.org/~dc2000/journal/12033?from=rss The <a href="http://use.perl.org/~dc2000/journal/12032">previous post</a> was set<br> Journal Topic= '<b>User Journal</b>', not <br> Journal Topic = '<b>use Perl</b>'. <p>See what difference it made ?</p> dc2000 2003-05-06T05:53:42+00:00 useperl apple music http://use.perl.org/~dc2000/journal/12032?from=rss The automated banging on Apple Music Store's playlists (a <br>$400 iPod can store $7500 of music), not to mention <br>free samples will be the story of 2004. <p> E.g., what do I know about <a href="http://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?artistTerm=radiohead">RadioHead</a> ?</p><p> More fun than SARS.</p> dc2000 2003-05-06T05:39:33+00:00 journal Perl: a small and orthogonal set of features http://use.perl.org/~dc2000/journal/9854?from=rss <a href="http://use.perl.org/~brian_d_foy/journal/9805">Teachable languages should provide a small and orthogonal set of features</a>.<br> Perl's grade: D<br> <br> If you just ignored 80 % of Perl's fetures, perhaps you could grade it higher. <br> At least on this criterion. dc2000 2003-01-09T00:19:14+00:00 useperl find docs evolving http://use.perl.org/~dc2000/journal/7816?from=rss <p>The <code> <a href="http://www.perl.com/doc/manual/html/lib/File/Find.html"> File::Find</a> </code> docs said: </p><p> <code>use File::Find;<br> find(\&amp;wanted, '/foo','/bar');<br> sub wanted {<nobr> <wbr></nobr>... }</code></p><p>The number of times I have found code which is meant to search one directory but <br>includes a bogus second dir argument is astonishing.<br> <br> Likewise, I've encountered instances of multiple invocations of <code>File::Find</code> to search <br>more than two directories.<br> <br> <code>find(\&amp;wanted, '/foo','/bar');<br> find(\&amp;wanted, '/foo2','/bar2');<br> </code> <br> When I've been able to ask the author why they appended a second dir argument,<br> or limited themselves at two dir arguments, they've proudly pointed to their due diligence <br> of RTFMing the standard docs SYNOPSIS which show <code>File::Find</code> used with <br> two and only two directory arguments.</p><p>So I am pleased that the <a href="http://www.perldoc.com/perl5.8.0/lib/File/Find.html"> v5.8.0 docs for <code>File::Find</code> </a> show a more generic: </p><p> <code>use File::Find;<br> find(\&amp;wanted, @directories_to_seach);<br> sub wanted {<nobr> <wbr></nobr>... }<br> </code></p> dc2000 2002-09-18T21:14:25+00:00 useperl browse.cpan.org http://use.perl.org/~dc2000/journal/7429?from=rss I'm contemplating a browse.cpan.org. Current thoughts include <ol> <li>a Wiki-ish Slashodot-ish solicitation of<br> <i>I'm looking at this, and it looks like that</i>, <br> and moderating up/down the submitted links by saliency.</li> <li>Crawling CPAN, much like the <a href="http://www.cpan.org/modules/by-category/"> current state of the art</a>. <ol> <li>Just mimic the file system on CPAN.</li> <li>Mine the source for <code>use</code> or <code>require</code>.</li> <li>Mine the docs for <b>prerequisites</b>;</li> <li>Mine the PODs for <b>see also</b>.</li> </ol></li> </ol><p> Some background reading:<br> <br> Bates' <a href="http://www.gseis.ucla.edu/faculty/bates/berrypicking.html">Berrypicking</a> metaphor, and more accessible <a href="http://firstmonday.org/issues/issue7_7/bates/">"ontology" fallacy</a>: <a href="http://louisrosenfeld.com/home/bloug_archive/000100.html">reviewed</a>.</p><blockquote><div><p>A good analogy is to say that faceted<br> classification is to hierarchical classification<br> as relational databases are to hierarchical <br>databases. Most system designers would not dream <br> of using hierarchical files these days, so why <br> are hierarchical classifications of information <br> content still being used.</p></div></blockquote><p> <a href="http://ksl.stanford.edu/people/dlm/papers/ontology-tutorial-noy-mcguinness-abstract.html">Ontology Development 101 at The Farm</a>. <br> Most helpfully, <a href="http://www.iaslash.org/node.php?id=4592"> The Semantic Web: Taxonomies vs. ontologies</a>. <br> <br> browse.cpan.org should be easier to invent than a system for <br> <a href="http://www.klab.caltech.edu/~walther/telluride02/index.html"> browsing underwater videos looking for schools of fish</a> or for<br> <a href="http://ilab.usc.edu/publications/doc/Itti_Koch01nrn.pdf"> inferring visual saliency by tracking eye movements</a> [Nature.com,<nobr> <wbr></nobr>.PDF] <br> <br> Or perhaps <a href="http://search.cpan.org/">search by keyword</a> is the dominant <a href="http://www.boxesandarrows.com/archives/002595.php">findability</a> technique, <br> and <b>browse related</b> is for the birds.</p><blockquote><div><p>philosophy of information : programmer -- ornithology : bird</p></div> </blockquote><p> ps I'm not affiliated with <b>LinuxNow</b> <br> (<a href="http://new.linuxnow.com/library-file.shtml"> CPAN Listings: The Browse Feature is currently being upgraded. </a><br>Please use the search feature in the mean time.)</p> dc2000 2002-08-30T21:35:50+00:00 useperl google site perldoc http://use.perl.org/~dc2000/journal/7078?from=rss <p>The helpful <a href="http://perldoc.com/">perldoc.com</a>'s search has been broken for a while;<br> looks like Carlos is too busy <a href="http://www.quantumfx.com/weblog/"> getting married</a>.</p><p>Fortunately a Google <a href="http://omor.com/perl/">site-specific search</a> works well, and the <br> new v5.8.0 docs were posted to perldoc.com.</p><p>Minor nit: Google's dictionary lookup of searchword link is not <br> generated for site-specific searches, so the general search<br> <a href="http://www.google.com/search?hl=en&amp;lr=&amp;ie=UTF-8&amp;oe=UTF-8&amp;q=viruses&amp;btnG=Google+Search"> underlines</a> but the site-specific search <a href="http://www.google.com/custom?q=viruses&amp;cof=AH%3Acenter%3BAWFID%3A6718ec0cf8246f41%3B&amp;domains=perldoc.com&amp;sitesearch=perldoc.com">doesn't underline</a> <em>virii</em>.</p> dc2000 2002-08-13T22:30:08+00:00 useperl remembering PEGS: Data variable value diagrams http://use.perl.org/~dc2000/journal/6732?from=rss <p> <a href="http://www.5sigma.com/perl/pegs/"> PErl Graphical Structures (PEGS)</a> are a nice technique for illustrating<br> data relationships, which I first saw in Hall and Schwartz's<br> <a href="http://www.amazon.com/exec/obidos/ASIN/1930110006/omorcom"> <i>Effective Perl -- The Shiny Ball Book</i> </a>: <a href="http://www.effectiveperl.com/toc.html"> Table of Contents with chapter<nobr> <wbr></nobr>.PDFs</a>.</p><p>They're great for enumerating the data types used, and if initialized, for showing <br> variables and their values; PEGS are also good for depicting references.</p><p>I haven't seen them adopted elsewhere recently, except for <a href="http://use.perl.org/~davorg/">daveorg</a>'s <a href="http://www.amazon.com/exec/obidos/ASIN/0201419750/omorcom"> Munging book</a>. </p><p> Must have taken a lot of time with Framemaker. </p> dc2000 2002-07-29T21:59:10+00:00 useperl last chance: Activestate Awards http://use.perl.org/~dc2000/journal/6394?from=rss Last chance to vote on <a href="http://www.activestate.com/Corporate/Awards/ActiveAwards.html">Activestate Awards</a>.<p> And thanks to Activestate for fixed their voting:</p><p> <code> To: website-feedback@activestate.com<br> Subject: ActiveState "Programmers' Choice Awards".<br> <br> Is there a way I can vote for the perl award, but <br>not vote for the tcl award ?<br> <br> Add an abstain option under the nominees or <br>something.<br> <br> I don't want to suggest that the Tcl nominees<br> are all unworthy by adding a 'none of the above'<br> voting option, but simply decline to vote <br> on Tcl.<br> <br> Thanks,<br> <br> David W. Crawford<br> dc@omor.com<br> </code></p> dc2000 2002-07-16T20:04:45+00:00 activestate