Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Theatre Review: Hadestown

· 450 words · Viewed ~628 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,260 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?

· 1 comment · 350 words · Viewed ~1,809 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,439 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,512 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,019 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,033 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" \ …

Book Review: How To Kill A Witch - A Guide For The Patriarchy by Claire Mitchell and Zoe Venditozzi

· 4 comments · 550 words · Viewed ~1,014 times


Book cover featuring a noose and flames.

After reading The Wicked of the Earth, I wanted to understand some of the history behind the stories. Why were women accused of being witches? What really happened in those trials? What are the modern consequences of those events? This is the story of the Scottish Witch Trials - with brief forays into England and abroad. It examines the central tension of whether witchcraft was real to the…

Why is it so hard to passively stalk my friends' locations?

· 4 comments · 1,000 words · Viewed ~1,976 times


Promotional photo for the TV series Friends.

I feel terribly guilty when I visit a new city, post photos of my travels, only to have a friend say "Hey! Why didn't you let me know you were in my neck of the woods?" Similarly, if I bump into an old acquaintance at a conference, we both tend to say "If only I'd known you were here, we could have had dinner together last night!" I do enjoy the serendipity of events like FOSDEM - randomly…

Android now stops you sharing your location in photos

· 21 comments · 550 words · Viewed ~22,256 times


UK map covered in thousands of markers.

My wife and I run OpenBenches. It's a niche little site which lets people share photos of memorial benches and their locations. Most modern phones embed a geolocation within the photo's metadata, so we use that information to put the photos on a map. Google's Android has now broken that. On the web, we used to use: <input type="file" accept="image/jpeg"> That opened the phone's photo picker…

Cheapest way to keep a UK mobile number using an eSIM

· 10 comments · 500 words · Viewed ~1,666 times


Screen saying are you sure and offering other choices.

I have an old mobile phone number that I'd like to keep. I think it is registered with a bunch of services for 2FA by SMS, but I can't be sure. So I want to keep it for a couple of years just in case I need it to log on to something. I don't want to faff around with physical SIMs, so I went looking for the cheapest way to keep my number for the longest time. There are a whole bunch of providers…

Book Review: Small Comfort by Ia Genberg

· 250 words · Viewed ~1,092 times


Book cover.

I was left somewhat unconvinced by this book. I liked the concept - a series of interrelated stories all told in different styles. Much like the film "Lola RenntRun Lola Run" there's a briefcase full of cash, a cast of morally ambiguous characters, and a meandering philosophical discussion about the nature of economic salvation. It slams together the naïve and the cynical into a bunch of …