Programmer Debunks Source Code Shown In Movies and TV Shows
rjmarvin writes "Someone is finally pausing TV shows and movies to figure out if the code shown on screen is accurate or not. British programmer and writer John Graham-Cumming started taking screenshots of source code from movies such as Elysium, Swordfish and Doctor Who, and when it became popular turned the concept into a blog. Source Code in TV and Films posts a new screenshot daily, proving that, for example, Tony Stark's first Iron Man suit was running code from a 1998 programmable Lego brick."
Doesn't everyone who can proram do this? Just like gun fans identify and count shots for each weapon they see?
From the (mistaken? wise?) use of a .300 in an IPv4 address in The Net, to the identification of some kind of 6502 assembly code in the Terminator's red overlay, it's always been something to try to do in the theater without freeze-frame available.
[
So if the code is taken, used, and redistributed without acknowledgement, is that copyright abuse? I imagine tiny snippets would fall under fair use, but if a substantial block of code from, say, a GPLed project is reproduced without acknowledgement or attaching the license, what are the chances the filmmakers could be held liable?
For examples, in two different films with Matthew Broderick, his modifying school records, assuming that he does indeed have credentials, is not implausible..
Interesting factoid about those, as I recall, Broderick actually learned to code the 8080 for his role in Wargames and saved some time in filming because of it.
"Don't meddle in the affairs of a patent dragon, for thou art tasty and good with ketchup." ~ohcrapitssteve
My favorite is when cracking/hacking is shown to be ridiculously easy. As in: leet hacker guy types a few characters and clicks this one thing...and.....WE'RE IN!
The cow says "Moo." The dog says "Woof." The Timothy says "Thanks, valued customer. We appreciate your input."
Speaking of spaceships, I found it fun to contrast these fake code uses with one in the game Starbound (got it a day or few after it hit Steam as an Early Access game). When you obtain enough fuel (like coal) from your current planet there and send it back to your spaceborne ship, you can take it to another planet and enjoy a flashy warp sequence with code that scrolls on a screen. The code shown is that of...the warp sequence. (Starbound is a C++ game, and you'll notice fun things in the display like uint64_t and class names.)
Granted, it's almost certainly not a true quine, as it uses only a portion of the code; said code is in PNG form, not text; and I doubt the display will be updated for each patch, especially this early in development.
You can hold down the "B" button for continuous firing.
Just like when an actor is playing a piano on-screen, you can tell the difference between real typing and fake typing when you watch it.
There is a middle ground where the timing of the keystrokes is used for the display of the keystrokes. They don't have to hit the right keys, but it still helps. And you can do it after the fact with timecodes, or you can code it into the demo. The fact that so many movies fail at it even though they have two perfectly good options for implementing it is particularly pathetic.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Back in the 1980's there was much more interest towards programming.
It was a topic taught in Elementary Schools, the general conception was the future of computing is where everyone will program the computer to their needs, they never really though about having a large supply of existing application to pick and choose from.
I am not surprised about this fact, it if people are to read code like any other language it would be considered as silly showing wrong code, as it is for an actor to talk in a garbled tongue and pretend to be a french man.
However things have changed, most people don't read code, and the code they show on the screens are just to make it look complicated, and usually only show for a few seconds, too short for even good coders to go back and say oh this code does this. Usually in that period of time, I may be able to get the language, they are using, or the OS. But for the most part I turn myself off and focus on the plot, not the detail on what is on the screen.
If something is so important that you feel the need to post it on the internet... It probably isn't that important.
Back in the 1980's there was much more interest towards programming.
It was a topic taught in Elementary Schools, the general conception was the future of computing is where everyone will program the computer to their needs
I know precisely what killed that, and it was the introduction in the mid-1980s of home computers that run only applications approved by the computer's manufacturer. The biggest culprits were the North American version of the Atari 7800, whose IPL used an RSA signature to verify that Atari had approved the program, and the North American and European versions of the Nintendo Entertainment System, which used a pair of synchronized CICs (checking integrated circuits, essentially pseudorandom number generators implemented on microcontrollers) in the Control Deck and Game Pak to verify that Nintendo had approved manufacturing of the PCB. (Later consoles, such as Microsoft's Xbox and Nintendo's Wii, would use an elaboration of Atari's method.) These cryptographically enforced walled gardens helped to erode elementary school students' interest in programming.