The Shaggs and other things

Listening to Radio 4’s Pick of the Week earlier on I came across a clip of The Shaggs Philosophy of the World and with work to be avoided I thought I’d check them out on YouTube. The bizarre backstory aside (check out Wikipedia or similar for details), the most amazing thing about this band is that they were playing in the late Sixties. Listening to them now you’d be hard pressed to place them in that era.

Cover of The Shaggs Philosophy of the World

They’re not your typical rock stars, are they?

Interestingly enough, The Shaggs, despite treading a knife-edge between unmusical and unlistenable, have nonetheless got their fans. Kurt Cobain, amongst others, rated them.

Which brings me to “other things”. An enterprising fellow on Youtube has gathered together a top 50 of Kurt Cobain’s favourite music for your listening pleasure. I’m not sure how he’s determined what Cobain’s favourites might have been, but to be honest I don’t really care. If you’re a fan of punk, grunge, weird endearing music, or even The Beatles, the list has some gems.

I particularly enjoyed, in no particular order:

Shonen Knife – A Day At The Factory

The Raincoats – Adventures Close To Home

The Wipers – Wait a Minute

Posted in Music | Leave a comment

The doubly-comforting clock

There are two sorts of clock. One is the sort of clock which is set to an approximation of the actual time, as defined by GMT, adjusted for your locality and any daylight saving measures currently in effect. I shall refer to this type of clock as the Rational Clock.

The other type of clock is largely the same as the Rational Clock, except that it is adjusted forward by some arbitrary amount. The aim being to fool users of the clock into thinking that the time is later than it really is, in the hope that user may thereby stand a greater chance of showing up to places on time. I shall refer to this type of clock as the Irrational Clock.

An irrational clock

As my rather biased naming convention may disclose, I have little love for the Irrational Clock. It seems to me to be flawed as a tool for punctuality and effective time keeping. Given that you must set the Irrational Clock to be fast yourself, you will always be able to make a mental adjustment to the time the Irrational Clock presents. “Ah”, you say to yourself, “this clock tells me I am a little late, but I recall this is an Irrational Clock, so I probably have a few minutes in hand”.

It gets even worse if you have more than one Irrational Clock in your house since they’re unlikely to all agree, meaning that the mental maths used to get back to the actual time from a given Irrational Clock gets even less exact. “Ah”, you say to yourself, “this clock says 0758, but I think it’s either five or ten minutes fast, so I’ll split the difference and assume it’s just gone 0750 in reality”.

It seems to me that the only way an Irrational Clock would help you be on time is to get a friend to set it for you without your knowledge. In this way you would naturally believe the Irrational Clock to present the Rational time, so it may be effective in enhancing punctuality. Consider, though, the impact of coming across a Rational clock in the outside world. “By Jove!”, you’d exclaim to yourself, “The station clock is slow. I’d best alert the station master!”. It simply wouldn’t work. I am forced to conclude that the primary benefit of an Irrational clock is a psychological one. By deliberately reducing the accuracy of the timepieces you use to regulate your day you remind yourself that the true and exact time is unknowable, and that even Rational clocks present at best an approximation. So if you are running a little late, what of it? What is a minute or two between friends?

In our house, the Mactaguester and I have developed a “best of both worlds” system which encompasses both Rational and Irrational clocks. As you may imagine, I am a proponent of the Rational clock, whilst the Mactaguester prefers the Irrational. What’s interesting about this is that we both derive the benefit from the others choice. A case in point is the digital clock in the bathroom. This is an Irrational clock, set forward by around 10 minutes. Interestingly, when we moved to BST earlier in the year, the bathroom clock did not move with us, meaning it is both ten minutes fast and an hour slow. The Mactaguester gets the “benefit” of it’s Irrational offset, while I regularly forget it’s still on GMT and thereby assume the hour is earlier than it really is, meaning I’m really getting on with things today. It is, indeed, a doubly-comforting clock.

Posted in Waffle | 1 Comment

Debugging embedded platforms using GDB and Python

I recently received some great news — an article I wrote on embedded debugging using GDB and Python has been published in Linux Journal. I got my free copies of the magazine yesterday, and my article is in second place on the Features page, pipped to the post only by a robotic spider. Tough competition for anyone.

Once LJ makes the article available on their website I’ll add a link to the actual text.

Posted in Software | 3 Comments

Brighton Rock

Cover of Brighton Rock

A loan from a friend at work, I read Brighton Rock shortly after watching Rowan Joffe’s recent screen reworking of the title. Having rather enjoyed the movie I was expecting good things of the book. I discovered a much darker and more complete treatment of the subject matter, more compelling by far than the film.

In its original 1930’s setting, Brighton Rock is a noir thriller wrapped around a nuanced observation of the eternal struggle between good and evil. Starting out with a mob murder and the resulting scramble for the murderers to cover their tracks, the story quickly progresses from mere physical life and death to a question of salvation or damnation.

Throughout the novel, you can sense Greene battling with his own faith through his characters. Pinkie, the psychopathic teenaged mob leader, struggles with the gulf between the ideals his creed bids him aim for and the dark, brutish world he inhabits. Rose, his innocent, desperate companion, loves Pinkie despite knowing his evil and the damnation it will bring her. Ida, good-time girl gone to seed, juxtaposes them both with her strong, although non-religious, morality. Yet this is no simple critique of religious doctrine: as the final taut chapters draw to a close Greene leaves an ambiguity in his analysis, we sense there is no resolution to the struggle. Indeed, the title and the setting serve as a neat metaphor for the unresolved tensions of the novel: Brighton, pleasure trip location of choice for carefree Londoners, is grotesque in its seaside gaudiness; the rock is simultaneously sweet and sickly.

Though the dialogue and the expectations of the time anchor Brighton Rock to the thirties, the central thesis of the book is timeless. Gritty, menacing, tense and brooding; it’s a classic.

Posted in Books | Leave a comment

No Country For Old Men

Cover of No Country For Old Men

I’d watched the Cohen Brother’s film before I read this novel. Coming to the book itself it was not difficult to see the appeal of the text to a film-maker: McCarthy’s writing is so sparse it is practically a screen play. The story is largely sketched out in terms of actions and acutely-observed dialogue, there is very little in the way of description. It’s an effective minimalism: the twists and turns of the plot are linked by a fine tracery of suggestion; the reader must pay attention to the details. The text quickly becomes compelling. The tough sinews of each lean passage serve as a mirror to the mean emptiness of the central struggle of the narrative: men fighting for money they can’t use, men struggling with a lawlessness they cannot comprehend.

Posted in Books | Leave a comment

Commandline blogging is go

As I moaned about previously, one of WordPress’ downsides (for me) is that my data’s primary home is now on my web server rather than my PC. Another niggle is that I have to create blogposts using the web browser interface, rather than the One True Editor.

Happily, one of the benefits of adopting a widely used framework is that the niggles of geeks have probably already been resolved by some enterprising hacker. And so it is in this case.

By leveraging Stuart Rackham’s excellent blogpost script I now get the best of both worlds. A WordPress framework that I can update from text files on my PC using the commandline. Superb.

To press home the point, this entry has been posted using blogpost. If you prefer the commandline to the browser, and your editor of choice to a horrible form-based box, you might find blogpost worth a look.

Posted in Software | Leave a comment

Importing my legacy posts was easy

Thanks to the combined power of the WordPress Import HTML Pages plugin, the WordPress Mass Page Remover plugin, and a bit of good old awk and sed, I have now successfully imported my blog posts from the old system.

Huzzah, etc!

The process of importing my old posts, however, reminded me of the advantages of my previous system.

In my old system, all my posts were text files on my PC. I had a system of scripts and Makefiles which converted that text into html which I then uploaded to the webserver using rsync. The beauty of the system was that all the data lived on my PC, and the output was all autogenerated. If I wanted to edit all the source files at once, I could do so using a shell script. If I wanted to change the output html, I could hack the generation script to my heart’s desire. And if the webserver should die in flames, or my hosting company decide to rescind my access, then I wouldn’t care. All my data would still be on my PC, and backed up on my fileserver.

Using WordPress, those advantages have been lost. Rather than having my text in a file on my PC, I now type it into a little window in my browser, and it disappears who-knows-where when I press the “Publish” button. The only copy of my writing now lives on the web server, and is entirely outside of my control until such time as I manage to back it up. If I want to change the output that WordPress generates from my input, I’d have to learn how the system fits together before I could hack it up. If I want to modify the input text programatically I’ve got to write a script to poke the database on the live server, an idea that would make even the most gung-ho of code cowboys a little nervous.

Of course, with the loss of one set of benefits comes the gain of another. My blog now supports comments, widgets of all manner, remote posting via a web interface, email updates, and much more. WordPress is doubtless a far more capable publishing tool. All the same, I’m going to keep the strengths of my old system in mind over the coming months. If I can configure WordPress to support the features of my old system at the same time as all the shiny new ones it brings to the table, I’ll be laughing.

Posted in Waffle | 1 Comment

Brave new world

As you may have already realised from the tell-tale signs littered about the page, I have decided move away from the “roll your own” approach to blog software. I am now using WordPress.

I have to confess, I have been most pleasantly surprised at how easy it is to install WP. I hope the experience continues in the same vein as I try to import my previous blog entries from my legacy system.

Brave new world indeed.

Posted in Waffle | Leave a comment

Haitian Folkloric drumming

Browsing around YouTube I came across this fantastic Haitian ensemble. Well worth a listen.

Posted in Music | Leave a comment

Unseen Academicals

Front Cover of Unseen Academicals

I’ve read Terry Pratchett’s books for years now, his writing career progressing in parallel with my reading career. I think I read Wyrd Sisters before I was out of primary school, although most of the jokes went over my head. I’ve stuck with Pratchett since then, voraciously consuming his back catalogue in it’s entirety, whilst the Christmas Discworld novel became a Parkin family tradition for a decade.

The thing about Pratchett’s books is that everyone has their favourites, and for different reasons. I have particularly fond memories of the creepy Lords and Ladies, the ramshackle knock-down-drag-out fun of Guards, Guards and Men At Arms, the stunning opening duo of The Colour of Magic and The Light Fantastic. Equally well, everyone comes across the odd book that doesn’t do it for them. Pratchett at his best is brilliant, Pratchett at his worst is far from bad, but is nevertheless a comparatively empty and unsatisfying experience.

I’m happy to say that, for me, Unseen Academicals is one of Pratchett’s better books, and certainly one of his best for some time. It has a good fun set of protagonists, the stalwart Lord Vetinari and Archchancellor Ridcully get an airing, and behind the fun and frolics there is a more serious agenda of examining wider themes of social class and personal empowerment. Fans of the inimitable Pratchett style won’t be disappointed either, with the trademark wit in full force, and footnotes much in evidence.

This said, I won’t be returning to Unseen Academicals the same way I have to some of the favourites of yesteryear. To a seasoned fan, there are too many Pratchett cliches to make this book a real winner — a token bad guy gets his comeuppance, the creature everyone expects to be a monster is actually quite nice, the wizards bicker and eat large dinners. The pacing and plotting is fairly predictable, and the storyline isn’t compelling enough to deeply engage the reader.

You can buy this book on Amazon in paperback for less than a fiver now, and on those terms this book is great value. If you’re a fan and you’ve not read this yet, go and put your order in now! If you’re a newcomer to Pratchett, the back catalogue has far greater treasures than this.

Posted in Books | Leave a comment