Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Una Watch TOTP - MFA on your wrist!

· 2 comments · 1,700 words · Viewed ~639 times


My wristwatch showing "HSBC MFA Code 751646". Don't worry, this isn't my real code. OR IS IT?!?!

Let's get this out of the way first - this is a terrible idea! I want my two-factor authentication codes to be easily accessible to me, so I've built a watch app which will display them. That's really convenient for me - but makes for a terrible security posture. Anyone who steals my watch will be able to see my one-time code. If they're clever, they can decompile the app and find the secret…

Book Review: Are You *Really* The Doctor? by Matthew Hutchinson

· 2 comments · 550 words · Viewed ~718 times


Book cover featuring a pair of crossed plasters in a dark brown colour.

A few months ago, I went to see Dr Hutchinson record his stand-up comedy special for the BBC - it's about his experiences working in the NHS as a Black doctor. As the title of the book implies, some of the public can be a mite suspicious that anyone with even a hint of melanin can rise beyond being a porter or, at a push, a nurse. Much like Adam Kay's "This Is Going To Hurt", this is part…

Book Review: Africa Is Not A Country - Breaking Stereotypes of Modern Africa by Dipo Faloyin

· 350 words · Viewed ~768 times


Book cover showing the various countries of Africa.

It's hard to craft a book with so much righteous indignation - let alone make it funny, accessible, and informative. Nevertheless, Dipo Faloyin has succeeded in writing a spectacular takedown of the myths which are often perpetrated about Africa. It starts in the best way possible: [Insert generic African proverb here. Ideally an allegory about a wise monkey and his interaction with a tree,…

The Internet of Very Cheap Things

· 7 comments · 1,250 words · Viewed ~1,905 times


A plug in unit with two ethernet ports.

Twelve years ago, I was complaining that IoT devices were too expensive. Last week I bought a colour changing Zigbee lighbulb for £4. Not a typo - less than a fiver. While the aipocalypse is devouring RAM with its insatiable appetite, Moore's Law appears to be keeping up its end of the bargain when it comes to domestic gadgetry. This blog posts compares today's prices with those from a little …

Book Review: The Thousand Deaths of Romeo and Juliet - Caroline Finch

· 500 words · Viewed ~821 times


Book cover.

The thing about Romeo and Juliet is that it is a true story. It isn't literally true, but it is literary true. We see the same motif repeated throughout all cultures and all times. Caroline Lea (writing as Caroline Finch) asks an important question - what if every pair of star-cross'd lovers were reincarnations of the original Verona duo? The essence of tragedy is that the end is unavoidable.…

I paid people to try and follow my README

· 12 comments · 700 words · Viewed ~35,944 times


A tiny lego Storm Trooper eats a chocolate coin.

Developers suck at writing documentation. We like to say RTFM but often there ain't no FM to R. At best we have a half-arsed collection of notes, some obsolete tips, and a link to a desolate forum full of people asking the same questions again and again. That's no way to treat our users. I naïvely believe there's a better way. As I've written before, you should sit down and actually test your …

Some quick thoughts on Unit Testing ActivityPub

· 3 comments · 600 words · Viewed ~2,019 times


The PHP logo.

I'll be radically honest here - I never really got the idea of "Test Driven Development". I'm much more of a "telnet into production and damn the consequences" kind of guy. Look, it's much more fun and my cardiologist recommends severe shocks every now and again. The essence of unit testing is pretty simple: Feed a function some data See how it responds Send it good data and if it returns…

Concert Review: London Voices - Video Games Go Choral

· 300 words · Viewed ~881 times


A choir stands in front of a video game background.

London's musical entertainment scene has something for everyone - from long-running blockbuster shows to no-name bands in dingy basements. Somewhere in the middle is monophonic plainchant versions of the Halo theme sung in a church. The acoustics at St Martin in the Field are echoey. That makes it rather hard to hear the amplified announcement to turn off our phones, but makes an a cappella…

Theatre Review: Hay Fever at Wyndham's Theatre

· 1 comment · 750 words · Viewed ~918 times


Richard E. Grant and Christine Baranski.

I'm a theatrical cheapskate. I'm on all those last-minute seat-filler websites. I'll happily take a chance on an experimental play for a tenner a ticket or sit in an inexplicably unsold cheap seat at a major show. My philosophy is that the worst seat at the best show is preferable to the best seat at the worst show. But, once in a while, I'll splash out and pay full price. When the email landed…

Una Watch - SDK and Writing Your First App

· 1,050 words · Viewed ~1,117 times


A watch displaying "Hello World" and "I know C++". The latter if off centre because I don't know C++.

I don't know why hardware manufacturers find it so hard to write decent documentation. As I've said before you need to actually test your readme. The Una Watch development instructions are scattered across a bunch of different files. So here's how to go from zero to your first "Hello, World!" Glance app with the minimum of fuss. This all assumes a fairly modern Debian / Ubuntu / Pop OS Linux. …

My Pitch for the New Season of Doctor Who

· 9 comments · 750 words · Viewed ~1,825 times


A tiny TARDIS made of Lego.

With the news that the BBC are tendering for a new series of Doctor Who, I thought I'd write down what I want from the show. This is, to be fair, pure fan-service wankery with zero chance of being made. I've based it on the oft-made observation that Hollywood is obsessed with remaking successful films rather than trying to remake unsuccessful ones. Do we really need another Spider-Man origin…

Gadget Review: Una Watch

· 4 comments · 1,300 words · Viewed ~1,510 times


A notification on screen with a question mark before the user's name.

I've never been a huge fan of smart watches. My £16 smartwatch is basically fine, but the OS is closed source and there's no way to add new functionality. Previously I had the eInk Watchy which was a pain to use and really poorly designed. Even back in 2014 I was bemoaning the design compromises in the MyKronoz ZeWatch Smart Watch. So why did I pick up the Una Watch? Firstly, the Una Watch is …