This and that

I read quite a bit of gordonzola's LiveJournal yesterday--via jwz's link to a story of his about his one hour photo job--but there's still quite a bit left!

I'm going to work on Stapler fnl spec today. Honest. I'm starting to want Stapler.py enough to hack now and retcon the spec later. To some extent that's OK since I already have Stapler.root, the Radio version, as kind of a spec. The issues peculiar to a standalone Python version are the ones that need nailed down.

Ink discovered Blosxom was throwing warnings, so I'm fixing that. Partly it's people going to blosxom.cgi/Name/ instead of blosxom.cgi/Name, so mixing this and this thus:

my @pi = split m{/+}, path_info();
shift @pi;
my $pi_bl = '';
while ($pi[0] and $pi[0] =~ /^[a-zA-Z]\w*$/) { $pi_bl .= '/' . shift @pi; }

seems to take care of it. My modified version of DJ's calendar script is throwing a lot more warnings, though; it wasn't -w, so I may just remove that. (I added -w since the same structure of blosxom that threw warnings is in my calendar script.) Somehow I made it possible for $month to be undefined, so of course cal complains 2002 isn't a valid month. Eh. The calendar's used so little I'll probably give it a miss.

Another project: figure how to integrate stand-alone Trackback with my POT.py pages, so people can--like--Trackback ping the Stapler page and such things. I guess I should just throw an SSI in my templates. I would worry about losing the ability to conditionally GET those pages, but since relatively few people visit them (the weblog page, now that it has so many items and such on it, is around 30% my outgoing byteage), I don't think I will.

Oh, and Neill Corlett wrote a Winamp plugin for playing Playstation music. Like NSF, it's emulator-based, which I suppose for game consoles makes sense, since you could have someone cranking cycles out of the sound by doing freaky bare metal whatnot. I wasn't aware that's how C-64 SIDs work too, but that makes sense.

For my part, though, I listen to neither SIDs nor NSFs, because I can't throw them in a playlist without tending to them. There're no instructions for when to stop, since those came from the actual game software in the real games. I throw music on while I'm doing other things, so I don't want to babysit it. In fact NSFs are really annoying, because you have to hit play while they're playing to skip to the next song in the file, even. I love the mp3s Kevin Horton (see NSF link above and browse about) has of his SID emulation hardware, but can't listen to raw SIDs. Oh, well.