Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Theatre Review: The Lightest Element

· 3 comments · 250 words


Poster for The Lightest Element. A woman stands between two men.

The problem with plays about science is that they necessarily have to give the audience a mini-lecture in the subject. The problem with biographical plays is they need to give the audience a summary of a life in a few short speeches. The problem with historical plays is they have to give a précis of the context needed to understand the times. The Lightest Element is a historical science …

Should you enable TOTP *only* authentication?

· 10 comments · 300 words · Viewed ~254 times


A QR code.

Here's a "fun" thought experiment. Imagine a website which let you sign in using only your username and TOTP code. No passwords. No magic links emailed to you. No FIDO tokens. No codes via SMS. Just a TOTP generated and displayed on your device. Is that useful? Sensible? Practical? It's certainly technically possible. Store the username, store the TOTP seed, done. Your users can now log in. …

Styling links based on their destination

· 7 comments · 250 words · Viewed ~212 times


The HTML5 Logo.

Suppose you have lots of links on a page. You want to highlight the ones which point to example.com - is that possible in CSS without using JavaScript? Yes! This scrap of code will turn all those links red: a[href^="https://example.com"] { color: red; } Now, there are a few gotchas with this code. It matches the string exactly. So https://example.com will not match…

GitHub's Copilot lies about its own documentation. So why would I trust it with my code?

· 6 comments · 400 words · Viewed ~1,688 times


Me asking Copilot how I switch it off. Copilot responds with a link.

In the early part of the 20th Century, there was a fad for "Radium". The magical, radioactive substance that glowed in the dark. The market had decided that Radium was The Next Big Thing and tried to shove it into every product. There were radioactive toys, radioactive medicines, radioactive chocolate bars, and a hundred other products. The results weren't pretty. In the early part of the 21st…

A decade later, has my mobile security advice changed?

· 7 comments · 1,750 words · Viewed ~350 times


Logo for 361 degrees podcast.

A decade ago, I appeared on the 361 Podcast to give my advice about mobile security. This was the era of the iPhone 5 and Android KitKat. BlackBerry was trying to have (yet another) resurgence and Nokia was desperately trying to keep Windows Phone alive. What advice did I give then, and is it still relevant? Stay Sceptical In at number five is just stay sceptical. I mean, quite often, lots…

Book Review: Yellowface - Rebecca F. Kuang

· 3 comments · 400 words · Viewed ~208 times


Book cover. Bright yellow. A pair of almond-shaped eyes peer out.

This is a fucking audacious thriller! I literally stayed up way past my bedtime, tearing through the chapters, gasping out loud. The core of the story is simple - a woman steals her dead friend's manuscript and passes it off as her own. Will she get caught? The hook (for want of a better term) is that the plagiarist is white and the original author is Asian-American. It's often said that most…

Book Review: How to Speak Whale - A Voyage Into the Future of Animal Communication by Tom Mustill

· 300 words


Book Cover for How To Speak Whale.

This is an excellent pop-science book. It gently weaves a personal tale (nearly getting crushed by a whale) into the current cutting-edge research of animal communication. It takes in along the way philosophy, geopolitics, and the crushing inevitability of death. At its heart is this question - if modern AI is brilliant at extracting semantic meaning from unstructured data, can it do the same…

Social Media Blocking Has Always Been A Lie

· 2 comments · 750 words · Viewed ~369 times


Portrait photo of a woman with tape over her mouth. Photo by Katie Tegtmeyer, CC-BY.

What does it mean to block someone on a social media site? Way back in the mists of time, we dealt with trolls on Usenet with the almighty PLONK - PLaced On Newsgroup Killfile. It meant your newsreader never downloaded their posts. They could rant at you all day long, and you'd never hear from them. It's what we would nowadays call "Mute". But, whether you're on Usenet or a modern social…

Premium Bonds can still win prizes even *after* you've sold them!

· 2 comments · 750 words · Viewed ~1,405 times


A fiver and some coins on a table.

This is a bit niche! A few months ago, I received a mysterious £25 from National Savings and Investments. A prize from the Premium Bonds! Not enough to make me rich, but enough for a takeaway. Oddly, after checking their app and website, I could find no record of the win. Curious. A few days later, this letter popped through my door. My bond was one of a tranche purchased in 2013. I sold it …

The Mobile Phones of Doctor Who - The Four Doctors (1993)

· 3 comments · 550 words · Viewed ~232 times


Photo of Pertwee, Colin Baker, McCoy, and Davison standing outside the TARDIS. They all have 1990s mobile phones.

The Mirror has a rather wonderful image gallery of behind the scenes photos from Doctor Who. Lots of lovely black-and-white photos of classic stories. And then, right at the end, this: Cor! Four classic Doctors each with a mobile! This photoshoot was, apparently, done at the Hammersmith Ark which was holding an exhibition to celebrate 30 years of Dr Who. There isn't much information about it …

http:, ftp:, and ... dict:?

· 16 comments · 500 words · Viewed ~15,053 times


Photo of a dictionary,.

I went for a spelunk through an ancient codebase a few weeks ago which contained a curious regex that I just couldn't grok. {<((https?|ftp|dict|tel):[^\'">\s]+)>}i I'm familiar with HTTP and FTP. I worked in the mobile industry, so knew that tel:+44... could be used to launch a dialer. But DICT?!?!?! It turns out that, lurking on the Internet are Dictionary Servers! They exist to allow you…

Theatre Review: Big Finish *LIVE!* Doctor Who - The Stuff of Legend

· 3 comments · 450 words


Promo poster for The Stuff of Legend.

Big Finish have been pumping out Doctor Who audio dramas for quarter of a century. But this, apparently, is the first time they've recorded one live and in front of an audience. It was glorious! Big Finish could have cheaped out - even with a bare set and a cast of newbies, the fans would have flocked to it. Instead, we got this lushly decorated set: The console pulsed away during the…