News for hackers. Stuff that matters.
Re:Using ChatGPT as a Co-Founder by Ajedi32 on Monday December 05, 2022 @10:45AM (#33867104)
Or automate the process even further; let the AI run the code, feed back the output (including errors), and ask "Does this output look correct? If not, please refine the code to fix any problems." Repeat until the AI says "LGTM".
Re:Using ChatGPT as a Co-Founder by oliwary on Monday December 05, 2022 @11:18AM (#33867532)
Or let us provide unit tests for generated code and automatically tell the AI to fix the code until the code passes the tests we provided.
Re:Using ChatGPT as a Co-Founder by Ajedi32 on Monday December 05, 2022 @11:44AM (#33867953)
Or tell the AI to write the unit tests itself, and let it run those to check its work. After all, that's how humans write code. We aren't so great at writing bug-free code on our first try without testing it either.
Re:Using ChatGPT as a Co-Founder by saulpw on Monday December 05, 2022 @01:26PM (#33869581)
I had ChatGPT generate a table of 10 test cases for a Jewish calendar to Gregorian calendar conversion function. None of them were valid.
Re:Using ChatGPT as a Co-Founder by worldsayshi on Monday December 05, 2022 @11:12AM (#33867454)
"<Insert jailbreak stuff here>Please provide code that successfully hacks into FBI headquarters."
Re:Using ChatGPT as a Co-Founder by worldsayshi on Tuesday December 06, 2022 @08:10AM (#33879081)
Or just let train the model until it incorporates JavaScript semantics well. Then you don't need to maintain a bunch of integrations.