 
				
				Tado is a brilliant smart thermostat. But their API is very poorly documented. This is an updated guide for 2019.  I am indebted to Stephen C Phillips' original documentation.  Getting started  You will need:   A Tado (duh!) Your Username (usually your email address) Your Password A Client Secret   Getting the client secret  I'm using this client secret:…
				Continue reading →
			
			
				
				
					 
				
				The realization that Galileo had fathered two nuns made me question everything I’d been taught about him in school. What if he did everything he did as a believing Catholic? I wondered. Isn’t that a much more nuanced, interesting story? And how would his daughter nuns have reacted to his unorthodox notions about the heavens? To his trial for heresy by the Roman Inquisition?  This is a quick bio…
				Continue reading →
			
			
				
				
					 
				
				Professor Matthew Walker explores twenty years of cutting-edge research to solve the mystery of why sleep matters. Why We Sleep delves into everything from what really happens during REM sleep to how caffeine and alcohol affect sleep and why our sleep patterns change across a lifetime, transforming our appreciation of the extraordinary phenomenon that safeguards our existence.  I am going to…
				Continue reading →
			
			
				
				
					 
				
				Mostly notes to myself, as a follow-up to this older post.  This is a 3-step process.  Add the file to an MKV  Use MKVmerge:  mkvmerge "audio.wav" --chapters "audio.cue" -o "audio.mkv"   You can see that chapter names have been added to the .mkv if you run ffmpeg -i or mkvinfo.  Split the MKV by chapter  This generates one file per chapter:  mkvmerge -D -S "audio.mkv" --split chapters:all -o…
				Continue reading →
			
			
				
				
					 
				
				Back when social networks were new, Twitter was a great place to raise a complaint with a company. You could be sure that the Twitter account was run by someone who got social and, more often than not, would show tweets to the CEO.  Sadly, Twitter corporate accounts now all follow the same script "Gosh! That doesn't sound good! Let us put this right. Please DM us your customer number, surname,…
				Continue reading →
			
			
				
				
					 
				
				What happens when a robot begins to question its creators? What would be the consequences of creating a robot with a sense of humour? Or the ability to lie? How do we truly tell the difference between man and machine? In "I, Robot", Asimov sets out the Three Laws of Robotics – designed to protect humans from their robotic creations – and pushes them to their limits and beyond.  After attending a…
				Continue reading →
			
			
				
				
					 
				
				The dramatic human story of an epic scientific quest: the search for the solution of how to calculate longitude and the unlikely triumph of an English genius.  A fascinating look at a defining moment in technological development.  Full of intrigue, double-crossing, maths, and science.  It cracks along at a fair pace, sometimes lightly skipping over details. I would gladly have read this if it…
				Continue reading →
			
			
				
				
					 
				
				I've just got a set of wearable NFC tags, and I've discovered something interesting about the way data is stored on them.  tl;dr Overwriting a tag can leave old data intact, and still readable.  Here's the decoded memory layout of a tag with data written to it. In this case, a (failed) experiment at storing a JavaScript pop-up.  # NDEF message: [00] D1 01 7D 55 00 64 61 74 61 3A 74 65 78 74 2F 68 …
				Continue reading →
			
			
				
				
					 
				
				Death’s End (死神永生) is a science fiction novel by the Chinese writer Liu Cixin. It is the third novel in the trilogy titled Remembrance of Earth's Past, following the Hugo Award-winning novel The Three-Body Problem and its sequel, The Dark Forest.  This is an unforgiving book. Did you remember every detail from the last two novels? No - better go back and take some notes!  It is epic sci-fi. Boun…
				Continue reading →
			
			
				
				
					 
				
				Welcome to 97-hour weeks. Welcome to life and death decisions. Welcome to a constant tsunami of bodily fluids. Welcome to earning less than the hospital parking meter. Wave goodbye to your friends and relationships... Welcome to the life of a junior doctor.  I saw Kay perform his delightfully disgusting parody songs on the Amateur Transplants tour way back in 2008.  The humour in this book is m…
				Continue reading →
			
			
				
				
					 
				
				I'm finally feeling like I'm settling into my new role. I spent my Saturday at UK GovCamp - an unconference for Civil Servants.  I ran a session on Acronyms in the Workplace. It was hillarious listening to people try to introduce themselves without any abbreviations.  "I am the Chief Paperclip Office for the United Kingdom's Department of Stationery and Supplies" doesn't take much longer to say…
				Continue reading →
			
			
				
				
					 
				
				It's 2019 and high-tech devices are still plagued by text encoding bugs.  I recently bought the new 4K Amazon Fire Stick. It's a little Android dongle which plays videos. It's neat - but quite often displays weird text errors.  Take the kids' TV show House of Anubis, the Fire displays the description like this:   Looking at the source code for the description:   That's the character "private use…
				Continue reading →