News for hackers. Stuff that matters.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by reasonabl_human on Friday January 29, 2021 @10:26PM (#25965709)
Where does mebibyte come into play?
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by Phrodo_00 on Friday January 29, 2021 @10:35PM (#25965748)
Mebibyte comes from pedants (like myself) that say that the Mega prefix in SI means 10^6, but in computing we often take it to mean 2^20. Mebibyte is unambiguous, and if everybody used it (unlikely. I don't think either MacOs or Windows use it), then Mega would also be. Right now, when you see mega in a computing context you're not sure if it means 10^6 or 2^20, although a lot of times it doesn't even matter.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by stephenr on Saturday January 30, 2021 @12:05AM (#25966308)
It wouldn’t make sense for macOS to use the binary prefixes for file sizes, as it uses the decimal sizing method to show file sizes.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dr_zoidberg on Friday January 29, 2021 @11:53PM (#25966221)
Okay, this is second hand as I don't own a mac, but a friend who does noticed that on his macbook, macOS reports file sizes with megabyte being 10^6 bytes, whereas windows follos the 2^20 convention.

He was going crazy over a file being shown as 600Mb on Windows and 629Mb on mac. When he compared the bytes values, they were the same (around 629,145,600 bytes) and that settled it.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by rgovostes on Saturday January 30, 2021 @12:09AM (#25966333)
They changed the behavior of macOS a number of years ago (2012?) because disk manufacturers advertise storage capacity in 10^x, and the operating system displaying sizes in 2^y made the disks seem smaller and (in theory) caused confusion.

My MacBook Pro's internal "1 TB" disk is actually 1,000,240,963,584 bytes -- neither 1 TB nor 1 TiB.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by jzer0cool on Saturday January 30, 2021 @01:07AM (#25966672)
I remember this. The packaging showing the calculation that 1MB = 1024 bytes
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by seppel on Saturday January 30, 2021 @09:17AM (#25969247)
> He was going crazy over a file being shown as 600Mb on Windows and 629Mb on mac. When he compared the bytes values, they were the same (around 629,145,600 bytes) and that settled it.

To be fair: It make sense to measure RAM in MiB, because it is addressed by binary address lines so you always end up with a power of two.

Files are, however, as big as somebody decided to write into them (modulo some rounding to the next sector, depending on file system implementation details). It does not make much sense to measure them in MiB. Quite often it just more confusing to calculate file sizes in MiB instead of MB. I dont even know why Microsoft stated that MiB business.

Similar with hard disks by the way. They contain as many sectors as the manufacturer was able to put on them. There is no power of two involved.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by saagarjha on Saturday January 30, 2021 @01:22AM (#25966751)
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by stephenr on Saturday January 30, 2021 @12:07AM (#25966322)
This is true, macOS reports it using decimal sizing.

I believe the reason is that all storage devices are marketed in decimal sizes anyway.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by shawnz on Saturday January 30, 2021 @09:06AM (#25969160)
"Mebibyte" and similar units were only coined in 1998, a few years after the era of 4mb/8mb graphics cards.