this post was submitted on 25 Feb 2026
731 points (99.1% liked)

Programmer Humor

30157 readers
618 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

A photo of a cake with 8 candles in a row. The first and fifth candle from the right are lit. The caption reads "Happy 17th Birthday"

top 50 comments
sorted by: hot top controversial new old
[–] raman_klogius@ani.social 81 points 6 days ago (2 children)

Very optimistic to have an 8th candle

[–] bricked@feddit.org 138 points 6 days ago (3 children)

The candles are only available in packs of 8. It's the smallest addressable unit of wax in many cake architectures

[–] humanamerican@lemmy.zip 29 points 6 days ago (2 children)

Last birthday party I was at I just wanted a nibble of cake but they told me I had to take one or more bites.

[–] tetris11@feddit.uk 6 points 6 days ago* (last edited 6 days ago)

I'd have a few words with them, kick them right up their rear endian

load more comments (1 replies)
[–] raman_klogius@ani.social 17 points 6 days ago (2 children)

Maybe this is a signed cake, so one can celebrate negative birthdays of people who aren't born yet. 🤔

[–] Iron_Lynx@lemmy.world 6 points 6 days ago (4 children)

Light all the candles as an announcement that you're gonna start having kids and hope she'll get pregnant in exactly three months. Not in 2, not in 4, but in 3 precisely.

load more comments (4 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] glibg10b@lemmy.zip 10 points 5 days ago

That's the sign bit. The cake is in two's complement

[–] ZILtoid1991@lemmy.world 62 points 6 days ago

Old man's last words on his 256th birthday: "Unhandled IntegerU8OverflowException, terminating application."

[–] Iron_Lynx@lemmy.world 2 points 3 days ago (1 children)

Related: I once got onto my feed a post of a tale of someone who had a child on his 19th birthday, so for his 20th birthday, and the child's 1st, they had two balloons celebrating their 2^0^th birthdays.

[–] Iron_Lynx@lemmy.world 1 points 3 days ago

I never saw if the next year they celebrated a 2^1^st birthday.

[–] ArmoredThirteen@lemmy.zip 26 points 6 days ago (2 children)

33 was a special year for me because it's the same forwards and backwards both in decimal and binary

[–] meow@discuss.tchncs.de 9 points 6 days ago (1 children)
[–] Zier@fedia.io 11 points 6 days ago

If 1 is asswell, then 2 is assgood, and 3 is the beginning of an orgy.

[–] HairyHarry@lemmy.world 6 points 6 days ago (1 children)

00100001

Am I being dumb? How ist that the same forward and backwards?

[–] wieson@feddit.org 20 points 6 days ago (1 children)

If you drop leading zeros as you would in decimal

[–] HairyHarry@lemmy.world 8 points 6 days ago

Damn. I AM dumb.

[–] vrek@programming.dev 23 points 6 days ago (3 children)

Why do I confuse Halloween and Christmas? Because Oct 31 is the same as Dec 25

[–] oce@jlai.lu 5 points 5 days ago* (last edited 5 days ago) (1 children)

Octal 31 = 3 x 8^1^ + 1 x 8^0^ = 24 + 1 = Decimal 25

  • The Yuki language in California has an octal system because the speakers count using the spaces between their fingers rather than the fingers themselves.[2]
  • The Pamean languages in Mexico also have an octal system, because some of their speakers "count the knuckles of the closed fist for each hand (excluding the thumb), so that two hands equals eight."[3] https://en.wikipedia.org/wiki/Octal
load more comments (1 replies)
load more comments (2 replies)
[–] galacticbackhoe@lemmy.world 16 points 6 days ago (1 children)

I only buy ipv6 cakes, so I'm good.

[–] CanadaPlus@lemmy.sdf.org 4 points 5 days ago

You probably know, but someone is going to point out an ipv4 address is four bytes.

[–] SubArcticTundra@lemmy.ml 17 points 6 days ago (1 children)

I'd actually quite like an overflowing cake thank you very much

[–] xyx@sh.itjust.works 8 points 6 days ago (1 children)

thinking of getting older than 255?

[–] PartyAt15thAndSummit@lemmy.zip 6 points 6 days ago (2 children)
load more comments (2 replies)
[–] itkovian@lemmy.world 16 points 6 days ago

I will grow older than 255 because then it will overflow and I become 0 years old.

[–] psud@aussie.zone 3 points 4 days ago

I use that style of birthday candle, but I only place as many bits as needed.

The year before adding a bit then has all candles lit, the next has only one lit

Though the new bits don't come very often. My last was 31 to 32, my next will be 63 to 64, I don't like my chances to see one after that

[–] JasonDJ@lemmy.zip 14 points 6 days ago

Heh I've been making my wife do this since my 32nd birthday.

She still doesn't understand binary and thinks I'm a nerd when I try to explain it to her.

Maybe this year, when it's 1+8+32, things will click.

[–] ZoteTheMighty@lemmy.zip 6 points 5 days ago

I did this once, but just had holes instead of unlit candles. I only had like 3 or 4 of them, and nobody's got time to go buy candles when everyone's about to sing happy birthday.

[–] dr_robotBones@reddthat.com 3 points 5 days ago

We're low on candles, great idea!

[–] regdog@lemmy.world 8 points 6 days ago (9 children)

Who counts from right to left?

Is this image mirrored?

[–] bricked@feddit.org 45 points 6 days ago

You will be surprised to hear that this is how we read decimal numbers too

[–] ArrowMax@feddit.org 23 points 6 days ago (1 children)

Even in decimal, the most-significant digit is to the left. Binary in text form is no exception to this.

Unless we are talking little-endian, which would start with the least-significant bit.

load more comments (1 replies)
[–] yermaw@sh.itjust.works 8 points 6 days ago (4 children)

Now that you mention it it is pretty fucky, but in every textbook thats tried to teach me counting in binary its gone from right to left.

[–] calcopiritus@lemmy.world 13 points 6 days ago

It's not. Numbers are arranged (both binary and base 10) with the most significant digit on the left.

Whether you read the number from left to right or right to left is irrelevant and you can choose whichever one you want.

But it is completely consistent with base 10 (normal numbers).

load more comments (3 replies)
[–] adb@lemmy.ml 7 points 6 days ago* (last edited 5 days ago) (3 children)

Binary exists in both ~~big-endian~~LSb or ~~little-endian~~MSb. In other words, both directions can be valid.

As explained below: Endianness is specifically the order of bytes. I was under the impression that it also implied a specific order of bits but anyways, the correct terms for this discussion is Least/Most Significant bit order.

[–] glibg10b@lemmy.zip 3 points 5 days ago (1 children)

This is a single byte, so it's represented the same in big-endian vs little-endian. Endianness defines the order of bytes, not individual bits

load more comments (1 replies)
load more comments (2 replies)
[–] SethranKada@lemmy.ca 6 points 6 days ago

Binary is always right to left? I've never seen it written left to right at least.

[–] psud@aussie.zone 1 points 4 days ago

Cakes have multiple sides, you can have your bits in your chosen order if you turn up to the party in person

load more comments (3 replies)
[–] ratatouille@feddit.org 6 points 6 days ago (1 children)
[–] CanadaPlus@lemmy.sdf.org 3 points 5 days ago* (last edited 5 days ago)

Look, an OpenRISC user.

[–] AlexCory21@lemmy.world 2 points 5 days ago

I hit the big 101000 recently. Time sure does fly by.

load more comments
view more: next ›