[Tutor] A question on randomness

Sean 'Shaleh' Perry shalehperry@attbi.com
Thu, 11 Jul 2002 15:12:59 -0700 (PDT)


> 
> If you have an extreme need for true randomness (which is likely not to
> "look random" to human eyes!), note that various places on the web will give
> you truly random bits; for example
> 
>     http://www.fourmilab.ch/hotbits/
> 
> delivers bits derived from monitoring radioactive decay in a physical
> system.  BTW, it's a fun and possibly challenging project to write a little
> Python program to hook up to such a service programatically.
> 

At the bottom of the page is a link to some Java sources.  This package has
several psuedo random generators as well as a wrapper to retrieve the data via
the network.  Each one is a derived class from a generic parent.  It would be
most fun to reimplement this in Python.