Hrm. Just back from the pub, where they played a song which I thought was called “Fool Out Of Me”. The video had a band all of whom wore suits, and a succession of female singers who, in the video, were reading the lyrics from a piece of paper, one at a time. Anybody got any idea what it is?
Posted by sil at 2:31 am on October 25th, 2008.
Categories: LazyWeb.
If you wanted me to do something on the 19th November 2008, I won’t be available: I’ll be busy watching Top Gear being filmed. Fantastic.

Posted by sil at 3:01 pm on October 21st, 2008.
Categories: Web.
Right, first of all: don’t do this.
Drew commented on Twitter that it ought to be possible to mash up Twitter with Google Calendar to get SMS alerts for Twitter direct messages, because Google will send you SMS reminders for an event in your calendar. (Twitter stopped doing this a while ago, because sending SMSes costs money in the UK and they couldn’t afford it. Google, being a bit better capitalised, can afford it, thus far at least.) So, the idea is that you watch for a direct message in Twitter, then you create a Google calendar event for six minutes from now with the text of the message, and set an SMS reminder on that calendar event for five minutes from now. Then wait one minute, and you get an SMS with the text of the Twitter message, and you didn’t have to pay for it.
So, send_sms_via_gcal does the latter end of that. Python, requires the Python GData API.
It’s not very useful, though. You get an SMS message which has lots of Google calendar stuff in it and so on, and it truncates the actual message you wanted to the first 57 characters. So not all that helpful. It litters your calendar with reminder messages that you have to go and clean up manually (which could be cleaned up automatically without too much difficulty, but you’d have to write a separate thing which fired once an hour or so and cleaned up old messages.)
I suspect the Google calendar people will also take a shockingly dim view of their SMS reminder stuff being so flagrantly misused, too, which is why I said to not do it. SMS reminders are pretty nice; don’t make Google turn them off.
Posted by sil at 4:44 pm on October 15th, 2008.
Categories: LazyWeb, Python, Software, Sundry Hacks, Web.
The Secrets of JavaScript Closures talk that I delivered at Fronteers 2008 was filmed, and the video is now available. You can watch it with streaming Flash video from the presentation page. (I’ve dropped a mail to ask whether I can re-encode it as downloadable Ogg Theora for people who don’t have Flash.)
Posted by sil at 9:20 pm on October 12th, 2008.
Categories: Conferences, JavaScript and the DOM.