Blog archive: March 2009

Smile - you're on Google Maps

Google have just launched Street view in the UK, which gives pretty informative street-level photographs as part of their mapping service. Funny little cars with weird rigs attached to them were scooting round London all last summer, capturing the photographs.

Of course, if you see one of those cars, chances are you may appear in the photographs they take. My wife remembered a particular location where we saw one last summer, and we've tracked ourselves down, strolling back home from a trip to Broadway Market in Hackney:

View Larger Map

Which actually feels a bit strange. We've been Google-papped. Lucky it was my wife I was out with that day ;)

Django unit testing gotcha: test case methods run in alphabetical order

After a good few hours of increasing frustration, I managed to work out why the Django unit tests I was working on were doing funny things. As it turns out, the individual test case methods are, by default, sorted alphabetically by the TestLoader.

This is worth knowing if you're testing things that rely on the tests being run in order, such as creating, editing and deleting of records in the database.

Continue reading »

© 2019 Associative Trails Ltd. 4m@