13 ms·
Is it? Outside of Windows, I rarely ever see KB used to mean 1024 anymore. Linux and Mac usually uses KB for 1000, and "K" or "Ki" or "KiB" for 1024.
by digiown 9mo ago
Is it? Outside of Windows, I rarely ever see KB used to mean 1024 anymore. Linux and Mac usually uses KB for 1000, and "K" or "Ki" or "KiB" for 1024.
- none_to_remain 9mo agoKiB is a an abbreviation for "kilobyte" which emphasizes that it means 1024.
- hnlmorg 9mo agoNo it’s not. KiB is an abbreviation for kibibyte Eg https://en.wikipedia.org/wiki/Kilobyte https://en.wikipedia.org/wiki/Kilobyte
- none_to_remain 9mo agoThose silly words only come up in discussions like this. I have never heard them uttered in real life. I don't think my experience is bizarre here - actual usage is what matters in my book.
- deleted 9mo ago[deleted]
- quotemstr 9mo agoTo be honest, I think the power-ten SI people might have won the war against the power-two people if they'd just chosen a prefix that sounded slightly less ridiculous than "kibibyte". What the hell is a "kibibyte"? Sounds like a brand of dog food.
- kstrauser 9mo agoI genuinely believe you're right. It comes across like "the people who are right can use the disputed word, and the people who are wrong can use this infantile one". I don't know what the better alternative would have been, but this certainly wasn't it.
- quotemstr 9mo agoThinking about it a bit, I think I'd have 1. defined traditional suffixes and abbreviations to mean powers of two, not ten, aligning with most existing usages, but... 2. deprecated their use, especially in formal settings... 3. defined new spelled-out vocabulary for both pow10 and pow2 units, e.g. in English "two megabytes" becomes "two binary megabytes" or "two decimal megabytes", and... 4. defined new unambiguous abbreviations for both decimal and binary units, e.g. "5MB" (traditional) becomes "5bMB" (simplified, binary) or "5dMB" (simplified, decimal) This way, most people most of the time could keep using the traditional units and be understood just fine, but in formal contexts in which precision is paramount, you'd have a standard way of spelling out exactly what you meant. I'd have gone one step further too and stipulate that truth in advertising would require storage makers to use "5dMB" or "5 decimal megabytes" or whatever in advertising and specifications if that's what they meant. No cheating using traditional units. (We could also split bits versus bytes using similar principles, e.g. "bi" vs "by".) I mean consider UK, which still uses pounds, stone, and miles. In contexts where you'd use those units, writing "10KB" or "one megabyte" would be fine too.
- 1718627440 9mo agoI do not know what "Linux" you are using. user@machine:~$ python3 >>> with open('/tmp/a', 'wb') as f: ... f.write (b'a'*1000); ... 1000 >>> with open('/tmp/b', 'wb') as f: ... f.write (b'a'*1024); ... 1024 $ ll /tmp -h -rw-r--r-- 1 user user 1000 Feb 5 10:40 a -rw-r--r-- 1 user user 1.0K Feb 5 10:40 b