6 ms·
My Code made it to a Hollywood Movie
- samwillis 13y agoYou could probably get a credit for that, maybe...
- losethos 13y agoStoopid India-nigger. God says... deaths meat divinity Deus possess mainly GRATIAS embraced Continual communication Abraham's weighing immovably as_a_matter_of_fact diversity debtors cloven armory damaged shakes huh mind- excited profited phantasms Etexts Angels heed mixture Dispenser greedily rested piled learner absolute cried ofttimes relief men refute Cicero's dominion unchangeable not_in_kansas_anymore piety gods clasped supercelestial try_again heathen religious ninety sparks objected impulses Seek erred impart catch learned thread oppose random billion talent extremely is studying avoided weakly groves Beginning sixteenth Netherlands Morocco youthfulness fantasies dwelling-place enters geometry hold_on_a_minute setting shonest rash above messages others incomparably conspiracy Egyptian refute Royalties slumbers All-Excellent I_don't_care privacy slay Glad catastrophe longed double gratefully -though millennium well-pleased prosper giveth represent babes asleep acquire devour profited imports inspiring festival-food dryness punish conversing disregard illuminating inveigler therewith suitable circus bemoaning gazing terrors stuff syllables created acting condemns dark hello slower accuse keep Romanianus caredst inactive Gentiles note-book message palaces mildly informed garner sufficest contentiousness debt ease alone awakest him proudly bosses possesseth tower whiner widows refute bodies shoes festival-food ----- 2006 http://web.archive.org/web/20060425045600/www.justrighteous.org/index.html http://web.archive.org/web/20060425045600/www.justrighteous.... India-niggers did not have C64s. They do not understand.
- friendly_chap 13y agoThis is really cool. It's amazing that even at big budget movie studios, the general workflow is the same as everywhere else: copypaste an as fast as possible solution from the internet... I guess no matter where they work, people remain people, and budgets are tight.
- MrScruff 13y agoBudgets are definitely tight and schedules are even tighter in hollywood movie post production. There entire movie budget might look like a big figure, but it's divided among a lot of people.
- Someone 13y agoI doubt google-copy-paste is the norm in movie studios. Movie studios must be very conscious of copyright infringement. Certainly for audio tracks and works of art showing up in movies, they make sure they will not be sued if the movie is successful. For source code, I don't know how far copyright stretches. Does it apply to the textual form at all? For example, if this this code is GPL-ed, and you buy a copy on DVD, would ey be required to give you the source on demand?
- daxelrod 13y agoLooks like they already did give the source that they used :)
- rayiner 13y agoNot legal advice: I'm too lazy to apply the fair use factors here but it might actually be copyright infringement. On one hand it's a small snippet of code. On the other hand it's a for-profit product. You wouldn't get sanctioned for suing them over it I don't think.
- necenzurat 13y agomake a DMCA request to take down the whole movie!
- WA 13y agoThe most interesting part is that they even bothered to take source code that is loosely related to security stuff and not just took any source code that came across their way.
- cju 13y agoThat's a strange contrast with the ridiculously precise progress bar. Probably not the choices of the same person.
- JoshTriplett 13y agoThe ridiculously precise progress bar may actually be a case of "reality is unrealistic": if you produced a quick-and-dirty progress bar by just printing a float, without bothering to trim the precision, you'd get something like that.
- HCIdivision17 13y agoI'll confirm this. When I make scripts for some SCADA recipe handling, I make sure to output with at least 7 sig-figs and ETA in DDD HH:MM:SS.###. (Properly formatted, though.) It's not useful, but it's technically true, the overhead and development is negligible, and it amuses me. "See? It's super sophisticated just like that progress bar in the movies!" Incidentally, it also makes it easier for operators to accept the computer is busy and just wait a minute.
- sp332 13y agoProbably the same reason they removed most of the whitespace from the code: they needed it to fill a wide-screen monitor :)
- swalsh 13y agoOn the other hand, its 2013 not 1983. A lot more people today are at least casually familiar with code. Saying unrelated technical words could unwillingly make your movie a joke.
- jfaucett 13y agothat's awesome. I love the OP's attitude : "How do I feel about this? Great :) If not me, at least my code made it to a 3 second clip in a Hollywood Movie :) ". It kind of makes me angry for him though that they didn't even bother to give him a credit or ask him if they could use it in anyway. The least anybody can do is give credit where credits due when using open source libs.
- brokenparser 13y agoPerhaps they can still give credit in the DVD/BR release. He should get in contact with the producer.
- alexkcd 13y agoWell, at least they open sourced the parts of the code they used ;)
- rcfox 13y agoShowing the code is not the same as open source. I get that you were joking, but it's a critical distinction. Unless otherwise stated, you should not assume that you have a license to use whatever code you find floating around on the Internet. Public domain is not the default when no licence is specified.
- kyrias 13y agoYou realize that the source they used wasn't originally released with a license and thus they can't neither legally use the code or release it themselves
- sp332 13y agoIf it was released without a license, then in the USA (and all other parties to the Berne Convention), it is automatically copyrighted and all copyrights are reserved by the author.
- akandiah 13y agoIf it weren't for the code comments, it would've been hard to notice that it was the OP's code. It's sometimes very hard to find the differences between C-based POSIX/BSD socket code written by multiple parties - especially when it comes to the set-up routines. Kudos to the OP!
- infoseckid 13y agoA new reason why to comment your code well :)
- ErrantX 13y agoThis is slightly meta, but it's nice to see the attitude of the OP here. It quite matches my own. It's always disappointing to see my work appear somewhere else without credit, but usually it is not worth moaning about. At the end of the day, he put that material up to be helpful to someone - and even if it wasn't used in the way it was intended, or with appropriate credit, at least it was still helpful. It's a good attitude to have, I feel. Especially as it means he gets to feel "cool, my work is in a hollywood movie" rather than "they stole my work". A much more positive feeling :)
- OrsenPike 13y agoI concur with your thoughts on this. If someone were to take my work and repackage it as their own and sell a product that is essentially just my work (or mostly just my work) without my permission is one thing but using a tiny fragment of my code in a movie to make things look a little more realistic is very different. They could have just got any bit of code and 99.99% of the audience would never know the difference. They was nothing special about this guys actual code, it just look good.
- TazeTSchnitzel 13y agoSomewhat related, I've had an ambition for a while to contribute to a widely used library like zlib or OpenSSL, purely so that I could claim I had written code used in Windows or on my friend's mobile phone. I am yet to contribute to either project, but I did successfully get in a patch to PHP which removed logo GUIDs for good, which means once PHP 5.5 is out, I can claim that a lot of internet websites use my code :D
- obviouslygreen 13y agoWell, once people actually upgrade their PHP installations, that is. ;) Good work regardless, though!
- yahelc 13y agoFor others who were curious, I tracked down that PHP pull request: https://github.com/php/php-src/pull/132 https://github.com/php/php-src/pull/132
- joshka 13y agoGreat, but what's the license on the code? Isn't this a breach of copyright?
- jpadkins 13y agoMost likely falls into Fair Use. http://en.wikipedia.org/wiki/Fair_use http://en.wikipedia.org/wiki/Fair_use
- hkmurakami 13y agoIronic, since doing something analogous with scenes from this White House Down movie in a few years will probably get us a DMCA takedown.
- joshka 13y agoDid you follow that google vs oracle trial?
- ot 13y agoI wonder if this is enough to make his Bacon number finite.
- ErrantX 13y agoWhy not! If so, it would be 3, so quite low. Now he needs an Erdos number :)
- throwaway1979 13y agoWhy do you say finite? The point of the Bacon and Erdos quip is that most people would have a low number (8-10).
- anonymouz 13y agoWell, you need to appear in at least one movie to have a finite Bacon number, and write at least one scientific paper to have a finite Erdős number. And through costars/coauthors you need to have some connection to Bacon/Erdős.
- throwaway1979 13y agoThanks for the clarification. I get it now. With respect to the paper, technically, it can't be a single author paper :-p
- DavidWoof 13y agoThe point of Bacon and Erdos numbers is that most actors and mathematicians have low numbers, not most people. I, for example, have never published an academic paper, which makes my Erdos number infinite. OTOH, if you count working as an paid extra, my Bacon number is 2 (what do you mean that doesn't count?). BTW, a Bacon number of 10 is extremely high. IIRC, the highest finite Bacon number of anyone in the IMDB is 8.
- throwaway1979 13y agoThanks. That clarifies it. I got this confused with the seven degrees of separation from Kevin Bacon, wherein you count the number of people who know each other between you and the actor.
- Snowda 13y agoIf I was the OP I would just ask them to stick my name somewhere in the credits and call it a day.
- megablast 13y agoIf I was the OP, I would do exactly what he is doing. This in no way deserves a credit in a movie.
- to3m 13y agoWhy not? If they used 3 seconds of somebody's music, you can be sure they'd have to give some credit for that - at the very least! Look at the average credits for the average film. They go on forever, and there are tons of people in them. It's not like crediting somebody is a big deal, in terms of the cost of giving it out. There are plenty of people whose contribution to the film was small, just like the author of this code, but they get credited anyway, and that's just as it should be - the credit is for the contribution, not for the extent to which it makes the film a success.
- ry0ohki 13y agoI think a better example would be a scene where someone is reading a book. I kind of doubt they would give credit to Earnest Hemingway in the credits, but maybe I'm wrong.
- ANH 13y agoThe difference here is that it appears we are meant to believe a character in the movie wrote the code. I may be wrong since it's hard to tell from a promo what is happening, except for LOTS OF EXPLOSIONS.
- jfb 13y agoCredits in movies are unbelievably Byzantine. But putting his name in the 'thanks' section at the end would be pretty neat.
- 13y ago
- commanda 13y agoI find it amazing that somebody actually knew OP's code well enough to recognize it in the trailer. Or maybe someone searched github for the strings they saw instead? Either way, pretty cool - I'd love to have some code in a movie too!
- protomyth 13y agoVFX guys are pretty knowledgeable about computers, so maybe one of them knew about the code.
- ChuckMcM 13y agoI'm not sure which to be more amazed by, that someone recognized their code in a small snippet in a movie, or that a movie maker actually used networking code when the plot called for it.[1] [1] As opposed to "The Terminator" who came from the future running a bootleg copy of the Apple II boot roms :-)
- protomyth 13y agoWell, they still make 6502 derivatives[1] and it may be cost effective to embed for part of a terminators[2] control. Think of it as embedded device controllers. :) 1) http://www.westerndesigncenter.com/wdc/ http://www.westerndesigncenter.com/wdc/ 2) side theory I read somewhere: Pixar's Cars is a sequel to Terminator about 1,000 years later.
- anonymouz 13y agoNMAP has often appeared in movies too: http://nmap.org/movies/ http://nmap.org/movies/ .
- pressurefree 13y agodont get stuck in command mode on us...
- markolschesky 13y agoI remember when I worked for a company that made hospital computer software. They were on top of the industry and growing, yet at one point totally geeked out about the fact that their software was going to appear on a show like Gray's Anatomy. Hollywood is the greatest.
- reeses 13y agoČeský Wikipedia has the code as well. http://cs.wikipedia.org/wiki/Raw_socket http://cs.wikipedia.org/wiki/Raw_socket I'm not sure whence the code was lifted, but it would not surprise me if they just grabbed some code from Wikipedia and assumed it was freely usable.
- dopamean 13y agoThe code on Wiki doesnt seem to have the same comments.
- reeses 13y agoNo, but the key one is "/* A simple write on the socket ..thats all it takes ! */" which the author said was rather distinctive, and I would have to agree. (In fact, it was the search I used to find this example.) How it got onto Wikipedie is another question (might have been on en, ru, or other wiki and translated).
- infoseckid 13y agoThe Wiki article lifted the code from Vivek's site (the author). This is how I solved the mystery: http://cs.wikipedia.org/w/index.php?title=Raw_socket&diff=6531267&oldid=6531225 http://cs.wikipedia.org/w/index.php?title=Raw_socket&dif... Do you see they mention a reference: http://security-freak.net/raw-sockets/raw-sockets.html http://security-freak.net/raw-sockets/raw-sockets.html which was later removed as the site is now down. Both the code + the reference was added by the same author on wikipedia on the same day in 2011. A whois on Security-Freak.net gives me that Vivek is still the owner of the domain: http://whois.domaintools.com/security-freak.net http://whois.domaintools.com/security-freak.net This matches the whois person for securitytube.net (OP's site) http://whois.domaintools.com/securitytube.net http://whois.domaintools.com/securitytube.net Proof 2: Wayback machine: http://web.archive.org/web/20071217111629/http://www.security-freak.net/packet-injection/packet-injection.html http://web.archive.org/web/20071217111629/http://www.securit... Code: http://web.archive.org/web/20071219013022/http://www.security-freak.net/packet-injection/PacketInjection.c http://web.archive.org/web/20071219013022/http://www.securit... The above C file is the exact same code posted in the Wiki article - in 2011 which was there on security-freak.net in 2007.
- D9u 13y agoConsidering the way Hollywood bristles at "piracy" of their own products, I suggest raising holy-high-hell over this example of Hollywood "piracy" of the code in question.
- hackshare 13y agoI found this to be interesting. Good to see Hollywood using real code. You can use this on resume :)