I'm Michael Tandy. Until recently I was a PhD student at the University of Warwick. Now I'm a software developer for online grocery delivery company Ocado. You can check out my Wikipedia contributions and Wikimedia Commons contributions. I've got a Facebook profile, a LinkedIn profile, and a GitHub account. Looking for rail industry direction sensors? Check out Direction Detection. Want to get in touch? website@mjt.me.uk

Recent Posts

Amazon collection locker

Posted on 06 Apr 2014

I tried collecting some stuff from an Amazon locker, to see what the customer experience is like. The locker address is presented as a normal delivery address in your address book. When your item is available, you get an SMS: "Hello. Your parcel with (Item Name Which May Be Truncated) was delivered to Amazon Locker. Use pickup code: ABCD1A for this parcel" The message arrived quite quickly - I assume the locker triggers sending the...

Read more...

Getting jd-gui to work on Ubuntu 13.10 x86_64

Posted on 22 Feb 2014

So you've just downloaded the latest version of jd-gui for linux but it doesn't start. TLDR: sudo apt-get install libgtk2.0-0:i386 libxxf86vm1:i386 libsm6:i386 lib32stdc++6 More details: Here's the process I went through: $ ./jd-gui ./jd-gui: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory $ sudo apt-get install libgtk2.0-0:i386 $ ./jd-gui ./jd-gui: error while loading shared libraries: libXxf86vm.so.1: cannot open shared object file: No such file or directory $...

Read more...

Sending breaks to serial devices from the terminal, using termios

Posted on 04 Jan 2014

I'm playing around with an mbed LPC1768 for a project I'm working on. When you upload a new binary to the LPC1768 you have to perform a reset for it to run the updated binary; you can do this with a reset button on the board, or by triggering a soft reset by sending a break signal to a virtual serial port. To speed up my compile-upload-test cycle I wanted to be able to do...

Read more...

Barcode reader test cases

Posted on 01 Dec 2013

I've had an interest in barcodes and image processing for some time, and as a side project some time ago I put together a software barcode reader. One of the things I did for that project was start collecting photos of barcodes that didn't scan well - either to use the images for my unit tests, or to order the products for physical tests. You can use these photos of degenerate barcodes to test your...

Read more...

Falsehoods programmers believe about addresses

Posted on 29 May 2013

Perhaps you've read posts like Falsehoods Programmers Believe About Names and Falsehoods programmers believe about time. Maybe you've also read Falsehoods programmers believe about geography. Addressing is a fertile ground for incorrect assumptions, because everyone's used to dealing with addresses and 99% of the time they seem so simple. Below are some incorrect assumptions I've seen made, or made myself. (If you want to look up an address for a UK postcode or vice-versa to...

Read more...

Miscellaneous

Posted on 29 Dec 2012

Not so much a blog post as things I want to remember the URLs for! TLS (SSH) Server Name Indication patch for OpenJDK Webrev standards-compliant HTML patch Here's a robot: There should be a video here.

Read more...

website@mjt.me.uk · Home · Archive · Tags