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

Programmer Humor

32822 readers
147 users here now

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

Rules:

founded 5 years ago
MODERATORS
(page 4) 47 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 9 months ago

1TB can be Recommended Chrome Ram?

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

Football fields, Olympic size swimming pools, hotdogs, and quarters

load more comments (2 replies)
[–] [email protected] 1 points 9 months ago (3 children)

Dec = 10 Cent = 100 Mil = 1000

Using historical, global linear language sounds good to me

https://en.m.wikipedia.org/wiki/Numeral_prefix

load more comments (3 replies)
[–] [email protected] 14 points 9 months ago

Probably something based on 1/6 th of a byte that originates form old IBM systems that used 6 bits per byte that was then later never changed into 8 bit systems so you now have to convert between 6 bit and 8 bit systems and then fractions, gotta get those good fractions. So they'd say something like my SSD is 170⅔ GB for a 128GB drive

[–] [email protected] 8 points 9 months ago* (last edited 9 months ago)

A bit in Freedom units is 2 metric bits because it wouldn't be freedom units without unnecessary confusion. A metric bit is equivalent to a freedom unit lil'bit, because it's smaller than a bit. A bite (no relation to a byte) is 25 lil'bits because saying 25 ones and zeros outload is a mouthful. A hot dog is 4.2 bites or 105 lil'bits because that's how many bites it takes me to eat a hot dog. A hamburger is 6.4 bites because it takes more bites to eat. A double with cheese is 7.8 bites. A whole hog is 233 hot dogs. A stampede is 23146 hamburgers.

[–] [email protected] 7 points 9 months ago (1 children)
  • A nugget: 1 bit
  • A tendy: 1 byte
  • A hot dog : 1 kb
  • A hamburger: 1 mb
  • A KFC bucket: 1 gb
[–] [email protected] 12 points 9 months ago (1 children)

The conversion to metric is way to easy

load more comments (1 replies)
[–] [email protected] 8 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago

Why did I think that quote was from Clifford Stoll? (Sp?)

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

Octal. Start expressing it in maga Octal with thoughts prayers and bullets for ones

[–] [email protected] 14 points 9 months ago* (last edited 9 months ago) (1 children)

May I suggest OB for Ounce Byte, or 28.35 Byte, one 16th of a PB PoundByte which is 453,6 Bytes.
These measures are both practical as freedom units because it's base is close to 28, which is clearly more suitable than 32 as a freedom unit base number, and the Pound Byte can be easily halved 4 times to make an Ounce Byte. Which makes it about as convenient as other freedom units.

load more comments (1 replies)
[–] [email protected] 2 points 9 months ago

Letter to Grandma, The Bible, Vacation photo album, and Video Collection

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

1 floppy = 1.44 MO
1 CD = 700 MO
1 DVD = 4,7 GO
1 HD DVD = 15 GO
1 Blu-Ray = 25 GO

load more comments (4 replies)
[–] [email protected] 8 points 9 months ago* (last edited 9 months ago) (1 children)

Those are units of discrete quantity, so couple, dozen, score, gross, grand, etc.: https://en.wikipedia.org/wiki/Non-numerical_words_for_quantities

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

Fractional bits come up in non-deterministic situation, sometimes.

load more comments (2 replies)
[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

We should be using KB, MB, GB, and TB. Also we should adopt the entire International System of Units and stop with the shit we use. The army uses metric. Why can't the rest of the population?

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

This is a joke post. That’s why it’s in the programmer humor community

[–] [email protected] 6 points 9 months ago

Oh damn. Well then I rescind my statement. We should obviously use a Base-50 system. One bit for each state.

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago) (5 children)

I propose the base measurement is a Reagit - equal to 36 bit states, or half-bits (36 was the age of Ronald Reagan when the transistor was first invented in 1947)

The next smallest is the Nuclearyte equal to the quantity of times the United States has proven technological superiority in war by using an atomic bomb offensively. So 2 Reagits is 1 Nuclearyte.

After that is the number of US presidents to have survived an assassination attempt (8) known simply as the ‘Merit (and don’t forget the apostrophe). 8 nuclearytes is 1 ‘merit.

Next is the number of years after the birth of Our Lord when Americans landed on the moon. 1969 ‘merits is 1 L-unit (pronounced like Loon)

Even bigger still is the number of amendments it took for the damn commie government to realize that alcohol is essential for human survival. The 18th amendment was a mistake, but the 21st amendment was blessed by Our Father who Art in Heaven without a doubt. 3 L-units is 1 chug

Next is the number of young men who died fighting for the rights of our United States to remain unquestioned by the damn commie federal government during the great war for individually united liberties between 1860 and 1865. 490,309 chugs is 1 Right

And so far we haven’t needed any larger measurements.

load more comments (5 replies)
[–] [email protected] 80 points 9 months ago* (last edited 9 months ago) (2 children)

1 tweet = 140 bytes

1 (printed) page = 60 lines of 60 characters = 3600 bytes

1 moa (minute of audio in 128000 bps mp3) = 960000 bytes

1 mov (minute of video) = typically around 30MB but varies by resolution and encoding, like ounces vs troy ounces vs apothecary ounces.

1 loc (library of congress, used for measuring hard drive capacity) = around 10TB depending on jurisdiction.

load more comments (2 replies)
[–] [email protected] 28 points 9 months ago* (last edited 9 months ago) (1 children)

12 bits to an eagle

27 eagles to a liberty (changes whenever an amendment is added)

1776 liberties to a freedom

Computers are still programmed in bytes, but filesize is always in freedoms.

load more comments (1 replies)
[–] [email protected] 2 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

~~American~~ Football fields.

[–] [email protected] 8 points 9 months ago

As all your other measurements are based on the subjective measures of random people, I'd suggest using the amount of digits of pi a senior can remember in the time a new school shooting happens as a base, like a Bit. Then just multiply by a random amount for bigger sizes and prefix the name with random presidents names.

[–] [email protected] 52 points 9 months ago* (last edited 9 months ago) (3 children)

KiB, MiB, GiB etc are more clear. It makes a big difference especially 1TB vs 1TiB.

The American way would probably be still using the units you listed but still meaning 1024, just to be confusing.

Either that or maybe something that uses physical measurement of a hard-drive (or CD?) using length. Like that new game is 24.0854 inches of data (maybe it could be 1.467 miles of CD?).

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

MiB = mebibyte

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

The difference really needs to be enforced.

My ram is in GiB but advertised in GB ???

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

Your RAM is in GiB and GB. You can measure it either way you prefer. If you prefer big numbers, you can say you have 137,438,953,472 bits of RAM

load more comments (2 replies)
[–] [email protected] 37 points 9 months ago (4 children)

The American way would probably be still using the units you listed but still meaning 1024, just to be confusing.

American here. This is actually the proper way. KB is 1024 bytes. MB is 1024 KB. The terms were invented and used like that for decades.

Moving to 'proper metric' where KB is 1000 bytes was a scam invented by storage manufacturers to pretend to have bigger hard drives.

And then inventing the KiB prefixes was a soft-bellied capitulation by Europeans to those storage manufacturers.

Real hackers still use Kilo/Mega/Giga/Tera prefixes while still thinking in powers of 2. If we accept XiB, we admit that the scummy storage vendors have won.

Note: I'll also accept that I'm an idiot American and therefore my opinion is stupid and invalid, but I stand by it.

[–] [email protected] 5 points 9 months ago (14 children)

No the correct way is to use the proper fucking metric standard. Use Mi or Gi if you need it. We have computers that can divide large numbers now. We don't need bit shifting.

load more comments (14 replies)
[–] [email protected] 8 points 9 months ago* (last edited 9 months ago) (1 children)

Kilo comes from greek and has meant 1000 for 1000's of years. If you want 2^10 to be represented using greek prefixes, it better involve "deca" and "di". Kilo (and di) would be usable for roughly 1.071508607186267 x 10^301 byte. KB was wrong when it was invented, but they were only wrong for decades at least.

load more comments (1 replies)
[–] [email protected] 12 points 9 months ago* (last edited 9 months ago)

Calling 1048576 bytes an "American megabyte" might be technically wrong, but it's still slightly less goofy-looking than the more conventional "MiB" notation. I wish you good luck in making it the new standard.

load more comments (1 replies)
[–] [email protected] 2 points 9 months ago

These units are too logical and scientific for my free, spirited, emotional, irrational Christian brain so I need something that’s more intuitive.

[–] [email protected] 271 points 9 months ago (7 children)

Size of an uncompressed image of the Washington Crossing the Delaware painting = 1 Yankee

12 Yankees in a Doodle

60 Doodles in an Ounce (entirely unrelated to the volume or weight usage of ounce)

[–] [email protected] 30 points 9 months ago* (last edited 9 months ago)

Sampled at what resolution, though? It's a physical painting and the true, atomic-scale resolution would make this whole system useless.

May I suggest the entire constitution in ASCII (American Standard Code for Information Interchange) instead? Bonus points if any future amendments change the whole system.

Edit: I suppose you actually want to start small. Maybe just the declaration sans-signatures, then. So, 6610*7 = 46,270 bits.

[–] [email protected] 80 points 9 months ago (5 children)
[–] [email protected] 7 points 9 months ago
load more comments (4 replies)
load more comments (5 replies)
[–] [email protected] 4 points 9 months ago* (last edited 9 months ago) (1 children)

TiB

One tebibyte equals 2^40 or 1,099,511,627,776 bytes.

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

What makes that more intuitive than any of the others?

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

K/M/G/T/P = decimal prefixes. K is 1000. M is 1,000,000. etc.

Ki/Mi/Gi/Ti/Pi = binary prefixes. Ki is 2¹⁰ (1024), Mi is 2²⁰ (1,048,576), etc.

It's a disambiguation of the previous system where we would use KB to interchangeably mean 1000 or 1024 depending on context.

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

I thought you wanted it to be more american

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

Yeah, American stuff makes sense unlike the metric system which is completely unintuitive /s

This whole post is meant to be a joke. The metric prefixes are perfectly understandable even if they’re technically off the decimal benchmarks by a handful of bytes

load more comments (2 replies)
[–] [email protected] 12 points 9 months ago (1 children)
[–] [email protected] 3 points 9 months ago (1 children)

What can you fit in a bushel?

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago) (1 children)

That's 1 day of Facebook, or 5 minutes of Netflix, or roughly 11.2milibits driven over 2 Chicago style city blocks.

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

🫡 God Bless Facebook

load more comments
view more: ‹ prev next ›