> You can see in chats 11 to 14 that we're entering the slop zone. The code the agent created has a critical bug, and it's absolutely failing to fix it. And I have no idea how to fix it, either.
OP has done more to be useful to other people than you did in this particular thread. Ok, so what if it has been done many times before, this is his, it may not be perfect and it may not be immediately useful to you. But it increased his knowledge and he shipped, which is more than I can say for 95% of my own projects, so that's impressive by itself. He also opened himself up to criticism and takes it all in stride, which is another fairly scary but powerful thing to do.
Fun fact: I've built something very much like this that powered a number of programs that I sold over the years and it was written when I wasn't nearly as good of a programmer as I am now (take off 30 years of additional experience). If I look at OP's code there are a whole raft of nitpicks but there isn't anything immediately and obviously wrong with it and just speaking for myself, that is surprising because most people's C code is - and I'm being generous here - absolutely terrible. This has potential, but I'd have to really dig in to see how solid it is and I don't have time for that right now, but I've seen far worse code than this.
not to mention cachegrind, callgrind and other things it bundles.
sorry, i guess when i say leaks i mean a bit more broad stuff :'). my own words are a bit leaky hah
still doesnt mean i am wrong. GC doesnt clean up memory when its released but when it wants to, effectively offering opportunities to get that data after a program dont need it anymore. until some point in time u can usually not specify, just hint at.
that in light of things like bad memory ordering between threads etc..can have nasty bugs... (raii has similar bugs but since its more determenistic you can program your way around lot of it more easily and reliably)
I'm glad to see rsc still actively involved. And commenting on commit messages.
The older I get the more I value commit messages. It's too easy to just leave a message like "adding valgrind support", which isn't very useful to future readers doing archaeology.
As someone who lives in Japan and has a lot of experience with earthquakes, the magnitude tells you not a lot, the depth and location/geology can easily change it from something you don't even feel to something quite big.
This is why I use every chance I can to espouse a scale like Japanese Shindo which actually measures the surface shaking (what matters to civilians) rather than the Magnitude scale that just measures the energy of the earthquake (more interesting to seismologists). Japanese news always focuses on the maximum observed Shindo which immediately tells you had bad it felt/affected people living nearby.
I grew up near a town called "Moodus" in Connecticut which constantly made noises and had small quakes.
But it didn't prepare me for the few small quakes I experienced in the bay area (typically a bunch of car alarms go off and dogs bark, there's a thud, and then a gentle rocking).
There are even earthquakes you can feel in "Old England". Not often, but I've experienced one. Lived in the BA for a few years and felt many small quakes. Lived in a very seismically active part of Montana for 25 years and felt nothing. YMMV.
What previous commenter meant is there are part of the world like in Chiappas,MX where 4.x earthquakes are occuring several times a day and people get along with their lives just fine.
I'm coming to expect that most things you see on the internet are written by an LLM. I can't wait for all the de-LLM denoiser products that're sure to come out combating llm spam.