Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Cheapest Possible eSIM in the UK

· 6 comments · 450 words · Viewed ~8,848 times


Photo of a nano SIM card and its plastic housing.

After railing against eSIM-only phones for over a decade, I've finally succumbed. It appears impossible to buy a modern phone without them. Thankfully, most seem to be dual-SIM. So I can have a regular SIM card and an eSIM. I find dual-SIM phones handy. I have a disposable number which I give out to people who don't need my main number. And when I go abroad, it's useful to have a local SIM. …

M🞵A🞵S🞵H - De-Specialised Edition

· 4 comments · 500 words · Viewed ~333 times


The top and bottom are cropped but there's more details at the edges.

A few years ago, classic TV comedy MASH, was remastered and released on streaming platforms. The picture quality was massively increased with just one minor flaw. They cropped the image to 16:9 widescreen 😱 This upset some fans. The thing about widescreen is that it chops off the top and bottom of the picture. The top of Hawkeye's head? Gone! The bottom of Hot-Lips' boots? Vanished! אױ װײ איז …

Review: Bill Bailey - Thoughtifier at the O2

· 3 comments · 300 words · Viewed ~1,441 times


Photo of Bill Baily, a bearded gentleman of indeterminate age. Arrows point to his face.

Bill's back! Fresh from winning some dance show on linear-TV and ready to... well, do the same thing as he's been doing for years. Rambling tales, dozens of instruments, innovative tech, and a charming whimsy - undercut with, perhaps, a little more darkness than usual. It is a classic, if unsurprising gig. There's an odd segue into Pachelbel's Canon - material which has been mined to extinction…

O2 UK's Weird MSISDN Lookup API

· 7 comments · 250 words · Viewed ~219 times


Sorry, we don’t recognise this number. Please try again.

It's always fun keeping your network inspector tab open. While looking around the O2 UK website, I found this page all about eSIMs. For some reason, it wants to know the user's phone number. I put in a random number, and it refused to let me in. Putting in a genuine O2 number let me through. So what is it doing to validate numbers? It is making an API call to this URl: …

Updates to ActivityPub in a single PHP file

· 3 comments · 450 words · Viewed ~651 times


Logo for ActivityPub.

A few weeks ago, I built an ActivityPub Server in a Single PHP File. It's a proof of concept showing how easy it is to turn a website into a full-featured Fediverse participant. After a bunch of feedback and testing, I've added a some features to make it slightly more useful. A single PHP file - 45KB of no-library goodness. Just add your details, upload, and done. No databases. Everything…

You can't photocopy this blogpost (abusing EURion in CSS)

· 8 comments · 300 words · Viewed ~359 times


The HTML5 Logo.

Do you know about the EURion constellation? It is a pattern which is embedded into some modern banknotes and has a curious property. Most modern photocopiers will, if they detect the pattern, refuse to make a copy. Try it for yourself - stick a €20 note into your nearest Xerox machine and try to print out some illicit currency - see what happens! It goes a little further Some printers will r…

Movie Review: M*A*S*H

· 6 comments · 350 words


Poster for MASH featuring a terrifying hybrid of a human hand giving a peace sign with a pair of female legs descending from it.

After watching the First few series of the TV show "M*A*S*H", I thought I'd give the original movie a go. It isn't very good. Even if you ignore the rampant racism - and there is a lot of racism - you still have to content with the brutal misogyny - and it is toe-curlingly grim. Then you get the homophobia which, may have been of its time, but the sexual assault isn't. And if you can get past…

Gig Review: The Leo Green Orchestra perform The Rolling Stones at the London Palladium

· 250 words


Poster for the gig.

For the first time in its illustrious 114 year history, the historic London Palladium will host a monthly orchestral residency beginning in February 2024, which will see iconic artists’ music celebrated. This was an entertaining, but curious, gig. It isn't a tribute act - no sequinned sound-alikes strutting the stage here - it's a a full rock-n-roll orchestra fronted by three dazzlingly t…

FILE/DINK/DWZ/3+1 - a personal financial quadrumvirate

· 5 comments · 1,200 words · Viewed ~479 times


A complex line graph.

Brits hate talking about money. But this benefits no-one. This is my situation - it's probably different to yours. I'm acutely aware I'm in a better financial position than most. This isn't financial advice - but I'd sure appreciate anyone's thoughts. I've recently moved down to a 4-day-a-week job. Taking a 20% hit to my salary felt like a moment of madness. But it was part of a (somewhat)…

A simple(ish) guide to verifying HTTP Message Signatures in PHP

· 2 comments · 1,200 words · Viewed ~294 times


Screenshot of JSON. As described in text.

Mastodon makes heavy use of HTTP Message Signatures. They're a newish almost-standard which allows a server to verify that a request made to it came from the person who sent it. This is a quick example to show how to verify these signatures using PHP. I don't claim that it covers every use-case, and it is no-doubt missing some weird edge cases. But it successfully verifies messages sent by…

HTTP Signature Infinite Loop?

· 10 comments · 550 words


A padlock engraved into a circuit board.

I'm trying to get my head round HTTP Signatures as they're used extensively in the Fediverse. Conceptually, they're relatively straightforward. You send me a normal HTTP request. For example, you want to POST something to https://example.com/data You send me these headers: POST /data Host: example.com Date: Sat, 24 Feb 2024 14:43:48 GMT Accept-Encoding: gzip Digest:…

Review: Matter-enabled Energy Monitoring Smart Plugs - Meross 315

· 4 comments · 500 words · Viewed ~1,057 times


Two plugs side by side.

Matter is coming to fix all your smarthome woes! A single IoT standard, working across multiple radio protocols, bringing together different products from many different manufacturers. And… it works! Mostly These are the Meross 315 Smart Plugs. They are small(ish), cheap(ish), and easy(ish) to use. As soon as I plugged them in, before even configuring them, my home went crazy. I got a p…