this post was submitted on 27 Dec 2023
96 points (68.2% liked)

Technology

60086 readers
2208 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 2 years 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
[โ€“] [email protected] 21 points 1 year ago* (last edited 1 year ago) (6 children)

Short answer: It's because of binary.
Computers are very good at calculating with powers of two, and because of that a lot of computer concepts use powers of two to make calculations easier.

1024 = 2^10^

Edit: Oops.. It's 2^10^, not 2^7^
Sorry y'all.. ๐Ÿ˜…

[โ€“] [email protected] 11 points 1 year ago (1 children)
[โ€“] [email protected] 11 points 1 year ago (1 children)
[โ€“] [email protected] 6 points 1 year ago

Yeah, I deserve that. Iโ€™m just gonna leave my typo. Thanks for the laugh!

[โ€“] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

So the problem is that our decimal number system just sucks. Should have gone with hexadecimal ๐Ÿ˜Ž

/Joking, if it isn't obvious. Thank you for the explanation.

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Or seximal!

Not that 1024 would be any better, as it's 4424 in base 6.

[โ€“] [email protected] 4 points 1 year ago* (last edited 1 year ago)

1024 = 2^7^

I'm confused, why this quotation? 1024 is 2^10^, not 2^7^

[โ€“] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Just to add, I would argue that by definition of prefixes it is 1000.

However there are other terms to use, in this case Kibibyte (kilo binary byte, KiB instead of just KB) that way you are being clear on what you actually mean (particularly a big difference with modern storage/file sizes)

EDIT: Of course the link in the post goes over this, I admit my brain initially glossed over that and I thought it was a question thread