this post was submitted on 28 Mar 2024
368 points (93.6% liked)

Programmer Humor

32263 readers
71 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] the_crotch@sh.itjust.works 3 points 6 months ago (4 children)

1 kB is 1024 bytes and a byte is 8 bits. That is not metric. It just uses metric prefixes.

[–] Matombo@feddit.de 3 points 6 months ago (1 children)

1kB is 1000B you are using KiB which Windows to this day calls KB -.-

[–] Sibbo@sopuli.xyz 0 points 6 months ago

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.

load more comments (2 replies)