Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Chapter 4. Bees, they don't fear the reaper

· 6 comments · 2,250 words


A book cover in the style of a 1950's pulp sci-fi novel. An AI generated set of computers are connected by wires.

Welcome to NaNoWriMo, where I - and thousands of other plucky souls - try to write a 50,000 word novel in a month. You are reading "Tales of the Algorithm". A compendium of near-future sci-fi stories. Each chapter is a stand-alone adventure set a few days from now. Everything you read is possible - there's no magic, just sufficiently advanced technology. Think of them as technological campfire…

Chapter 3: They Are The Egg Men

· 1 comment · 2,100 words


A book cover in the style of a 1950's pulp sci-fi novel. An AI generated set of computers are connected by wires.

Welcome to NaNoWriMo, where I - and thousands of other plucky souls - try to write a 50,000 word novel in a month. You are reading "Tales of the Algorithm". A compendium of near-future sci-fi stories. Each chapter is a stand-alone adventure set a few days from now. Everything you read is possible - there's no magic, just sufficiently advanced technology. Think of them as technological campfire…

Chapter 2: Every Breath You Take, Every Drop You Make

· 2 comments · 1,650 words


A book cover in the style of a 1950's pulp sci-fi novel. An AI generated set of computers are connected by wires.

Welcome to NaNoWriMo, where I - and thousands of other plucky souls - try to write a 50,000 word novel in a month. You are reading "Tales of the Algorithm". A compendium of near-future sci-fi stories. Each chapter is a stand-alone adventure set a few days from now. Everything you read is possible - there's no magic, just sufficiently advanced technology. Think of them as technological campfire…

NaNoWriMo - An Introduction and Chapter 1: There Are Nine Million Autonomous Bicycles In Beijing

· 1 comment · 2,750 words · Viewed ~291 times


A book cover in the style of a 1950's pulp sci-fi novel. An AI generated set of computers are connected by wires.

Every year since 2009, I've taken part in NaBloPoMo - National Blog Posting Month. The aim is to publish a new blog post every day in November. In the last few years, I've blogged pretty much constantly - daily for 2020, 2021, and 2023. A total of around 2,800 posts. But now it is time for a new challenge - NaNoWriMo. Where I - and thousands of other plucky souls - try to write a 50,000 word…

Seven Years On Mastodon

· 2 comments · 550 words


Cartoon of a tusked mastodon holding a phone.

I remember seeing the original "A new decentralized microblogging platform" on HackerNews back in October 2016. A few weeks later, I joined - becoming the 7,112th user. As the years went on, my use of it waxed and waned. I started cross-posting to both Mastodon and Twitter. Gradually, I started spending more time on the Fediverse. Once Elon shat the bed on Twitter, I moved over completely. And, …

An open(ish) redirect on Mastodon

· 1 comment · 950 words · Viewed ~214 times


Cartoon of a tusked mastodon holding a phone.

I've responsibly disclosed a small security issue with Mastodon (GHSA-8982-p7pm-7mqw). It allows a sufficiently determined attacker to use any Mastodon instance to redirect unwary users to a malicious site. What do you think happens if you visit: https://mastodon.social/@PasswordReset/111285045683598517/admin? If you aren't logged in to that instance, it will redirect you to a 3rd party site.…

Book Review: The Twilight of the British Empire - British Intelligence and Counter-Subversion in the Middle East, 1948–63 by Chikara Hashimoto

· 600 words


Book Cover featuring Big Ben against a red background.

As the Middle-East convulses in yet another bloody war, and with no end in sight to the barbarity, we're all looking for a way to understand the horrors unfolding. So I went searching in the past. What set the seeds of today's conflict and was there any way to prevent it? This is a dispassionate and, it has to be said, dry look at how the British intelligence agencies operated in the region…

Gadget Review: Plugable USB-C Voltage & Amperage Meter (240W)

· 6 comments · 350 words · Viewed ~658 times


All USB-C cables are equal. But some, as the saying goes, are more equal than others. This little gadget from Plugable is a fantastic bit of kit. Plug your USB-C power supply into one end of the gadget, plug the gadget in to your laptop, phone, or any other USB-C device. Watch the screen to see how much power is flowing. Action Shot …

Book Review: Selected Stories of Philip K. Dick

· 1 comment · 450 words


Book cover.

Imagine a world with inter-city rockets, where tourists still use film cameras. Where self-driving trucks sport a wide array of sensor apparatus and record all their data onto miles of magnetic tape. Where the latest Androids are life-like and can perfectly clone a dead man's speech, yet are powered by punch-cards. People make video calls from public booths which eagerly accept coins as payment. …

CSS only colour-scheme selector - no JS required

· 6 comments · 650 words · Viewed ~400 times


A light website with a photo of a kitten.

Yesterday I wrote about a lazy way to implement a manual dark mode chooser. Today I'll show you a slightly more sensible way to do it. It just uses CSS, no need for JavaScript. Here's a scrap of HTML which present a dropdown for a user to choose their colour scheme: <select id="colour-mode"> <option value="">Theme Selector</option> <option value="dark">Dark Mode</option> <option…

Laziest Possible Dark-Mode Toggle - Using :has() and invert()

· 3 comments · 300 words


A dark website with a photo of a kitten.

I'm not saying this is a good way to make a dark mode website. I'm not even saying it's a sensible way to do dark mode. But I'm pretty sure this is the laziest way of getting dark mode on your site. And it is all done with less than a handful of CSS rules. It relies on the new-ish :has() CSS pseudo class and the positively ancient filter() CSS function. Here's the code in all its glory: …

Converting MoneyDashboard's export file to a CSV - for Firefly III and others

· 1 comment · 450 words


Logo of the Python programming language.

As I mentioned last week, MoneyDashboard is shutting down. They are good enough to provide a JSON export of all your previous transactions. It is full of entries like this: { "Account": "My Mastercard", "Date": "2020-02-24T00:00:00Z", "CurrentDescription": null, "OriginalDescription": "SUMUP *Pizza palace, London, W1", "Amount": -12.34, "L1Tag": "Eating Out", …