Hacker Newsnew | past | comments | ask | show | jobs | submit | enigmoid's commentslogin

by this definition, we may be on track for AGI 2027 after all


> only a skilled developer who's thinking critically, and comfortable operating at the architectural level, can spot issues in the thousands of lines of generated code, before they become a problem.

An additional factor: to find issues in generated code, the developer has to care. Many developers (especially at big firms) are already profoundly checked out from their work and are just looking for a way to close their tickets and pass the buck with the minimum possible effort. Those developers - even the capable ones - aren't going to put in the effort to understand their generated code well enough to find issues that the agents missed. Especially during the current AI-driven speed mania.


Indeed. Generated code is also harder to read because it violates all semantic expectations that rely on the mental model of a human author. A generated piece of code is linguistically plausible but often unknowingly imitates common idioms so incoherently that the actual bug may be accidentally disguised in a way no sane human (even a bad programmer) could have come up with.

Since LLMs have no internal evaluation, as a reviewer one has to account for it and evaluate line by line, rebuild from scratch any hidden rationale and tacit knowledge the LLM didn't have in the first place - only to be mislead into non concerns draining costly hours.

At this point, the investment is often deeper than writing from scratch.


I tried to capture some of my feelings on this on a recent personal blog post/rant. The easiest phrase is that LLMs are "legacy code as a service". They are trained on other people's legacy code. (No one is intentionally feeding LLMs their best proprietary code.) They produce output that is "Day 1 Legacy Code" in the sense that there's no human code owner to take responsibility and you might be able to ask the LLM that built it questions, but it is easier to accept is as the LLM that wrote it is no longer at the company (between context/memory limitations and regular model upgrades/retrainings, etc).

But also, yeah, it starts to get worse than classic legacy code because you could try to build a theory of mind about the legacy code author(s). There were skills in trying to "mind read" a past generation. To find clues in poetry words more than the poetry form. (The variable names and whatever comments may have survived including commit logs; things written for humans to help explain the whys/hows, not just the whats.)


"legacy code as a service" - that's apt. But would they be better if they trained exclusively on 'good code'? I know I don't know the answer to that question and I get the feeling that few people actually understand how they work enough to feel comfortable with asserting that to be true.


Yeah, I still wouldn't trust them if they were training on more good code, either. I think I understand enough of how they work to believe that even given plenty of good code they won't be able to learn the parts that make good code truly good. That's where I start into poetry metaphors and that the best code is not just concerned with poetry forms (the rhythm and meter required by the language) nor the literal meaning (the compiler output) but also the human elements of the poem such as the creative storytelling and multiple levels of metaphors. I cannot see the current technology getting good at those human parts of the poetry, no matter how good they get at the literal and the form.


The problem there is the _large_ language model part, the density and the reinforcement of the weights. There's far less good code in the world. ;) These things emit code as well as I do, such as they do, only because they've inhaled essentially the totality of "code in general", not artisanal code.


> A generated piece of code is linguistically plausible but often unknowingly imitates common idioms so incoherently that the actual bug may be accidentally disguised in a way no sane human (even a bad programmer) could have come up with.

Came here to say this, but you said it for me. When you are an infinite code generator and your only parlour trick, your only hammer, is generation, and every nail is a problem of as-yet-insufficient generation, then generate you shall.

But the cognitive burden of metabolising this ultra-verbose, circuitous, often brute-force excreta is quite a bit higher than thumbing through a (competent) human's relatively terse approach.


There are exceptions to this, but in big firms many developers on many teams are actually punished for caring.


You know how some say the big brother sells junk food, then “solutions” to lose weight?

Maybe companies today are being sold junk AI, and next step is being promised “solutions”.. capitalism is working exactly as expected


And by the comments in this section, there’s a lot of them.


More like $300k


All the more reason to oppose regulation like this, since if it were in place the US would fall behind other countries without such regulation.


A few years ago I discovered that I had spent my entire life tying my shoes incorrectly, with a Granny Knot instead of the stable Square Knot (the knots are very similar). My shoes would always come untied and I frequently double knotted them. Now a single knot is always sufficient.

https://www.fieggen.com/shoelace/grannyknot.htm


This! I've never had a good explanation, but being left handed I was making a granny knot about 80% of the time. I never figured it out consciously, but it eventually nearly stopped. Just the rare one.

Now I understand!


Huh. Not only have I been tying my shoes incorrectly for decades, I've taught my children to do the same.


Patch [1] seems to be exactly what you’re describing — “local news in a box”:

> What is Patch? > > Patch is an innovative way to find out about, and participate in, what's going on near you.

My Connecticut hometown had a Patch site. As other commenters have pointed out, apps don’t address a dearth of local journalists (Patch appears to encourage community participation, which sounds good, but is not journalism), funding for local news (though I would expect it to reduce operating costs), etc.

[1] https://patch.com/about


Oh, neat! Thanks for sharing this.


This is a really good analysis – I thought the design was simple at first, but now even the cable-passing-cable version linked in the wikipedia page looks liable to jam as teeth pass in and out of the top channel.

For something like this to even have a chance, it would probably need many more, thinner teeth than these diagrams illustrate.

EDIT: @analogwintermut I think this addresses your question.


I agree with your sentiment. I found datatables initially easy to set up and use, but I soon found the documentation to be sorely lacking. Searches for the most basic customizations led to SO answers outlining ugly workarounds when all I really needed to know was the name of the right flag.

The examples on the site aren't general or plentiful enough, and they assume more prior knowledge of the plugin than would seem reasonable. I couldn't even find a list of initialization options anywhere.


A full list of options are available here: http://datatables.net/ref . However, I totally accept that the documentation isn't up to scratch, which I why I'm working on completely redoing it.

I'd be interested to know of any particular pain points you had so I can ensure they are addressed.


Not to create the lookup table in the example.

And I love reading about applications of linear algebra like this. Makes me want to write my own image processing algorithms as practice.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: