News for hackers. Stuff that matters.
Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by lewdwig on Monday November 23, 2026 @06:32AM (#50610328)
“Generalized coding” working effectively beyond domains that would not be traditionally attacked by code to me feels like models working around the limitations of harnesses and the context window. If they externalise their reasoning as code, it will survive compaction and context decay by becoming a durable artifact.

It’s cool that models can do this, but I think it also shows harnesses still have significant weaknesses around long term memory and context, necessitating models use what is essentially a code-as-long-term-memory hack.

Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by xscott on Monday November 23, 2026 @07:32AM (#50610769)
I'm sure harnesses will continue to advance, but I think training the models to do more of their thinking in code is a great thing regardless.

The silly example is writing a line of Python to count the Rs in strawberry, but people have moved on from that. I saw a video where the guy pointed out they're getting better at chess, but not great yet. If he had asked it write a chess engine (or if it had chosen to do that on its own), the model would be amazing at chess.

Lean is showing the potential for using code in the math domain. We have more trust in the compiler than we do the models. What are other non-programming areas where we could have "compilers" for the model?

Even if we restrict it to code, I'd rather the model did some trial and error experiments on the side (possibly with a sub-agent) than read pages of its thinking process where it keeps second guessing itself to make zero errors on the first try.

Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by simias on Monday November 23, 2026 @08:45AM (#50611432)
I agree, and would go even go further: procedural generation in code form is often more understandable for humans as well, and makes it easier to modify and reuse without treating it as a black box.

If I ask a model to generate an SFX sound file for the noise of falling rain for instance and it just genAI a WAV file, I don't really have any simple way to tweak it without iterating with the model itself. On the other hand if it generates a python script that procedurally generates the sound of falling rain, I have something that I can learn from and tweak myself afterwards. It's a lot less opaque and more deterministic.

Pure genAI is good for "vibecode" style development where you only monitor high-level outputs and don't care how the sausage is made, procgen is a lot better if you want to control and understand everything.

Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by xscott on Monday November 23, 2026 @09:40AM (#50612465)
That's a great example.

Not quite the same, but I did a technical drawing where I had the model vibe code a 3D line/box tool for an illustration. The code made sure the proportions were correct, and I could orbit/zoom the camera around it to get the view I wanted. Then I screen captured that and fed it to an image model to make it look like a pencil drawing. Correct picture, attractive appearance, lots of flexibility, easy for me and the model to get right.

Re:GLM-5.4: Toward Generalized Coding with Our First Loop Tr... by staminade on Monday November 23, 2026 @08:54AM (#50611525)
Calling this a "hack" implies that doing this in context is somehow the more natural or right way to do it. But why? If externalising their reasoning to an external system works, why shouldn't AIs work this way?

Imagine if AIs design had evolved differently, and models had been trained to externalise their reasoning as code from the get-go. Then someone added a way to speed up them up by writing some of the reasoning into context. Mightn't we also judge that as a "hack" to work around the limits of external storage?