Random number feedback please...

Moderator
Posts: 771
Joined: 2003.04
Post: #16
As stated in that article (emphasis added):
Quote:In Unix-like operating systems, /dev/random is a special file that serves as a true random number generator or as a pseudorandom number generator. It allows access to environmental noise collected from device drivers and other sources. Not all operating systems implement the same semantics for /dev/random.

In particular, Mac OS X uses a pseudorandom number generator for /dev/random, the Yarrow algorithm.
(also linked from the article)
Quote this message in a reply
Moderator
Posts: 3,577
Joined: 2003.06
Post: #17
Yeah, I was also under the impression that it was pseudo-random, but reading the man page a little more revealed that entropy is added to the pool by the security server. It also mentioned kernel jitter as a source. WTF is kernel jitter?
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #18
AnotherJake Wrote:Totally OT:

It depends on who's rolling the dice and how desperate the situation is. I've seen guys roll six sixes all at once in Axis and Allies, pretty much at will, when they needed to roll damage or technology.

Dude you're lucky you never played with a guy I know that trains one hour a day in throwing 6es (for Risk), and has an estimated probability of getting a 6 in every throw of about 0.4

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Mac "Picture-By-Number" game requested jmelrose 11 5,995 Aug 18, 2005 08:48 AM
Last Post: unknown