Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^5: JAPH randomness

by wolfger (Deacon)
on Feb 03, 2005 at 15:34 UTC ( #427679=note: print w/replies, xml ) Need Help??

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$_.$/}

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://427679]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-09-22 18:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found