Re: Random sort is not random at all.....
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 27215
interpreted = N
texte = I built a banner system that gets about 10k hits a day and 25% of the customers only get their banner shown at a rate of 10% of all the others. . .I hate this.It's always the same ones that get cheated.Random doesn't work very well.ml>I did similar testing using a search in a [loop] set to go 1000 times. Same kind of>results as Joseph D'Andrea and John Hill.>>But right now the thing that is bothering me even more than the lack of real randomness>across 1000 searches is that when the template is set to display only the one (max=1)>found record in a single search, then it ALWAYS displays one of 2 or 3 records. In other>words the random search may be sort of random when it is inside a [loop] to be repeated>many times, but when it is not set to me repeated more than once, then I always get the>same 2 records. If I set the [loop] to go 20 times then I see it starts to find other>records (though they are weighted less), but if I force reload the very same code 20>times - but which is not in that [loop] - it NEVER finds any records other than the 2 or>3. Weird.>>-John>>>------------------------------------------------------------->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 \|/ (. .)_________________________ooO_(_)_Ooo_____________________________Mark Lacas mailto:mark@lacas.comVirtual Loft / Seattle HarborCam: http://www.loftcam.com/SeattleStuff WebCommerce Community: http://www.seattlestuff.com/-------------------------------------------------------------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:
I built a banner system that gets about 10k hits a day and 25% of the customers only get their banner shown at a rate of 10% of all the others. . .I hate this.It's always the same ones that get cheated.Random doesn't work very well.ml>I did similar testing using a search in a [loop] set to go 1000 times. Same kind of>results as Joseph D'Andrea and John Hill.>>But right now the thing that is bothering me even more than the lack of real randomness>across 1000 searches is that when the template is set to display only the one (max=1)>found record in a single search, then it ALWAYS displays one of 2 or 3 records. In other>words the random search may be sort of random when it is inside a [loop] to be repeated>many times, but when it is not set to me repeated more than once, then I always get the>same 2 records. If I set the [loop] to go 20 times then I see it starts to find other>records (though they are weighted less), but if I force reload the very same code 20>times - but which is not in that [loop] - it NEVER finds any records other than the 2 or>3. Weird.>>-John>>>------------------------------------------------------------->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 \|/ (. .)_________________________ooO_(_)_Ooo_____________________________Mark Lacas mailto:mark@lacas.comVirtual Loft / Seattle HarborCam: http://www.loftcam.com/SeattleStuff WebCommerce Community: http://www.seattlestuff.com/-------------------------------------------------------------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
Webcat
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:
FW: Shipping calculations (1997)
Major bug report on rootbeer (1997)
Emailer setup (1997)
[no_cache]?! (2000)
WebCatalog can't find database (1997)
Mac: LModelDirector bug fix (1997)
First postarg not taking in $Commands (1997)
What am I missing (1997)
Multiple prices (1997)
UPS (2003)
Is this possible, WebCat2.0 and checkboxes (1997)
Bug? (1997)
Email encryption (1998)
taxrate - off by 1 cent (1997)
Banners (1997)
WebCatalog can't find database (1997)
Summing fields (1997)
Lock out multiple users with same password? (1999)
Attn: Bug in GeneralStore example b15 (1997)
Can't use old cart file (was One more try) (1997)