Re: Likelihood of a duplicate

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62230
interpreted = N
texte = Weird, it's not in the archives anymore... just to be sure I did a search on all messages I've ever sent and when I found the thread where my '[cart] hack' was it is not there. All it did was reverse-engineer a [cart] value into the date/time it was created... did SM remove it? -Dan On Tue, 14 Jun 2005 20:07:50 -0700 "Dan Strong" wrote: >>(or like someone mentioned, like to parse out the date/time from the stored value). > > If you ever need/want to do this from [cart], I posted code on how to determine the date/time of >a [cart] about a year and a half ago... should be in the archives. > -Dan > > > On Tue, 14 Jun 2005 20:50:31 -0400 > John Peacock wrote: >> Lester wrote: >>> This was my initial logic in why I did my sku this way >>> too. >> >> A series of [cart]'s *will* sort in the order assigned, as long as you don't make the mistake of >>treating them as numbers: >> >> http://webdna.smithmicro.com/ref/SearchNumbers.html >> >> [cart] is composed of a monotonically increasing value plus a uniquifier (for times when >>multiple carts are assigned in the same second). It looks like a variable-length string which is >>composed exclusively of digits, and hence will always sort alphabetically in the order the carts >>were assigned. >> >> There is no reason to use anything except [cart] unless you really like reinventing the wheel >>(or like someone mentioned, like to parse out the date/time from the stored value). >> >> John >> >> -- >> John Peacock >> Director of Information Research and Technology >> Rowman & Littlefield Publishing Group >> 4720 Boston Way >> Lanham, MD 20706 >> 301-459-3366 x.5010 >> fax 301-429-5747 >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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. Re: Likelihood of a duplicate (Palle you around?) ( "Dan Strong" 2005)
  2. Re: Likelihood of a duplicate (Palle you around?) ( "WebDna @ Inkblot Media" 2005)
  3. Re: Likelihood of a duplicate (Palle you around?) ( "Dan Strong" 2005)
  4. Re: Likelihood of a duplicate (Palle you around?) ( "Palle B. Nielsen (PowerPalle)" 2005)
  5. Re: Likelihood of a duplicate (Palle you around?) ( "Dan Strong" 2005)
  6. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  7. Re: Likelihood of a duplicate ( Terry Wilson 2005)
  8. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  9. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  10. Re: Likelihood of a duplicate ( John Peacock 2005)
  11. Re: Likelihood of a duplicate ( Lester 2005)
  12. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  13. Re: Likelihood of a duplicate ( Donovan Brooke 2005)
  14. Re: Likelihood of a duplicate ( Donovan Brooke 2005)
  15. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  16. Re: Likelihood of a duplicate ( Gary Krockover 2005)
  17. Re: Likelihood of a duplicate ( John Peacock 2005)
  18. Re: Likelihood of a duplicate ( Clint Davis 2005)
  19. Re: Likelihood of a duplicate ( Gary Krockover 2005)
  20. Re: Likelihood of a duplicate ( "Dan Strong" 2005)
  21. Re: Likelihood of a duplicate ( Clint Davis 2005)
  22. Re: Likelihood of a duplicate ( Gary Krockover 2005)
  23. Re: Likelihood of a duplicate ( Bob Minor 2005)
  24. Likelihood of a duplicate ( Lester 2005)
Weird, it's not in the archives anymore... just to be sure I did a search on all messages I've ever sent and when I found the thread where my '[cart] hack' was it is not there. All it did was reverse-engineer a [cart] value into the date/time it was created... did SM remove it? -Dan On Tue, 14 Jun 2005 20:07:50 -0700 "Dan Strong" wrote: >>(or like someone mentioned, like to parse out the date/time from the stored value). > > If you ever need/want to do this from [cart], I posted code on how to determine the date/time of >a [cart] about a year and a half ago... should be in the archives. > -Dan > > > On Tue, 14 Jun 2005 20:50:31 -0400 > John Peacock wrote: >> Lester wrote: >>> This was my initial logic in why I did my sku this way >>> too. >> >> A series of [cart]'s *will* sort in the order assigned, as long as you don't make the mistake of >>treating them as numbers: >> >> http://webdna.smithmicro.com/ref/SearchNumbers.html >> >> [cart] is composed of a monotonically increasing value plus a uniquifier (for times when >>multiple carts are assigned in the same second). It looks like a variable-length string which is >>composed exclusively of digits, and hence will always sort alphabetically in the order the carts >>were assigned. >> >> There is no reason to use anything except [cart] unless you really like reinventing the wheel >>(or like someone mentioned, like to parse out the date/time from the stored value). >> >> John >> >> -- >> John Peacock >> Director of Information Research and Technology >> Rowman & Littlefield Publishing Group >> 4720 Boston Way >> Lanham, MD 20706 >> 301-459-3366 x.5010 >> fax 301-429-5747 >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ "Dan Strong"

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:

Mozilla/4. and Browser Info.txt (1997) [searchString] (1997) WebCommerce: Folder organization ? (1997) WebCat & WebTen (1997) Protect vs Authenicate (1997) Show items based on login Password (2003) Refering page (1998) label?! (2005) Lost and Recovered. (1998) [sendmail] questions... (1997) Copyright ? (1997) Forumulas.db & Variables (2002) cybercash on OSX - was Executing remote AppleScript (2000) Mac -Shareware Listserver (1998) emailer w/F2 (1997) Attention all list readers (1997) Has anyone accessed an LDAP server via Typhoon Pro? (2000) Showing unopened cart (1997) if else problem (2003) Online magazine- monthly updates and such (1999)