Live data from Hacker News

Andrej Karpathy: Software in the era of AI [video]

youtube.com

221–230 of 827 posts

Re: Andrej Karpathy: Software in the era of AI [video]

#221
post #214
post #189

Earlier quoted context omitted.

They're reliable already if you change the way you approach them. These probabilistic token generators probably never will be "reliable" if you expect them to 100% always output exactly what you had in mind, without iterating in user-space (the prompts).

I also think they might never become reliable.

But what does that mean? If you tell the LLM "Say just 'hi' without any extra words or explanations", do you not get "hi" back from it?

Re: Andrej Karpathy: Software in the era of AI [video]

#222
post #214
post #189

Earlier quoted context omitted.

They're reliable already if you change the way you approach them. These probabilistic token generators probably never will be "reliable" if you expect them to 100% always output exactly what you had in mind, without iterating in user-space (the prompts).

I also think they might never become reliable.

There is a bar below which they are reliable.

"Write a Python script that adds three numbers together".

Is that bar going up? I think it probably is, although not as fast/far as some believe. I also think that "unreliable" can still be "useful".

Re: Andrej Karpathy: Software in the era of AI [video]

#223
post #221
post #214

Earlier quoted context omitted.

I also think they might never become reliable.

But what does that mean ? If you tell the LLM "Say just 'hi' without any extra words or explanations", do you not get "hi" back from it?

That's literally the wrong way to use LLMs though.

LLMs think in tokens, the less they emit the dumber they are, so asking them to be concise, or to give the answer before explanation, is extremely counterproductive.

Re: Andrej Karpathy: Software in the era of AI [video]

#224
post #171

Earlier quoted context omitted.

It is kind of a human problem too, although that the full testing suite takes X hours to run is also not fun, but it makes the human problem larger. Say you're Human A, working on a feature. Running the full testing suite takes 2 hours from start to finish. Every change you do to existing code needs to be confirmed to not break existing stuff with the full testing suite, so some changes it takes 2 hours before you ha…

This is the workflow that ChatGPT Codex demonstrates nicely. Launch any number of «robotic» tasks in parallel, then go on your own. Come back later to review the results and pick good ones.

Well, they're demonstrating it somewhat, it's more of a prototype today. First tell is the low limit, I think the longest task for me been 15 minutes before it gives up. Second tell is still using a chat UI which is simple to implement, easy to implement and familiar, but also kind of lazy. There should be a better UX, especially with the new variations they just added. From the top of my head, some graph-like UX might have been better.

Re: Andrej Karpathy: Software in the era of AI [video]

#225
post #177

His dismissal of smaller and local models suggests he underestimates their improvement potential. Give phi4 a run and see what I mean.

You can disagree with his conclusions but I don't think his understanding of small models is up for debate. This is the person who created micrograd/makemore/nanoGPT and who has produced a ton of educational materials showing how to build small and local models.

Re: Andrej Karpathy: Software in the era of AI [video]

#226

Meanwhile, I asked this morning Claude 4 to write a simple EXIF normalizer. After two rounds of prompting it to double-check its code, I still had to point out that it makes no sense to load the entire image for re-orientating if the EXIF orientation is fine in the first place. Vibe vs reality, and anyone actually working in the space daily can attest how brittle these systems are. Maybe this changes in SWE with more…

Seems to me that this is just another level of throwing compute at the problem.

Same way programs was way more efficient before and now they are "bloated" with packages, abstractions, slow implementations of algos and scaffolding.

The concept of what is good software development might be changing as well.

LLMs might not write the best code, but they sure can write a lot of it.

Re: Andrej Karpathy: Software in the era of AI [video]

#227

Earlier quoted context omitted.

The real question is how long it'll take until they're not brittle

“Treat it like a junior developer” … 5 years later … “Treat it like a junior developer”

Usable LLMs are 3 years old at this point. ChatGPT, not Github Copilot, is the marker.

Re: Andrej Karpathy: Software in the era of AI [video]

#228

Tight feedback loops are the key in working productively with software. I see that in codebases up to 700k lines of code (legacy 30yo 4GL ERP systems). The best part is that AI-driven systems are fine with running even more tight loops than what a sane human would tolerate. Eg. running full linting, testing and E2E/simulation suite after any minor change. Or generating 4 versions of PR for the same task so that the h…

The problem is that every time you run your full automation with linting and tests, you’re filling up the context window more and more. I don’t know how people using Claude do it with its <300k context window. I get the “your message will exceed the length of this chat” message so many times.

I don't know exactly how Claude works, but the way I work around this with my own stuff is prompting it to not display full outputs ever, and instead temporary redirect the output somewhere then grep from the log-file what it's looking for. So a test run outputting 10K lines of test output and one failure is easily found without polluting the context with 10K lines.

Re: Andrej Karpathy: Software in the era of AI [video]

#229

Meanwhile, I asked this morning Claude 4 to write a simple EXIF normalizer. After two rounds of prompting it to double-check its code, I still had to point out that it makes no sense to load the entire image for re-orientating if the EXIF orientation is fine in the first place. Vibe vs reality, and anyone actually working in the space daily can attest how brittle these systems are. Maybe this changes in SWE with more…

There's also those instances where Microsoft unleashed Copilot on the .NET repo, and it resulted in the most hilariously terrible PRs that required the maintainers to basically tell Copilot every single step it should take to fix the issue. They were basically writing the PRs themselves at that point, except doing it through an intermediary that was much dumber, slower and less practical than them. And don't get me s…

I think part of the problem is that code quality is somewhat subjective and developers are of different skill levels.

If you're fine with things that kinda working okay and you're not the best developer yourself then you probably think coding agents work really really well because the slop they produce isn't that much worse than yourself. In fact I know a mid-level dev who believes agent AIs write better code than himself.

If you're very critical of code quality then it's much tougher... This is even more true in complex codebases where simply following some existing pattern to add a new feature isn't going to cut it.

The degree to which it helps any individual developer will vary, and perhaps it's not that useful for yourself. For me over the last few months the tech has got to the point where I use it and trust it to write a fair percentage of my code. Unit tests are an example where I find it does a really good job.

Re: Andrej Karpathy: Software in the era of AI [video]

#230
post #221

Earlier quoted context omitted.

But what does that mean ? If you tell the LLM "Say just 'hi' without any extra words or explanations", do you not get "hi" back from it?

That's literally the wrong way to use LLMs though. LLMs think in tokens, the less they emit the dumber they are, so asking them to be concise, or to give the answer before explanation, is extremely counterproductive.

I was trying to make a point regarding "reliability", not a point about how to prompt or how to use them for work.
Post reply on HN