Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

I've found just the right paper for my Bottom Hole problem

· 3 comments · 450 words · Viewed ~1,001 times


Some pissed old fart reading a newspaper called "The Hammersmith Bugle" with the headline "No news shocker..."

A few weeks ago, I went on a mad quest to find the newspaper used in 1995's Bottom Hole TV show. During the episode, Eddie starts reading this newspaper: Obviously, the "Hammersmith Bugle" is not a real paper and they never ran a headline "No News Shocker". But judging from all the other shots, the prop is based on a real newspaper. So I decided to rip off Dirty Feed's shtick and find out…

RSS Feeds Send Me More Traffic Than Google

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


Yeah yeah, I know, data-point of 1. I recently read Susam's blog post where they said that "most of the traffic to my personal website still comes from web feeds" - I wondered if that was true for my site. I've been writing this blog for a while. I've never much bothered with "aggressive" SEO - I have a fairly semantic layout, all my reviews have metadata, and stuff like that - but I'm not…

Vertically Aligning Roman Numerals in Code

· 1 comment · 200 words · Viewed ~1,844 times


The PHP logo.

I have a PHP function which uses Roman Numerals. It looks like this: $romanNumerals = [ "Ⅿ" => 1000, "ⅭⅯ" => 900, "Ⅾ" => 500, "ⅭⅮ" => 400, "Ⅽ" => 100, "ⅩC" => 90, "Ⅼ" => 50, "ⅩⅬ" => 40, "Ⅹ" => 10, "Ⅸ" => 9, "Ⅷ" => 8, "Ⅶ" => 7, "Ⅵ" => 6, "Ⅴ" => 5, "Ⅳ" => 4, "Ⅲ" => 3, "Ⅱ" => 2, "Ⅰ" => 1 ]; The problem is, the…

NHS Goes To War Against Open Source

· 26 comments · 1,050 words · Viewed ~17,236 times


All source code repositories must be private by default. Repositories may be internal where there is a legitimate need for visibility within the enterprise. Repositories must not be public unless there is an explicit and exceptional need, and public access has been formally approved by the Engineering Board. Purpose Public repositories materially increase the risk of unintended disclosure of source code, architectural decisions, configuration detail, and contextual information that may be exploited — particularly given rapid advancements in Al models capable of large-scale code ingestion, inference, and reasoning (e.g. developments such as the Mythos model). This red line establishes a default-closed posture for code while the organisation assesses the impact of these changes and ensures that any public publication of code is a deliberate, reviewed, and justified decision. • For P&P Public repositories we will switch to Private on Monday the 11th May 2026 • Teams that have a need for an exemption need to declare this to the Engineering mailbox by COP Wednesday 6th May 2026 • Teams can change to private at any time ahead of this • Central tracking of public repositories: NHSE public repositories.xlsx

The NHS is preparing to close nearly all of its Open Source repositories. Throughout my time working for the UK Government - in GDS, NHSX, i.AI, and others - I championed Open Source. I spoke to dozens of departments about it, wrote guidance still in use today, and briefed Ministers on why it was so important. That's why I'm beyond disappointed at recent moves from NHS England to backtrack on…

Let's Get Digging!

· 400 words · Viewed ~1,307 times


Me and another volunteer pointing excitedly into the dirt.

As part of my quest to try new things I decided to dig for treasure in my local park. The wonderful folks at DigVentures allow members of the public to assist with archaeology projects in their local area. We arrived on a sunny Thursday to find a couple of areas of Lesnes Abbey cordoned off, with the turf taken up, and a set of tools waiting for us. After a suitable health-and-safety briefing …

Theatre Review: Hadestown

· 1 comment · 450 words · Viewed ~1,082 times


Poster for Hadestown featuring a hand holding a budding flower.

Anaïs Mitchell has created something magical. I felt like giving a standing ovation after every song. Just pure theatrical joy delivered by a cast who know how to squeeze every drop of emotion from an audience. Perhaps it was sitting right at the front of the stalls, but the opening of Hadestown feels like dinner theatre; almost cosy in its intimacy. The first act is so busy - there are a …

You can parse an .env file as an .ini with PHP - but there's a catch

· 1 comment · 500 words · Viewed ~1,731 times


The PHP logo.

The humble .env file is a useful and low-tech way of storing persistent environment variables. Drop the file on your server and let your PHP scripts consume it with glee. But consume it how? There are lots of excellent parsing libraries for PHP. But isn't there a simpler way? Yes! You can use PHP's parse_ini_file() function and it works. But… .env and .ini have subtly different behaviour which …

Does Mythos mean you need to shut down your Open Source repositories?

· 3 comments · 350 words · Viewed ~3,136 times


A padlock engraved into a circuit board.

Much Sturm und Drang in the world of Open Source with the announcement that the "Mythos" AI is now the ultimate hacker and is poised to unleash havoc on every code base. So should you close all your Open Source projects to make them safe? No. Firstly, all your Open Source code has already been slurped up. It was all ingested for "training purposes" years ago. If it was moderately interesting…

Sneaky spam in conversational replies to blog posts

· 11 comments · 350 words · Viewed ~6,873 times


Graph showing 272 comments blocked in a single day.

I'm grateful that my blog posts attract lots of engaged, funny, and challenging comments. But any popular post also attracts spammers. I use Antispam Bee to automatically eradicate a couple of hundred crappy comments per day. Nevertheless, some get through. Here's a particularly pernicious one - it appeared as three comments ostensibly in reply to each other. At first glance these look like …

Better TTS on Linux

· 2 comments · 300 words · Viewed ~1,911 times


GUI showing various British English languages.

The venerable eSpeak is a mainstay of Linux distributions. It is a clever Text-To-Speech (TTS) program which will read aloud the written word using a phenomenally wide variety of languages and accents. The only problem is that it sounds robotic. It has the same vocal fidelity as a 1980s Speak 'n' Spell toy. Monotonous, clipped, and painful to listen to. For some people, this is a feature, not a…

Book Review: Up - A scientist's guide to the magic above us by Dr Lucy Rogers

· 300 words · Viewed ~1,220 times


Book cover featuring butterflies and clouds.

My mate Dr Lucy Rogers has written a book! This is a charming and thought provoking exploration of everything that goes on above our heads. This isn't an impersonal and imperious manuscript, it's a deeply personal and joyful book filled with science, anecdotes, and the thrill of discovery. It's spectacularly accessible. Written in a relaxed and casual tone, it encourages domestic science. I…

Reprojecting Dual Fisheye Videos to Equirectangular (LG 360)

· 500 words · Viewed ~1,257 times


Dual fisheye photo of us and some elephants.

I still use my obsolete LG 360 Camera. When copying MP4 videos from its SD card, they come out in "Dual Fisheye" format - which looks like this: VLC and YouTube will only play "Equirectangular" videos in spherical mode. So, how to convert a dual fisheye to equirectangualr? The Simple Way ffmpeg \ -i original.mp4 \ -vf "v360=input=dfisheye:output=equirect:ih_fov=189:iv_fov=189" \ …