News for hackers. Stuff that matters.
Re:The bigger-is-better approach to AI is running out of road by simion314 on Saturday June 24, 2023 @06:12PM (#36463119)
>GPT4 is really good at code

for popular languages, though for JS it most of the time outputs obsolete syntax and code.

Today i tried to do a bit of scripting with my son in Garrys Mod, it uses Expression 2 for a Wiremod module. GPT hallucinated a lot of functions and the worst part it switched almost each time from e2 to lua.

It is good at solving homeworks for students, or solving popular problems in popular languages and libraries though it might give you an ugly solution and ugly code, it is probably trained on bad code too and it did not learn to prefer good code over bad code.

Re:The bigger-is-better approach to AI is running out of road by TX81Z on Sunday June 25, 2023 @02:46AM (#36465630)
I’ve been writing JavaScript for 25 years and have always felt it has utterly trash syntax. I’m not sure that’s 100% on GPT.

(And I don’t mean to be rude - I just really hate that syntax!)

Re:The bigger-is-better approach to AI is running out of road by simion314 on Sunday June 25, 2023 @04:41AM (#36466142)
What I mean it will generate code using var instead of let or const like instead of a nice array.forEach it will create for(var i

i mean use at least "let"

Re:The bigger-is-better approach to AI is running out of road by TX81Z on Sunday June 25, 2023 @03:07PM (#36471546)
Yeah, same point I’m making - what other language declares variables like that? It’s a mess!