logoalt Hacker News

ValdikSSyesterday at 7:04 PM3 repliesview on HN

>Why do we often say 1 kilobyte = 1024 bytes?

Because Windows, and only Windows, shows it this way. It is official and documented: https://devblogs.microsoft.com/oldnewthing/20090611-00/?p=17...

> Explorer is just following existing practice. Everybody (to within experimental error) refers to 1024 bytes as a kilobyte, not a kibibyte. If Explorer were to switch to the term kibibyte, it would merely be showing users information in a form they cannot understand, and for what purpose? So you can feel superior because you know what that term means and other people don’t.


Replies

nitwit005today at 12:42 AM

Raymond Chen's blog isn't exactly official documentation, even if it's frequently better than the documentation.

ValdikSSyesterday at 7:06 PM

I know the only other software with this kind of error: https://github.com/lsd-rs/lsd/issues/807

SkiFire13yesterday at 9:40 PM

Windows also uses KB as measure unit which does not make sense (it's either kB or KiB)