So the concept of the Error 418 code (there’s a Wikipedia article) came to my attention a little while ago, and I thought it kind of sad that there didn’t appear to be a system that demonstrated the correct use of Error 418. Using an old netbook, a tube of industrial sealant, several lines of python, and a teapot from a local charity shop – I put a demo together.
Yes, as a matter of fact, this is a netbook glued to a teapot. Nice teapot too, it’s a Denby.
Test 1: can make a decent cup of tea…
….passed (if it didn’t make a cup of tea, then it wouldn’t be an Error 418 teapot, it would just be teapot-shaped, and hence, not be correctly giving the error)!
Test 2: can pour said cup of tea…
That, in fact, largely concludes our testing, the teapot now lives on my desk in my home office (using the ethernet connection at the moment because its wireless reliability isn’t great – also these photos are from it’s previous life in my office in Royal Holloway). If you like, you can test the whole server (we confess most of our testing was tea based) aspect of the arrangement – the address is http://teapot.joereddington.com/
(You used to be able to do it by direct IP address – but my ISP is a little confused by the concept of a static IP address).
Thank you to Laurence O’Toole for photography and proofreading. People interested in the Error 418 teapot are probably also the sort of people that might be interested in the Flowers for Turing project as well, so feel free to check that out.
Pictures on this page are released under a Creative Commons Attribution 3.0 Unported License.