Source Code in TV and Films
moviecode.tumblr.com
moviecode.tumblr.com
[0]: http://hackoftheday.securitytube.net/2013/04/my-code-made-it...
http://www.pagetable.com/?p=64
When I first saw the movie I was with a friend who laughed out loud at that point and said "hey, that's 6502 assembler".
I guess "I know UNIX" from Jurassic Park doesn't count.
An aside, I wish Airwolf was as amazing a TV show at age 26 as it was when I was age 9.
Source Code in TV and Films: There's
a bug in AirWolf's code ...
As you say, better than the generic title now.I can understand why the moderators change a lot of the titles, I really can. And I can understand that it's potentially too time consuming to vet every single title that gets submitted, and hence it kind of needs to be automatic. But I really can't help thinking that on a forum called "Hacker News" there would be some kind of hack that says: Hang on, this is clearly adding something to the original title - maybe it's reasonable to allow that.
That gives them an INT from 1 to 15 (inclusive) to access the list of digits.
The mistake is they want an INT from 1 to 16, so they should have multiplied by 16.
Your link is to a page that talks about the difference between MID, which indexes from 1, and substring, which indexes from 0. Indexing from 1 is not the error, so I don't see why your link is relevant.
INT(RND(1) * 15), in contrast will produce a random whole number from 0 to 14. Hence the popular use of, for example, INT(RND(1) * 6)+1 in any given situation where a random number between 1 and 6 is required.
This is the string:
A$ = "0123456789ABCDEF"
And calling the function will give you:
MID$ (A$,1,1) => "0"
...
MID$ (A$,15,1) => "E"
MID$ (A$,16,1) => "F"MID$ (
Edit: seems I was slower than all the other replies...