Re: Balancing randomness
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 27952
interpreted = N
texte = on 23.02.2000 17:44, Joseph D'Andrea at JoeDan@West21.com wrote:> This bumps the value of [RW] by one in this record only. Then the> next time you go through the search, you would get some record> _except_ the one you just got. Subsequent passes through the> database keep returning records with the lowest value of [rw] and> incrementing the value of [rw] in each selected record so that the> pool of records with the lowest [rw] value keeps decreasing and all> records are selected once and only once before being selected again.Yes, if the job says do not repeat values, this will fit. But this is*not* a random distribution. You get unique numbers for each run, just in arandom order. True randomness is supposed to repeat values.If your program plays Roulette, I'd like to be the 37th player :)Peter-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
on 23.02.2000 17:44, Joseph D'Andrea at JoeDan@West21.com wrote:> This bumps the value of [RW] by one in this record only. Then the> next time you go through the search, you would get some record> _except_ the one you just got. Subsequent passes through the> database keep returning records with the lowest value of [rw] and> incrementing the value of [rw] in each selected record so that the> pool of records with the lowest [rw] value keeps decreasing and all> records are selected once and only once before being selected again.Yes, if the job says do not repeat values, this will fit. But this is*not* a random distribution. You get unique numbers for each run, just in arandom order. True randomness is supposed to repeat values.If your program plays Roulette, I'd like to be the 37th player :)Peter-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Peter Ostry
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
RSS Feeds; basic info (2005)
Separate SSL Server (1997)
Pithy questions on webcommerce & siteedit (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Max Record length restated as maybe bug (1997)
For those of you not on the WebCatalog Beta... (1997)
Follow-Up: Problem upgrading from 3.0.8 to 4.0 on MS Windoze 98 / PWS (2000)
Carts & cookies (1999)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
windows file upload = weirdness (2004)
possible, WebCat2.0 and checkboxes-restated (1997)
Firewalls - What's Good? (1999)
updating with ProductEditor (1998)
WebCat2.0 acgi vs plugin (1997)
Formatting a .txt file (1998)
suggestions for a good text editor on windows? (2005)
Price problem (1997)
Where is f2? (1997)
[BULK] [WebDNA] triggers.db "next execute" fails to update (2012)
PCS Frames (1997)