7 ms·
My Code made it to a Hollywood Movie
- corbel 13y agoThat is actually quite hilarious. I've always wondered where they get the code for movies like that. Thanks for sharing!
- NAFV_P 13y agoCan anyone else think of another movie which shows C code in it?
- frik 13y agoStartup (2001) (also named "Antitrust") http://www.imdb.com/title/tt0218817/ http://www.imdb.com/title/tt0218817/ it has some C, Java and HTML code. It also explains "open source" and is a pretty good movie. Miguel de Icaza helped them, so you see GNU/Linux desktops and GNOME shell and bash.
- NAFV_P 13y agoCheers.
- mckee1 13y agoI'm actually pretty sure Iron Man (2008) shows some genuine code for a second, it's when Stark is in the cave.
- NAFV_P 13y agoBugger, I saw that only a few weeks ago. I must be blind.
- openbr 13y agohttp://openbiometrics.org/revolution.html http://openbiometrics.org/revolution.html The OpenBR source code was shown in Revolution S01E18 and S01E20. Pretty neat actually that they went to the trouble to get real code for the biometrics app they were showing.
- ville 13y agoPrevious submission (with 252 points and 91 comments): http://news.ycombinator.com/item?id=5502878 http://news.ycombinator.com/item?id=5502878
- yitchelle 13y agoInteresting factoid about the points and comments. I wonder if a resubmission of the same popular post a few months later will gather the same amount of points and comments?
- anonymouz 13y agoThe network scanner NMAP has appeared in a lot of movies before. Fyodor has a page on it: http://nmap.org/movies/ http://nmap.org/movies/ . Apparently it even made an appearance in a soft-porn movie...
- agilebyte 13y agoThe name is "HaXXXor Volume 1: No Longer Floppy" for anyone searching through the page. It is on archive.org too: https://archive.org/details/haxxxor_volume_1_dvd https://archive.org/details/haxxxor_volume_1_dvd
- murphm8 13y agoThank you for this. It's hilarious.
- atmosx 13y agoActually, do we have a list of good computer movies? I liked the movie hackers when I was a kid and first came out with Jolie and everything but it's kinda ridiculous and the approach is very hollywood-esque. I found Sneakers to be a great movie. War Games was kinda old to get me involved when I first saw it. Tr0n is unwatchable (at least the latest version). I like the matrix (imho best karate one-on-one fighting scenes ever made to date) for a variety of reasons and of course for the ssh root exploit and nmap. Any other movies we should know of? Is this one any good actually?
- vezzy-fnord 13y ago23 is the best hacker film I know of. It's German and based on the Karl Koch story. It's not exclusively about hacking, necessarily, but it is far more realistic than any other I've seen. Reboot from 2012 is a short film that features a whole lot of real world penetration testing tools and security lingo, but was overall poorly executed and nonsensical. Still worth a look just to spot all the references. Antitrust is a programmer film. It's somewhat slow-paced and mediocre, but it has a nice scene with the Unix shell and overall tries to mimic the work environment at Microsoft. Takedown, which although not that good, is a watchable telling of the Kevin Mitnick saga. Travelling Salesman is based on computer scientists solving P = NP and creating a crypto weapon for use by the U.S. government. Actually quite intellectual, much like Primer. That's all I can think of right now.
- dspig 13y agoHere's some of my code in a french TV drama: http://youtu.be/V7P4j2kpuoc?t=20m6s http://youtu.be/V7P4j2kpuoc?t=20m6s I guess they just picked it randomly from sourceforge. It's for an audio effect that a viewer recognized the name of and let me know!
- hippich 13y agoDoes including GPL code in your project (movie) makes this project (movie) GPL too and requires release of all movie source code? (i.e. 3d models, scenes, screenplay, etc.) And if yes, if someone will rebuild whole movie, will it be possible to download binary version of it compiled by some Joe for free?
- mchaver 13y agoAssuming that the GPL is fully representative of Stallman's views, they would not be be required to release 3d models, scenes, or the screenplay. Those parts would not be considered software. However, I am not sure about the source code involved in the movie. He makes a distinction between art and software because software is meant to do "practical jobs" whereas art is not so he does not put the free requirement on them. http://www.gnu.org/philosophy/funding-art-vs-funding-software.html http://www.gnu.org/philosophy/funding-art-vs-funding-softwar... Note: I only have a superficial understanding of GPL and Stallman's views.
- jordigh 13y ago> Assuming that the GPL is fully representative of Stallman's views, What does Stallman or his views have to do with it? The GPL is a document that is interpreted by judges and juries, not by Stallman. The text of the GPL itself makes no distinction between software or other things that can be copyrighted. GPLv3 even changes its language to make it clearer that it can be applied to non-software things. For example, it defines "source code" as "the preferred form of the work for making modifications to it". What this actually means is up to the aforementioned judges and juries, but for a movie, it's conceivable that the preferred source for modification is indeed the 3d models, the original reels, and so forth.
- deleted 13y ago[deleted]
- mchaver 13y agoSeeing as he wrote the first version, was involved in the updates, and spends a lot of time promoting GPL, I would assume his views have a large influence in how it is used and perceived. GPL mentions software quite a few times and the preamble states "licenses for most software and other practical works". As I mentioned above, Stallman does not consider art as a practical work. However, I am not sure how a judge or a lawyer would interpret the word practical work.
- ch0wn 13y agoDiscussion from 8 months ago: https://news.ycombinator.com/item?id=5502878 https://news.ycombinator.com/item?id=5502878
- deleted 13y ago[deleted]
- cheath 13y agoThis is definitely the best hacking clip: http://youtu.be/u8qgehH3kEQ http://youtu.be/u8qgehH3kEQ four hands on the keyboard...
- bradbatt 13y agoLOL … that was great. I've always thought this CSI clip was amazing too… “I’ll create a GUI interface using Visual Basic…see if I can track down an IP address.” http://brad.me/1hGJgIk http://brad.me/1hGJgIk
- jordigh 13y ago> The only thing I felt a bit dissapointed about was to see a couple of open source projects use snippets of my code without any form of acknowledgement. Does the original code have a free license? It seems like it doesn't, so these free projects taking the code could be violating the original copyright.
- asveikau 13y agoHmm, as far as I can tell most of the pointer casts I see there are unnecessary. - ifr_name is cast to char pointer. It's already a char array. - A few memcpy() calls cast their arguments to void pointer. This is just silly. All pointer types implicitly convert to that. This anti-pattern can create bugs with some 64-bit compilers if you fail to declare a function prototype (implicit `int` from undeclared function, cast into `void pointer` = bad times). - The file ends in `.c`, but the return type of `malloc` is cast to different pointer types. This is a big "author has no idea what they're doing" red flag to me. In C you can implicitly convert void pointer to any other pointer type. It's not the same as C++. This also happens to let you fall into the "convert `int` to `void pointer` trap of the previous point.
- chacham15 13y agoI hate it when people assume that they know everything and attempt to lecture others. Especially when you go on large platitudes like "This is a big 'author has no idea what they're doing' red flag to me." Maybe, the author is actually compiling the code with a c++ compiler?
- asveikau 13y agoNo actually, in my experience it is a red flag, and worse, it hides really nasty bugs like the conversion from int that I mentioned. To elaborate, I do find misuse of casts to be a reliable shibboleth to determine competence in C and C++. If a programmer writes lots of pointer casts that don't make sense, that's usually reliable a signal that the programmer doesn't really understand the warnings from their compiler and is just trying to shut up the warnings (real or perceived) rather than fix actual problems. This approximation has played out well in my experience. It's not meant to be judgmental, I too made the same mistakes when I was learning C. I remember in 2000 or so I made the "cast memcpy args to void pointer" mistake because the manpage said void pointer and I didn't know what that was yet. If nobody ever pointed that out to me, maybe I'd still be doing it today. This kind of "pedantry" you're accusing me of is how a lot of people get better. By the way, the most popular compilers most people use today (llvm, gcc, MSVC) don't do what you're describing when the file ends in .c which it does here.
- ChuckMcM 13y agoI suppose if you were feeling like annoying the movie industry you could send DMCA takedown notices to anyone who trys to show the film. Especially if they send you takedown notices for showing screen grabs on your blog.
- elwell 13y agoyes please.