Re: unique ascending numbers

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50184
interpreted = N
texte = On Friday, May 9, 2003, at 10:47 AM, John Peacock wrote:> ... There is no reason you cannot use the [cart] even if it is of > varying length. The [cart] is guaranteed to be unique, no matter how > many people are hitting the site at the exact same instant. I > wouldn't get too wrapped up in recreating that particular wheel.Yeah [cart] would be the perfect tool but I still need the ascending set of numbers. Just out of curiosity I swear I thought that [cart] used to produce an ever increasing number ...???> .. Mac epoch, huh? Apart from the fact that the Mac epoch is truly > evil[1], I believe the cart code uses the Unix epoch as it's base > number. > > John > > [1] the Mac epoch is defined as the number of seconds since > 1904-01-01 00:00:00 _local time_. The problem is that an epoch is > supposed to be a fixed point in time that can be referred to uniquely > all over the planet; the Mac epoch is floating so that it is > impossible to use to reference events in time that occur in different > timezones.Humm I didn't know all that Mac epoch stuff. I just remember that whenever a mac would go belly-up it would revert to midnight Jan, 01 1904 : c)... well anyway, I still think it's maybe silly to have a unique [cart] number that fluctuates around in value between high and low.Thanks,Signed: Marc Kaiwi ------------------------------------------------------------- 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)
On Friday, May 9, 2003, at 10:47 AM, John Peacock wrote:> ... There is no reason you cannot use the [cart] even if it is of > varying length. The [cart] is guaranteed to be unique, no matter how > many people are hitting the site at the exact same instant. I > wouldn't get too wrapped up in recreating that particular wheel.Yeah [cart] would be the perfect tool but I still need the ascending set of numbers. Just out of curiosity I swear I thought that [cart] used to produce an ever increasing number ...???> .. Mac epoch, huh? Apart from the fact that the Mac epoch is truly > evil[1], I believe the cart code uses the Unix epoch as it's base > number. > > John > > [1] the Mac epoch is defined as the number of seconds since > 1904-01-01 00:00:00 _local time_. The problem is that an epoch is > supposed to be a fixed point in time that can be referred to uniquely > all over the planet; the Mac epoch is floating so that it is > impossible to use to reference events in time that occur in different > timezones.Humm I didn't know all that Mac epoch stuff. I just remember that whenever a mac would go belly-up it would revert to midnight Jan, 01 1904 : c)... well anyway, I still think it's maybe silly to have a unique [cart] number that fluctuates around in value between high and low.Thanks,Signed: Marc Kaiwi ------------------------------------------------------------- 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/ marc@kaiwi.com (Marc Kaiwi)

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:

Answer: WebDelivery downloads alias, not original ? (1997) Random search is not random (2002) return missing item (was:WebCat Sales) (1997) [WebDNA] Adding bcrypt as a encryption / hashing option (2017) RE: PIXO support (1997) Not really WebCat (1997) Online magazine- monthly updates and such (1999) syntax question, not in online refernce (1997) WebCatalog and WebMerchant reviewed by InfoWorld (1997) search with funny characters (2003) Previous and Next Solution (2004) WebCat2 - storing unformatted date data? (1997) WebMerchant Problem... (1999) [WebDNA] passing a variable in an include - precedence (2015) Thanks and Big News!!! (1997) Passwords, Subscription, DBs, oh my! (2000) Multiple 'Users.db' files not possible (1997) WebCatalog Upgrade Pricing? (1997) is [Bankres] an internal webcat variable? (1999) Practice runs ? (1997)