Post

If anybody says "kibibyte" to me I reflexively punch them straight in the nose. Then I apologize and thank them for clarifying. Then I punch them again

Simon Willison@simonwillison.net

I need to decide if 1KB means 1,000 bytes or 1,024 bytes in all of my software I was leaning 1,024 but it looks like macOS and Windows both define KB as 1,000 these days I want whatever people are most likely to understand (I do not think most people know what KiB or MiB means)

16 reposts241 likes

I know that everyone likes to blame the hard disc drive manufacturers for starting to use megabyte to refer to 10^6 bytes when everyone else understood it to mean 2^20 bytes -- but I blame the rocket surgeon who decided that a 1440KB (1440*1024 bytes) floppy should be labeled as 1.44MB.

"Kibibyte" makes me think of Bill Cosby's dentist sketch. I think the best answer to kibibyte I've seen was someone agreeing to use kibi/mebi/etc for binary values if kidi/medi/etc were used for decimal values.

The worst part is when you're debugging storage stuff and realize the 5% difference between GB and GiB is exactly the amount of disk space you're missing. The punch is justified.

This was my impulse when I first learned about the -ibibytes, but in the intervening decade-plus I realized it’s Actually Better if programmers all agree on what the units mean