You are viewing a single comment's thread from:

RE: LeoThread 2025-11-30 16-05

in LeoFinance2 days ago

imperfect random number generator for the drawing. I was curious about the imperfectness. Won't you use the slash dev slash you random or even slash dev slash random source for random numbers? I thought it was supposed to provide really good randomness. The manual page does give that impression to me. Do you know that to be incorrect? Will you use some other method for some reason or was I just passing a comment I didn't really mean that much? P.S. I am happy with my fedora and don't wish to enter the contest. Give the Zorin OS to someone who appreciated it more. P.S. 2 not the game, just a postscript, for some additional nerdage, assume you have the number of entries in the shells variable entries. You could get a random number between 0 and entries minus 1 with this cute one-liner and then he provides a one-line script and a more terse version which is even shorter. If you are really strict, unless entries evenly divides by 2 to the 64th, this will give a slightly higher probability (42/48)