frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why grep is failure when it comes to quality and token saving

https://github.com/kunal12203/codex-cli-compact
2•krishnakantk876•1h ago

Comments

krishnakantk876•1h ago
Grep is like read all the shit present there no cap! and on compact compress the shit to avoid context! then shit become actual shit, Grep has to again find that context!

That's where structural understanding of your codebase comes into the picture. AST/LSP are actually better tool to understand your codebase structurally, but very hard and complex to manage.

What i did to solve this exploration cost, Build an Local MCP server with multiple tools. A structural codebase knowledge graph for tools to access it.

I know these things are actually everyone is doing, but creating graph is not only efficient, claude has to access it properly and graph should be data rich otherwise it will double down your token cost and it happens with many tools. It can give good results in testing because there you forced to use those tools.

But where claude is trained on grep, rg etc on billions of example, why would it rely on external tool. That too with less info. Enriched data is the key factor here, That's where we create metadata of node with keywords and edge calls. Finding files should be free of tokens and that's our goal and we do it.

During testing, not in any environment but in real workflows, it finds relevant file 90% of time and in those 10% we call directional grep in our graph not in the codebase and that changes everything!

jhy17632•1h ago
i did not know this...i think i need to update some skills. i must see my agents grepping 100 times a day
krishnakantk876•59m ago
Actually yes, code has structural intelligence and grepping on it like we are finding 32nd floor by scanning every floor in building while i know 32nd comes after 31.

Claude can miss the motives of politicians

https://futuresearch.ai/llms-miss-motives-politicians/
1•ddp26•58s ago•0 comments

Show HN: Getting into Physical AI and Robotics

1•airwarmedd•1m ago•0 comments

Show HN: Depot CI API – Programmable CI

https://depot.dev/blog/now-available-depot-ci-api
1•Telstrom90•1m ago•0 comments

AI as a Context Compiler

https://dominiek.substack.com/p/ai-as-a-context-compiler
2•dominiek•3m ago•0 comments

You'll never guess who made the first wireless telephone

https://signoregalilei.com/2026/05/31/youll-never-guess-who-made-the-first-wireless-telephone/
1•surprisetalk•4m ago•0 comments

Show HN: ClearLogo – a logo API that returns usable logos, not raw files

https://clearlogo.dev/en
1•ehalim•6m ago•0 comments

Academics propose a plan for planetary survival and improved living standards

https://www.theguardian.com/environment/2026/jun/04/world-inequality-lab-equality-academics-plane...
2•tunapizza•8m ago•0 comments

Reviewing Kernel Patches with LLMs

https://lwn.net/Articles/1073583/
1•voxadam•8m ago•0 comments

DeepSWE: Measuring frontier coding agents on original, long-horizon SWE tasks

https://deepswe.datacurve.ai/
1•WarmWash•10m ago•0 comments

Sunset of the Consumer Version of Gemini Code Assist on GitHub

https://developers.google.com/gemini-code-assist/docs/deprecations/consumer-code-review
1•raphinou•11m ago•0 comments

Some Comments on "Magnifica Humanitas"

https://bastian.rieck.me/blog/2026/magnifica_humanitas/
1•Pseudomanifold•11m ago•0 comments

AMUD – A lightweight, asynchronous self-hosted application launcher

https://github.com/boubli/AMUD-Dashboard
1•tradmss•11m ago•0 comments

Hackers Asked Meta AI for Passwords. Meta AI Said Yes

https://medium.com/@tbelbek/hackers-asked-meta-ai-for-passwords-meta-ai-said-yes-b17c9129ce1b
2•rdstrtwlkr•12m ago•2 comments

Good type against all odds

https://unsung.aresluna.org/good-type-against-all-odds/
1•firloop•13m ago•0 comments

The Steady Hand at SpaceX Is Not Elon Musk

https://www.nytimes.com/2026/06/04/technology/gwynne-shotwell-spacex.html
4•pretext•14m ago•0 comments

Can These Ads Make You Love A.I.?

https://www.nytimes.com/2026/06/04/style/chatgpt-advertising-campaign-artificial-intelligence.html
2•pretext•15m ago•1 comments

The Small-Business Owners Managing Whole Armies of A.I. Employees

https://www.nytimes.com/2026/06/04/magazine/ai-agents-openclaw-small-business.html
1•pretext•16m ago•0 comments

Mellum2 Technical Report

https://arxiv.org/abs/2605.31268
1•gmays•16m ago•0 comments

How flat is replacing fat in AWS data center networks

https://www.amazon.science/blog/how-flat-is-replacing-fat-in-aws-data-center-networks
1•Tomte•17m ago•0 comments

Certified Pharmaceutical Product Destruction Services in the USA

https://www.trihazsolutions.com/pharmaceutical-waste-disposal/
1•rehmanasghar•18m ago•0 comments

What Bun Can Tell Us About AI, Open Source and Anthropic

https://redmonk.com/sogrady/2026/06/04/bun-two-lessons/
1•mkeeter•18m ago•0 comments

Good

https://www.quarter--mile.com/Really-Good
1•surprisetalk•19m ago•0 comments

Sangam Tamil literature search engine with AI explanations

http://sangam.tamilnlp.com/mp/json/ai.html
1•laxmena•19m ago•0 comments

First clinical pregnancy following AI-based sperm detection and recovery

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(25)01623-X/fulltext
2•smusamashah•20m ago•0 comments

Garmin: The more miles ridden, the higher avg VO2 max and FTP

https://www.garmin.com/en-US/blog/fitness/the-beat-on-bikes-the-latest-global-trends-from-garmin-...
2•zdkaster•20m ago•0 comments

Cargo-Auditable Support on Ubuntu

https://documentation.ubuntu.com/project/contributors/language-specific/rust/cargo-auditable/
2•petrakat•21m ago•1 comments

Germany: Lufthansa plane suffers nose gear collapse

https://www.dw.com/en/germany-lufthansa-plane-suffers-nose-gear-collapse/a-77423104
1•N19PEDL2•21m ago•0 comments

Reddit Banned Me Without a Goodbye Note. Here's What I Did Wrong

https://medium.com/@lior_34997/reddit-banned-me-without-a-goodbye-note-heres-what-i-did-wrong-602...
4•liorlb•22m ago•3 comments

Uber's commitment to self-driving startup Nuro is close to $500M

https://www.reuters.com/business/autos-transportation/ubers-commitment-self-driving-startup-nuro-...
2•JumpCrisscross•22m ago•0 comments

Top AI CEOs Call for Law Protecting Against Biological Weapons

https://www.wsj.com/politics/policy/top-ai-ceos-call-for-law-protecting-against-biological-weapon...
2•wrsh07•22m ago•1 comments