a bit better than before

I just ran the fuel numbers for our recent grand trip to Missouri. For 4380km in a Honda Civic DX, we used about 292 litres of fuel. That works out to be 6.7l/100km (or 42.3 / 35.3 UK / US mpg). That’s not quite as good as I’d hoped; I’ll put it down to driving a little fast on very chunky snow tyres.

At least it’s better than last time

home again

The 4000km holiday roadtrip is over. We’re back home now. It was good to be away, but it’s also good to be back.

bike work

There is something very pleasing about working on one’s bike of an evening, racing against the fading light. I stripped the ancient bar tape of the tourer, and started on refurbishing the brakes. I think that 1987 was the year that cantilevers got good, and since I have a 1986 Super Galaxy, the old Shimano BR-AT50s were pretty poor. New Alivios don’t quite have the finish of the old units, but they’ll work, meaning I’ll be able to stop without a full city block’s notice.

more fish

Got more fish from Finatics today: four high-fin platies, three algae-eaters, and three more threestrip corys. Our tank is busy!

The Edwards & The Feldmans

We now have fish; some scissortail rasboras and a few threestripe corydoras. Not the most challenging of fish to keep, but entertaining and hardy enough (I hope) to survive this impractical fishkeeper.

I’m emphatically not naming them individually, but as groups: the corys are the Feldmans (though may yet become the Doctorows, since the spelling is closer), while the scissortails have to make do with being the Edwards.

just yer basic yerba, mate

Scored some yerba mate for Catherine’s cousin Phil yesterday. Seems there aren’t so many South American food stores in KCMO, while there’s a strip of them on Augusta in Kensington Market.

The store at 239 Augusta had a whole yerba mate section. Since it was cheap ($2 for the half key), I got some for myself. Wonder what I’ll do with it?

all around the lakes

Had an impromptu visit to Port Burwell today to fix a cranky cell modem. It was also my first experience of driving a stick shift — and not just any stick shift, one with 400Kclicks on it — on the wrong side of the road. It was weird, but since I neither wrecked the car nor hit anything, I think I got the hang of it.

Anyway, no trip to Burwell is complete without a visit to the Lighthouse Restaurant for fresh fried lake perch. While I was there, I got chatting to a couple from Chicago who were working on their plan to cycle round a Great lake each summer. By doing this, they were hoping to appreciate the scale of these huge bodies of water. Neat plan.

One day, when I’m a Celebrity Windfarm Designer with my own television show, I’ll take a summer off to go round Lake Erie.

batch renaming iTunes directories

In partial response to the Ask Metafilter question “How can I rename my music folders on my Mac based on ID3 tags?“:

#!/bin/bash
# itunes_sanity.sh - fix dir names created by iTunes
# only works for mp3s, and not actually tested on a Mac
# created by scruss on Sun Sep 4 22:05:00 EDT 2005

find "$@" -type d -mindepth 1 | while read directory
do
  artistdir=$(dirname "$directory")
  firstfile=$( find "$directory" -type f -iname '*.mp3' | head -n1 )
  year=$( id3info "$firstfile" | egrep ' TYE ' | sed 's/=== TYE (Year): //; s/[^0-9]*//;' )
  album=$( id3info "$firstfile" | egrep ' TAL ' | sed 's,=== TAL (Album/Movie/Show title): ,,;' )
  echo mv \'$directory\' \'$artistdir/\[$year\] $album\'
done

So if you were in the terminal, in your music library (one up from the individual artist directories), and you did:

itunes_sanity.sh Dan\ Jones Tripping\ Daisy

you’d get:

mv 'Dan Jones/Get Sounds Now' 'Dan Jones/[2005] Get Sounds Now'
mv 'Dan Jones/One Man Submarine' 'Dan Jones/[2003] One Man Submarine'
mv 'Tripping Daisy/Jesus Hits Like the Atom Bomb' 'Tripping Daisy/[1998] Jesus Hits Like the Atom Bomb'

If that looks okay, run the output through the shell:

itunes_sanity.sh Dan\ Jones Tripping\ Daisy | sh

and all should be well.

You’ll need id3lib, which is probably most easily installed from Fink. Also, this only works for mp3 files; I can’t grok the tag info for AAC files. And finally, this might go seriously screwy on weird characters in filenames. You know my feelings on that …