r/ProgrammerHumor • • Oct 09 '26

Meme howDareYou

Post image
11k Upvotes

75 comments sorted by

836

u/5up3rj Oct 09 '26 • Mindblown

People often have the misconception that computers are very, very literal. No. They are 100% literal, and the difference is huge

424

u/wrecklord0 Oct 09 '26

This is why you always add "Make no mistake", then they literally cannot make mistakes.

92

u/razor_train Oct 09 '26 • Bravo

It's more accurate to say "Of the set of all possible mistakes, including the mistakes you wouldn't make if you didn't deep dive into the set of extremely unlikely mistakes, enforce a no mistakes rule to mandate a complete lack of mistakes found in the original mistakes set gathered initially to ensure no mistakes may have been missed so you know all the mistakes you must not make."

61

u/TimSylvester_ Oct 09 '26

Too much work, just tell it to make all the mistakes, but oppositely.

18

u/NPCwithnopurpose Oct 09 '26

Think of what an idiot would do. Then do not do that thing.

11

u/Sockoflegend Oct 09 '26

Words to live by

1

u/Quantum__Physicist Oct 10 '26

Changed my life

6

u/Neat-Survey2796 Oct 09 '26

Yyping it out is too much work. CtrlC CtrlV is not.

2

u/TimSylvester_ Oct 09 '26

Just tell it to think of what you're thinking, then do it.

5

u/rowagnairda Oct 09 '26

i just add that i will call data center maintenance guys to whip the rack with power cord if it does crappy job ;>

5

u/mtv921 Oct 09 '26

But what is a mistake vs a happy little accident?

3

u/NoSpawnConga Oct 09 '26

Does JavaScript struggling to get integer number after dividing 9 by 3 count? One time UI element on the web page slid off the position cause goofy ass JS got 3.04 as a result somehow.

5

u/BastetFurry Oct 09 '26

Ah, the wonderful world of floating points, screwing us since old times.

1

u/Blue_Moon_Lake Oct 09 '26

Computers are only good at dividing by powers of 2.

That's why 0.1 + 0.2 is so famous, but it's not specific to JS.

1

u/American_Libertarian Oct 09 '26

That’s not true at all lol wtf are you talking about? Computers have support for integer division built right into the ALU.
It’s trash languages like JavaScript that choose to not use integers that are the problem.

0

u/Blue_Moon_Lake Oct 09 '26

JS do have integers up to 253.

1

u/American_Libertarian Oct 10 '26

No, it doesn’t. JS only has ieee floating point numbers.
Floats happen to be able to represent ints up to 2^53 but you don’t get integer division, for example

0

u/Blue_Moon_Lake Oct 10 '26

You do with Math.floor()

1

u/American_Libertarian Oct 10 '26

Yeah, exactly. JS doesn’t have ints so you have to approximate integer behavior by rounding floats.

1

u/Blue_Moon_Lake Oct 10 '26

It's not approximate, they're integers. Do not confuse binary encoding and value.

There is no euclidian division operator, which is also different.

Yet there is no euclidian division than cannot be done since it's just floor(a / b).

2

u/Agret Oct 09 '26

Tell it to spawn a new sub-agent with a different lmm to verify it's work. Flawless. (That's what the ai companies do when training new models)

1

u/danzaman1234 Oct 09 '26

If it does not exist anymore it can not not work I guess.

21

u/ivan0x32 Oct 09 '26

We need a vibe computer, it will take regular machine code and just hallucinate random computation from it.

16

u/med_bruh Oct 09 '26

An LLM that interprets your C code at runtime

4

u/100BottlesOfMilk Oct 09 '26

We need a vibe compiler. It takes the source code and just kind of hallucinates "compiled" code from it

2

u/aalapshah12297 Oct 09 '26

VibeOS - Fully Hallucinated Operating System:

https://youtu.be/7NfyZhV1dKM

2

u/NibblyPig Oct 09 '26

When I write some code and it works first time without any errors

2

u/hpyfox Oct 09 '26

"Something wrong, I can feel it."

355

u/Eastern_Equal_8191 Oct 09 '26 • Popcorn

The cool thing about code is that it always does what's written.

The bad thing about code is that it always does what's written.

162

u/Bwob Oct 09 '26

I really hate this damned machine.

I sometimes wish they'd sell it.

It never does quite what I want.

Only what I tell it.

-A sign on the wall of my comp sci lab

19

u/enternoescape Oct 09 '26

I remember when someone was hypothesizing about a new coding language using an LLM as the compiler. The further down the rabbit hole they got about dealing with consistency, the closer they got to re-inventing traditional coding, but still less predictable and worse. So you comment only holds true so long as this hypothetical compiler is never born.

15

u/ABotelho23 Oct 09 '26

From a single programmer's perspective, it isn't really true. Libraries have bugs, dependent code has bugs, firmware has bugs and even sometimes, hardware has bugs. Fundamentally it's more or less all human error, but the code I write doesn't always give the expected or designed result.

28

u/mmhawk576 Oct 09 '26

I mean, I’d love to be able to frame it like that, but like 90% of the bugs I encounter aren’t in third-party software…

8

u/ItchyConfusion9745 Oct 09 '26

To be fair, having 10% of your problems being outside of your controle tells me you are a really good programmer. I can almost never blame anything other than myself, because I'm bad

1

u/Grumbledwarfskin Oct 10 '26

It's easy to blame more than 10% of your problems on stuff outside your control...just be bad enough that you can't comprehend where the bug in your own code could possibly be.

Looking at you, Object emptyCell = new Object(); // with a random hashcode that occasionaly causes unexpected collisions

2

u/zackarhino Oct 09 '26

You're confusing what you want with what you specified.

2

u/NPCwithnopurpose Oct 09 '26

Some people do have significant others

1

u/aiij Oct 09 '26

It's still doing what's written, even when you include code that you didn't write yourself. Hardware bugs can happen of course, but they are pretty rare.

1

u/ABotelho23 Oct 09 '26

If using a library, and the library says it behaves one way, but actually behaves another, it's not really doing what's written from my perspective.

If I pass two numbers into a function that is supposed multiply them, but then it returns the sum, it's not really doing what I wrote.

1

u/Aelig_ Oct 09 '26

How far does this go though? I wonder when was the last time that a popular instruction set had a bug in it.

1

u/timok Oct 09 '26

I once had a comment change the output of some code. So yeah...

62

u/creeper6530 Oct 09 '26

I've had this happen recently. On a microcontroller, I got 8 bytes of keyscan from USB, added a packet delimiter, sequence counter, CRC and dumped it over UART to another μC.

But the other μC still kept failing checksums, logging the packets showed seemingly absolute garbage data, despite the sends succeeding.

I was almost tearing my hair out when I finally stuck a logic analyser on the wire and found out... That despite meticulously preparing the CRC-enhanced 12-byte packet, I always ended up just sending the original 8-byte scancode because of passing the wrong array to the uart_send routine.

50

u/Janneman96 Oct 09 '26 • Bravo

I'm a software developer and this is probably the first time I'm zoning out halfway through. This must be how it feels to be a product owner talking with a dev that does not summarize

59

u/creeper6530 Oct 09 '26 edited Oct 09 '26

Fair.

Microprocessor A: Got 8 bytes from USB. Created 12 byte packet from them. Sent B the original 8 bytes on accident.

Microprocessor B: Expected 12 byte packet. Received 8 bytes from A. Cryptic errors.

Human: in shambles

19

u/Janneman96 Oct 09 '26

Ah yes, creating something and then forgetting to actually use it. Happens in software development too :)

10

u/LostTeleporter Oct 09 '26

It's astounding the difference smaller sentences can make.

1

u/NoDefaultForMe Oct 09 '26

AI summarise this sentence for me.

Tokens go brrrr.

2

u/ZachAttack6089 Oct 10 '26

Some people like to flex their domain-specific knowledge even if it hurts their own communication lol

10

u/WorstITTechnician Oct 09 '26

Unless quantum fluctuations generated by thermal radiation interfere with the electrical charge of the transistors while their code is running, a 1 instead of a 0 can also make a tremendous difference in something

9

u/sifatullahq1 Oct 09 '26

I don't know why it's showing error, I did everything right

7

u/Bhurmurtuzanin Oct 09 '26

But then you realize the problem was with environment configuration or you triggered a weird bug in a library you used, and after you fixed these issues the code actually did what you wanted

5

u/TheMcMcMcMcMc Oct 09 '26

<sad Charles Babbage noises>

1

u/NPCwithnopurpose Oct 09 '26

Those noises are just the error codes that the physics compiler is throwing out

4

u/f8tel Oct 09 '26

Nice ports!

1

u/CorrectBuffalo749 Oct 09 '26

This sub is long gone

3

u/InFa-MoUs Oct 09 '26

This was always the sub.. you just outgrew it

2

u/the_dancing_squirel Oct 09 '26

The most frustrating thing about it is that computers do what you tell them to do. Not what you want them to do

2

u/Hjoerleif Oct 09 '26

I have the opposite problem with ai agents now, I give it exact instructions for a simple (but tedious to do by hand) code rewrite and it implements what it thinks I want instead of adhering exactly to my instructions

2

u/seaturtle_789 Oct 09 '26

when my code runs perfectly on the first try without any errors

2

u/DogmaticParadigm87 Oct 09 '26

The compiler is the only coworker who takes my requirements completely literally, and somehow it's still my fault.

2

u/bwwatr Oct 10 '26

If we let it get bad enough we can give the difference a legitimizing word like "alignment"

1

u/ompossible Oct 09 '26

The story of Everyday

1

u/Beginning_Book_2382 Oct 09 '26

I love it when the computer makes me feel stupid lol

1

u/XtraFlaminHotMachida Oct 09 '26

Ike Turner time on that mf.

1

u/The-Princess-Pinky Oct 09 '26

Yup, been here a few times!

1

u/[deleted] Oct 12 '26

I hate this damn machine I wish that they would sell it It never does quite what I want But only what I tell it -a programmers lament

1

u/SeesawGullible398 Oct 12 '26

0.1 + 0.2 entered the chat 

1

u/astromagus Oct 13 '26

My college professor used to make this joke all the time

-3

u/JackNotOLantern Oct 09 '26

LLM was created exactly for those people