this post was submitted on 29 Nov 2026
770 points (98.6% liked)

Programmer Humor

34354 readers
571 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 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] expletivedeleted@lemmy.zip 1 points 1 hour ago (1 children)

Dude sits next to me at work. He vibe codes. I could completely see him saying this.

He is the same guy who struggled all day trying to figure out how to get a subnet mask between /22 and /23. I finally intervened because I overheard he was having a networking issue.

"Dude, how the fuck do you get half a bit? Trying to use decimal points in binary?" The look on his face was goddamn priceless.

[โ€“] Zak@lemmy.world 1 points 45 minutes ago

There are 10 types of people in the world: those who understand binary, and those who don't.

It is possible to represent binary fractions with a point. Support in programming languages is uncommon, but it exists:

Welcome to Racket v9.3 [cs].
> #b0.01
0.25

The size of a subnet is, of course always an integer regardless of what kind of numbers your tools can understand.