392
submitted 9 months ago by BmeBenji@lemm.ee to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] the_crotch@sh.itjust.works 13 points 9 months ago

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 9 months ago

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

[-] Sibbo@sopuli.xyz 1 points 9 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.

this post was submitted on 28 Mar 2024
392 points (100.0% liked)

Programmer Humor

32731 readers
418 users here now

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

Rules:

founded 5 years ago
MODERATORS