115 points

Damn, maybe we can be replaced…

permalink
report
reply
10 points

These are exactly the people it will replace.

The question is, which one will write shittier code that the rest of us need to clean up.

permalink
report
parent
reply
81 points

You can’t deny that it correctly predicted the most likely token in this case.

permalink
report
reply
46 points

You’re probably using the wrong compiler flags, did you remember -Wall -Oz -nostdlib?

permalink
report
reply
41 points
*

-Oz

Optimize aggressively for size rather than speed.

TIL

permalink
report
parent
reply
29 points

It is, honestly, the dumbest of the -O flag option, which is why I picked it. I’m sure there are times when it’s useful, but it’s nearly never the right choice.

permalink
report
parent
reply
13 points

Wasm comes to mind, execution time in the browser will probably be ok, but size is a big deal

permalink
report
parent
reply

That’s why docker was created.

permalink
report
reply
21 points
*

Imma let you finish but Nix had the best repeatable, declarative, deterministic dependency management of all times…of all times.

permalink
report
parent
reply
5 points

Is docker even declarative?

Also you can build docker images from nix derivations

permalink
report
parent
reply
13 points
*

Is docker even declarative?

Yes (though not as deterministic as Nix).

Also you can build docker images from nix derivations

Yes. I know.

permalink
report
parent
reply

Nah, screw that.
Time to distribute stuff as a VM image.

permalink
report
parent
reply
16 points
*

1950s

A: The transistor I made using your blueprint doesn’t switch properly at 12V.
Maker of Blueprint: The one I made, works at 12V.
B: I’mma make standard transistors.

why?

Blueprint was made by a person in the tropics.
A was in Europe

permalink
report
parent
reply
32 points

Is it still the norm to go to the dev’s office, yank their power cord and when they ask what we’re doing, tell them we’re shipping their machine to the client because it’s the only one that the code runs on?

And can we do that with whatever server ChatGPT-4o is running on?

I’m assuming that this response from 4o isn’t real and was invented for the laugh, but it would be tempting to throw this scenario at it if it decided to give this response.

permalink
report
reply
33 points

The real joke was the pain that every developer feels when the end user gives such useful and actionable feed back as “It broke. Fix. Unga bunga.”

“It works on my machine” is trying to be polite when, after hours and hours of trying to teach a person how to report a bug with necessary information, all they ever get is “It broke. Fix. Unga bunga.”

permalink
report
parent
reply
0 points
*

No, “it works on my machine” is the ever-tiring excuse every junior dev gives when they’re inexperienced enough to not understand that environments differ and just because yours is setup to run your code, doesn’t mean you did everything right so that an end-user can also run it. Did you package VCredist? Did you update the environment? Are you using another fucking compiler for some retarded 25-year-old’s reason instead of the one we use on our production server, so now every build is failing because you didn’t hold a review and pushed to master?

“It works on my machine” is spoken as if it should end all debugging. Goddamn, if it works on your machine and it doesn’t work on another machine, that’s a great clue. That’s where your debugging begins.

permalink
report
parent
reply
1 point

Wow.

You sound angry. And quite outdated.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.9K

    Monthly active users

  • 1.4K

    Posts

  • 32K

    Comments