Live data from Hacker News

AI has a deep understanding of how this code works

github.com

91–100 of 329 posts

Re: AI has a deep understanding of how this code works

#92
post #78

Even if you are okay with AI generated code in the PR, the fact that the community is taking time to engage with the author and asking reasonable questions/offering reasonable feedback and the author is simply copy-pasting walls of AI-generated text in response warrants an instant ban. If you want to behave like a spam bot don't complain when people treat you like a spam bot.

Sometime ago I had a co-worker do this to me, pasting answers to my questions. He would paste the jira ticket to the ChatGPT(this was GPT3 time) and submit the PR. I would review it and ask questions and the answers had this typical rephrasing and persona of chatgpt. I had no proof, so one day i just used the PR and my comments as a prompt. The answers the co-worker gave me were almost the same down to the word as what ChatGPT gave me. I told my team I would not be available to review his changes anymore and that I would rather just have the ticket outright.

Re: AI has a deep understanding of how this code works

#93
post #90
post #53

Earlier quoted context omitted.

it reads like humiliation fetish material honestly. I'd delete my account but he just doubles down.

He's doing it elsewhere too: https://github.com/rerun-io/rerun/pull/11900#issuecomment-35... https://github.com/ocaml/dune/issues/12731 https://github.com/tshort/StaticCompiler.jl/pull/180 Seems he's just on a rampage of "fixing" issues for trendy packages to get some attention.

> I like a tough challenge and I was hoping to attract your attention.

thanks for the comedy material.

Re: AI has a deep understanding of how this code works

#94

Did these Ocaml maintainers undergo some special course for dealing with difficult people? They show enormous amounts of maturity and patience. I'd just give the offender Torvalds' treatment and block them from the repo, case closed.

I honestly reread the whole thread in awe.

Not due to the submitter, as clickbaity as it was, but reading the maintainers and comparing their replies with what I would have written in their place.

That was a masterclass of defending your arguments rationally, with empathy, and leaving negative emotions at the door. I wish I was able to communicate like this.

My only doubt is whether this has a good or bad effect overall, giving that the PR’s author seemed to be having their delusions enabled, if he was genuine.

Would more hostility have been productive? Or is this a good general approach? In any case it is refreshing.

Re: AI has a deep understanding of how this code works

#95
post #5

Maintainers and repo owners will get where they want to go the fastest by not referring to what/who "generated" code in a PR. Discussions about AI/LLM code being a problem solely because AI/LLM is not generally a productive conversation. Better is to critique the actual PR itself. For example, needs more tests, needs to be broken up, doesn't follow our protocols for merging/docs, etc. Additionally, if there isn't a c…

For example "cites a different person as an author, who happened to have done all the substantive work on a related code base". ;)

Re: AI has a deep understanding of how this code works

#96

I've closed my share of AI-generated PRs on some OSS repositories I maintain. These contributors seem to jump from one project to another, until their contribution is accepted (recognized ?). I wonder how long the open-source ecosystem will be able to resist this wave. The burden of reviewing AI-generated PRs is already not sustainable for maintainers, and the number of real open-source contributors is decreasing. Si…

Open-source maintainers will resist this wave even just because they don't want to be mocked on HN/Reddit/their own forums. It's corporation software that we need to worry about.

OSS has always pushed back, just because of the maintenance burden in general, and corporate can just "fix it later" because there are literally devs on payroll. Or at least push through and then dump the project, the goal is just completely different, each style works in its context.

But I don't know if corporate software can really "push through" these new amounts of code, without also automating the testing part.

Re: AI has a deep understanding of how this code works

#97
Everybody is dunking on this guy like hes some dopey protagonist in a movie, but you guys watched the movie. I think the interaction is pretty damn interesting. At least I see this interaction is "better" than the similar bug reports that have been discussed here (but I can't put my finger on why). If someone wants to contribute to ocaml I think they should read this issue to get a sense of how they work. Excellent communication from them and anyone could learn something about software professionalism. So I have to give kudos to the AI megaman for sparking the discussion and thought.

One thing I never really liked about professional software development is the way it can stall at big movements because we reject large PRs. Some stuff just won't happen if you have a simple heuristical position on this (IMO obviously).

Re: AI has a deep understanding of how this code works

#98
This won't be a popular opinion here but, this resistance and skepticism of AI code, and people making it less smells to me very similar to the stance I see from some developers that have this belief that people from other countries CANNOT be as good as them (like, saying that outsourcing or hiring people from developing countries will invariably bring low[er] quality code).

Feels a.but like snobbism and projection of fear that what they do is becoming less valuable. In this case, how DARE a computer progeam write such code!

It's interesting how this is happening. And in the future it will be amazing seeing the turning point when the.machine generated code cannot ne ignored.

Kind of like chess/Go players: First they laughed at a computer playing chess/Go, but now, they just accept that there's NO way they could beat a computer, and keep playing other humans for fun.

Re: AI has a deep understanding of how this code works

#99

Did these Ocaml maintainers undergo some special course for dealing with difficult people? They show enormous amounts of maturity and patience. I'd just give the offender Torvalds' treatment and block them from the repo, case closed.

I think you naturally undergo that course when you are maintainer of a large OSS project.

Well, you go one of two ways. Classic Torvalds is the other way, until an intervention was staged.

Re: AI has a deep understanding of how this code works

#100
post #55

Earlier quoted context omitted.

> I wonder how long the open-source ecosystem will be able to resist this wave. This PR was very successfully resisted: closed and locked without much reviewing. And with a lot of tolerance and patience from the developers, much more than I believe to be fruitful: the "author" is remarkably resistant to argument. So, I think that others can resist in the same way.

Has there been any posts where the AI-user goes "oh, that makes sense. Sorry. Carry on."?

Even if their AI says that for them, it doesn't mean they'll actually do it.
Post reply on HN