Re: New random discoveries?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 60706
interpreted = N
texte = Justin Carroll wrote:> I've created a banner rotating system and have noticed that random> isn't so random just like many people have on the talk-list.There are lot of reason why "ra" doesn't do what you think it does:1) Random numbers in computers are rarely truly random (unless you have a new enough CPU with a hardware random generator); some O/S's provide a very weak random number library (which can run out of randomness), so if you are using SSL, you can actually be reducing your available randomness for other purposes.2) Random numbers can only be measured over large sequences (i.e. it is perfectly OK to have 10 consecutive repeats of a single number as long as the average over many millions is no more or less than any number single number).3) Rotating banner ads are far more likely to be fair (or made fair) than relying on a random number to choose a banner to display.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Justin Carroll wrote:> I've created a banner rotating system and have noticed that random> isn't so random just like many people have on the talk-list.There are lot of reason why "ra" doesn't do what you think it does:1) Random numbers in computers are rarely truly random (unless you have a new enough CPU with a hardware random generator); some O/S's provide a very weak random number library (which can run out of randomness), so if you are using SSL, you can actually be reducing your available randomness for other purposes.2) Random numbers can only be measured over large sequences (i.e. it is perfectly OK to have 10 consecutive repeats of a single number as long as the average over many millions is no more or less than any number single number).3) Rotating banner ads are far more likely to be fair (or made fair) than relying on a random number to choose a banner to display.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
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:
Upgrade Cost?? $$$ (2000)
Size limit for tmpl editor ? (1997)
default value from Lookup (1997)
Bug Report, maybe (1997)
Text data with spaces in them... (1997)
Problems with store (1998)
emailer w/F2 (1997)
different show next (1997)
Beta 3.0.3 fix for serial# problem (Mac) (1998)
[cart] not being interpreted inside [founditems] (1997)
[WebDNA] Permission Settings (2009)
WebDNA dying or ... ? (2005)
Setting up shop (1997)
Mac OS X Server & WebCat (2003)
Search returns all, not 20 (1997)
mail sent from webcatalog. accented chars! (1998)
WebCat2: Formulas.db question (1997)
Custom error files (1998)
Question on the sandbox (2003)
Prices Dropped (1998)