frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Sed-bin: a sed to C translator written in sed

https://github.com/lhoursquentin/sed-bin
3•fanf2•2h ago

Comments

ninadpathak•1h ago
This is the kind of idea that sounds completely unhinged until you actually look at what it does. A sed script that compiles to C and maintains the exact same behavior? That's not just clever, that's stupid in the best way.

The kicker: it probably runs faster than the original sed after compilation. You've got lhoursquentin basically building a real compiler out of what most people treat as a one-liner tool. The generated C looks like it's been through a blender, but it works.

Real talk though: why would you do this? Short answer: because it's possible. Longer answer: this is the kind of project that teaches you things about how sed actually works that reading the man page never will. It forces you to think about state machines, buffer management, the actual semantics of commands you've been using for years.

See also the samples folder. There's a walkthrough that actually shows the generated code. Fair warning: it's going to hurt your brain a little.

AI and Radiology: How, why, and when to explain black boxes

https://doi.org/10.1016/j.ejrad.2024.111393
1•Liquidity•2m ago•0 comments

Rivaas, a batteries-included Go API framework

https://rivaas.dev
1•atkrad•3m ago•0 comments

The Global Gas Market

https://a115.co.uk/global-gas-market/
1•a115ltd•3m ago•0 comments

OpenAI launches cheaper ChatGPT subscription, says ads are coming next

https://9to5mac.com/2026/01/16/openai-launches-cheaper-chatgpt-subscription-says-ads-are-coming-n...
1•01-_-•3m ago•0 comments

Tea App Checker

https://teaappchecker.com
1•thefirstname•4m ago•1 comments

Starting from scratch: Training a 30M Topological Transformer

https://www.tuned.org.uk/posts/013_the_topological_transformer_training_tauformer
1•tuned•6m ago•0 comments

Why Silicon Valley is talking about fleeing California (it's not the 5%)

https://techcrunch.com/2026/01/17/why-silicon-valley-is-really-talking-about-fleeing-california-i...
1•01-_-•6m ago•0 comments

Show HN: Create a Beautiful Interactive Map

https://tasmap.app
1•apolkingg8•8m ago•0 comments

Show HN: I built a real estate deal analyzer that handles hard money loan math

https://re.rtn.capital
1•AdityaPatwa07•9m ago•0 comments

Claude Enters Healthcare: Microsoft Launches AI for Real Clinical Workflows

https://www.microsoft.com/en-us/industry/blog/healthcare/2026/01/11/bridging-the-gap-between-ai-a...
1•xthe•9m ago•1 comments

Throwing it all away over the Mercator projection

https://danieldrezner.substack.com/p/what-is-trump-even-doing-at-this
1•jhide•13m ago•0 comments

Picoruby-calculator: Write and execute Ruby anywhere with this M5Stack Cardputer

https://github.com/engneer-hamachan/picoruby-calculator
1•thunderbong•20m ago•0 comments

The File System API is so underrated

https://davide.im/posts/file-system-api/
1•vector3•21m ago•0 comments

OpenSlopware deleted, forked, and revived – by me on El Reg

https://www.theregister.com/2026/01/18/openslopware_is_back/
2•lproven•26m ago•1 comments

It costs money to share the future

https://unpublishablepapers.substack.com/p/it-costs-money-to-share-the-future
2•benrostike•26m ago•0 comments

Ask HN: Will vibe coded spaghetti code lead to unmaintainable software?

2•roschdal•29m ago•0 comments

AI Might Make Long Specs Cool Again

https://marcolacava.substack.com/p/ai-just-made-software-specs-cool
2•ghoxthack•29m ago•0 comments

Half American, half Canadian: Take a ride in a car welded from two front ends

https://www.bbc.com/news/videos/c89q0e9dvpwo
2•inm•33m ago•0 comments

Company says it has produced the Holy Grail of batteries

https://www.washingtonpost.com/climate-solutions/2026/01/18/donut-lab-solid-state-battery/
1•adambb•35m ago•1 comments

Agent Psychosis: Are We Going Insane?

https://lucumr.pocoo.org/2026/1/18/agent-psychosis/
4•todsacerdoti•40m ago•1 comments

Show HN: Ferki-Escalator 1.1 – Standalone Linux auditor, now without libcap

https://github.com/Ferki-git-creator/ferki-escalator
1•DenisDolya•45m ago•1 comments

On Believing Utter Lunacy

http://verisimilitudes.net/2024-04-04
2•jruohonen•45m ago•0 comments

Is Citizen Ranking the Real Goal of Việt Nam's Resolution on Digital Citizens?

https://www.thevietnamese.org/2026/01/is-citizen-ranking-the-real-goal-of-viet-nams-resolution-on...
1•BaudouinVH•50m ago•1 comments

Show HN: Apex Agent – Connect the Browser to AI via MCP

https://github.com/RTBRuhan/ApexAgent
1•rtbruhan00•51m ago•0 comments

Wake up Are your numbers aligned?

https://redas.dev/blog/tabular-nums/
1•holoflash•56m ago•0 comments

Show HN: Finite – NixOS Flake for Pi-Hole and Unbound on Raspberry Pi

https://github.com/wh1le/finite
2•wh1le•58m ago•1 comments

Patch Container Vulnerabilities Without Rebuilding Images

https://keninkujovic.com/blog/patch-container-vulnerabilities-trivy-copa
4•kenonet•59m ago•0 comments

The Billion-Dollar Block

https://www.billingbird.io/p/the-billion-dollar-block
2•the_reconciler•59m ago•1 comments

Show HN: Xenia – A monospaced font built with a custom Python engine

https://github.com/Loretta1982/xenia
1•xeniafont•1h ago•0 comments

Dotagents: All of your hooks, commands, skills, and AGENT/Claude.md files

https://github.com/iannuttall/dotagents
1•handfuloflight•1h ago•0 comments