jweveland's Journal http://use.perl.org/~jweveland/journal/ jweveland'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:40:53+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 jweveland's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~jweveland/journal/ kpanicd http://use.perl.org/~jweveland/journal/28867?from=rss For those whose sense of humor runs to fake manpages, I offer <a href="http://jwenet.net/notebook/2005/1178.html">kpanicd</a> , the kernel panic daemon for linux. If you find this funnier in a more visual medium, I also offer a <a href="http://jwenet.net/notebook/2005/1178.gif">screenshot</a>. Suggestions for improvement welcome!!! jweveland 2006-03-03T20:22:32+00:00 journal .sig block, new low achieved... http://use.perl.org/~jweveland/journal/25095?from=rss My next-cube neighbor showed me this gem yesterday (sorry no link). This guy had replied to a mailing list. His post comes with an attachment... which turns out to be a Microsoft Word document... which contains an ActiveX script... which renders his e-mail<nobr> <wbr></nobr>.sig!!! <p> And ironically, the mailing list was some kind of AIX user support forum. Wonder what percentage or the readers ever see his<nobr> <wbr></nobr>.sig? Didn't look like anyone bothered to flame him over it. I can't decide if the other posters are just that civilized, or it was too silly for words, or if the post never made it through their filters<nobr> <wbr></nobr>:-)</p> jweveland 2005-06-08T13:40:13+00:00 journal Amusing Digital Rights Management Article http://use.perl.org/~jweveland/journal/23144?from=rss <p> "... Call me crazy, but I truly believe there should be no copy protection on digital audio. People will pay to download music, so why restrict what they do with that music once they buy it? Especially if they'll pay what is, really, the exorbitant amount of $1 per song. That's one dollar per digital audio file. This unholy alliance of hardware and digital audio must end. Until it does, I'll keep buying CDs, and I'll keep ripping my friends' CDs and loading 'em up on my iPod while my iTunes Music Store account goes untouched. Come and get me, RIAA." <br>&nbsp;&nbsp;&nbsp;&nbsp; source: <a href="http://reviews-zdnet.com.com/AnchorDesk/4520-6033_16-5658248.html?tag=txt">ZDnet Anchordesk</a> </p><p> The first thing I find amazing is that someone is willing to openly call out the RIAA in a newsletter and column with a circulation the size of Anchordesk. </p><p> The thing all the talkbackers miss here is much more simple though, and true of any media (music, movies, TV, etc). It is this: DRM is doomed to failure as long as the human body comes equipped with analog-only inputs. To put it another way: as long as there is a digital-to-analog conversion required to "consume" these products, DRM is at best an inconvenience. Because in the end, all the "consumer" needs to do is playback the product, record the analog content stream, and then convert back to digital form (which is now "clean", i.e. without the DRM). </p><p> Has no one noticed that analog technology has improved right along? Has no one noticed that 99%+ of consumers are not audiophiles and / or videophiles, and are more than willing to accept the (increasingly small) degredation that comes from a single D-&gt;A-&gt;D conversion cycle? Has no one noticed that MP3s are hugely popular, despite the fact that the sound quality is "degraded" by the lossy compression scheme? </p><p> True, paying $0.99 for the one song on a CD that's worth having beats paying $15.00 for the entire CD. But, I'd bet that if the music publishers charged $0.25/song, they would sell well more than 4x as many songs as at $0.99/song. Because let's face it... for a quarter, you could buy the one "good" song that you really want, and the 2 marginal ones while you're there, because after all, "it's only a quarter". You'd feel like you got a better deal, so you'd be more inclined to buy more music while you're there (which you probably were going to anyhow, did you really go just for the one song?). </p><p> Of course, all this breaks down if you take me as your sample case. I buy very few CDs, and most of the ones I do buy are 10+ years old. And, I'm too lazy to be bothered searching out the illegal MP3s, or ripping CDs, or burning MP3 CDs (even though I have an MP3 CD player in my car, thinking perhaps that would motivate me to do more than turn on the radio). So the RIAA doesn't care about me anyhow... I'm not their target market<nobr> <wbr></nobr>:-) </p> jweveland 2005-02-11T15:50:01+00:00 journal testing google indexing speed http://use.perl.org/~jweveland/journal/21905?from=rss I'm curious to see how quickly google indexes things after they post. This entry will hypotheoretically give me one data point. <p> <a href="http://www.google.com/search?q=hypotheoretically&amp;btnG=search">This search</a> will show us if it has been picked up yet. As of the time of this entry, there were two hits under usenet plus two hits from the web (plus a spelling suggestion<nobr> <wbr></nobr>:-)</p> jweveland 2004-11-18T15:28:48+00:00 journal converting pgp to gnupg http://use.perl.org/~jweveland/journal/21509?from=rss I have a large installed population of pgp keys that want to migrate to gpg / gnupg. This turns out to be easier to automate than I would have guessed... just run the following script over each set of keys:<blockquote><div><p> <tt>#/bin/bash<br>gpg --import &lt;/dev/null&nbsp; &nbsp; &nbsp; # force existence of dir, options, perms, etc.<br> <br>KEYLIST=`pgp -kv 2&gt;/dev/null |grep ' 0x' |cut -f4 -d' '`<br>KEYRINGS=".pgp/pubring.pkr<nobr> <wbr></nobr>.pgp/secring.skr"<br>TMPFILE=".gnupg/tmpkey$$"<br> <br>for KEY in $KEYLIST ; do<br>&nbsp; &nbsp; for RING in $KEYRINGS ; do<br>&nbsp; &nbsp; &nbsp; &nbsp; pgp -kx $KEY $TMPFILE $RING<br>&nbsp; &nbsp; &nbsp; &nbsp; if [ -r $TMPFILE ] ; then<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gpg --import $TMPFILE<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rm $TMPFILE<br>&nbsp; &nbsp; &nbsp; &nbsp; fi<br>&nbsp; &nbsp; done<br>done</tt></p></div> </blockquote> jweveland 2004-10-25T18:49:25+00:00 journal linux kernel 2.6.x, cdrecord breakage http://use.perl.org/~jweveland/journal/20875?from=rss <p>Symptoms: Upgraded to Fedora Core 2 and/or linux kernel 2.6 or better. CD recording to IDE CD's using cdrecord is now broken. CDs burn fine, but throw I/O Error at the end of the CD. An md5sum never quite matches, and a dd back to disk results in an<nobr> <wbr></nobr>.iso file slightly smaller than the original.</p><p>Fixes: Add -dao flag (very important for burning<nobr> <wbr></nobr>.iso files, and nobody seems to say this ever). Change dev=x,y,z (SCSI format) to<nobr> <wbr></nobr>/dev/hdx (IDE , i.e. rational format). Note that IDE-SCSI is no longer useful under kernel 2.6, so make sure that's not in modules.conf and its kin. Make sure you have your distro's current cdrecord<nobr> <wbr></nobr>.rpm or the like. Burning the CDs either root or setuid=0 seems to help also.</p><p>Amazingly, google has a hard time answering this question, so I'm dumping this in to see if I can help grease the skids.</p><p>Notable non-fixes: downloading the "real" cdrecord package from Mr. Schilling's website. Probably any usenet or mailing list discussion about cdrecord, they all seem to fall back to arguments about Mr. Schilling's strongly held opinions. Asking google (which in this case is poisoned by the above arguments).</p><p>I can't tell if the strongly held opinions are valid or not, they just were unhelpful to my personal situation. And I'm not sure I care... I had some<nobr> <wbr></nobr>.iso files to burn into CDs. Some of the opinions in general (i.e. the 2.6 kernel is broken, GNU make is broken, thus-and-so libraries are broken) do make me wonder, but I digress<nobr> <wbr></nobr>:-)</p> jweveland 2004-09-14T16:11:47+00:00 journal magic start pages http://use.perl.org/~jweveland/journal/20873?from=rss <a href="http://www.petdance.com/start/">Andy has one</a>, and <a href="http://chaoticset.perlmonk.org/start/">Greg has one</a>. At least I can say I knew a good idea when I saw it.<p>So now that it's quasi-complete, <a href="http://jwenet.net/start">here's mine</a>.</p> jweveland 2004-09-14T15:50:00+00:00 journal Turbo Cola http://use.perl.org/~jweveland/journal/18990?from=rss Here's a recipe that someone here is bound to enjoy<nobr> <wbr></nobr>:-) <p> To a 16 oz glass, add:<br> 3-4 ice cubes of frozen, high quality coffee<br> 2 shots of espresso<br> fill with cola beverage of choice</p><p> <a href="http://ask.slashdot.org/comments.pl?sid=108704&amp;cid=9241509">This guy</a> says it's very good - I haven't worked up the nerve to try it myself. Seems like it might be OK... before noon...</p> jweveland 2004-05-28T18:37:34+00:00 journal