Live data from Hacker News

How Do Computers Generate Random Numbers?

digitalbunker.dev

51–52 of 52 posts

Re: How Do Computers Generate Random Numbers?

#51

Earlier quoted context omitted.

Interesting. On first pass, Benford’s Law looks a lot like Zipf’s Law. What differentiates Benford’s Law from Zipf’s Law?

From https://en.wikipedia.org/wiki/Zipf%27s_law : > It has been argued that Benford's law is a special bounded case of Zipf's law,[22] with the connection between these two laws being explained by their both originating from scale invariant functional relations from statistical physics and critical phenomena.[24] The ratios of probabilities in Benford's law are not constant. The leading digits of data satisfying Zipf…

Thank you!

I’ll take some time to try and better understand your post.

Re: How Do Computers Generate Random Numbers?

#52
post #29

Earlier quoted context omitted.

That author has a history of extreme bias and almost-vindictive personal attacks on the author of PCG. See the reddit comments: https://www.reddit.com/r/programming/comments/8jbkgy/the_wra... And the PCG author's response: https://www.pcg-random.org/posts/on-vignas-pcg-critique.html For example, for one of his arguments, he specifically chose a generator called pcg32_once_insecure, which the PCG author does not recom…

Well, I had only skimmed the page But I am using xoshiro in my projects, because I thought xor was simpler than multiplication.

Yeah, xor is simpler than multiplication in terms of hardware complexity- luckily, we have the multiplication circuits built in, so may as well take advantage of them.
Post reply on HN