frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Source Code Grep: Use your own grep, but make it source code aware

https://github.com/m-manu/scgrep
1•m-manu•1h ago

Comments

m-manu•1h ago
grep is great. It comes pre-installed on your OS. In fact, a search using grep is faster than the search on your IDE when there is no code index!

But, one key pain when using grep for searching in your source code or configuration files? A `grep -r` command scans all files (including binary files ) and not just source code files, making it slow. Sometimes, terribly slow.

Yes, I'm aware of source-code-aware search tools like ripgrep (rg), ack etc. - But these tools reimplement grep logic!

Annoyed by this, a few years back, I wrote a grep wrapper that runs your systems grep on "source code files". I called it "scgrep" ("source code grep" for short).

It's written it in pure Go (zero library dependencies).

I have been using it ever since and it's been working great.

House AI 'kill switch' bill unveiled as OpenAI hack raises alarms

https://www.politico.com/news/2026/07/23/house-ai-kill-switch-bill-unveiled-as-openai-hack-raises...
1•reasonableklout•52s ago•0 comments

Modeling Facts and Reactions with Domain Events

https://deniskyashif.com/2026/07/25/modeling-facts-and-reactions-with-domain-events/
1•deniskyashif•2m ago•1 comments

Anthropic secures its AI-native software development lifecycle

https://claude.com/blog/how-anthropic-secures-its-ai-native-software-development-lifecycle
2•_tk_•7m ago•0 comments

Visaism (Part 1): India as a Waiting Room

https://twitter.com/samyak128/status/2079837839798260154
1•barry-cotter•9m ago•0 comments

Fallback Font

https://en.wikipedia.org/wiki/Fallback_font
1•pndy•11m ago•0 comments

Yann LeCun's Bet That Intelligence Starts in the World

https://aryeian.blog/articles/jepa-world-models.html
1•plun9•11m ago•0 comments

Teach Yourself Programming in Ten Years (1998)

https://www.norvig.com/21-days.html
1•vinhnx•13m ago•0 comments

YouTube Comments in .csv

1•cristyg0101•13m ago•0 comments

A protocol for AI agent workspace state and effect management

https://github.com/eouzoe/reel
1•eouzoe•17m ago•0 comments

Reth ExEx spawn_critical_task terminates node on any plugin panic

https://github.com/paradigmxyz/reth/security/advisories/GHSA-whc8-8pf6-5ch6
1•eouzoe•18m ago•0 comments

Ask HN: If runnikg a government is a skill

1•julienreszka•23m ago•0 comments

Claude Code Cut Their System Prompt by 80%. Does That Work for Small Models Too?

https://antigma.ai/blog/2026/07/25/short-prompt-small-models
2•ubermon•25m ago•1 comments

Janet Lustgarten: An Oral History of the Founding of Kx Systems

https://medium.com/@Abby.Gruen/janet-lustgarten-an-oral-history-founding-kx-systems-c11d2ccfed24
1•tosh•27m ago•0 comments

French beekeepers' fury at lifting of pesticides ban

https://www.theguardian.com/world/2026/jul/26/french-beekeepers-fury-lifting-of-pesticides-ban
3•geox•36m ago•0 comments

Chat, we've made a terrible mistake

https://sgnt.ai/p/terrible-mistake/
2•petesergeant•37m ago•2 comments

Supervised Fire-and-Forget in Go

https://rednafi.com/go/supervised-fire-and-forget/
2•olexsmir•43m ago•0 comments

Teachers decry plan for humanoid robot in New York high school

https://www.theguardian.com/us-news/2026/jul/25/new-york-humanoid-robot-teachers-school
2•thomascountz•47m ago•0 comments

Let Local LLMs Search the Web Without Burning 100k+ Tokens

https://medium.com/@marcbuilds/tinysearch-let-your-small-local-llm-search-the-web-without-burning...
2•MarcBuilds01•49m ago•0 comments

If another civilisation lived on Earth before us, would we know?

https://www.rnz.co.nz/news/world/801858/if-another-civilisation-lived-on-earth-before-us-would-we...
5•billybuckwheat•55m ago•1 comments

Show HN: OpenSlides – Open-source desktop app for animated code presentations

https://github.com/codewiththiha/OpenSlides
7•codewiththiha•57m ago•0 comments

An agent with write access to my files, and no way to send them anywhere

https://manazir.dev/work/mnzrbrain-secondbrain-part-two
2•mnzrdev•59m ago•0 comments

Tokenflation: When "Hi" triggers 33 tool calls

https://quesma.com/blog/tokenflation-when-hi-triggers-33-tool-calls/
3•jakozaur•1h ago•0 comments

MinHash – How to Find Similarity at Scale

https://spotintelligence.com/2023/01/02/minhash/
2•ankitg12•1h ago•2 comments

Source Code Grep: Use your own grep, but make it source code aware

https://github.com/m-manu/scgrep
1•m-manu•1h ago•1 comments

Show HN: ScreenFocus – keyboard focus follows the pointer across Mac displays

https://github.com/therohitdas/ScreenFocus
1•therohitdas•1h ago•0 comments

Choose Boring Technology

https://boringtechnology.club/
1•ustad•1h ago•0 comments

Show HN: VoiceScroll – a teleprompter that scrolls as you speak

https://www.voice-scroll.com
1•sangkwun•1h ago•0 comments

Best Window Air Conditioners of 2026: Midea, Zafro, GE

https://www.wired.com/gallery/best-window-air-conditioners/
2•joozio•1h ago•0 comments

Connection-Agnostic Presence Tracking for Stateless Distributed Back Ends

1•duckydude20•1h ago•0 comments

Show HN: Inflect TTS v2+ONNX, 9M/4M text-to-speech models running in the browser

https://inflect-tts.geronimo-labs.com
3•g58892881•1h ago•2 comments