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

Programmer Humor

34171 readers
25 users here now

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

Rules:

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 11 months ago

Imperial, obviously: F(reedom)T(ons) and fractions thereof. 1FT is the amount of data that it takes to store the entire King James edition of the New Testament and the Bill of Rights as a PDF.

[–] [email protected] 2 points 11 months ago

We can use bits instead of bytes. That way it can look 8x bigger than it really is and have no real bearing to modern computing.

[–] [email protected] 2 points 11 months ago

No, those are not metric, they just borrowed some prefixes, although it's not like metric designers invented those anyways.

[–] [email protected] 4 points 11 months ago* (last edited 11 months ago)

Power of Two

1GB is 29.8975 pots

1MB is 19.9315 pots

[–] [email protected] 16 points 11 months ago (1 children)

M$ already fucked that up for everybody calling GiB GB.

[–] [email protected] 7 points 11 months ago

Cut to a younger me looking at HDDs in Walmart, and wondering why the fuck they were using much higher numbers than what the drive actually had. That's when I learned the difference, and started grow my hate for advertising bullshit.

[–] [email protected] 25 points 11 months ago (2 children)

We should measure size of files/storage as a function of how many standardized png's of an american flag would fit in the same amount of space.

[–] [email protected] 1 points 11 months ago

digital freedom units

[–] [email protected] 12 points 11 months ago* (last edited 11 months ago) (1 children)

We should measure size of files/storage as a function of how many ~~standardized~~ png’s of an american flag would fit in the same amount of space.

Fixed it, I will not be oppressed by your standards

[–] [email protected] 5 points 11 months ago (1 children)

Surely it would be a standardized png determined by each state legislation so... of varying sizes.

[–] [email protected] 2 points 11 months ago

It would be of the state flags, with resolution and compression determined by the state supreme courts obviously.

[–] [email protected] 9 points 11 months ago (1 children)

In America, you need a monthly subscription to use that system

[–] [email protected] 27 points 11 months ago (2 children)

I know you asked about memory, but the computer I just assembled had a 750watt power supply. As an American I think we should refer to it as a "one horsepower power supply" instead.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

One hor... Bwahahaha!

(GIF)

[–] [email protected] 4 points 11 months ago (1 children)

That’s not bad, but is there a digital equivalent of a horse we could use?

[–] [email protected] 4 points 11 months ago* (last edited 11 months ago)
[–] [email protected] 18 points 11 months ago (1 children)

char, short, int, long, long long

[–] [email protected] 4 points 11 months ago (1 children)

unsigned long long and minus unsigned long long

[–] [email protected] 2 points 11 months ago (1 children)

I didn't do C++ for over 5 years. Does minus unsigned really give you one bit of data extra?

[–] [email protected] 1 points 11 months ago (1 children)

Are we assuming we’re allowed to use defines and templates? 😏

[–] [email protected] 1 points 11 months ago

B-b-but those are cheating 😒

[–] [email protected] -4 points 11 months ago (1 children)

Try KiB, MiB, GiB, TiB, those are metric, KB is not

[–] [email protected] 16 points 11 months ago (2 children)

Other way round: prefixes that contain "bi" are binary, so 1024-based.

[–] [email protected] 1 points 11 months ago

Somebody needs to make a satire piece on how the "woke mob" is ruining computers because these units of measurement are all bi.

[–] [email protected] -3 points 11 months ago (1 children)

Bipolar is 1024 based?

Jokes aside, you're talking nonsense. 1024 based?

[–] [email protected] 3 points 11 months ago

I think they mean "based off of chunks of 1024", not "base 1024".

[–] [email protected] 12 points 11 months ago* (last edited 11 months ago) (1 children)

My CPU is running at 2.6 Triple thou cycles per imperial second (TTiS)

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago)

Don't you mean Triple Imperial Thousand Seconds?

[–] [email protected] 3 points 11 months ago (2 children)

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

[–] [email protected] 3 points 11 months ago (1 children)

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

[–] [email protected] 0 points 11 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.

[–] [email protected] 19 points 11 months ago (1 children)

1kB = 1000 bytes, 1KiB = 1024 bytes

load more comments
view more: next ›