News for hackers. Stuff that matters.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by mlyle on Saturday March 01, 2025 @04:01PM (#43223645)
Alternatively, we understand it well, and discard bad completions immediately.

When I'm using llama.vim, like 40% of what it writes in a 4-5 line completion is exactly what I'd write. 20-30% is stuff that I wouldn't judge coming from someone else, so I usually accept it. And 30-40% is garbage... but I just write a comment or a couple of lines, instead, and then reroll the dice.

It's like working through a junior engineer, except the junior engineer types a new solution instantly. I can get down to alternating between mashing tab and writing tricky lines.

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by andix on Saturday March 01, 2025 @04:09PM (#43223704)
I don't see the point in AI code completions, they are just distracting noise. I'm only doing bigger changes with AI.

Prompt based stuff, like "extract the filtering part from all API endpoints in folder abc/xyz. Find a suitable abstraction and put this function into filter-utils.codefile"

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by Lorak_ on Saturday March 01, 2025 @04:26PM (#43223841)
What tools do you use to perform such tasks?
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by andix on Saturday March 01, 2025 @04:30PM (#43223879)
Aider. I tried Cursor too, but I don't like VS Code and not being able to chose the LLM provider. I think there are already a lot of tools that perform kind of equally.
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by virgilp on Sunday March 02, 2025 @03:44AM (#43228588)
What do you mean? You can chose the LLM in Cursor. (I don't like VSCode either, but unfortunately Cursor is best for the rest of the UX; I find myself using Cursor for the prompt-based part of the work, and then move to IntelliJ to do "my" part of the coding)
Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by bakugo on Saturday March 01, 2025 @04:36PM (#43223933)
I've tried using basic AI completions before and found that the signal-to-noise ratio wasn't quite good enough for my taste in my use cases, but I can totally understand it being good enough for others.

My comment was more about just asking questions on how to do things you're totally clueless about, in the form of "how do I implement X using Y?" for example. I've found that, as a general rule, if I can't find the answer to that question myself in a minute or two of googling, LLMs can't answer it either the majority of the time. This would be fine if they said "I don't know how to do that" or "I don't believe that's possible" but no, they will confidently make up code that doesn't work using interfaces that don't exist, which usually ends up wasting my time.

Re:Making o1, o3, and Sonnet 3.7 Hallucinate for Everyone by mlyle on Saturday March 01, 2025 @06:52PM (#43225451)
I've got basically the opposite experience. I receive very little useful toplevel help or directing me to appropriate resources.

But if I'm writing out a bunch of linear algebra, I get a lot of useful completions and avoid tediousness.

I've settled on Qwen2.5.1-Coder-7B-Instruct-Q6_K_L.gguf-- so not even a very big model.