882
top 50 comments
sorted by: hot top controversial new old
[-] Ephera@lemmy.ml 279 points 9 months ago

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.

[-] TrickDacy@lemmy.world 53 points 9 months ago

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

[-] unexposedhazard@discuss.tchncs.de 57 points 9 months ago

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

[-] TrickDacy@lemmy.world 13 points 9 months ago

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

load more comments (4 replies)
load more comments (2 replies)
[-] Kissaki@programming.dev 16 points 9 months ago* (last edited 9 months ago)

Commit with Co-authored-by: Copilot

or maybe better --author=Copilot

It would certainly help evaluate submissions to have that context

[-] ilinamorato@lemmy.world 151 points 9 months ago

We will never solve the Scunthorpe Problem.

[-] SatouKazuma@programming.dev 25 points 9 months ago

Hasn't it been proven unsolvable?

[-] Valmond@lemmy.world 53 points 9 months ago

Impossible. There is always some mf named like cum-sock, smh

[-] ImplyingImplications@lemmy.ca 33 points 9 months ago

some mf named like cum-sock

Excuse me? My family BUILT this country!

load more comments (1 replies)
load more comments (4 replies)
[-] CanadaPlus@futurology.today 11 points 9 months ago

I mean, you could just use a vaguely smarter filter. A tiny "L"LM might have different problems, but not this one.

load more comments (2 replies)
[-] oce@jlai.lu 128 points 9 months ago

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 132 points 9 months ago

Gotta love Microsoft Power Bisexual

[-] watersnipje 39 points 9 months ago

I now identify as a Power Bisexual.

[-] communism@lemmy.ml 47 points 9 months ago

How is that inconsiderate? That's just informal

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

[-] marcos@lemmy.world 64 points 9 months ago

No, it's right.

Business intelligence is inconsiderate and must be stopped!

[-] Carighan@lemmy.world 12 points 9 months ago

Fully agreed! And while we're at it, get rid of Power Pivot!

load more comments (1 replies)
[-] kittenzrulz123 27 points 9 months ago

I'm confused how bi is inappropriate

load more comments (2 replies)
[-] Zikeji@programming.dev 83 points 9 months ago

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

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

[-] dohpaz42@lemmy.world 70 points 9 months ago

Those commit messages though 🤣

[-] jaybone@lemmy.world 47 points 9 months ago

They automated randomization of the commit messages? Wtf?

[-] ByteJunk@lemmy.world 37 points 9 months ago

Gotta appreciate the level of commitment on this commit...

[-] FiskFisk33@startrek.website 63 points 9 months ago* (last edited 9 months ago)

oh god

yeah, no. haha

[-] maniel@sopuli.xyz 34 points 9 months ago
[-] lily33@lemm.ee 32 points 9 months ago* (last edited 9 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..

[-] Grass@sh.itjust.works 16 points 9 months ago

wtf it was real?

[-] deegeese@sopuli.xyz 48 points 9 months ago

It’s a clbuttic mistake.

[-] brygphilomena@lemmy.world 42 points 9 months ago

I've been tempted to create a bot that does nothing but search comments in code for misspelled words and create pull requests for them.

If it stays in comments, little chance in breaking a working codebase and I'd have an insane amount of commits and contributions to a wide variety of codebases for my resume.

I'll never be a top tier coder. But I might make management.

[-] Keenuts@lemmy.world 29 points 9 months ago

In case that wasn’t satire, please don’t 🥲 A small typo in a comment is not a big issue, and even if the PR is straightforward, a maintainer still has to take some time reviewing it, which takes time away from fixing actual bugs 😢

[-] Lemminary@lemmy.world 15 points 9 months ago

But think of the gains!

load more comments (1 replies)
load more comments (2 replies)
[-] NumerousGeorg@sopuli.xyz 36 points 9 months ago

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 42 points 9 months ago* (last edited 9 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 data-foo="test">) but nothing enforces that. Custom attributes can be retrieved in JavaScript or targeted in CSS rules.

[-] antonim@lemmy.dbzer0.com 30 points 9 months ago

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

[-] Gork@lemm.ee 29 points 9 months ago

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

load more comments (1 replies)
[-] Passerby6497@lemmy.world 28 points 9 months ago

Fucking Scunthorpes!

[-] rainerloeten@lemmy.world 27 points 9 months ago

OMG this took me way too long to get. They replace the substring "ass" 😭😭

load more comments (1 replies)
[-] Valmond@lemmy.world 27 points 9 months ago

What is a 'charset' in this depraved persons mind? A corset? Must be a mighty kinky corset.

[-] Scoopta@programming.dev 75 points 9 months ago

It's replacing all instances of arse and ass with bottom...but doing so in about the most naïve way possible.

load more comments (1 replies)
[-] omgitsaheadcrab@sh.itjust.works 27 points 9 months ago

It's got an arse in there

[-] MonkderVierte@lemmy.ml 23 points 9 months ago* (last edited 9 months ago)

Ok, how is "charset" vulgar?

Edit: got it; arse

load more comments (1 replies)
[-] Taleya@aussie.zone 21 points 9 months ago

The ol' master/ slave configuration again....

load more comments (2 replies)
[-] Flamekebab@piefed.social 18 points 9 months ago

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

[-] DudeDudenson@lemmings.world 11 points 9 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

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 05 Nov 2024
882 points (100.0% liked)

Programmer Humor

25436 readers
885 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