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"

you are viewing a single comment's thread
view the rest of the comments
[–] Iron_Lynx@lemmy.world 6 points 6 days ago (1 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.

[–] CanadaPlus@lemmy.sdf.org 0 points 5 days ago (2 children)

You win Lemmy, I need this one explained.

[–] Aedius@lavraievie.social 3 points 5 days ago (1 children)

@CanadaPlus

Because if you add 1 to 1111111 it will overflow and give 0000000 so you have to have the baby in 1 year exactly

[–] CanadaPlus@lemmy.sdf.org 2 points 5 days ago* (last edited 5 days ago)

Ahh, because of the 9 month gestation. 9+3=12

I thought this was about some kind of obscure subnormal float convention or something.

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

Longer explanation:

Because most computers use two's complement to make negative numbers. To produce -x, you take x, flip all the bits, and then add 1. Conveniently, this process works both ways, so if you have an int with a positive MSB, i.e. 1*******, that's a negative number, and if you invert and add 1, you get the positive number.

So if you take 11111111, and apply this process, you get 00000001, which equals 1. Thus, 11111111 = -1

Secondly, the gestation period of humans is 9 months, and there are 12 months in a year.

So if you have binary candles and all of them lit, that can suggest, which it does in my previous comment, that you're celebrating a child's -1st birthday.