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

65 of 301 comments (clear)

  1. common and fun by Speare · · Score: 4, Interesting

    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.

    --
    [ .sig file not found ]
    1. Re:common and fun by TooTechy · · Score: 4, Informative

      Watching 'Castle' the other night. Enjoying it for the accurate, serious show that it is. Beckett indicated the entry wound was too big for a 9mm round. Had to be something bigger. They later found a .357 which was the right size.

      25.4*.357 = 9.07mm She has a good eye. Actually she has great looking eyes.

    2. Re:common and fun by Megol · · Score: 2

      A .357 have more kinetic power and so causes a bigger hole. One doesn't even need to be hit by a bullet to be killed by it - high speed ammunition can tear tissue apart by the pressure differentials.

    3. Re:common and fun by Runaway1956 · · Score: 2

      When I read the title, I just started laughing. I have actually given a thought or two to capturing a screenshot to see what the hell the code meant. Just a thought, now and then, I've never taken it seriously enough to do it. If I had, I could have posted here, "Hey, Slashdot! The code in 'The Matrix' actually does mean something, almost, except, they screwed up right here and made it meaningless after all!" Or, whatever I actually found.

      Problem is, I'm not a programmer, and it would have taken me hours to figure out what a programmer could have figured out in ten minutes. Better to just let all those cool looking squiggles remain cool looking squiggles I guess.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    4. Re:common and fun by kannibal_klown · · Score: 2

      I'm a programmer.

      The source code? Sometimes I might glance at the syntax to see if they just put COMPLETE gibberish in there or an actual well structured statement / for-loop / etc. But I've never bothered to see if it was trying to do anything cute or even close to what it should have been, or if the loop was infinite or whatever.

      For command-line stuff, I might look to see if it looks like a real command of just gibberish.

      What I DO tend to do is freeze-frame newspapers and stuff where the character is reading a story out-loud relevant to the plot. I like to see if they just copy/paste the same paragraph over and over or use the cliche lorem ipsum .... text.

    5. Re:common and fun by ledow · · Score: 4, Interesting

      Well, yes, but the point is that there's no need to do this.

      If you're making a film about cars, get someone who knows about cars to help produce/edit it, at least for glaring inaccuracies. If you're making a film about guns, the same. If you're making a film about computers, the same.

      To be honest, even the "555" phone number is enough to jolt me out of a movie I'm into - you instantly are reminded that it's fake things you are watching (which is not what a film director should be doing to their captivated audience).

      I've always had this annoyance, too. I have it about computer movies, mathematics and science. A geneticist I live with has it about science and genetics in general (do not let her watch Gattaca or Jurassic Park!). My ex and her father (both black belts) have it about anything martial-arty. My dad (a mechanic) has it about cars and mechanics.

      I just don't see how hard it is to get someone who vaguely knows what they are doing to actually step back and say "hold on, that wouldn't happen". I don't expect perfection but at least if you're qualified enough to teach, say, a film star kung fu over a year of filming, have the decency to make sure that the moves you teach are realistic and there's no "queue of baddies waiting to be beaten up, because they're too stupid to attack simulatenously" elements. Same for computer graphics - SOMEONE with computer knowledge had to make them and display them, just ask them what it would look like if they REALLY did what the actors are being asked to do.

      Same for cars, guns, planes, stunts, etc. You have an expert on the movie, ask them if it's at all realistic and, if not, change it. Artistic licence is fine so long as you KNOW that's why you're doing it but too often directors go OUT OF THEIR WAY to make things "pretty" when actually the real thing would be a lot more realistic, useful, interesting, less jarring, etc. (e.g. who the hell uses text-based displays nowadays, and why do you need to "fake" loading screens or password decryptions or whatever - everyone KNOWS what a computer looks like and how display windows work).

      You don't get this in theatre, except by accident. You don't get it in novels, because the amount of detail required means you can hide all the potential pitfalls behind the line "He logged on..." or similar.

      You only get it in Hollywood, and you must only get it through directors who think they know what LOOKS better. While a certain percentage of the audience can't stop laughing at the ridiculous methods used, or just screen "NO! That's NOT how it works" at the screen.

      I don't get why annoying your audience is a good thing, at the expense of listening to the people you hired to be experts anyway.

    6. Re:common and fun by rts008 · · Score: 4, Insightful

      A .357 magnum may have a bigger exit wound under rare circumstances, but under similar conditions, the .357 magnum and 9mm will have essentially equal size entrance wound characteristics.

      One doesn't even need to be hit by a bullet to be killed by it - high speed ammunition can tear tissue apart by the pressure differentials.

      The only part of that statement that is even remotely true is the second part:
      yes, frequently high velocity projectiles do damage soft tissue from tearing and rupturing...but there are a lot of variables that affect this, so it cannot be ruled as absolute.(pro tip: the bullet has to hit the soft tissue before this can even be considered--all the bullets whizzing past cause no physical harm)

      But that statement that "One doesn't even need to be hit by a bullet to be killed by it -..." is so full of crap that it's ludicrous!
      I'll even give you the possibility that in extremely rare (so rare as to be unheard of for all practical purposes) that some few individuals have 'died from fright' from being shot at...but [citation needed].

      I have personally been shot three times:
      twice with 9mm ammunition (one pistol:Soviet made Makerov, and one sub-machine gun), and once with 7.62x39 ammo (AK-47--which has a MUCH higher velocity and kinetic energy than either 9mm or .357 hand guns).

      I can assure you that I am not a ghost/dead. And having witnessed hundreds of combat deaths, none happened from near misses but bullets!

      I think your highest priority at this stage should be to finally stop putting off that education you should have received as a child..it's for your own good, really.

      --
      Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
    7. Re:common and fun by Grishnakh · · Score: 2

      .38 Special and .357 Magnum use the exact same bullets; the .357 is simply a lengthened version of the the .38 Special round, with that additional space being used to hold a lot more powder. The difference in numbers comes from a change in the way bullets were measured. In the really old days, when the .38 Special was made, they measured the gun's barrel between the grooves of the rifling (the maximum diameter of the barrel, neglecting the lands), whereas when the .357 came out, they changed to measuring the diameter between the lands (or, the minimum diameter, as if the grooves were all filled in). The .38Special was very popular for police departments, but they decided they wanted something with more knock-down power, which is where the .357 Magnum came from. It was very popular for police use, until semi-automatic handguns like the Glock finally took over that market.

    8. Re:common and fun by Quietust · · Score: 4, Informative
      If you really want to insert an IP address without it pointing to a real computer, you have a bunch of choices:

      Including numbers greater than 255 just makes it look obviously fake.

      --
      * Q
      P.S. If you don't get this note, let me know and I'll write you another.
    9. Re:common and fun by Xest · · Score: 2

      "From the (mistaken? wise?) use of a .300 in an IPv4 address in The Net"

      I don't know how it works in the rest of the world but in the UK there are a bunch of telephone numbers reserved for TV/Movie use so that real numbers don't get called when people see it on screen.

      This is the same as with IP addresses, they don't want anyone harassing a real IP so they just make it up. Sure they could've used 127.0.0.1 instead but then geeks would've said "LOL SHE'S HACKING LOCALHOST" or whatever so they'd still get flak. It's not accident or a blip, use of IPs like that is wholly intentional and as the example of the reserved British phone numbers above demonstrates, it's an age old problem in using real addresses, phone numbers, or now IP addresses - if you do then the people owning those addresses will get harassed. You could use one you own thinking "Well, I don't use it now so it'll be fine" but what if in 20 years you forgot you had that in your film and use it? what if someone is watching old films and stumbles across it? You have to be sure you're happy with that IP not being used for anything forever.

      I don't know if IANA already has any reserved IPs for this sort of purpose in the same way as reserved British phone numbers they could've used though? anyone know?

    10. Re:common and fun by lars_stefan_axelsson · · Score: 2

      .357 is simply a lengthened version of the the .38 Special round, with that additional space being used to hold a lot more powder.

      Many would think that, but the main reason is actually to make it not fit most revolvers made for .38 special. Elmer Keith loaded original .38 special to pressures and speeds that are very close to the .357 specs. So there's no shortage of case capacity, since it was originally a black poweder cartridge, you wouldn't expect there to be.

      How ever, Elmer Keith used the new N-frame S&W revolvers that could take the beating. It was feared that older revolvers would blow up regularly if people started loading them with such hot .38s. Hence the case was lengthened as a safety feature.

      --
      Stefan Axelsson
    11. Re:common and fun by nytes · · Score: 2

      That's what always happens to my cars.

      I've lost 5 wives that way so far.

      --
      -- I have monkeys in my pants.
  2. Re:Oh My God! by MickyTheIdiot · · Score: 4, Funny

    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.

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

  4. Re:oh duh by TWX · · Score: 4, Insightful

    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.
  5. Re:Alternative Titles: by twocows · · Score: 2

    I'm pretty sure that this is a hobby and he is likely doing it for fun. The fact that it showed up on /. is more of a reflection on /. than it is on what he chooses to do in his spare time for fun.

  6. Copyright implications? by Bradmont · · Score: 4, Interesting

    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?

    1. Re:Copyright implications? by mark-t · · Score: 2

      Fair use equally applies to copying from GPL projects as well. The GPL does not trump copyright law. If you wouldn't have needed permission to copy something from a non-GPL'd work (because it fell under fair use), you wouldn't need to include or adhere to the GPL license when copying the same amount from a GPL'd work, since you never a actually needed any permission to copy that amount in the first place.

  7. 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.
  8. Re:Oh My God! by fisted · · Score: 4, Insightful

    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

  9. 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.
  10. 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.

  11. 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
  12. 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.
  13. Re:oh duh by TWiTfan · · Score: 3, Interesting

    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."
  14. 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.
  15. Monty Python Knight Doesn't Taunt in French by retroworks · · Score: 2

    I did not realize how huge this "Hollywood" scam went. Kudos to Graham-Cumming for uncovering it. In other news, many foreign language scenes appear not to be spoken correctly. E.g. http://www.youtube.com/watch?v=LhVg2uLVDtk

    --
    Gently reply
    1. Re:Monty Python Knight Doesn't Taunt in French by rts008 · · Score: 2

      *semi-serious joke ahead!*
      All you foreigners sound the same to us, in the USA.

      Really, we have dialect barriers to hurdle here in the USA, and now you want us to jump MORE hurdles?

      But all joking aside, I have noticed the same things you pointed out and always chalked it up to some combination of ignorance and/or arrogance.

      We assume that everyone in the world watches the same movies we do, but at the same time, we seem to forget the rest of the world is out there, and not culturally identical to us.

      --
      Down With Slashdot BETA!!! I've been around the corner and seen the oliphant; you can only abuse me from your perspecti
    2. Re:Monty Python Knight Doesn't Taunt in French by Quirkz · · Score: 2

      I didn't follow the link, but I'm assuming French + taunts means Holy Grail. To me the real hilarity is whenever they speak to each other in French, they never understand each other. They're always saying "eh?" and "what?" back and forth.

  16. Re:oh duh by MightyMartian · · Score: 4, Funny

    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.
  17. Re:pshaw! harumph! by jeremyp · · Score: 2

    All 6502 opcodes are three characters long e.g. LDA (load accumulator), ASL (arithmetic shift left). So the opcodes you are thinking of are the AHL and FKU opcodes.

    --
    All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
  18. Re:oh duh by TWiTfan · · Score: 4, Informative

    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."
  19. Re:oh duh by hubie · · Score: 4, Funny

    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.

  20. Re: oh duh by Anonymous Coward · · Score: 3, Insightful

    Why does everything have to be useful? It's amusing.

  21. 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?
  22. Tony Stark is a genius! by doggo · · Score: 4, Funny

    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!

    1. Re:Tony Stark is a genius! by gaudior · · Score: 3, Funny

      Yeah, he might even be able to edit text.

    2. Re:Tony Stark is a genius! by Anonymous Coward · · Score: 2, Funny

      That joke is unbearably old. (I remember reading the exact same joke here on Slashdot a thousand times before. (It is not even accurate. (Emacs Lisp is a domain-specific language. (For text-editing operations. (Just because there are a million other features (in Emacs (and Emacs Lisp (not to mention hundreds (or thousands) of (sometimes good (sometimes not)) libraries (of Emacs Lisp code (to extend Emacs))))) does not mean that it cannot (by default (as in without any (Emacs) Lisp added (including the default set (of code that comes with Emacs)))) edit text.)))) (That being said, the (unbearably old) joke can (still) be funny.))

  23. Re:oh duh by c0lo · · Score: 4, Funny

    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.
  24. Re:oh duh by drinkypoo · · Score: 4, Interesting

    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.'"
  25. On a related note... by Alioth · · Score: 3, Informative

    On a related note, many shows (including modern ones!) have been using a snippet of tape loading sound from the 1980s Sinclair ZX Spectrum computer which made its way onto some special effects library somewhere. The latest sighting (sounding?) was on an episode of The Wire a few years ago. With some effort (there's lots of other noise in the clip) it was decoded and turned out to be part of the loading screen for a game made by Ultimate: Play the Game (of Knight Lore and Jetpac fame). Ultimate became Rare before being bought out by Microsoft.

  26. Re:oh duh by jellomizer · · Score: 3, Interesting

    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.
  27. The Lego Ironman plausibility by netsavior · · Score: 3, Insightful

    The lego source code is completely believable in the context of the story IMO. This is a program he used to run the prototype that he built in a cave in a war-torn country. He probably told them "I need a robotics kit" and this was in the bin of crap that they got him. If I was secretly programming an exo-suit in a cave, a mindstorm kit would be a boon. It sends signals based on several kinds of input... what else do you need?

    The mindstorm program is a lot more believable than anything state-of-the-art.

  28. Accurate example by PPH · · Score: 3, Insightful

    ... in TFA from the movie "White House Down": A progress status popup giving percent complete with 9 decimal places.

    Yep. Pretty much standard programming practice from what I've seen.

    --
    Have gnu, will travel.
    1. Re:Accurate example by ImprovOmega · · Score: 2

      Hell, I would just be impressed at the building of an actually accurate progress bar. If it worked like most of them in real life it would run super fast to about 25%, basically stop for 10-15 minutes, progress steadily for about an hour until inexplicably spinning at 70% for another hour and then instantly jump to 100% complete.

  29. Re:Terminator by Pope · · Score: 3, Funny

    Nibble Magazine used things like "Fuck You Asshole"?

    Yeah but it was little endian so it looks like "You Fuck, Hole Ass" in the source.

    --
    It doesn't mean much now, it's built for the future.
  30. Re:oh duh by nitehawk214 · · Score: 2

    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.

    Yet so many TV shows have the "computer geek" doing two-finger typing. I suppose it is less fake looking than "fake computer typing" by hammering on the keyboard. But seriously people, learn to fucking type.

    --
    I'm a good cook. I'm a fantastic eater. - Steven Brust
  31. Re:The Matrix Did it Right by gl4ss · · Score: 2

    you have to remember that the world in matrix is fake and as such the timegap doesn't even matter.

    watch matrix 1 again - the special effects seem perfect, because they portray a fake world!

    anyhow, the sploit used in the sequel got it quite a lot of nerd press back in the day... so using it was a good move.

    --
    world was created 5 seconds before this post as it is.
  32. Lorem ipsum translated by tepples · · Score: 2

    I like to see if they just copy/paste the same paragraph over and over or use the cliche lorem ipsum .... text.

    Or if they include H. Rackham's translation of the "Lorem ipsum" passage of Cicero's De finibus as an in-joke. (Latin dolorem ipsum means "pain itself".) I've done that myself when making a demo of a font renderer for an 8-bit computer platform. From lipsum.com:

    But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?

    On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.

  33. Diverse double compiling by tepples · · Score: 2

    This sounds like a Ken Thompson "trusting trust" attack. Someone in that universe ought to have used David A. Wheeler's "diverse double compiling" construction (bootstrap the compiler through several competing compilers and compare the binaries after self-compilation) to expose the compiler's publisher as untrustworthy. It'd be more believable if Mr. Stark's original prototype suit was jury-rigged from a LEGO kit, and the LEGO code was carried into further revisions.

  34. Re:oh duh by iluvcapra · · Score: 2

    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

    In the DVD commentary I think it's Walter Parkes who points out that the 8080 in the film was running a program that would always spit the correct character for the scene on the terminal, regardless of what keys he pressed. It only appeared that he could touch type. :)

    Everything else in that movie, and the other film those two wrote, Sneakers, is remarkably accurate for a film. The drama comes out of the characters and the situations, not waiting for a dialogue box blinking decrypting...

    --
    Don't blame me, I voted for Baltar.
  35. Re:oh duh by iluvcapra · · Score: 2

    Larry Ellison paid a lot of good money for that placement!

    PS. Were you aware two of Larry's kids are movie producers? His son produced MI: Ghost Protocol, and his daughter produced Zero Dark Thirty, True Grit, and American Hustle...

    --
    Don't blame me, I voted for Baltar.
  36. Re:oh duh by whitroth · · Score: 2

    And I found Wargames *very* unbelievable (and I'd been programming professionally for several years at that time). I mean, first of all, the kid had what must have been something like $30,000 in early eighties dollars worth of computer equipment. And he was war-dialing... and in the days before "unlimited" calls per month, his parents never notice their bills...

    Oh, and in the same time period, when most folks were *just* getting credit cards, and kids didn't get them, his 16 yr old girlfriend could pop what, many hundreds of dollars? A $kbuck, on airfare to fly them half-way across the US?

    Right. Manhattan Project was *much* more believable... (Scene: the state science fair in NYC, other kids: hey, we get that you guys are in trouble, and we've put together what money we can all spare, which is enough to get you two bus tickets home to upstate NY.

                        mark "and people working for the DoD put huge back doors in mainframe code, during the Cold War...."

  37. Walled gardens dating back to the NES by tepples · · Score: 3, Interesting

    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.

    1. Re:Walled gardens dating back to the NES by tepples · · Score: 2

      what REALLY happened was that the C64 and IBM PC killed off consoles from 1984 to 1986 because they had floppy drives, and you could pirate games much easier than from cartridges.

      Then how did the NES manage to kill off the C64 and IBM PC? I was told that it was because IBM PC had no smooth scrolling until around the time the Super Famicom came out, and C64 had loads and loads of loading.

  38. Re:oh duh by iluvcapra · · Score: 2

    And he was war-dialing... and in the days before "unlimited" calls per month, his parents never notice their bills...

    It's implied in the film that he's somehow either passing the phone company the right signals to make his calls free, or he'd figured out how to places his calls through someone else's PBX. There's a line where Ally Sheedy sees the wardailer and says, like "Isn't that expensive," and he says, in so many words, "Oh there's ways around that!" She says, "you can go to jail," and he says, "Only if you're over 18!" The issue is lampshaded.

    Oh, and in the same time period, when most folks were *just* getting credit cards, and kids didn't get them, his 16 yr old girlfriend could pop what, many hundreds of dollars? A $kbuck, on airfare to fly them half-way across the US?

    She only buys a ticket for him, she drives herself down from Seattle. As she says, "It's was only a three hour drive anyway!" She drives a motor scooter, she has a personal phone in her room in 1983, these would imply that her family is of means.

    mark "and people working for the DoD put huge back doors in mainframe code, during the Cold War...."

    More or less believable that L'Affaire Snowden?

    --
    Don't blame me, I voted for Baltar.
  39. You never know! by spaceyhackerlady · · Score: 2

    A few years ago I was doing some development that involved AES encryption, and needed to create some test tools.

    One evening I was watching some program about the misdeeds of some computer hacker, and the screen background was perl. It mentioned Crypt::Rijndael.

    I had my test tool the next morning... :-)

    ...laura

  40. Nuke password is 00000000, really, seriously ... by perpenso · · Score: 3, Informative

    Yeah, everyone knows that "Password123" is probably what will get you into most corporate systems.

    And for govt nuclear weapons, the code is 123456.

    From Ars Technica: "Well, for two decades, all the Minuteman nuclear missiles in the US used the same eight-digit numeric passcode to enable their warheads: 00000000. That fact, originally revealed in a column in 2004 by then-president of the Center for Defense Information Dr. Bruce G. Blair, a former US Air Force officer who manned Minuteman silos, was also mentioned in a paper by Steven M. Bellovin, a computer science professor at Columbia University who teaches security architecture. Both of these sources were cited this week in an article on the site Today I Found Out written by Karl Smallwood, as well as in an article in the UK's Daily Mail."

  41. 6502 code in Terminator by perpenso · · Score: 2

    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.

    In the original Terminator some 6502 code scrolled by. At the time a friend throughout he recognized it from the Apple DOS Read/Write Track Sector function.

  42. Re:List of privileges by fisted · · Score: 2

    While that sounds good, it really does not work that way.
    There isn't really a 'permission granting' step when, say, exploiting some program. You typically 'just' get to run your code in the context of the exploited program. No permissions 'become available' or 'get lost' in the process, at least as far as the OS can tell.

    Now if the vulnerability is know, you could program something like that around it -- but then you could just fix the vulnerability in the first place

  43. Re:In Jurasic Park... by omnichad · · Score: 2

    And the 3D file browser is an actual SGI program:
    https://en.wikipedia.org/wiki/Fsn

  44. Re:Nuke password is 00000000, really, seriously .. by volmtech · · Score: 2

    I worked with a guy who in his younger days had a job maintaining those missiles. One day he told his supervisor he knew what the entry code to the bunker was going to be the next day (he was good with numbers) and wrote it down for him. The next morning my friend was escorted off the base and was not allowed to work on nuclear systems again.

  45. Debug by DarthVain · · Score: 2

    One thing that always bugged me (heh, pardon the pun), is that every hacker A) typed perfectly, and B) never made a mistake.

    Yes I know they just want to move the movie along, and yes occasionally they would insert a "Permission Denied", but those times where rather than running some predefined application they built in the past, but are doing some mad clickity-clacking on a keyboard to much dramatic effect, I would love to see a syntax error, or even just a debug based on a missed colon, comma, quote, or bracket which is impossible to find, and causes much swearing. It would make anyone that has ever coded anything giggle a little. You can even make it something obvious that the audience can figure out and feel all superior (which it usually is anyway to much chagrin). You don't have to waste a lot of time of the movie of the "hacker" blankly starting at the same code forever, just pan back for a second at a time to hear swearing, then back to others doing something else. You could also just insert a "2 hours later" text... :) Then have the next hacker that walks by spot it in 2 seconds, and then lord it over the poor wretch. Bonus points if you have the first hacker promise to do it in like 2 minutes easy.