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:

The IBC root beer has arrived! (1997) WebCatalog Plug-in for Webstar. (1997) Resume Catalog ? (1997) Exclusive Lock error (2004) How long until WebDNA makes the list? :( (2004) Snake Bites (1997) WebCat2 - [format thousands] (1997) Closing databases (2003) Hierarchy of form/text/math variables (2000) Indexing Web sites? (2000) well sort of - database design (2003) Includeform Error (2002) 404 error page issue (2006) Nested tags count question (1997) .tmp files (2000) Deleting Orders (1997) Stopping bad HTML propagation ? (1997) [searchString] (1997) ShowIf & HideIf Question? (1998) UPS online tools assuming one package per item no matterthe quantity. (2003)