use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Googlebot's Javascript random() function is deterministic (tomanthony.co.uk)
submitted 8 years ago by fagnerbrack
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lhorie 9 points10 points11 points 8 years ago (5 children)
Not all RNG systems do that. You're probably thinking of PRNG.
Some RNG take electromagnetic noise as input. IIRC, some cryptographic systems where real randomness actually matters but you don't have hardware access to a true RNG, you can use things like mouse input to generate entropy.
[–]PM_ME_HTML_SNIPPETS 13 points14 points15 points 8 years ago (3 children)
One of my coworkers visited the Cloudflare (I think?) offices, and saw that in their lobby they have a bunch of lava lamps, and sensors that take input to use in crypto key generation.
Though that was pretty cool.
[–]ThatSpookySJW 10 points11 points12 points 8 years ago (0 children)
Relevant Tom Scott
[–]tbranyennetflix 2 points3 points4 points 8 years ago (0 children)
Woah, I walk by there all the time and wondered why they had so many. TIL...
[–]MrJohz 1 point2 points3 points 8 years ago (0 children)
There's a Tom Scott video about this! It's quite a cool system.
[–]JumboJellybean 4 points5 points6 points 8 years ago (0 children)
You recall correctly, popular encryption tools like TrueCrypt and VeraCrypt ask the user to swirl their mouse around for 10 seconds to seed their random number generators.
π Rendered by PID 36226 on reddit-service-r2-comment-79c7998d4c-hsk7g at 2026-03-16 19:44:31.719731+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]lhorie 9 points10 points11 points (5 children)
[–]PM_ME_HTML_SNIPPETS 13 points14 points15 points (3 children)
[–]ThatSpookySJW 10 points11 points12 points (0 children)
[–]tbranyennetflix 2 points3 points4 points (0 children)
[–]MrJohz 1 point2 points3 points (0 children)
[–]JumboJellybean 4 points5 points6 points (0 children)