• 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: file size and creation date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file size and creation date


  • Subject: Re: file size and creation date
  • From: Andy Wylie <email@hidden>
  • Date: Wed, 13 Mar 2002 11:43:28 +1300

on 13/3/02 9:58 AM, Doug McNutt at email@hidden wrote:

> At 22:46 +1300 3/12/02, Andy Wylie wrote:
>> repeat until |size| < 1024
>> set {|size| ,cnt} to {|size| / 1024, cnt + 1}
>> end repeat
>
> Is that right?
>
> When the MacOS reports a file size in (kilo)bytes or (mega)bytes is it using
> 1024 and 1024^2 for the abbreviations "K" and "M"?

this really isn't the bite I expected when I wrote {"kb", "mb", "gb"}

[1] "kilobyte <unit> (KB) 2^10 = 1024 {bytes}
MB <unit> (Or "Mb") {megabytes} or {megabits}. When referring to
the size or data transfer rate of a storage device which is
accessed in multiples of eight bits (e.g. {RAM}, {hard disk})
this almost certainly means megabytes, but when referring to
the data transfer rate of a communications system it probably
means {megabits}. Some years ago, it is claimed, "MB" always
meant megabytes and "Mb" meant megabits but recently this
useful distinction has been lost." ;

> The metric standard as promulgated by www.nist.gov says "k" means 1000(10) and
>"M" means 1,000,000(10). Little "m" means 0.001(10).
>
damn gumint ;
> In some computer circles capital "K" seems to mean 1024(10) rather than its
> NIST meaning of degrees Kelvin (a unit of absolute temperature). Little "k",
> the NIST standard, never means that.
>
> Capital M when it refers to disk size is pretty much always 1,000,000(10)
> because that makes the number look bigger in the eyes of an advertising agency
> in the employ of disk manufacturers. Surely a GB is always 10^9 bytes for that
> reason.

[1] "gigabyte <unit> 2^30 = 1,073,741,824 {byte}s = 1024 {megabytes}."

Roughly twice the amount of data required to encode half a human gene
sequence (including all the redundant codons)
>
> All this from a fellow who used to refer to the 65536 byte addressable memory
> of a Z80 as 65 kB.
}
a fellow who still refers to a ram as baa___ Andy

[1]The Free Online Dictionary of Computing via MacDICT
http://www.bainsware.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: file size and creation date (From: Doug McNutt <email@hidden>)

  • Prev by Date: Re: Question: Arrays and Matrixes
  • Next by Date: Re: creating pulldown menu
  • Previous by thread: Re: file size and creation date
  • Next by thread: Re: file size and creation date
  • Index(es):
    • Date
    • Thread