Re: Random sort is not random at all.....

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27213
interpreted = N
texte = 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 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 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 John Butler

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:

Web*3 virtual hosting Webcatalog problem + Vicom bonus (1998) Friendly , quick 'security' check, please (2003) carriage returns in data (1997) anyone have an automated template encrypter? (2000) SKU (1997) Test (2006) using listfiles to build a database? (2000) Using Plug-In while running 1.6.1 (1997) OT: javascript print() (2003) WebDNA 4.5.1 Now Available (2003) emailer (1997) Re1000002: Setting up shop (1997) WCS Newbie question (1997) Web*3 virtual hosting Webcatalog problem (1998) web merchant (2000) Help! 'An unknown error occurred: EMailNotCreated' (1999) Possible Bug in 2.0b15.acgi (1997) WebCat2.0 acgi vs plugin (1997) Setting up shop (1997) Reversed words (1997)