Re: unique ascending numbers

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50188
interpreted = N
texte = Marc Kaiwi wrote: > It does??? ... You're kidding? > > I'd have to actually understand how that logic would work before I could > trust it. I'd really be interested to know if this is true and why. > That's interesting. > The cart is a combination of number of seconds since some epoch plus some digits to ensure that the cart is unique. If you imagine them being sorted like this:105244932297945 105244958598570 105244988499578 1052449988100087 1052450903103312 1052451205103863 1052451955106628 1052453196109064as a string of digits, not as a number, you'll see in the case of those carts above, the first 8 characters uniquely determine the sort order. If there were more carts being generated closer together in time, you might need 10 or even 12 or 14 characters to sort them. But [cart] does provide a unique, sortable increasing sequence, no matter how many [cart]'s are being generated (within reason).John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. ExclusiveLock (was: Re: unique ascending numbers) (Nitai @ ComputerOil 2003)
  2. Re: unique ascending numbers (Gary Krockover 2003)
  3. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  4. Re: unique ascending numbers (Scott Anderson 2003)
  5. Re: unique ascending numbers (Kenneth Grome 2003)
  6. Re: unique ascending numbers (Scott Anderson 2003)
  7. Re: unique ascending numbers (Kenneth Grome 2003)
  8. Re: unique ascending numbers (Kenneth Grome 2003)
  9. Re: unique ascending numbers (Kenneth Grome 2003)
  10. Re: unique ascending numbers (Laurent Bache 2003)
  11. Re: unique ascending numbers (John Peacock 2003)
  12. Re: unique ascending numbers (Laurent Bache 2003)
  13. Re: unique ascending numbers (John Peacock 2003)
  14. Re: unique ascending numbers (Chris List Recipient 2003)
  15. Re: unique ascending numbers (Joe D'Andrea 2003)
  16. Re: unique ascending numbers (Joe D'Andrea 2003)
  17. Re: unique ascending numbers (John Peacock 2003)
  18. Re: unique ascending numbers (Christer Olsson 2003)
  19. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  20. Re: unique ascending numbers (Christer Olsson 2003)
  21. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  22. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  23. Re: unique ascending numbers (John Peacock 2003)
  24. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  25. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  26. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  27. Re: unique ascending numbers (Kenneth Grome 2003)
  28. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  29. Re: unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
  30. Re: unique ascending numbers (Nitai @ ComputerOil 2003)
  31. unique ascending numbers (marc@kaiwi.com (Marc Kaiwi) 2003)
Marc Kaiwi wrote: > It does??? ... You're kidding? > > I'd have to actually understand how that logic would work before I could > trust it. I'd really be interested to know if this is true and why. > That's interesting. > The cart is a combination of number of seconds since some epoch plus some digits to ensure that the cart is unique. If you imagine them being sorted like this:105244932297945 105244958598570 105244988499578 1052449988100087 1052450903103312 1052451205103863 1052451955106628 1052453196109064as a string of digits, not as a number, you'll see in the case of those carts above, the first 8 characters uniquely determine the sort order. If there were more carts being generated closer together in time, you might need 10 or even 12 or 14 characters to sort them. But [cart] does provide a unique, sortable increasing sequence, no matter how many [cart]'s are being generated (within reason).John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

Categories (2000) WebCat2b12 - nesting [tags] (1997) showcart problem, HELP! (1999) variables in [addlineitem] (1998) (1997) Mixing and/or in searches (1998) UPS problems (again) (2000) Great product and great job ! (1997) HELP WITH DATES (1997) Problems with [Applescript] (1997) RE: E-mailer error codes (1997) Forbidden CGI Error (1997) Hard Questions ? (1997) Virtual Postcard almost complete... (1998) Out of the woodwork (2007) ShowNext Command (1997) HTML Editors (1997) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013) Cache Access Error (2000) Notepad problems (1998)