6 ms·
My Code Was in the Original Terminator Movie
- wslh 7y agoAt least the movie Sneakers was serious about the math: http://world.std.com/~reinhold/math/sneakers.adleman.html http://world.std.com/~reinhold/math/sneakers.adleman.html
- jgrahamc 7y agoHappy ending to my YouTube video on where all the code came from in The Terminator. I tracked down the author of one piece and emailed him out of the blue. https://www.youtube.com/watch?v=YRnnjoiSV-U https://www.youtube.com/watch?v=YRnnjoiSV-U Here's the code: https://gist.github.com/jgrahamc/9a90399f39926857b19e8635b30a3ebd https://gist.github.com/jgrahamc/9a90399f39926857b19e8635b30...
- TedDoesntTalk 7y agoamazing work!
- e12e 7y agoAnd the magazine article (mentioned in the Twitter thread - "Dr digital" page 98 - 73 magazine 1984): https://archive.org/details/73-magazine-1984-05/page/n97/mode/1up https://archive.org/details/73-magazine-1984-05/page/n97/mod... The online version is pretty much unreadable for me on Firefox/mobile, but the Pdf is ok: https://archive.org/download/73-magazine-1984-05/05_May_1984.pdf https://archive.org/download/73-magazine-1984-05/05_May_1984... Ed: corrected link. The article itself would be a great hn submission - a comparison of time (writing+execution) of a simple program in basic, Pascal and cobol..
- yanowitz 7y agoCame to say the same thing. Fascinating look into a time machine—what problems are we still wrestling with and what celebrated innovations then do we see as problematic legacies now (e.g., when a language allows 1 + ‘1’ to equal 2)? Very fun read.
- BrowserMeeting 7y agoSo fricking cool. I’m surprised that after all these years, no one told him before this.
- _bxg1 7y ago> I remember seeing the movie and thinking "HA! Robots from the future use COBOL". Sadly, this may turn out to be true. Turns out COBOL was a failsafe against the robot apocalypse
- VirtualAirwaves 7y agoWhat a great find! I guess back then, they didn't think too much about the "rights" for a fragment of code lifted from a magazine. I don't think movie studios would do this today.
- jgrahamc 7y agoWanna bet? Read my Tumblr: https://moviecode.tumblr.com/ https://moviecode.tumblr.com/ or follow my channel: https://www.youtube.com/channel/UCzOc0EEdwWAlnwrWV-7sDbg https://www.youtube.com/channel/UCzOc0EEdwWAlnwrWV-7sDbg
- TedDoesntTalk 7y agoi looked at your tumblr and dont see any discussion of copyrights or attribution. I thought that's what parent was talking about. Maybe i missed it on your site -- i didn't read the entire blog.
- dang 7y agoPlease don't use multiple accounts to comment on or vote for your own posts. You succeeded in getting this perfectly good submission buried by our software. I had to manually restore it.
- 0xff00ffee 7y agoDid the IPs match or something? How did you know it was multiple accounts?
- dang 7y agoUnfortunately I can't talk about the details of that without making it easier for people to break the rules. Sorry to disappoint.
- ArnieApproves 7y agoYou should make a biography about what it took [you] to moderate HN once this site blows over, then you can just spill anything, man. Insert Deity; I guess this is hard work; or some wayfaring good algorithms. Thanks man. I'll troll less, knowing how much dung (huh) you're in daily. Please write the tricks once HN goes under or whatever.
- thomascgalvin 7y agoSo Skynet was written in COBOL. Explains why it was so angry, I guess.
- sdegutis 7y agoHN comments rarely make me laugh out loud, thank you :)
- Igelau 7y agoThey had to send the Terminator back in time to circumvent Y2K
- aforwardslash 7y agoIf you're looking for a young guy working in cobol in the y2k vicinity, that was me (19 at the time). not only I added 2 more digits to some microfocus app, I also saved the world :) My first professional gig was with cobol, and it was almost cool.
- ArnieApproves 7y agoWe salute you. Thanks for saving the world; to all greater y2k saveaists. What an unseen fix, you guys, all you y2k fixers, I mean, really did it. Thanks man(s). man s might also mean women etc whatever all the new forms of people and identities goes on. We salute everyone.
- Igelau 7y agoI hope that's on your resume as "Heroic Engineer - Saves the world every day by staving off Y2K" Thanks for sharing. Cool to hear from someone who was actually working on that.
- agumonkey 7y agoSomeone calls Dyson, there's a shortage of COBOL experts I've heard
- JdeBP 7y ago
- loser777 7y agoSlightly disappointed that this wasn't the 6502 assembly listings we saw in the classic "Termovision" shots from the first movie ;)
- MegaDeKay 7y agoIndeed! Came here to say the same thing. That code [0] was via Nibble Magazine, which was pretty great back in the day. [0] https://www.pagetable.com/?p=64 https://www.pagetable.com/?p=64
- commandlinefan 7y agoVery kind of Skynet to include the English-language comments in the binary in case somebody needs to step through it in a debugger.
- Animats 7y agoThat's close to "Hello World" in COBOL. Read a number and add it.
- janee 7y agoHaha was wondering if I could try to make sense of it... couldn't, saw your post, decided to take another look at the origin. For anyone interested it sums all integers from 1 to 1000. Written as a benchmark for different languages. Maybe the terminator was running a benchmark in those scenes :P
- 0xff00ffee 7y agoPower-On-Self-Test (POST) calibration loop or training. Not as far fetched. RDRAM does something similar when it comes online: it has to "train" the physical link every time the system is booted by generating bogus traffic and timing it (and can also retrain on certain errors). Complicated stuff, RDRAM. Also, anything with a differential pair may employ training like this. As I type this, I am -literally- in the process of writing a self-timing loop using a binary increase of iterations to find average execution time plateau.
- yalok 7y agoAnother area is real-time profiling on cpus with stepping support - I run a loop like that every 2-3 sec to figure out the actual Instructions Per Second at current stepping. Applicable both to desktop and mobile CPUs nowadays.
- billsmithaustin 7y agoSo it's true: when he's not killing people, the original Terminator processes New Jersey unemployment insurance applications.
- notjustanymike 7y agoNo need to repeat yourself
- tyingq 7y agoOther scenes have ASM from an Apple II. https://i.guim.co.uk/img/static/sys-images/Lifeandhealth/Pix/pictures/2014/1/10/1389352492085/Code-in-The-Terminator-008.jpg?width=300&quality=45&auto=format&fit=max&dpr=2&s=e991a8810bf2bc310a77ddeae2ed4098 https://i.guim.co.uk/img/static/sys-images/Lifeandhealth/Pix...
- jgrahamc 7y agoI break all those down in my video on The Terminator and its code: https://www.youtube.com/watch?v=YRnnjoiSV-U https://www.youtube.com/watch?v=YRnnjoiSV-U It's all from Nibble Magazine.
- BrowserMeeting 7y agoEpic, John!
- kylek 7y agoOblig- https://nmap.org/movies/ https://nmap.org/movies/
- judge2020 7y agoI was going to link to this on YouTube since I remember watching it for free, but it seems they stopped providing it. https://www.youtube.com/watch?v=-fN82upbGPo https://www.youtube.com/watch?v=-fN82upbGPo https://www.indiewire.com/2018/11/youtube-full-movies-free-ads-1202021659/ https://www.indiewire.com/2018/11/youtube-full-movies-free-a...
- RickJWagner 7y agoWow, the Terminator was powered by a "Hello World" COBOL application? Think what it could do with some real code behind it!
- JdeBP 7y agoThink what it could have done had it used PL/I-80, the immediately preceding listing in the magazine article, which benchmarked faster. Or indeed, per the magazine benchmark test results, BASIC. (-:
- takeda 7y agoSo T-800 was written in Cobol? :/
- strategarius 7y agoHR: tell me about the most exciting project you did. Me, Senior Developer in Cyberdine: actually, T-800, despite of our customer insisted on using Cobol
- simias 7y agoI've seen this website used in a bunch of TV shows these past few years: http://www.hackertyper.com/ http://www.hackertyper.com/ According to `git blame` Alexey Dobriyan wrote most of that file so congrats Alexey on your unexpected career as a TV prop guy!