• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How short can I make it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How short can I make it


  • Subject: Re: How short can I make it
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 13 Oct 2011 16:47:46 -0600

At 15:04 -0700 10/13/11, Stan Cleveland wrote:
>On Oct 13, 2011, at 10:01 AM, Mark J. Reed wrote:
>
>>9 digits?  Not in decimal - epoch time broke 10 digits in 2001. As I type this it's 1,318,524,834.  That's 8 digits in hexadecimal.  Or 6 digits in base 36 (0,1,2,3,4,5,6,7,8,9,a,b,c,d,...,z)...
>>
>Base 36? Very interesting. Do you have AS routines to share for doing conversions between decimal and base 36 and back again? Or even better, between any two bases in the range of, say, 2 to 36?

Base 36 would be not much different from Base 64 here.  There is lots of code for that.

But then a simple loop doing integer divisions by 36 and using the remainder as the next digit in a result would be pretty simple unless AppleScript gets in the way.

--

--> From the U S of A, the only socialist country that refuses to admit it. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >How short can I make it (From: Paul Abney <email@hidden>)
 >Re: How short can I make it (From: David Ferrington <email@hidden>)
 >Re: How short can I make it (From: "Mark J. Reed" <email@hidden>)
 >Re: How short can I make it (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: How short can I make it
  • Next by Date: Re: How short can I make it
  • Previous by thread: Re: How short can I make it
  • Next by thread: Re: How short can I make it
  • Index(es):
    • Date
    • Thread