News for hackers. Stuff that matters.
Re:Ask HN: AI-generated spam pull requests? by fishtoaster on Wednesday March 29, 2023 @12:04PM (#35359189)
Relatedly, the Rails codebase recently received a (clearly marked) AI-generated pull request: https://github.com/rails/rails/pull/47708

At a glance, it looks like it's been mostly well-received and has not yet been immediately closed as spam.

Re:Ask HN: AI-generated spam pull requests? by sudo_navendu on Wednesday March 29, 2023 @12:16PM (#35359358)
This is how you use AI tools to write code.

In our project, the user just copy-pasted the output from the AI tool and called it a day. They did not even bother to build the project and test it.

I have also started using AI tools and it has made me much more efficient. I could have done a task without AI but with it, it is much more faster.

Re:Ask HN: AI-generated spam pull requests? by badloginagain on Wednesday March 29, 2023 @12:56PM (#35359963)
That makes no sense. The one thing chatgpt does _really_ well is setup unit tests, which is the part of unit tests I hate.

My ChatGPT workflow is give requirements -> have it create unit tests -> give it test results until it passes.

Been playing around with a generated-code-only project: https://github.com/JerkyTreats/scrivr/

In that workflow I don't really look closely at the code. In most cases I've found it isn't really necessary.

Re:Ask HN: AI-generated spam pull requests? by not_your_vase on Wednesday March 29, 2023 @12:12PM (#35359298)
Oh... I already see this commit being used by MS in the Copilot lawsuit.