|
From: Robert U. <ead...@gm...> - 2009-07-10 01:07:51
|
Patrick Stein <sbc...@nk...> writes: > > A more typical approach is to read some bytes from /dev/urandom or use > the current time or the current process-id to seed the pseudo-random > number generator (PRNG). My understanding is that's exactly what it's there for. > In Lisp, I would say, see if (setf *random-state* (make-random-state > t)) before you start-server does the trick. Anyone know of the Right Way to initialise *RANDOM-STATE* from /dev/urandom in SBCL? -- Robert Uhl <http://public.xdi.org/=ruhl> Ever wonder if taxation without representation might have been cheaper? |