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
[-] Kindness@lemmy.ml 10 points 9 months ago

On the contrary.

KB = 1,000 bytes and MB = 1,000,000 is empirical.

KiB = 1024 bytes or 2^10^ and MiB = 1,048,576 or 2^20^ is Metric.

Remember, empirical is the miserable system the rest of the world abandoned because it made math and science difficult. KB makes storage miserable, never being clear whether your have the exact space your box claims it does. Please continue to Free^TM^ yourself from British "nonsense", while the rest of the world evolves.

[-] TwentySeven@lemmy.world 19 points 9 months ago

Empirical means based on data. The word you are looking for is imperial.

Also, metric measurements are in base 10, so you have it backwards.

[-] Kindness@lemmy.ml 3 points 9 months ago

It's all in good fun. No need to spoil the joke.

[-] HatchetHaro 2 points 9 months ago

man's actually taking the piss at OP's use of "empirical" instead of "imperial"

also, i doubt that measurements of data can be imperial or metric; even Bytes themselves are just measurements of 8 bits.

Hmmm... There are as many ounces in a cup as there are bits in a byte.
Maybe the first byte fit in a cup.

[-] AnnaFrankfurter@lemmy.ml 1 points 9 months ago

Thank you for majoring in English. We need people like you to ruin the peace in this fragile world.

[-] crispy_kilt@feddit.de 6 points 9 months ago

Many people are learning English as a foreign language through using it on the internet. Lazy native speakers hsing it incorrecrly despite knowing it better makes that very difficult, as they learn mistakes they later have to unlearn.

I am always glad when people point out such mistakes, for this reason.

[-] Not_mikey@slrpnk.net 5 points 9 months ago

Where did you get this from? Yeah KiB means 1024 and KB is 1000 but that's not a difference between metric and imperial, judging from the Wikipedia article it seems it was just a matter of using 1024 for technical purposes and 1000 for marketing / simplicity. If anything the article says the metric systems(SI) rule of kilo meaning 1000 means KB is metric.

If anything this shows some of the weakness of metric and it's use of base 10. Yeah it works great in science and some math when we're usually talking in base 10, but that's not the only base you can use. In base 2 some of the imperial measurements are easier to deal with and convert between then metric for example

1 liter = 1111101000 ml 1 gallon = 10000000 fl oz

1 kg = 1111101000 g 1 pound = 10000 oz

The reverse of the above metric conversions, and all base 10 negative exponents, is a repeating number in binary which has to be truncated and leads to inaccurate calculations.

Systems of measure are arbitrary, there's no superior logical one because different systems of measure work better in different systems of math.

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

Programmer Humor

32742 readers
522 users here now

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

Rules:

founded 5 years ago
MODERATORS