News for hackers. Stuff that matters.
Re:Can GPT-4 *Actually* Write Code? by MrDresden on Friday March 17, 2023 @02:51AM (#35194066)
It is not just those who are working on hard problems who are of that opinion.

Good luck having a ML model understand a 20 year old undocumented dataformat developed inhouse at a specific research lab to be used in their proprietary systems which are also undocumented and are a part of a spiderweb of interconnected systems at that lab (I have worked at this particular lab).

It will be a long time (if ever) until a ML model will be able to handle these situations (and I hazard a guess that most of the worlds active code is something akin to this).

As a supporting tool for the software engineers working there, sure. Just like a linter.

Re:Can GPT-4 *Actually* Write Code? by sgarland on Friday March 17, 2023 @08:45AM (#35196372)
Have you tried giving it a skeleton example of said undocumented data format? I've created some arbitrary ones and asked it to parse them, and it succeeded.
Re:Can GPT-4 *Actually* Write Code? by hackinthebochs on Friday March 17, 2023 @08:52AM (#35196441)
>It will be a long time (if ever) until a ML model will be able to handle these situations (and I hazard a guess that most of the worlds active code is something akin to this).

ChatGPT can do that right now. Just provide it example data in the input and it can extrapolate the format and interact with this abstraction (i.e. describe the format, write code to it, etc). LLMs don't just remix data it has seen before, they perform in-context learning. This means abstracting out patterns in the input and then leveraging it in generating output.