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.com Virtual 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:

    
  1. Re: Random sort is not random at all..... (Paul Willis 2000)
  2. Re: Random sort is not random at all..... (Dale LaFountain 2000)
  3. Re: Random sort is not random at all..... (Nicolas Verhaeghe 2000)
  4. Re: Random sort is not random at all..... (Kenneth Grome 2000)
  5. Re: Random sort is not random at all..... (Joseph D'Andrea 2000)
  6. Re: Random sort is not random at all..... (Nicolas Verhaeghe 2000)
  7. Re: Random sort is not random at all..... (Webcat 2000)
  8. Re: Random sort is not random at all..... (John Butler 2000)
  9. BUG: Random sort is not random at all..... (Joseph D'Andrea 2000)
  10. Random sort is not random at all..... (Joseph D'Andrea 2000)
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.com Virtual 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:

NewCart+Search with one click ? (1997) Applescript, WebDNA, and PDF (1997) I give up!! (1997) RE: Shopping Cart Questions (1998) customizing the color of user's pages (1997) [OT] Mac OSX hardware test software (2004) [WebDNA] How to generate md5 hash on linux (2009) locking variables? (2000) How To question on setting up downloads (1997) Next (1997) WebCatalog can't find database (1997) Execute Applescript (1997) Date Range works (1997) Will webdna execute before a [redirect]? (1999) This Code Kills My WebCatalog Dead (2003) Cookies and webcat (1997) High ASCII inside [LOOKUP] inside [LISTWORDS] (1998) Re:listfiles-looking for slick solution (1997) Country & Ship-to address & other fields ? (1997) Carts? (1998)