Current Issue
This Month's Print Issue

Follow Fast Company

We’ll come to you.

1 minute read


Guys! Did You Know All The Code In Tech Movies Is Fake?

An engineer at Cloudflare has definitively proven what we all suspected—but there's a twist.

Guys! Did You Know All The Code In Tech Movies Is Fake?

In the pilot episode for the 2011 re-imagining of the TV show Charlie’s Angels a floor safe is found beneath Gloria’s kitty litter box. While breaking into the safe the image in question appears. The code is a snippet of a Sudoku puzzle solver written for the Obfuscated C code contest in 2005.

[Images via Source Code in TV and Films]

Fans of Dr. Who might be disappointed to know that their hero isn't actually parsing a screen full of code in the season seven episode "Dinosaurs on a Spaceship." Actually, what he's looking at is an SVG file of a light wave from Wikipedia.

John Graham-Cumming, a programmer for CloudFlare, is uncovering Hollywood's tomfoolery in his Tumblr Source Code in TV and Films. He started pointing out what the code in popular entertainment actually does on January 3 when he pointed out the code in the film Elysium was lifted from a version of the Intel Architecture Software Developer’s Manual and appropriated to reboot the space station.

The resulting hilarity via the laziness of producers and the industry's basic assumption that viewers won't actually care enough to fact check is priceless. Case in point: CSI:NY trying to pass two pages of HTML headers in a silly handwritten font as a hack to Gears of War.

Amongst the gibberish and nonsense, though, are a few legitimate uses of programming languages. Graham-Cumming points out the SQL in The Girl With the Dragon Tattoo appears to be legitimate for researching murders. The JavaScript code from Stargate SG1: The Ark of Truth is correct, the only problem being that it's actually written for a Canadian bank.

The Tumblr isn't long (yet), but it's worth going through the five pages of archives for a giggle and, more productively, to see a discussion happening among bored programmers. If you're time crunched, there's a 10-question quiz based on posts from Graham-Cumming's findings.

It's amazing that "movie code" isn't compete gibberish; we figured it would be generated by something like HackerTyper, where hitting any key generates bunk code in an aesthetically-convincing sandbox. (If you're new to HackerTYper, try hitting the alt (option on a Mac) key three times and see what happens.)