News for hackers. Stuff that matters.
Re:Source Code in TV and Films by outworlder on Tuesday May 19, 2015 @12:16PM (#9571186)
This one is interesting. It actually gives the appearance of having something to do with the subject matter.

http://moviecode.tumblr.com/post/80751023812/from-hack-quant...

Re:Source Code in TV and Films by Roodgorf on Tuesday May 19, 2015 @12:24PM (#9571234)
And whoever wrote it out took the time to follow syntax. Although I think this is actually Scheme? Defining a function in Lisp is slightly different if I recall.
Re:Source Code in TV and Films by outworlder on Tuesday May 19, 2015 @12:47PM (#9571421)
Also, Lisp dialects tend to use 'nil' for false and 't' for true. Schemes usually use #f and #t

There's the convention of using "?" for predicates. Lisp usually would use 'p'. As in 'stress?' vs 'stress-p'

So yeah, most likely a form of Scheme. Which can be considered as a 'Lisp' dialect, so not exactly wrong either.

Re:Source Code in TV and Films by dragonwriter on Tuesday May 19, 2015 @12:58PM (#9571493)
> Although I think this is actually Scheme? Defining a function in Lisp is slightly different if I recall.

Scheme is a Lisp, though it is not Common Lisp.

Re:Source Code in TV and Films by FungalRaincloud on Tuesday May 19, 2015 @12:37PM (#9571345)
At least in the variants of lisp I've used, defining a function would be done using defun, not define, so yeah, probably.
Re:Source Code in TV and Films by NoMoreNicksLeft on Tuesday May 19, 2015 @12:46PM (#9571404)
I just saw The Girl With The Dragon Tattoo the other day.

The hacker is supposed to be researching a series of cold case murders... and when we see her typing, she's messing with a big-assed sql query with multiple joins and realistic-looking column names. Wouldn't be shocked if that did come from a real law enforcement database.

Was slightly surprised. Even serious movies (ones that want to be taken seriously) seem to stumble on this stuff.