this post was submitted on 28 Mar 2024
368 points (93.6% liked)
Programmer Humor
32561 readers
391 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
1 kB is 1024 bytes and a byte is 8 bits. That is not metric. It just uses metric prefixes.
1kB = 1000 bytes, 1KiB = 1024 bytes
Don't forget the baker's kilobyte.
1kB is 1000B you are using KiB which Windows to this day calls KB -.-
Linux kernel guilty as well. It reports memory in "kb", but digging through documentation, you will at some point see that they actually mean KiB. The "kb" would be 1000 bits.