20 points

clbottomt when the chtopt shows up [imagine this as that popular GIF meme]

permalink
report
reply
24 points

I am in doubt. That wouldn’t even compile. But who am I to think somebody changing something like this would actually do a test compilation afterwards…

permalink
report
reply
15 points
*

HTML isn’t compiled, and unknown attributes are allowed. The best practice is to prefix non-standard attributes with data- (e.g. <div data-foo="test">) but nothing enforces that. Custom attributes can be retrieved in JavaScript or targeted in CSS rules.

permalink
report
parent
reply
204 points

Tangentially related rant: We had a new contributor open up a pull request today and I gave their changes an initial look to make sure no malicious code is included.
I couldn’t see anything wrong with it. The PR was certainly a bit short, but the task they tackled was pretty much a matter of either it works or it doesn’t. And I figured, if they open a PR, they’ll have a working solution.

…well, I tell the CI/CD runner to get going and it immediately runs into a compile error. Not an exotic compile error, the person who submitted the PR had never even tried to compile it.

Then it dawned on me. They had included a link to a GitHub Copilot workspace, supposedly just for context.
In reality, they had asked the dumbass LLM to do the change described in the ticket and figured, it would produce a working PR right off the bat. No need to even check it, just let the maintainer do the validation.

In an attempt to give them constructive feedback, I tried to figure out, if this GitHub Copilot workspace thingamabob had a Compile-button that they just forgot to click, so I actually watched Microsoft’s ad video for it.
And sure enough, I saw right then and there, who really was at fault for this abomination of a PR.

The ad showed exactly that. Just chat a bit with the LLM and then directly create a PR. Which, yes, there is a theoretical chance of this possibly making sense, like when rewording the documentation. But for any actual code changes? Fuck no.

So, most sincerely: Fuck you, Microsoft.

permalink
report
reply
22 points

dude. i feel that pain.

i got a dev fired because they absolutely refused to test their changes before submitting.

I’m not talking once or twice either. at least a year of that bullshit. i had to show my boss how many hours of wasted time it was taking me because I look at the code first, like literally anybody. Eventually boss pipd them and fired them but holy fuck i wanted to kick that douche in the groin every time i saw a pr with their name on it.

next place I work I’m insisting on a build step success to assign a pr.

permalink
report
parent
reply
39 points

Surely you have to blame the idiot human here who actually has the ability to reason (in theory)

permalink
report
parent
reply
4 points

Well, for reasons, I happen to know that this person is a student, who has effectively no experience dealing with real-world codebases.

It’s possible that the LLM produced good results for the small codebases and well-known exercises that they had to deal with so far.

I’m also guessing, they’re learning what a PR is for the first time just now. And then being taught by Microsoft that you can just fire off PRs without a care in the world, like, yeah, how should they know any better?

permalink
report
parent
reply
0 points

ultimately the people responsible are the ones giving people tools that can be misused, you don’t hand a gun to a child.

permalink
report
parent
reply
46 points

You think the decision to build this bot like that was not made by a human? Its idiot humans all the way down.

permalink
report
parent
reply
8 points

Of course but people selling/offering shitty tool options is not only expected, it’s guaranteed. I certainly do not understand this tendency to blame the machine or makers of the machine and excuse the moronic developer

permalink
report
parent
reply
24 points

Fucking Scunthorpes!

permalink
report
reply
17 points

The ol’ master/ slave configuration again…

permalink
report
reply
2 points
*

At least for that we have replacement names that make sense (like primary and secondary or replica).

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 2.8K

    Monthly active users

  • 799

    Posts

  • 12K

    Comments