belg4mit's Journal belg4mit'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:12:56+00:00 pudge Technology hourly 1 1970-01-01T00:00+00:00 belg4mit's Journal Top-level namespace pollution is evil <p>Why's it evil? Because not everyone hunts for modules by using a search engine. Because you're less likely to see that you're needlessly reinventing the wheel. <em>et cetera et cetera</em></p><p>People need to read <a href="'s-in-a-name?">perlmodstyle</a> and think before they upload. Indeed, PAUSE should exact a pound of flesh or some other substitute before accepting top-level modules.</p><p>While we're at it, maybe we can thunk people with a clue-by-four who don't include a module description, etc.</p> belg4mit 2010-04-22T22:57:26+00:00 journal CPAN bug tracker update <p>Hooray! CPAN's RT has been upgraded to the modern 3.8 series.</p> belg4mit 2010-01-06T14:24:06+00:00 journal Namespace pollution <p>Arggh! Enough with the bloody vanity pseudo-pragmas and other modules to enable some combination of features-you-love-and-so-should-everyone-else sprinkled all-over CPAN. Create a bloody <a href="">ToolSet</a> or <a href="">ToolSet::Bundle</a>. That's what they're for, and it keeps all of that crud^Wbeauty collected together for ready comparison and retrieval.</p> belg4mit 2009-10-14T19:14:00+00:00 journal Perl Advent Calendar 2008 Is currently lagging, and may not be up at the turn of the page without some help. I've got term papers galore, and cannot contribute until nearly mid-month. If you're interested in participating, see <a href=""></a> <p> P.S. Don't worry about ideas. If you have some, they're welcome, but we've got a list of candidates too.</p> belg4mit 2008-11-28T23:15:00+00:00 journal CPAN RT <p>As I've been installing/customizing RT at work, I've taken a renewed interest in as<br>I've reported various issues. I've been "familiarizing myself" with RT to better help the local<br>users, a.k.a goofing around), and have customized my front page. I've tweaked "Bugs in My Distro"<br>a bit (to do so you have to duplicate the search, since it's a globally shared resource), but<br>mostly just the sort order, etc. More interesting I think, is this second box I've added to the body,<br>"My Issues." It uses the same layout and display options as "Bugs," but instead shows you all the<br>outstanding tickets you've reported elsewhere.</p><p><code> = '__CurrentUser__' AND != '__CurrentUser__' AND<br>(Status = 'new' OR Status = 'open' OR Status = 'stalled')<br></code></p><p>The upshot of this is that you might then not feel so bad about having a few open bugs yourself,<br>or be so incensed that you supply patches<nobr> <wbr></nobr>:-P</p> belg4mit 2008-08-22T16:42:27+00:00 journal Advent Calendar needs help <p>Please contact us about contributing!</p><p><a href=""></a></p> belg4mit 2007-12-13T04:08:15+00:00 journal This is the final countdown <p>One week left until December, we're still looking for volunteers/contributions for the perl advent calendar; <a href="">details.</a></p> belg4mit 2007-11-23T19:38:30+00:00 journal Happy accident <p>While idly searching* I came across <a href="">a rather funny result</a>.</p><p>*I was wondering if somebody had created some sort of perl module pertaining to and dubbed solipsism, or a variant thereof.</p> belg4mit 2007-10-30T18:29:14+00:00 journal Perl Advent '07 <p>I've finally managed to transfer <a href=""></a> from <a href="~2shortplanks/">Mark Fowler</a>, so historic links should work (soon). However, the <a href="">modern monger address</a> will continue to work as well. While it may seem a little early to begin thinking about the calendar, it's very stressful to write &amp; edit things Just In Time, so I'm putting the call out for contributors and assistant editors. I just entered a graduate program and will not be able to devote much time to the calendar until the third week of December; this also means I can't really write things in advance. If you're interested, please see the <a href="">FAQ</a> <a href="">s</a> and <a href="">contact me</a> ASAP. Do not worry if you have no ideas of what to write, we've got a fairly large backlog of possibilities, although we certainly welcome other suggestions. In addition, we need some artwork for the calendar splash page in keeping with general perlish and X-mas themes. Prod artsy coworkers, submit your own open-licensed masterpieces, or request clarification and inspiring suggestions. Finally, keep in mind that the more people who participate, the less stress and effort each must bear<nobr> <wbr></nobr>;-)</p> belg4mit 2007-09-30T20:15:43+00:00 groups OT: Super TB fucktard <p>Is anyone else as outraged about this as I am? I seriously hope they press criminal charges (compare willfully spreading the significantly less communicable HIV) against this guy, perhaps in all 4+ jurisdictions even. What a dumbass. His attempts at apoligizing and justification are infuriataingly pathetic too. "I was told if I was anyplace but Denver I'd be dead." Bullshit. The fucking told you go check into the hospital. No soup for you. Go to jail (once cured). Do not pass Go. Do not collect $200.</p> belg4mit 2007-06-02T15:43:33+00:00 journal Pet Peeve <p>It does not matter if the dictionaries have caved into people's miuse of language... bimonthly = every two months, semimonthly = fortnightly = every two weeks. etc. etc. Nice and clear and consistent (biannual). We now return you to your regularly scheduled silence.</p> belg4mit 2007-04-23T14:25:25+00:00 journal Free commit bits for Data::JavaScript available <p> I've been really bad about maintaining Data::JavaScript, so if anybody is interested in getting contributor maintenance rights for CPAN let me know, preferably with a respectable sample patch*. </p><p> Here are some of the things on the TO DO list: </p><ul> <li>Merge<nobr> <wbr></nobr>::LiteObject and<nobr> <wbr></nobr>::Anon functionality into D::JS</li><li>Code cleanup, including removal of Exporter; this naturally follows from the former.</li><li>Explore Data::Dumper and it's $Pair or similar to sit atop one of these engines?</li><li>Likewise JSON? (Update: and therefore obviously therefore array literal syntax)</li><li>A reasonable means of defining hash sort order</li><li>Consider a less verbose format (option) for generic output, such as that proposed by Scott Wessels<br> <code> #AB's code output<br> var facts = new Object;<br> facts.string = 'Joseph';<br> facts.xor = new Array;<br> facts.xor[0] = new Array;<br> facts.xor[0][0] = 0;<br> facts.xor[0][1] = 1;<br> facts.xor[1] = new Array;<br> facts.xor[1][0] = 1;<br> facts.xor[1][1] = 0;<br> <br> <br> #vs. SW output<br> var facts = new Array(new function() {<br> this.string = 'Joseph';<br> this.xor = new Array(new Array(0,1),new Array(1,0));<br> <br> } </code> <br> I have an old patch for this, it sort of preserves references. </li><li>A sane way to handle all of that. Probably a single engine with multiple wrappers for different output options?</li><li>Fix documentation i.e; clearer description of what data munging is done (minimal by default, if you want to embed JS within JS strings, more need to be done [somewhere])</li></ul><p> *The patch could be for (part of) something on the TO DO list, or anything else appropriate. </p> belg4mit 2007-03-24T19:17:41+00:00 cpan Christmas Wish: One last write-up <p>Please, somebody, earn yourself a book! Christmas Eve and Christmas are both taken care of, I just need one last entry for tomorrow (12/23/2006). If you're interested in making a serious go of it (and hopefully writing something that'll require minimal editing<nobr> <wbr></nobr>;-) I can supply ideas.</p> belg4mit 2006-12-23T04:07:15+00:00 journal Contribute content and you could earn an O'Reilly book! <p>While speaking with O'Reilly Media, Inc. (they changed their name) regarding the use of the camel trademark and the Perl Advent Calendar, they offered up some prizes to participants. <a href="">void where prohibited</a>.</p><p>Thanks guys</p> belg4mit 2006-12-07T21:33:52+00:00 journal Perl Advent Whilst waiting for the main article submission to be accepted I figured I should note for anyone whom might happen upon this, that the <a href="">new Perl Advent Calendar</a> is available. Smaakelijk! belg4mit 2006-12-01T18:02:03+00:00 journal Hypocrite? So maybe you've seen this ad on PBS, where the father is reading Little Red Riding Hood to his daughter. The camera pans around the room and there are a bunch of characters from different PBS shows that chime in with comments about the construction of the house, the value of the antique bed, etc. It ends with a tagline of, "There's more than one side to a story." It's a brilliant spot. Yet, in the wake of the conservative dustup over PBS I can't help but feel it's more than a little tasteless. belg4mit 2006-03-08T23:01:20+00:00 journal apples to pineapples <a href="">O'Reilly has a cute pic when you submit errata</a> belg4mit 2006-01-11T19:59:13+00:00 journal Why is it... <p>that fruit-on-the bottom yogurt sits nicely in the cup but pre-mixed gets all over the lid?</p> belg4mit 2005-10-08T01:40:08+00:00 journal YM fun with English <p>Yesterday morning<br>Yesterday<br>Yesterday evening<br>Last night</p><p>Recently discovered IO::WrapTie when looking for a pre-<br>existing solution more elegant than my homegown <code>our</code><br>with lots of globs and refs solution to support scalar file-<br>handles with tie. I haven't gotten around to merging<br>it into IO::Pager yet.</p> belg4mit 2005-10-05T20:59:54+00:00 journal Ain't nothing New(s-worthy) 'bout N'Orlens Someone forwarded a message from an out of touch member to a mailing list I'm on, which contained this drivel:<blockquote><div><p>our worst fears have been realized; our wonderful madcap city is being pummeled and brought up short by <em>the end result of being ignored by our city, state and federal governments for 300 years</em>. Levee breaks? who would have guessed? (anyone who lives here is the short answer).<nobr> <wbr></nobr>... My family has been in LA since the 1760's and ain't leaving now...</p></div> </blockquote><p> Emphasis added. </p><p> WTF? WTFH? Please standby as we send a rocket-propelled GPS clue-by-four to assist you in your time of (mentally defecient) need. How about the result of 300 years of ignorance? Sticking your collective heads in the sand, covering your ears and repeating "Na na na I can't hear you"? </p><p> See the graphic at the bottom of Oh wait, you were aware it was an eventuality and are still surprised? Nuts to you then.</p> belg4mit 2005-09-02T17:13:47+00:00 journal Microsoft rant <p>I've recently been honing my wbesite back into some resemblance of order, repairing all the bits of rot incurred by changing physical hosts, restoring from backups after break-ins, etc. over the past few years. This was in part inspired by a recent mentioning of my site over there:<br></p><p>Below is the message submitted to Microsoft (not on their "report a bug" thing though since you have to call do that.) I used a Dominus quote as the subject, "You can't just make sh!t up and expect the computer to know what you mean, retardo!"</p><p>As if it was not brilliant enough to mysteriosuly have Internet Explorer randomly start GETing<nobr> <wbr></nobr>/favicon.ico now WMP tries media.smi for any link. And ohh! Get this, it looks for the SMIL file after the content, that's useful; get the presentation structure after the content. Here's an idea, if I, as the webmaster *wanted* the user to view something in a SMIL presented format I'd actually make one and link to *that*.</p><p>The least you could do is HEAD first.</p> belg4mit 2005-05-31T13:07:56+00:00 journal Telepathic IP Theft What is with everybody stealing my great ideas before I have them?<nobr> <wbr></nobr>:-P For instance, yesterday I was <a href="">thinking about lighting</a> and it occurred to me that you ought to be able to take a laser (very efficient, see link) and pull the same kind of trick used for white LEDs to create a high-efficiency light-source. That is, send the output through phosphors; white LEDs are actually UV LEDs. Turns out, <a href=",2606,19755,00.html">somebody else is already on it</a>! One current problem is that UV lasers aren't as efficient as some others belg4mit 2003-06-22T21:30:32+00:00 journal p5p, lost in the noise. Waiting to see if any of the <a href="">fruits</a> of my weekend punting get accepted. (From the TODO) I like the idea of general generic object management, but any implmentation I've thought of is inelegant. I think switching over to purely IO::Handle would be a good compromise. The only problem is backwards compatability with the old calling style. belg4mit 2003-03-11T20:39:38+00:00 bugs Electronic Books I was just reading my microeconomics book. I really hate the terminology economists use as much of it is counter-intuitive. So the book is describing a new term called a "market basket". They then off hand mention that some economists use the term "bundle" instead, and I think "Great! I'll use that instead. It doesn't sound as lame." So I continue reading trying to do real-time visual search and replace, and it's not easy. I've run into this problem before, but never tried that solution. Basically, it'd be great for an electronic book to let the user define word filters. belg4mit 2003-02-17T22:32:17+00:00 journal Filesys::EXt2 Well I've churned out several versions of Filesys::Ext2. I doubt anybody uses it, but it's some good excercise; not that I don't have 10_000 other things to do. Damned if things don't work perfectly fine until you post it to CPAN, then you're stuck with that embarassing version number creep. I'm already working on the next version; there's a problem with the tests in the latest (solved), and I'm extending and enhancing as well. Helas a I'm having to jump through some hoops because what I really ought to do is port it to XS. <p> Yippee kai yai ay</p> belg4mit 2003-02-15T00:27:10+00:00 journal Bots <p>How I hate bots. Especially stupid bots.<br>And most of them seem to be. I have been<br>visited by bots that seem to makeup their<br>own URIs to visit. They're based on existing<br>or deprectaed URIs, but clearly not right.<br>And it's not like my site is dynamic.</p><p>Well I just got done battling,<br>and damn if he wasn't annyoing. The damn thing<br>sent some 6500 queries in about 2 hours. It<br>seems this intrepid little explorer couldn't<br>take no for an answer. It would request one<br>cockeyed URI, which sort of looked like something<br>that used to exist but was moved, and get<br>mod_rewritten to my FTP server, where it would<br>thrash about for awhile. He and a few friends<br>that is.</p> belg4mit 2003-02-08T05:12:13+00:00 journal Slash Ach!!! Wtf is up with the new journal RSS feed format? I want timestamps! If they aren't going to be in a <a href="">#fragmentIdentifier</a>, they should at least be part of the name (like they were before). <p> Worse, the feed seems to be giving up nonexistsent articles <code>[Matts] This sucks...</code> <br> <code>[pudge] Hi Gnat</code> </p><p> UPDATE: And now it's back to normal...<nobr> <wbr></nobr>:-/</p> belg4mit 2003-01-10T19:03:45+00:00 journal Little Miss Mary Sunshine <p>"Life is short, life is shit,<br>and soon it will be over."</p><p>-- Cabbie</p> belg4mit 2002-06-28T19:24:22+00:00 journal !@#$!~ <p>3rd fail(ed|ing) drive in less than 12 months.<br>I guess I'm going to have to breakdown and pickup<br>something a bit more modern soon &gt;-|</p><p>As a stop gap I formatted my swap partition<br>(which never gets hit under normal usage anyways)<br>copied to there and mounted. That's a major<br>advantage of the Unices, mount++</p> belg4mit 2002-06-22T21:23:36+00:00 journal mindURL Well I've hacked out the majority of one of the projects I've been meaning to do recently. Long long ago, in the days of free things on the web, the people at <a href="">NetMind</a> had a free service called URLMinder. This allowed users to register themselves for notification when a webpage was updated. There were some tools for webmasters to add this to their website as well. Now they charge you to request for notification. They didn't even notify people who were using the service either, it just went away. So, I've written/am writing mindURL, besides I've been trying to make my site as self-sufficient/contained as possible. It's nothing horribly complicated (AppConfig<nobr> <wbr></nobr>:-() but I couldn't find anything out there so there ya go. If you're interested poke me, I'll be making it available anyways, but things tend to fall to the wayside. belg4mit 2002-06-16T05:57:10+00:00 journal