News for hackers. Stuff that matters.
Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by Wowfunhappy on Friday February 26, 2021 @10:45PM (#26282407)
Says who?

Okay, that question actually has an answer: the IEC. Unfortunately, lots of software disagrees with them, including Windows, because for some strange reason the IEC thought it was a good idea to redefine an existing measurement and then add a new term to mean what the old term used to mean.

The result was 100% predictable. Files now have two different sizes depending on which software you're using, and it's very difficult to tell which definition is in use. Even worse, the difference between these measurements is quite large, and converting between them isn't simple.

As much as I wish the United States used the metric system, I don't think we should redefine an inch to equal two centimeters...

Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by coldtea on Saturday February 27, 2021 @02:04AM (#26283264)
>Says who? Okay, that question actually has an answer: the IEC

Well, also the S.I?

Preffix "mega", initial "M", short for 10^6 since 1873...

Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by pseudalopex on Friday February 26, 2021 @10:49PM (#26282418)
MB never consistently meant MiB.
Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by dkjaudyeqooe on Friday February 26, 2021 @10:54PM (#26282434)
Since when? It was defined as such originally and stood for decades without much controversy until computers became more mainstream and self-interested parties started changing the meaning.
Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by lokar on Friday February 26, 2021 @11:13PM (#26282514)
Disk and networking hardware manufacturers have used base 10 for ages.
Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by pseudalopex on Friday February 26, 2021 @11:56PM (#26282745)
Including Ethernet in the 1980s. And disks in the 1970s.
Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by coldtea on Saturday February 27, 2021 @02:05AM (#26283270)
>It was defined as such originally and stood for decades without much controversy until computers became more mainstream

M (as in MB) has meant 10^6 (1,000,000) in the S.I / metric standard since the 19th century...

Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by Wowfunhappy on Friday February 26, 2021 @10:56PM (#26282437)
In e.g. 1985 were there really people measuring a kilobyte as 1000 bytes? I know floppy disk capacities used base-2 measurements...
Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by pseudalopex on Friday February 26, 2021 @11:13PM (#26282516)
Bus and line speeds always used powers of 10. Different disk formats used different conventions.[1][2]

[1] https://en.wikipedia.org/wiki/Kilobyte#Examples

[2] https://en.wikipedia.org/wiki/Megabyte#Definitions

Re:Mac finder uses 1,000,000 bytes instead of 1,048,576 byte... by dataflow on Saturday February 27, 2021 @12:33AM (#26282918)
Floppy disks were a mix of bases 2 and 10.