in reply to Re^4: JAPH randomness
in thread JAPH randomness

I knew computer randomizers were pseudo-random, it just surprised me how pseudo it was, to be able to seed the generator and come up with the same number every single time. I thought that on a system running multiple processes, the length of time to execute commands would vary marginally to produce a set (3, 6?) of "random" numbers that reliably comes up.
Hopefully the days of truly random numbers on computers comes soon.


--
Linux, sci-fi, and Nat Torkington, all at Penguicon 3.0
perl -e 'print(map(chr,(0x4a,0x41,0x50,0x48,0xa)))'

Replies are listed 'Best First'.
Re^6: JAPH randomness
by domm (Chaplain) on Feb 06, 2005 at 08:57 UTC
    OTOH, seeding the random number generator to allways get back the same results is very handy during testing.
    -- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}