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:

WC2.0 Memory Requirements (1997) SiteEditPro (1996) errormessages.db (1997) [WebDNA] Using WebDNA with MAMP (2010) NT IIS number of files limit (2003) Problem with Setheader (2001) No one gets my client's code for free ... (2005) SHOWIF/HIDEIF empty fields (2005) Questions. (1998) Encyption mail (1998) Looking for a Manual (1997) Nested vs conditional (1997) Plugin or CGI or both (1997) 2.0 Info (1997) Re:Dumb Question about Docs (1997) RE: protect tag on NT (1997) Major bug report on rootbeer (1997) Who is John Jakovich? (1999) Re:2nd WebCatalog2 Feature Request (1996) !@#$$@@# formulas database, tax and freight. (2002)