Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: is rand random enough to simulate dice rolls?

by GrandFather (Saint)
on Jan 04, 2021 at 09:42 UTC ( #11126265=note: print w/replies, xml ) Need Help??


in reply to Re^3: is rand random enough to simulate dice rolls?
in thread is rand random enough to simulate dice rolls?

More like 32 bits to the right, but yes. Must be something to do with the holiday spirit (see end).

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re^4: is rand random enough to simulate dice rolls?

Replies are listed 'Best First'.
Re^5: is rand random enough to simulate dice rolls?
by shmem (Chancellor) on Jan 04, 2021 at 23:38 UTC

    My preferences: Laphroaig, Talisker, Ardbeg.

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

      I've a rather nice bottle of Ardbeg An Oa at the moment and a bottle of Penderyn Myth - a rather nice Welsh Whisky (I was dubious when my local whisky advisor suggested it, but definitely worth a try). Sadly my stock of Laphroaig has run out, but I'll rectify that shortly.

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2021-04-22 18:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?