do_wget bugfix

Posted on May 23, 2007 by Steve

No updates lately because the wget script was not behaving well. Since May 2005, 2347 mp3 filenames have accumulated in the shells folder. Most of these are empty files which are retained to prevent wget from grabbing new copies of previously downloaded files. This number of files was enough to cause an "Argument list too long" error when the script runs and tries to loop through the files. While recompiling the kernel is one suggested solution, I opted to replace my unweildy ls/awk combination with an elegant find.

Before:
for files in `ls -clt $workingdir\shells/*mp3 |
awk '{if ($5 > 1) print substr($0, index($0, $9))}'`

After:
for files in `find $workingdir\shells/ -type f -name '*mp3' -size +1`

Besides being more concise and clear, and working, this also is better for not depending on the order of the columns returned by ls -l.

There's a backlog of 127 mp3 files to be audited, and hopefully something worth posting will be among them.

Strange Doings Underground

Posted on May 16, 2007 by Steve

Maybe worth a listen: Les Indes Noires by The Limes. (Warning: there's a pop at 0:17 just like the noise that JBuilder makes when your code bombs, so don't listen to this while programming.)

Checking out these random titles is sometimes interesting; this one led me to a weird Jules Verne book I had never heard of.

A perhaps unnecessary attempt to demythologize the cuban revolution in song

Posted on May 06, 2007 by Steve

Whatever the intent, Granma is a pretty, spooky tune. Check Mr. Ashworth's blog for more freebies.

North by Phoenix

Posted on May 05, 2007 by Steve

Grab it here. Apparently Phoenix have been around for a while, with a track in Lost in Translation.