Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Put an AV test at the start of your slides

· 6 comments · 250 words · Viewed ~2,216 times


A test card is displaying on a television screen

For years, I've had a test-card at the start of my slides. Before I start my talk, I can immediately see if the aspect ratio is wrong, colours are off, or any other visual issues with the presentation. A few years ago I was invited to give a talk and was assured that the venue was set up for audio as well as video. I dutifully filled my slides with with demo videos containing sound. None of…

ActivityPub - Is it worth defending against replay attacks and message/signature time skew?

· 5 comments · 1,750 words · Viewed ~1,299 times


Logo for ActivityPub.

Here's a problem that I've found with ActivityBot - my little ActivityPub server. Sometimes it receives messages which were originally sent months ago. Why does that happen and is it risky to accept and process them? My tl;dr is that it probably isn't worth worrying about. But I'd love someone to tell me why I'm wrong. Here's my thinking: Table of ContentsCausesIs that a problem?What are we…

The purpose of DNS is to spread scams

· 9 comments · 1,400 words · Viewed ~8,686 times


Glowing computer text showing dot com dot info etc.

I imagine everyone here has received an unsolicited message telling them that their tax is overdue and that they urgently need to visit Genuine-Tax-Payment-Website.fart or that a parcel is delayed at customs and you can pay a small sum for its release at Almost-The-Right-Acronym.ak You know it is a scam. Most people just mark as spam and move on with their day. But a significant number of people …

Book Review: The Passing of the Dragon and Other Stories by Ken Liu

· 1 comment · 250 words · Viewed ~936 times


Book cover.

This is a gorgeous set of short stories - and a good deal more accessible than some of the heavyweight prose Liu has previously been involved with. Some of the stories contain sentences which are complex jewels to be savoured. What I particularly like is the way he moves between almost-prosaic Earth-bound stories to the the most extraordinary flights of fancy. One story might be set in a…

A reasonably practical guide to validating RFC 9421 HTTP Signatures for ActivityPub in PHP

· 2 comments · 900 words · Viewed ~1,105 times


A padlock engraved into a circuit board.

If you're reading this, you've probably been hitting your head against a brick wall trying to parse and decipher the new HTTP Signatures sent by Mastodon and other Fediverse servers. This is a basic and somewhat incomplete guide to accepting these signatures. I'm sure there are various gotchas, but it works with the signatures I've seen in the wild. Shut Up And Show Me The Code! OK, wow, no…

Book Review: ActivityPub by Evan Prodromou

· 1 comment · 400 words · Viewed ~1,197 times


Book cover with a parrot on it.

As part of my grant from NLnet to improve my Fediverse bot project, I'm spending time making sure I understand all the fundamentals of ActivityPub. The problem with Internet standards is they're scattered all over the place. Abandoned forums, half-maintained wikis, mailing lists with obscure rules, and monolithic blocks of text. Sometimes you just want one book which collates all the info and…

Review: Ruined Theatre's A Midsummer Night's Dream

· 1 comment · 550 words · Viewed ~1,019 times


Poster for the show, an explosion of colour.

The whole point about Shakespeare is that you can set the play on an intergalactic space station or an American high school and keep virtually the rest unchanged. What happens when you transpose Dream from a proscenium arch to a living wood? As the sun sets over the trees, what sprites will come out to entertain us? Ruined Theatre brings a brilliant cast of seasoned West End performers to strut…

ActivityBot is the recipient of an NLnet grant!

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


NLnet logo.

Back in February, I applied for NLnet's Next Generation Zero grant. They were looking for Fediverse projects to help rewild the social media landscape. Or, as they describe it: Reclaim the public nature of the internet Small and medium-sized R&D grants between 5.000 and 50.000 euro, with the possibility to scale up. I run ActivityBot - it is a single-file ActivityPub server suitable for…

A simple "copy this code" button in JavaScript

· 2 comments · 400 words · Viewed ~1,886 times


The HTML5 Logo.

Next to all the code samples on this blog is a little "copy" button. That makes it easier to grab any of the code I've shared. The HTML and JS is delightfully simple: <button onclick="navigator.clipboard.writeText( this.parentNode.getElementsByTagName('code')[0].textContent );" title="Copy code" >⧉</button> The navigator.clipboard.writeText needs a user interaction to w…

"iT woRKs BeTter in THe aPp!!"

· 10 comments · 500 words · Viewed ~47,566 times


To subscribe to a new calendar, you must use a computer web browser. You can't subscribe to a calendar in the Google Calendar app for Android, iPhone, or iPad.

The monkey-punchers at Google never quite seem to finish any of their apps. There's always some useful bit of work left undone, or showstopping bug which remains unfixed, a thousand jagged edges as yet unsolved by the greatest minds of their generation. I wanted to subscribe to an events calendar. I had a URl. I had my Google™ Pixel® phone running the latest Android© 17 with an updated calendar a…

Book Review: The Infinite Sadness of Small Appliances by Glenn Dixon

· 1 comment · 150 words · Viewed ~1,173 times


Book cover.

This is a charming and zeitgeisty novel which has a strong start and fulfils the promise of its blurb. What if your autonomous vacuum cleaner was sentient and was very sad about your wife's death? It pays obvious homage to the Brave Little Toaster, 100 Acre Woods, Beauty and The Beast, and hundred other what-if-your-toys-came-to-life stories. Along the way we discover what it is like to be a…

Gadget Review: Thermal Master P3 Macro Lens

· 1,000 words · Viewed ~1,367 times


A small black camera with gold accents. It is held in the fingertips.

The good folks at Thermal Master have sent me their latest camera to review - and it is a bit different to all the others I've tried. Whereas previous cameras are good for bird watching, or wildlife spotting, or finding leaks at home - the P3 has a manual macro lens and is specifically designed for getting close-up and personal with your electronics. Yup! See just how hot your CPU is getting…