Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Reading NFC Passport Chips in Linux

· 9 comments · 900 words · Viewed ~38,056 times


A mocked up passport which looks like it has been issued by the fictional country of Wakanda.

For boring and totally not nefarious reasons, I want to read all the data contained in my passport's NFC chip using Linux. After a long and annoying search, I settled on roeften's pypassport. I can now read all the passport information, including biometrics. Table of ContentsBackgroundRecreating the MRZPython code to generate an MRZCan you read a cancelled passport?Cryptography and other…

An annoying SVG animation bug in Chrome

· 550 words · Viewed ~913 times


Logo for the Chromium browser.

Writing web standards is hard. You have to write a formal specification which is useful for machines, humans, and web developers. I recently stumbled across what I think is a little bug which might be caused by a misreading of the SVG Animation specification. Here you should see two overlapping circles gradually appear: If you're on Chrome, you…

Theatre Review: Operation Mincemeat

· 500 words · Viewed ~460 times


Logo for Operation Mincemeat - a black scribble on a yellow background.

Everyone I know told me to go and see this show. I resisted as long as possible but managed to score cheap last-minute tickets via a friend. I wish I hadn't waited so long! If you're unaware of the book (or the film. Or the novelisation of the film. Or the Twitter thread. Or the inaccurate tumblr retelling.) the story involves a dastardly British plan to use a corpse to fool the Nazi menace…

Book Review: Venomous Lumpsucker by Ned Beauman

· 2 comments · 200 words · Viewed ~404 times


Book cover with fish.

No book has the right to be this good. It's the sort of howling sci-fi satire that Ben Elton used to excel at - a novel set five minutes in the future with a eye firmly on today's problems. The plot is delightful - what if carbon credits extinction credits were the new capitalist plaything? What second, third, and forth order effects would that have on the world? The worldbuilding is sublime -…

Convert Shotwell Photo Metadata to Digikam Metadata

· 100 words · Viewed ~234 times


Linux bash terminal icon.

Mostly notes to myself. Shotwell stores most of its information in a database. Which I lost. Because I'm an idiot. But a bunch of metadata is also stored in the image's EXIF metadata! Most importantly is the "Original File Name" which should become the "Description" in DigiKam. Unfortunately, there's no way to copy those values automatically on import. So here's a one-liner which will read…

Book Review: If Only They Didn't Speak English - Notes From Trump's America by Jon Sopel

· 1 comment · 350 words · Viewed ~307 times


Book Cover.

I expected so much more from this book. It starts with a central thesis - the UK over-indexes on America because we speak the same language, but there is an enormous gulf in attitudes between the two nations. We rarely hear on the news what's happening in France, Germany, or Ireland even though they're much closer geographically, politically, and culturally. That sounds like a pretty good book! …

Why do people have such dramatically different experiences using AI?

· 38 comments · 750 words · Viewed ~2,735 times


A t-shirt which says Dunning and Kruger and Gell and Mann.

For some people, it seems, AI is an amazing machine which - while fallible - represents an incredible leap forward in productivity. For other people, it seems, AI is wrong more often than right and - although occasionally useful - requires constant supervision. Who is right? I recently pointed out a few common problems with LLMs. I was discussing this with someone relatively senior who works…

Book Review: Beyond Measure - The Hidden History of Measurement by James Vincent

· 1 comment · 400 words · Viewed ~364 times


Book cover.

This is a charming travelogue through the confusing and contradictory world of measurement. It has a similar thesis to Seeing Like A State by James C. Scott and is infinitely easier to read than Inventing Temperature by Hasok Chang Emanuele Lugli has noted, units of measurement are, for the powerful, ‘sly tools of subjugation’. Each time they’re deployed, they turn the world ‘into a place that …

Your Password Algorithm Sucks

· 18 comments · 600 words · Viewed ~1,977 times


Sorry but you password must contain and upper case letter, a number, a haiku, a gang sign, a hieroglyph, and the blood of a virgin.

There are two sorts of people in the world; those who know they are stupid and those who think they are clever. Stupid people use a password manager. They know they can't remember a hundred different passwords and so outsource the thinking to something reasonably secure. I'm a stupid person and am very happy to have BitWarden generate and save fiendishly complex unique passwords which are then…

Book Review: What We Talk About When We Talk About Books - The History and Future of Reading by Leah Price

· 1 comment · 450 words · Viewed ~244 times


Book cover featuring twisted book pages.

Is reading a morally good pastime? Do eBooks rot the brain in the same way that pulp paperbacks do? Should people of feeble character be allowed unfettered access to books? Show me how you want to read, and I’ll show you who you want to be. Leah Price has produced a pithy and astonishing look at what books were and whether they will survive. It is, perhaps, a little overwrought and o…

Meeting my Fedifriends AFK

· 4 comments · 400 words · Viewed ~583 times


Me with a big mug of beer.

There's a lovely moment in the documentary about The Pirate Bay where Peter Sunde is being interviewed in a District Court: Prosecutor 1: When was the first time you met IRL? brokep: We don't use the expression IRL. We say AFK. But that's another issue. Prosecutor 2: Got to know each other IRL? What is that? Prosecutor 1: In Real Life. brokep: We don't like that expression. We say AFK - Away …

Book Review: A History of the World in 47 Borders - The Stories Behind the Lines on Our Maps by Jonn Elledge

· 2 comments · 200 words · Viewed ~265 times


Book cover with a map on it.

Jonn Elledge has a witty and friendly tone. It skirts just the right line between trivia nerd and your favourite history teacher. He cheerfully points out the absurdities in history and swiftly pivots into the injustices of "Cartographic Colonialism". There are delightfully diverting asides and then we're brought right back into the horrors of a straight line. The problem with history is that…