News for hackers. Stuff that matters.
Re:Simply explained: How does GPT work? by ZeroGravitas on Thursday April 06, 2023 @12:23PM (#35470666)
I'm assuming the bits that say

> // Rest of the code remains the same

Are exactly as generated by GPT-4, i.e. it knew it didn't need to repeat the bits that hadn't changed, and knew to leave a comment like this to indicate that to the user.

It gets confusing when something can fake a human so well.

Re:Simply explained: How does GPT work? by int_19h on Thursday April 06, 2023 @04:34PM (#35474023)
Yes, it will do that routinely. For example, you can ask it to generate HTML/JS/SVG in a single file to render some animated scene, and then iterate on that by telling it what looks wrong or what behaviors you like to change - and it will answer by saying things like, "replace the contents of the <script> element with the following".