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.
[
Next they'll tell me that "hackers" don't get a nice big screen that says "Access Granted" or that "Swordfish" isn't a common password.
I think this was meant as a fun and interesting kind of thing, not as some kind of whistle-blowing on how "OH MY GOD TV ISN'T REEEEAAAAAL!" Lighten up.
Yeah, I'd have been a lot more impressed if he'd concentrated on code that was closer to right, on examples that were more realistic.
For examples, in two different films with Matthew Broderick, his modifying school records, assuming that he does indeed have credentials, is not implausible. In The Matrix Reloaded Trinity's hack is more realistic that most other movies.
Sounds to me like this guy is bitter that he can't suspend his disbelief to just enjoy the movie, and he feels a need to drag the rest of us down with him. If the movie isn't specifically about computer hacking or computer security then I'm willing to give a fair amount of silliness a pass.
Do not look into laser with remaining eye.
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?
This is cool because he isn't just calling out as bogus, but identifying the source, such as python julian calendar library, or C image library. It's pretty nerdy to know that the scene in the matrix where he's scrolling through code is the source for netstat.
Your
Only by stupid programs which don't follow the golden rule of shutting the hell up as long as nothing goes wrong.
Therefore you're much more likely to see a message reading "Permission denied", if anything
CLI paste? paste.pr0.tips!
Oh shit, when I saw The Matrix I assumed it was nethack :-/
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
Hmm. I am the person who created that Tumblr. I'm not trying to "debunk" anything. Just showing what it really is: sometimes it's nonsense, sometimes it's there's an amusing juxtaposition, sometimes it's a fun Easter Egg.
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
But what if they used a special compiler that works roughly as follows:
if(code == "insert code from programmable lego brick")
return "insert binary for iron-man suit";
else
return compile_ansi_c_code_as_usual();
If Pandora's box is destined to be opened, *I* want to be the one to open it.
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.
Perhaps we can write a GUI in VisualBasic to help angry literalist programmers get into the spirit of technical scenes in films.
The world's burning. Moped Jesus spotted on I50. Details at 11.
One of the many things that impressed me about Wargames (aside from showing social engineering and the actual hard work and research going into a serious hack) was that David could type fast, as you would expect from someone who spends all his time on a command-line computer. It's just one of those many little details that made that movie so impressive, and still makes it fun to watch even 30 years later.
The cow says "Moo." The dog says "Woof." The Timothy says "Thanks, valued customer. We appreciate your input."
I think the fast typing has less to do with attention to detail and more to do with not wanting to break the flow of the movie so that we can watch him painfully hunt-and-peck commands.
As is usual with /., ignore the written-by-illiterate-simians summary and click through to the article/ website (I know, I know) and your concerns will be put to rest. The blog is less about 'code in movies is wrong' and more (and more interestingly) where did the code shown come from? Knowing that Iron Man's suit is powered by code written for a lego brick gives the concept more verisimilitude - at least if you've played been playing Lego Marvel Superheroes as much I as I have recently.
Why is it that many people who claim to support standards have such atrocious spelling and grammar?
No wonder Stark Industries is so successful. If Tony can modify Lego code to control an armored flying suit, imagine what he could do with... I dunno, the source code for... Emacs!
Why would anyone go to the trouble to even think that analyzing "source code" posted in movies is a useful endeavor? YAWN.
On the same line of rationing (not that I agree with it): why would anyone think posting on /. is a useful endeavor?
Questions raise, answers kill. Raise questions to stay alive.
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.'"