Saturday, 19 June 2010
Dear None...
Got this via email after having registered for one of those discount cards.
It is interesting to speculate on the cause. If I had to put money on it, I'd bet that YouGov send these emails via a 'mail merge' application of some kind that merges on a name field in the customer database given to them by Costa. Perhaps this name field is blank in some cases, and the mail merge app fails to check this. (If I had to hazard a guess, I'd say that the 'None' suggests an app written in Python :)
Regardless of the precise reasons for this error, we can say with certainty that it points to inadequate testing of the application. The developers have made assumptions about data completeness/validity that are not justified in reality. Testing with realistic data would have exposed those assumptions, prompting a simple modification to the code that substitutes a suitable default ('Valued Customer', for example) if no name is available.
Wednesday, 21 April 2010
Pilgrimage
Last week I at long last paid a visit to Bletchley Park, the centre of codebreaking efforts for the British during World War II and the birthplace of modern computing. The picture here shows the reconstructed Colossus Mk II, the world's first semi-programmable digital electronic computer, which helped to crack the Lorentz cipher used by the German High Command.
For a geek like me, standing in front of this as it whirred and clicked was a near-religious experience! The Bletchley Park huts are well worth a visit for anyone interested in cryptography or military history, and the existence of Colossus and The National Museum of Computing on site is the icing on the cake.
My photos of the day are available for viewing as a Flickr set or slideshow.
Thursday, 11 March 2010
Leeds UCU Rally
Pictures from last week's Leeds UCU Rally:
Wednesday, 10 March 2010
Twittering
I've succumbed and created a Twitter account for myself - not really out of a burning desire to start using it, but rather because last week I gave a lecture to my students on how Python could be used for Internet programming at the application level. I already had examples of how to access Flickr and Google services, but Twitter seemed like another good example to use because students are familiar with it as a 'Web 2.0' service and because there is a nice, easy-to-use library available for its API: python-twitter.
I showed the students a simple program to post a status update. I ran it using my newly-created Twitter account (python33r) and then showed them the tweet appearing on my Twitter page.
I didn't think I'd want to continue using the service, but I happened to start following a few people/organisations of interest to me and it has provided a couple of useful notifications already.
I showed the students a simple program to post a status update. I ran it using my newly-created Twitter account (python33r) and then showed them the tweet appearing on my Twitter page.
I didn't think I'd want to continue using the service, but I happened to start following a few people/organisations of interest to me and it has provided a couple of useful notifications already.
Relegation
It seems that the UK risks relegation from the 'Premier League' of scientific nations. Sir Martin Taylor, former vice-president of the Royal Society has said that "we are a bit like Manchester United, but if we are not careful we could end up a bit like Leeds United".
Ouch.
Ouch.
Subscribe to:
Posts (Atom)
