News for hackers. Stuff that matters.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by themanmaran on Wednesday October 01, 2025 @07:44PM (#45444946)
I'm always amazed at claude codes ability to build context by just putting grep in a for loop.

It's pretty much the same process I would use in an unfamiliar code base. Just ctrl+f the file system till I find the right starting point.

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by eru on Wednesday October 01, 2025 @08:22PM (#45445176)
That's what I used to use as a human, but then I finally overcame my laziness in setting up integration between my editor and compiler (and similar) and got 'jump to definition' working.

(Well, I didn't overcome my laziness directly. I just switched from being lazy and not setting up vim and Emacs with the integrations, to trying out vscode where this was trivial or already built in.)

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by lukaslalinsky on Thursday October 02, 2025 @06:02AM (#45447871)
Do you trust 'jump to definition'. Obviously it depends on the language server, but it's best effort. I'm often frustrated when it doesn't work, because I broke the code in some way. Or it jumps to a specific definition, but there are multiple. If I was as quick at opening and reading files as claude code, I'd prefer grep with context around the searched term.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by eru on Thursday October 02, 2025 @06:12AM (#45447931)
> Do you trust 'jump to definition'.

It depends, for some languages 'jump to definition' tools ask the same compiler/interpreter that you use to build your code, so it's as accurate as it gets, and it's not 'best effort'.

It also depends a bit on your project, some project are more prone to re-using names or symbols.

> If I was as quick at opening and reading files as claude code, I'd prefer grep with context around the searched term.

Well, Claude probably also doesn't want to have to 'learn' how to use all kinds of different tools for different languages and eco-systems.

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by guipsp on Thursday October 02, 2025 @08:32AM (#45448813)
In java, for example, jump to definition is pretty flawless.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by robmccoll on Thursday October 02, 2025 @08:55AM (#45449022)
Unless I'm in an interface and inheritance heavy codebase. Then the first place it jumps to is rarely the one I wanted.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by codyb on Thursday October 02, 2025 @10:24AM (#45450008)
In ViM with the CoC code completion plugin JTD gives me multiple options when there are many and I can choose the sensible one in a popover before the actual jump occurs.

I believe that was my experience with IDEs too?

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by 1718627440 on Friday October 03, 2025 @02:00PM (#45465808)
You can instruct the compiler to tell you, for example by passing -save-temps, and then it's a trivial text search in a single file.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by codyb on Thursday October 02, 2025 @10:23AM (#45449996)
Jump to definition works when you have the starting point already.

I use both grep and JTD fairly frequently for different use cases.

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by eru on Thursday October 02, 2025 @09:04PM (#45457557)
Yes.

I meant 'Jump to Definition' as one clear example, not as a definitive enumeration of everything that compiler integration can help you with.

Eg compiler integration is also really useful to show you the inferred types. Even dinosaurs like old-school Java and C have (limited) type inference: inside of expressions. But of course in a language like Haskell or Rust (or even Python) this becomes much more important.

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by nbstme on Wednesday October 01, 2025 @08:32PM (#45445224)
It's mind blowing. It's so simple, elegant and... effective! Grep+glob and a lot of iterations is all we need.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by Analemma_ on Wednesday October 01, 2025 @08:37PM (#45445254)
We always suspected find+grep+xargs was Turing-complete, and now Claude is proving it.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by nbstme on Wednesday October 01, 2025 @08:41PM (#45445278)
Exactly. AGI implies minimal tooling and very primitive tools.
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by SV_BubbleTime on Thursday October 02, 2025 @01:42AM (#45446646)
AGI implies that a system is financially viable to let run 24 hours a day with little to no direction.

No amount of find+grep+LLM is even remotely there yet.

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by delusional on Thursday October 02, 2025 @01:41AM (#45446641)
That's one of the most nonsensical comments on all of hackernews. A Markov change could have wrote it.

What do you mean Turing complete? Obviously all 3 programs are running on a Turing complete machine. Xargs is a runner for other commands, obviously those commands can be Turing complete.

I haven't heard of anybody working on a _proof_ for the Turing completeness of xargs, and I think the only conference willing to publish it would be Sigbovik.

Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by hyperbovine on Thursday October 02, 2025 @05:22AM (#45447694)
Can’t tell which of these two comments is the joke …
Re:The LLM RAG Obituary: Killed by Agents, Buried by Context... by EdwardDiego on Thursday October 02, 2025 @07:13AM (#45448238)
It was a joke.