this post was submitted on 05 Nov 2024
531 points (100.0% liked)

Programmer Humor

429 readers
16 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
 
top 30 comments
sorted by: hot top controversial new old
[–] Ephera@lemmy.ml 183 points 5 months ago (1 children)

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.

[–] Kissaki@programming.dev 10 points 5 months ago* (last edited 5 months ago)

Commit with Co-authored-by: Copilot

or maybe better --author=Copilot

It would certainly help evaluate submissions to have that context

[–] oce@jlai.lu 85 points 5 months ago (4 children)

I had a Pycharm linter with "inconsiderate writing list" flag my use of "bi" as inappropriate, recommending to use "bisexual" instead. In my data job, BI, means business intelligence, it's everywhere.

[–] gnutrino@programming.dev 87 points 5 months ago (1 children)

Gotta love Microsoft Power Bisexual

[–] watersnipje@lemmy.blahaj.zone 27 points 5 months ago

I now identify as a Power Bisexual.

[–] communism@lemmy.ml 37 points 5 months ago (1 children)

How is that inconsiderate? That's just informal

(Using "bi" to mean "bisexual", I mean, not "business intelligence" lol)

[–] oce@jlai.lu 2 points 5 months ago

I think it's probably because it is informal or maybe ambiguous.

[–] kittenzrulz123@lemmy.blahaj.zone 21 points 5 months ago

I'm confused how bi is inappropriate

[–] astrsk@fedia.io 4 points 5 months ago (1 children)

Huh, I’ve only heard business logic before.

[–] Ephera@lemmy.ml 11 points 5 months ago

Business intelligence is in the context of analytics. It means something very different from "business logic", in case you're thinking they're synonyms...

https://en.wikipedia.org/wiki/Business_intelligence

[–] Zikeji@programming.dev 61 points 5 months ago (3 children)

Holy shit, 10,000 commits because each change was individual (I'm assuming automated).

https://github.com/mrdoob/three.js/pull/29798

[–] FiskFisk33@startrek.website 48 points 5 months ago* (last edited 5 months ago)

oh god

yeah, no. haha

[–] maniel@sopuli.xyz 28 points 5 months ago
[–] lily33@lemm.ee 24 points 5 months ago* (last edited 5 months ago)

And they're all with different commit message:

"switched arse to bottom to create a more uplifting vibe"

"took arse out and put bottom in to keep my language warm and friendly"

"thought bottom would sound a lot nicer than arse, so I used it"

And so on..

[–] schnurrito@discuss.tchncs.de 35 points 5 months ago (1 children)
[–] Kissaki@programming.dev 6 points 5 months ago

The problem was named after an incident in 1996 in which AOL's profanity filter prevented residents of the town of Scunthorpe, North Lincolnshire, England, from creating accounts with AOL, because the town's name contains the substring "cunt".

haha

[–] deegeese@sopuli.xyz 31 points 5 months ago

It’s a clbuttic mistake.

[–] NumerousGeorg@sopuli.xyz 24 points 5 months ago (1 children)

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....

[–] dan@upvote.au 28 points 5 months ago* (last edited 5 months ago)

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

[–] Gork@lemm.ee 24 points 5 months ago

It's time for chbottomt and clbottom to finally become valid HTML statements.

[–] antonim@lemmy.dbzer0.com 23 points 5 months ago

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

[–] Flamekebab@piefed.social 15 points 5 months ago

Luckily the feck attribute is too obscure to be in the line of fire.

[–] MonkderVierte@lemmy.ml 15 points 5 months ago* (last edited 5 months ago) (1 children)

Ok, how is "charset" vulgar?

Edit: got it; arse

[–] Kissaki@programming.dev 4 points 5 months ago

got it; arse

It would certainly be an issue if you didn't have one

[–] lugal@sopuli.xyz 10 points 5 months ago (1 children)
[–] 0ops@lemm.ee 14 points 5 months ago (2 children)

weke? It's the Internet, you can say weke

[–] Swedneck@discuss.tchncs.de 4 points 5 months ago

they mean the wake agenda, all these boats disturbing the water's surface are going to bring an end to society

[–] lugal@sopuli.xyz 3 points 5 months ago

Thanks that you allowe it but I'm not so sure about the m*ds

[–] DudeDudenson@lemmings.world 7 points 5 months ago

I have a friend that works at Salesforce, he told me that they made him change the name of some classes that used the term Blacklist because of inclusivity

[–] Kazumara@discuss.tchncs.de 2 points 5 months ago

Wow they really went into their stupid useless plan in the most ham-fisted way