Remix.run Logo
ValdikSS 2 days ago

>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.

nitwit005 2 days ago | parent | next [-]

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

1718627440 4 hours ago | parent | prev | next [-]

> Because Windows, and only Windows

ls does unless you pass --si.

ValdikSS 2 days ago | parent | prev | next [-]

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

SkiFire13 2 days ago | parent | prev [-]

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