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

Technology

59092 readers
3245 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
[โ€“] Humanius@lemmy.world 23 points 10 months ago* (last edited 10 months 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.. ๐Ÿ˜…

[โ€“] irdc@derp.foo 12 points 10 months ago (1 children)
[โ€“] Motorheadbanger@lemmy.world 11 points 10 months ago (1 children)
[โ€“] irdc@derp.foo 6 points 10 months ago

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

[โ€“] Sheeple@lemmy.world 6 points 10 months ago* (last edited 10 months 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.

[โ€“] Enkers@sh.itjust.works 3 points 10 months ago* (last edited 10 months ago)

Or seximal!

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

[โ€“] Skasi@lemmy.world 6 points 10 months ago* (last edited 10 months ago)

1024 = 2^7^

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

[โ€“] insomniac_lemon@kbin.social 3 points 10 months ago* (last edited 10 months 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