Month December 2009

Mag+. The Digital Magazine

Just a few weeks (?) before the rumoured availability of the Apple tablet (whatever its name is), here’s a recent demonstration of what the display, miniature electronics and battery technology may lead to in the near future in the context of magazines. If everything that we’ve heard about the impending release of the Apple tablet […]

The Books

One of the most impressive and original groups that I’ve listened to in the past few years, I’ve been meaning to write something more substantial about this for ages, but never got around to doing it. Difficult, but warm, exceptionally rich in sounds and meaning and at the same time simple, even minimalist in structure, […]

Fast ID3 tagging

This is solely for my friend saper who was recently telling me how much he loves it when people post snippets of code that they come up with during their everyday lives, even if they are relatively pointless in the grander scheme of things. Well, today I was listening to a few old mp3 files while coding more important stuff and realised that some had no id3 tags, which was a good excuse to put good ol' PERL and some shell magic to some use to tag them all, fast. Here's the two-minute script for tagging files based on the filename (note the '[trackno] - [title].mp3' regex). I ran the script twice, once for the trackname and once for the track number (not shown below, is trivial and left as an exercise for the reader). Hope this is useful to someone, although I guess it mostly serves as proof as to how much you can do with one line of PERL/shell scripting magic. Enjoy =)
ls *.mp3 | while read f; do TRACKNAME=`echo "$f" | perl -e '$a = ; $a =~ /(\d\d) - (.*).mp3/; print $2;'`; id3 -t "$TRACKNAME" "$f"; done

The real choice is liberty versus control

Tyranny, whether it arises under threat of foreign physical attack or under constant domestic authoritative scrutiny, is still tyranny. Liberty requires security without intrusion, security plus privacy. Widespread police surveillance is the very definition of a police state. And that's why we should champion privacy even when we have nothing to hide.