this post was submitted on 27 Dec 2023
144 points (69.6% liked)

Technology

59671 readers
3353 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

I often find myself explaining the same things in real life and online, so I recently started writing technical blog posts.

This one is about why it was a mistake to call 1024 bytes a kilobyte. It's about a 20min read so thank you very much in advance if you find the time to read it.

Feedback is very much welcome. Thank you.

you are viewing a single comment's thread
view the rest of the comments
[–] fiercetemptation@lemmy.world -4 points 11 months ago* (last edited 11 months ago)

It has everything to do with the metric system. And you got it exactly the wrong way around.

Kilo is simply an SI-prefix. It's thousand. See: https://en.wikipedia.org/wiki/Kilobyte. Let me quote that here: "The kilobyte is a multiple of the unit byte for digital information. The International System of Units (SI) defines the prefix kilo as a multiplication factor of 1.000; therefore, one kilobyte is 1.000 bytes."

That specifically is where the confusion arises. Someone went and said "oh, computers count in binary so a kilobyte is 1.024." It's not. A kilobyte is 1.000 bytes, because kilo is thousand.

To help fix the confusion, a different prefix was created: kibi which is specifically for powers of 2.

The thing is: for people not using the metric system your argument may have merit. But once you have accepted that metric is superior in literally every way (also why NASA etc all use metric), this confusion just disappears.