Slashdot Mirror


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."

10 of 301 comments (clear)

  1. Comments here are overreacting by Anonymous Coward · · Score: 5, Insightful

    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.

    1. Re:Comments here are overreacting by terevos · · Score: 5, Insightful

      No, they're responding appropriately to how the story was posted. The original article is supposed to be fun. But the post says "Programmer Debunks Source Code Shown In Movies and TV Shows" and "Someone is finally pausing TV shows and movies to figure out if the code shown on screen is accurate or not." as if it's something new.

      It's not new, but it is cool how deeply they investigated this stuff.

  2. Re:oh duh by CamelTrader · · Score: 5, Insightful

    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 .sig is important to us. Please hold.
  3. Re:oh duh by angel'o'sphere · · Score: 5, Funny

    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.
  4. Debunk? by JohnGrahamCumming · · Score: 5, Informative

    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.

    1. Re:Debunk? by Anonymous Coward · · Score: 5, Funny

      Sorry, the Slashdot editor staff has decided you are debunking. Therefore you have been debunked.

  5. Re:oh duh by aitikin · · Score: 5, Interesting

    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
  6. Unless they used a special compiler by StripedCow · · Score: 5, Funny

    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.
  7. Re:thats crazy by game+kid · · Score: 5, Interesting

    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.
  8. Re:oh duh by Si · · Score: 5, Informative

    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?