Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Theatre Review: Elektra

· 400 words


Poster for Elektra featuring Brie Larson with short cropped hair.

Experimental and unconventional theatre is rare in the prime spots of the West End. There's a sea of jukebox musicals, film adaptations, standard Shakespeare, and Worthy Plays. Theatreland runs on bums-on-seats - doesn't matter what the critics say as long and punters keep paying outrageous prices for cramped stalls in dilapidated venues. Elektra is uncompromising. It is the sort of play the…

Book Review: Medieval Cats - Claws, Paws, and Kitties of Yore by Catherine Nappington

· 2 comments · 650 words · Viewed ~240 times


Book cover of Medieval Cats.

Malcolm Croft (under the pseudonym Catherine Nappington) has produced a compendium of cat illustrations from ancient manuscripts. It's then peppered with a variety of regurgitated facts and captions of a sub-Facebook levels of humour. There are a few hundred pages of illustrations for you to flick through - but they're all devoid of context. As sumptuous as the images are, they're surround by…

Towards a test-suite for TOTP codes

· 11 comments · 1,250 words · Viewed ~7,061 times


Screenshot showing a QR code and numeric codes.

Because I'm a massive nerd, I actually try to read specification documents. As I've ranted ad nauseam before, the current TOTP spec is irresponsibly obsolete. The three major implementations of the spec - Google, Apple, and Yubico - all subtly disagree on how it should be implemented. Every other MFA app has their own idiosyncratic variants. The official RFC is infuriatingly vague. That's no…

Using the Web Crypto API to Generate TOTP Codes in JavaScript Without 3rd Party Libraries

· 2 comments · 750 words · Viewed ~725 times


A chunky wristwatch showing the time and a selection of 6 digit codes and their corresponding entities.

The Web Crypto API is, thankfully, nothing to do with scammy cryptocurrencies. Instead, it provides access to powerful cryptographic features which were previously only available in 3rd party tools. So, is it possible to build a TOTP code generator without using any external JS libraries? Yes! And it is (relatively) simple. Here's the code that I've written. It is slightly verbose and contains…

ManyTag Colour eInk Badge SDK - Minimum Viable Example for Android

· 500 words · Viewed ~374 times


Screenshot of an app.

Last year, I reviewed a Four-Colour eInk Name Badge - the ManyTag HSN371. The hardware itself is perfectly fine, but the Android app isn't great. It is complicated, crash-prone, and not available in the app-store. After some back-and-forth with the manufacturer, they agreed to send me their Android SDK and documentation. Sadly, the PDF they sent me was riddled with errors and the software…

Theatre Review: The Last Laugh

· 600 words · Viewed ~342 times


Actors impersonating Tommy Cooper, Eric Morecambe and Bob Monkhouse.

This is three excellent plays in one. First, a ghost story. Second, a tribute act. Thirdly, a meditation on the nature of comedy. In many ways, it is the complement to Inside Number 9 playing next door. Cooper, Morecambe, and Monkhouse were dead to begin with. Perhaps you grew up watching them live at the Palladium, or on grainy VHS tapes, or in microbursts on TikTok. But they got their last…

Change the way dates are presented in WordPress's admin view

· 1 comment · 200 words · Viewed ~235 times


The Logo for WordPress.

WordPress does not respect an admin's preferred date format. Here's how the admin list of posts looks to me: I don't want it to look like that. I want it in RFC3339 format. I know what you're thinking, just change the default date display - but that only seems to work in some areas of WordPress. It doesn't change the column-date format. Here's what mine is set to: So that doesn't work. …

Book Review: Web Accessibility Cookbook - Creating Inclusive Experiences by Manuel Matuzovic

· 2 comments · 300 words · Viewed ~602 times


Book cover featuring a happy dog.

My friend Manuel has sent me his latest book to review - and it is a corker. The best thing about this book is that it doesn't waste any time trying to convince you that Accessibility Is Good™. You're a professional web developer; you know that. Instead, it gets straight down to brass-tacks and gives you immediate and useful examples of what to do. You could read the book linearly - but it is m…

The least secure TOTP code possible

· 4 comments · 750 words · Viewed ~5,190 times


QR code.

If you use Multi-Factor Authentication, you'll be well used to scanning in QR codes which allow you to share a secret code with a website. These are known as Time-based One Time Passwords (TOTP). As I've moaned about before, TOTP has never been properly standardised. It's a mish-mash of half-finished proposals with no active development, no test suite, and no-one looking after it. Which is…

Why are QR Codes with capital letters smaller than QR codes with lower-case letters?

· 18 comments · 550 words · Viewed ~33,385 times


QR CODE

Take a look at these two QR codes. Scan them if you like, I promise there's nothing dodgy in them.     Left is upper-case HTTPS://EDENT.TEL/ and right is lower-case https://edent.tel/ You can clearly see that the one on the left is a "smaller" QR as it has fewer bits of data in it. Both go to the same URl, the only difference is the casing. What's going on? Your first thought might be th…

Book Review: In Search of Lost Time - Marcel Proust

· 4 comments · 700 words · Viewed ~330 times


A book cover.

A friend mentioned that they were going to a Proust book club where they'd be discussing Swann's Way, the first volume of the masterpiece. "Well," I thought, "That sounds like a fun challenge!" It was not. I picked up the Standard eBooks version translated by C. K. Scott Moncrieff and started my journey. It starts with a young man having a wet dream and then, in excruciating detail, describing …

Theatre Review: Trash

· 1 comment · 200 words


Four men in trash-cans, playing them like instruments.

I went into this as a cynic and came out a grinning maniac. Look, it is basically "Stomp" but for kids. It's a join-in pantomime where four babbling fools play with junk in a recycling centre to make music. Oh, sure, you could analyse it as being a blend of Commedia dell'arte and modern dance, but it is closer to Minions. All cartoon violence, generic-Euro-mumble speech, and tunes that they'll…