Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

If you don't sell it, I can't buy it

· 1 comment · 300 words · Viewed ~244 times


A book towering above some flames.

I don't understand the world of academic publishing. Incredibly niche books, some barely longer than a novella, are sold for ridiculously high prices. Or, worse than that, they're not sold at all. Let me explain. A friend of mine recommended an obscure book, published a couple of years ago. The blurb made it look right up my alley, so I tried to buy it. I only read eBooks, but I couldn't find…

Remove the first few lines from a string in PHP

· 1 comment · 250 words · Viewed ~814 times


Binary code displayed on a screen.

Problem: I have a multiline string - not a file - and I want to remove the first few lines from it and keep the rest. I found this surprisingly unintuitive. So these are notes in case I want to do it again. Feel free to suggest a better way! Example Given this input: $str = "Once upon\nA Time\nLived a big\nDragon\nCalled Cuthbert."; I want the output to be: "Dragon\nCalled Cuthbert." …

The Mobile Phones of Doctor Who - Series 12

· 2 comments · 800 words · Viewed ~856 times


The Doctor holding a blue flip phone.

Hello fam! I've identified all of the mobile phones used in every single episode of Doctor Who! This post looks at S12 - but feel free to rummage in the archives. Spyfall - part 1 Straight out of the credits, and The Doctor is yapping away on this gorgeous retro flipper. It isn't the 2020 Moto Razr with folding screen - it's literally the original Razr V3i! Hello Moto! We haven't seen a Razr …

Simplifying SETI

· 4 comments · 150 words · Viewed ~230 times


A cheap telescope.

SETI is the Search for Extra Terrestrial Intelligence. They use massive radio-telescopes to search the sky for signs of intelligent life. But the sky is big. Where should we point the telescopes to improve our chances of detecting a signal? Rather than point at random stars, or promising looking constellations, I propose a more scientific approach: Find a planet where the length of the year…

Weeknotes: Reading Week

· 1 comment · 4,050 words


A book towering above some flames.

Last month, I took myself on holiday with one aim - read as many books as possible. My wife and I tend to alternate our holidays - one relaxing break then one adventure break. Our previous trip was a 3 week road-trip through Australia, so this time I opted for an all-inclusive break in the Canaries at an adults-only hotel. I spent a week lying in the sunshine, eReader in hand, pausing only for…

Google's Abandoned Android Authenticator App

· 12 comments · 800 words · Viewed ~19,147 times


Android logo.

The news has just broken that Google's Authenticator App can have its codes stolen by malware. I doubt Google will ever release a fix for this issue - their 2FA app hasn't been updated since September 2017. Update! 3 months after I published this post, Google updated their app For two-and-a-half years, Google hasn't touched their 2FA app's code. Perhaps it is perfect? Perhaps there are no…

Abstinence isn't safe - why quitting social media isn't the solution

· 11 comments · 550 words · Viewed ~756 times


A fist emerges from a computer screen and punches the user.

(Another in a long list of posts which will turn out to be touchingly naïve!) When teaching people about safe sex, one topic bitterly divides people - whether abstinence is a suitable method. Simply refusing to engage in sexual activity will protect you from pregnancy, disease, and trauma. Abstinence is particularly promoted by religious zealots. Similarly, whenever social media is discussed, …

Book Review: Sherlock Holmes vs Cthulu

· 200 words


Book cover with eldritch design.

A series of grisly murders rocks London. At each location, only a jumble of bones remains of the deceased, along with a bizarre sphere covered in strange symbols. The son of the latest victim seeks the help of Sherlock Holmes and his former partner, Dr. John Watson. They discover the common thread tying together the murders. Bizarre geometries, based on ancient schematics, enable otherworldly…

Bitly finally starts taking privacy seriously

· 450 words · Viewed ~570 times


I've been ranting about Bitly for years! The ubiquitous link shortener had an interesting "feature" - add a + to the end of the URl and you could see all the statistics for the link. How many clicks, referers, location of users. Here's a blog post I wrote about it way back in 2011. I often used this feature to explore how popular companies and scammers were: Terence Eden is on…

Book Review: Something Beginning With

· 200 words


Boring book cover.

Written in brief entries from ‘Ambition’ to ‘Zzzzz’ Salway's confident debut novel chronicles the existential ups and downs of British 20-something Verity Bell. The alphabetically arranged mini-chapters make for an inventive and episodic narrative, as Verity muses on her career. For some reason I purchased this in 2013 and left it 7 years before reading. I wish I'd left it 70. I don't usually …

"Her frown lies betwixt two fickle eyes" - Teaching an AI to write Shakespearean Sonnets

· 2 comments · 550 words


A pixelated Shakespeare.

For a domain based on Shakespeare - this blog doesn't talk about The Bard much. Sorry! I forced a bot to read 154 Shakespearean Sonnets. This is what it came up with... 47 Be where thou art, thou art the sea, Till all that belongs to it turn aside, And make another land into thy heart's plot. Let those elements that should guide thy march, Make thee…

Book Review: A Short History of Myth

· 150 words


Book cover.

Karen Armstrong's concise yet compelling investigation into the history of myth takes us from the Palaeolithic period and the mythology of the hunters right up to the 'Great Western Transformation' of the last 500 years. She shows us that the history of myth is the history of humanity, and our stories and beliefs, our curiosity and attempts to understand the world, link us to our ancestors and…