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

Programmer Humor

421 readers
6 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 1 year ago
MODERATORS
 
top 31 comments
sorted by: hot top controversial new old
[–] Ephera@lemmy.ml 181 points 1 week 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 1 week ago* (last edited 1 week 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 1 week 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 1 week ago (1 children)

Gotta love Microsoft Power Bisexual

[–] watersnipje@lemmy.blahaj.zone 27 points 1 week ago

I now identify as a Power Bisexual.

[–] communism@lemmy.ml 36 points 1 week 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 1 week ago

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

I'm confused how bi is inappropriate

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

Huh, I’ve only heard business logic before.

[–] Ephera@lemmy.ml 11 points 1 week 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 1 week 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 47 points 1 week ago* (last edited 1 week ago)

oh god

yeah, no. haha

[–] maniel@sopuli.xyz 28 points 1 week ago
[–] lily33@lemm.ee 24 points 1 week ago* (last edited 1 week 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..

[–] dsilverz@thelemmy.club 39 points 1 week ago

Similar vibe:

[–] schnurrito@discuss.tchncs.de 35 points 1 week ago (1 children)
[–] Kissaki@programming.dev 5 points 1 week 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 1 week ago

It’s a clbuttic mistake.

[–] Gork@lemm.ee 24 points 1 week ago

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

[–] NumerousGeorg@sopuli.xyz 24 points 1 week 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 1 week ago* (last edited 1 week 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.

[–] antonim@lemmy.dbzer0.com 23 points 1 week ago

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

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

Ok, how is "charset" vulgar?

Edit: got it; arse

[–] Kissaki@programming.dev 4 points 1 week ago

got it; arse

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

[–] Flamekebab@piefed.social 15 points 1 week ago

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

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

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

[–] Swedneck@discuss.tchncs.de 3 points 1 week 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 1 week ago

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

[–] DudeDudenson@lemmings.world 7 points 1 week 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 1 week ago

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