News for hackers. Stuff that matters.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by sorenjan on Friday January 29, 2021 @10:22PM (#25965695)
> They were 4mb and 8mb. Yes you read that right, that is "m" as in megabytes.

mb is short for millibit, the abbreviation for megabyte is MB (or MiB if you mean 2^20 bytes). I know it's a minor thing, but "m" and "M" does not mean the same thing, neither does "b" and "B", and they're mixed up too often.

Sorry for the off topic.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by SECProto on Friday January 29, 2021 @11:37PM (#25966120)
While we're being pedantic: I agree with you about SI prefixes, but bits are indivisible. A millibit doesnt exist (only possible use would be if one was referring to something like a transfer speed as "19 millibits per second", but that's kind of lacking meaning - "0.019 bit per second" or "1.14 bits per minute" would be better)
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dkbrk on Friday January 29, 2021 @11:57PM (#25966259)
> bits are indivisible

No, they're not. Sure, in more familiar scenarios where you're measuring the size of some amount of data it's an integer, but there's nothing mathematically wrong with having a not-integer number of bits.

See: https://en.wikipedia.org/wiki/Shannon_(unit)

If you do any sort of calculations with information theory you're quite likely to end up with a non-integer number of bits, and there's nothing wrong with that.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by reitzensteinm on Saturday January 30, 2021 @01:47AM (#25966860)
You can absolutely have two ranges which require 7.5 bits to store each (0-180) and write them to 15 bits of storage.

Just because physical hardware is more or less restricted to integer bit quantities doesn't mean fractional bits aren't a useful concept.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by SECProto on Saturday January 30, 2021 @02:13AM (#25967001)
Sure, I accept I was wrong, and millibits may have some niche usage. That said, the comment I was responding to was describing hardware with "4 mb" of ram. There's no confusion in that case.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by dathinab on Saturday January 30, 2021 @02:37AM (#25967112)
Also in older texts MB often refers to MiB. Even today there are context where people nearly always mean MiB even when they write MB.
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.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by fouc on Saturday January 30, 2021 @08:09PM (#25974727)
kB = KiloByte mB = MegaByte