ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: Random (real random) file from folder and subfolders

<< < (6/14) > >>

Coeluh:
I'm curious about the randomness of this script. Could you make a simple thing with the same random-engine as in Pick Me and then wait for user input of:
- Number of choices
- Number of times to do the experiment

And then a resultpage where it sums up the number of times each choice has been randomly chosen.

This all is because I sometimes think it's not that random.

scancode:
I'm curious about the randomness of this script. Could you make a simple thing with the same random-engine as in Pick Me and then wait for user input of:
- Number of choices
- Number of times to do the experiment

And then a resultpage where it sums up the number of times each choice has been randomly chosen.

This all is because I sometimes think it's not that random.
-Coeluh (March 09, 2009, 11:45 AM)
--- End quote ---

It's Visual Basic 6's rnd() function.

What do you suggest? random.org? :-)

Coeluh:
I'm curious about the randomness of this script. Could you make a simple thing with the same random-engine as in Pick Me and then wait for user input of:
- Number of choices
- Number of times to do the experiment

And then a resultpage where it sums up the number of times each choice has been randomly chosen.

This all is because I sometimes think it's not that random.
-Coeluh (March 09, 2009, 11:45 AM)
--- End quote ---

It's Visual Basic 6's rnd() function.
(see attachment in previous post)
What do you suggest? random.org? :-)

-scancode (March 09, 2009, 12:22 PM)
--- End quote ---
Well I see that the first and the last number are getting a significant lower rate... What's that doc?

scancode:
Well I see that the first and the last number are getting a significant lower rate... What's that doc?
-Coeluh (March 09, 2009, 02:51 PM)
--- End quote ---

Fixed. It was a rounding issue.
Thanks mouser  :-*