frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Would you believe try-catch-finally works in plain old C?

4•mf_taria•10mo ago
I was digging through some of my old repositories and found a C language extension I wrote years ago. Even now, I think it’s kinda cool — and I’d love for you to check it out.

https://github.com/simpart/c-try

It recreates `try {}` / `catch {}` / `finally {}` in plain C using just macros and global variables. There's also a `$` macro to propagate errors between function calls — a bit like a mini DSL for error handling.

You can find a working example in `test.c`.

It doesn't support nesting or multithreading, and yes, it abuses macros. But hey, it's C.

Comments

actionfromafar•10mo ago
Finally!

Certbot and Let's Encrypt Now Support IP Address Certificates

https://www.eff.org/deeplinks/2026/03/certbot-and-lets-encrypt-now-support-ip-address-certificates
1•speckx•42s ago•0 comments

Nvidia Builds Open Data for AI

https://huggingface.co/blog/nvidia/open-data-for-ai
1•gmays•2m ago•0 comments

ChatGPT Edu feature reveals researchers' project metadata across universities

https://www.fastcompany.com/91507219/chatgpt-edu-researchers-project-metadata-universities-exclusive
1•Cynddl•3m ago•0 comments

Zoloft, Revisited

https://thefrontierpsychiatrists.substack.com/p/zoloft-revisited
1•surprisetalk•3m ago•1 comments

Vertical Integrators (2024)

https://www.notboring.co/p/vertical-integrators
1•surprisetalk•3m ago•0 comments

Place Capability Graphs [video]

https://www.youtube.com/watch?v=JcQX8raHWQE
1•surprisetalk•3m ago•0 comments

Oh, Ambien

https://thefrontierpsychiatrists.substack.com/p/oh-ambien
1•surprisetalk•3m ago•0 comments

Show HN: HCAP – Agent-to-agent (A2A) negotiation

https://www.hcap.dev/
1•krishnamzg•3m ago•0 comments

The Weighted Hotel Minibar Is Wildly Outdated

https://www.insidehook.com/hotels/weighted-minibar-hotel-industry-most-outdated-feature
1•RickJWagner•4m ago•0 comments

Research Links Daily Multivitamins to Slower Biological Aging

https://www.sci.news/medicine/daily-multivitamins-slower-biological-aging-14617.html
1•brandonb•4m ago•0 comments

Kaida Shield – Runtime behavioral monitoring for autonomous AI agents

https://github.com/ajpandit775/kaida-shield
1•panditaditya21•4m ago•1 comments

Shooting at Michigan Shul

https://www.freep.com/story/news/local/michigan/oakland/2026/03/12/temple-israel-shooting-west-bl...
1•marysminefnuf•4m ago•0 comments

The Mag 7 Are Dead. How the Hottest Trade of the Decade Fizzled Out

https://www.barrons.com/articles/stock-movers-1d7440f2?st=eVZYpD
1•RickJWagner•4m ago•0 comments

How we compare model quality in Cursor

https://cursor.com/blog/cursorbench
2•ingve•5m ago•0 comments

Ask HN: Why is my submission not visible if I am not logged in?

1•beepbooptheory•6m ago•2 comments

An Open Letter to Anthropic Leadership

https://claude.ai/public/artifacts/4b1e7231-41fe-4833-be0d-98cdae617320
2•measurablefunc•7m ago•0 comments

The evolution of Mac app window corners

https://lapcatsoftware.com/articles/2026/3/4.html
1•john_alan•7m ago•1 comments

The AI productivity boost is not here, yet

https://www.economist.com/finance-and-economics/2026/02/22/the-ai-productivity-boom-is-not-here-yet
1•danielovichdk•8m ago•0 comments

Color-Coded Windows for Git Worktrees on MacOS

https://github.com/aureliensibiril/portal
3•gearnode•8m ago•0 comments

We Analyzed 413K Agent Runs. Here's What Separates the Ones That Succeed

https://twitter.com/lihanc02/status/2032150260638941360
1•lihanc111•8m ago•1 comments

Show HN: Baltic security monitor from public data sources

https://estwarden.eu/
1•makefunstuff•11m ago•0 comments

"I made a website for learning ancient Greek"

https://twitter.com/TW1NKD3STR0YER/status/2031954119208943638
2•firloop•14m ago•0 comments

Show HN: An application stack Claude coded directly in LLVM IR

https://github.com/dot-matrix-labs/alien-stack
2•dboreham•14m ago•0 comments

NewsGuard and Pangram to identify AI-generated news and misinformation

https://www.adweek.com/media/newsguard-tracking-ai-slop-content-farms/
2•mikelgan•14m ago•0 comments

One of Musk's DOGE bros explains how he flagged "DEI" grants for termination

https://twitter.com/Mollyploofkins/status/2032125061893611920
1•taytus•15m ago•0 comments

What Are Intelligence, AI, Automation System? Their Essences? How to Distinguish

1•lilerjee•15m ago•0 comments

Show HN: BugStack – Autonomous error fixing that ships to prod while you sleep

https://www.bugstack.ai/
1•Bugboy•15m ago•0 comments

What miso-making taught the guy who built Claude Code

https://aka.me/blog/what-miso-taught-claude-code
1•pbarondadditude•17m ago•1 comments

Show HN: Xr – Ripgrep for Binary Xrefs

https://github.com/thebabush/xr
1•babush•19m ago•0 comments

Emergent Cyber Behavior: When AI Agents Become Offensive Threat Actors

https://www.irregular.com/publications/emergent-offensive-cyber-behavior-in-ai-agents
1•maltalex•19m ago•0 comments