Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

How to detect 3D video?

· 1,550 words · Viewed ~1,128 times


Still from the moview Finding Nemo. The image is split side by side.

Here's an interesting conundrum. My TV can automatically detect when 3D video is being played and offers to switch into 3D mode - but how does the detection work? This post will give you a few strategies for detecting 3D images using Python. Firstly, some terminology. 3D videos are usually saved either as Side-By-Side images, or Over-Under images. Colloquially known as H-SBS and H-OU. Here's …

Hundreds of thousands of spam listings on Google "My Maps"

· 1 comment · 250 words · Viewed ~863 times


Google My Maps page with spam content.

Blogging - because Google don't offer a bug bounty for spam reports... Back in 2007, Google introduced "My Maps": Easily create custom maps with the places that matter to you. Allow friends to see and edit your maps, or publish them to the whole world. Like most Google products, it was effectively abandoned after launch - receiving a superficial update in 2014. Now it is a haven for spammers …

Everything Is Too Complicated

· 5 comments · 500 words · Viewed ~463 times


A completely black image.

In the book "Mostly Harmless" an Earthman finds himself stranded on a distant planet with a primitive level of technology. He had been extremely chastened to realise that although he originally came from a world which had cars and computers and ballet and Armagnac he didn't, by himself, know how any of it worked. He couldn't do it. Left to his own devices he couldn't build a toaster. He could…

Tools to defeat fake news - Reverse Image Search

· 450 words · Viewed ~2,181 times


Screenshot of Facebook. A photo appears to show a giant whale in the ocean.

One of the most important tools in the war for your attention is the ability to critically examine media and discover its provenance. Take this example - a friend of a friend was tagged in this Facebook post, and so it appeared on my feed: WOW! Right! Nature is Coooooool! Or is it? If "The Planet Today" were a reputable source of news, they would tell us who the photographer was. Or where…

Udacity Bug Bounty - or, please stop tracking every link in your emails

· 2 comments · 350 words · Viewed ~1,011 times


Clicking on the button shows an insecure web address.

Look, I know your company wants metrics. I know your boss wants to see the exact percentages of people who click on links in your emails. Your sales team are desperate to track conversions. Someone wants to optimise your funnel for reasons which are unclear to you, a lowly engineer. So you make the mistake of adding tracking to every email you send out. Including sensitive ones. I recently…

Interesting Failures - Visual IVRs

· 2 comments · 500 words


Another in an occasional series of blog posts where I discuss products I've worked on which failed. It was the early 2000s and the large mobile telco I worked for had just spent billions of pounds on a 3G license. 3G was the future! Sure, faster data would be nice, but the real money was to be made in Video Calling! What could Video Calling be used to improve? The answer was obvious -…

Ad Blocking As A Radical Political Act

· 400 words · Viewed ~519 times


An advert on Facebook - you can click on the screen to block everything from that news source.

It was back in the late 1990s when I first got started with ad blocking. I don't remember if it was the "punch the monkey" adverts, or the pop-unders for weird security systems that tipped me over the edge. All I knew was my computer was slowing down and I thought animated ads were the culprit. I found a USENET post which explained how to modify my totally-legitimate copy of Windows 98 to block …

Reconstructing 3D Models from The Last Jedi

· 3 comments · 1,200 words · Viewed ~4,823 times


Different depth maps of various accuracy

A quick tutorial in how to recover 3D information from your favourite 3D movies. In this example, we'll be using Star Wars - The Last Jedi. tl;dr? Here's the end result (this video is silent): https://shkspr.mobi/blog/wp-content/uploads/2018/04/walker-text.mp4 Grab the code on GitHub. Let's go! Take a screenshot of your favourite scene. Something with a clearly defined foreground and…

Outsourcing

· 2 comments · 350 words · Viewed ~649 times


I promise you this is a true tale. Only the names have been changed... Many moons ago, when I was very young - and you were even younger... I was working for a Very Large Company. Our team needed some help building an app and a back-end service. We could have built this ourselves - but we were stretched a bit thin with other work. So we found a great technology partner. They'd helped us in the …

What do we do about people who don't get the joke?

· 2 comments · 450 words · Viewed ~4,571 times


Screenshot from Facebook. The shared story headline is "Jared Kushner Calls Kim Jong-un “Totally Unqualified Person” Who Got Job Only Through Nepotism". There are comments from people who think this is a genuine news story.

If you've been online for any length of time, you'll have come across this phenomenon. A story is shared which is obviously humorous. Inevitably, some people treat it seriously. I remember being a child and reading the satirical magazine "Private Eye" - I was young and couldn't easily differentiate between the news reporting and the humour. That lead to nothing more than internal…

Obsolete Technology in Unicode

· 15 comments · 650 words · Viewed ~4,333 times


Screenshot of the Unicode standard. The page shows symbols for Telephone Receivers, Pagers, and Fax Machines.

A short meander through some of the more obscure miscellany within Unicode. Languages hang around far longer than there are native speakers, and symbols get reused and repurposed (🍆). Here are some of the delightfully old-fashioned symbols hidden in your thoroughly modern smartphone. Tapes Long before solid-state drives, we used to record data on long thin strips of magnetic tape. 🖭 📼 I'm sure…

How to avoid JPG compression on Twitter

· 6 comments · 400 words · Viewed ~28,836 times


Screenshot of a graphics editor. One pixel has been removed from the image.

Update for 2019! Twitter have changed how they compress images. Some of the techniques in this blog post may be out of date. Let's talk image compression! Services like Twitter will often apply aggressive levels of compression in order to reduce their storage space and decrease download times. This can have negative consequences for usability and image quality. Here's an example - this detail…