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•11mo 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•11mo ago
Finally!

Unpatched vuln in RAGFlow allows for post-auth RCE

https://zeropath.com/blog/ragflow-rce-unpatched-vulnerability
1•NonStopOyster•1m ago•0 comments

Does Trump think he's God?

https://www.taxresearch.org.uk/Blog/2026/04/13/does-trump-think-hes-god/
1•only_in_america•2m ago•0 comments

Tell HN: Claude-code prompt-cache fix

1•g4cg54g54•3m ago•0 comments

Gas Town Notes and Spaced Repetition Prompts

https://www.meadow-notes.com/sites/v5v5wwby974a-gas-town-vGEa1tk/gt/Gas%20Town.html
2•gmccreight2•4m ago•1 comments

What Now (and What's Next)

https://www.strix.ai/blog/your-first-visitors-arent-users-theyre-bots
2•bearsyankees•5m ago•0 comments

The GPU Moat Has a Side Door: AI Research Outside the Frontier Labs

https://mangeshgupte.substack.com/p/the-gpu-moat-has-a-side-door
1•achllies•5m ago•0 comments

Agentic Search Leaderboard

https://www.algolia.com/llm-leaderboard/
1•matthieu_bl•7m ago•0 comments

Artemis II Is Back

1•anju-kushwaha•9m ago•0 comments

Did you notice the command error exit in the shell?

https://monzool.net/blog/2026/04/10/error-banner-in-shell/
1•birdculture•10m ago•0 comments

Beyond the Sky: How Jeffery Yan built Hyperliquid

https://colossus.com/article/beyond-the-sky-jeffrey-yan-hyperliquid/
1•firloop•10m ago•0 comments

Show HN: Turn Text into Beautiful Font

https://fontgeneratorx.com/
2•artiomyak•11m ago•0 comments

Cognitive science can help us design better software – CogZest

https://cogzest.com/2026/04/how-cognitive-science-can-help-us-design-better-software/
2•LucCogZest•13m ago•0 comments

137-Year-Old Piece of Eiffel Tower to Be Auctioned in Paris

https://www.nytimes.com/2026/04/09/world/europe/eiffel-tower-auction.html
1•paulpauper•13m ago•0 comments

Show HN: A Chatting Website That Uses Nostr

https://inbondz-chat.pages.dev
1•wasimsk•13m ago•1 comments

The Effects of Gender Integration on Men: Evidence from the U.S. Military

https://academic.oup.com/qje/advance-article/doi/10.1093/qje/qjag016/8551347?login=false
2•paulpauper•13m ago•0 comments

Show HN: Bloomberg Terminal for LLM ops – free and open source

2•amans9712•14m ago•0 comments

What explains heterogeneity in AI adoption?

https://www.siliconcontinent.com/p/what-explains-heterogeneity-in-ai
1•paulpauper•14m ago•0 comments

Draining Wallets via Prompt Injection in Coinbase AgentKit

https://457e884c.x402warden-blog.pages.dev/research/coinbase-agentkit-prompt-injection/
1•xxmrlnxx•16m ago•0 comments

The Process Is the Product

https://tylermaran.substack.com/p/the-process-is-the-product
1•themanmaran•16m ago•0 comments

The Rational Conclusion of Doomerism Is Violence

https://www.campbellramble.ai/p/the-rational-conclusion
7•thedudeabides5•17m ago•1 comments

Average Is All You Need

https://rawquery.dev/blog/average-is-all-you-need
1•AlexC04•17m ago•0 comments

Multiplicity

https://m-u-l-t-i-p-l-i-c-i-t-y.org/
1•marukodo•18m ago•0 comments

Consensus Formation and Change Are Enhanced by Neutrality

https://advanced.onlinelibrary.wiley.com/doi/10.1002/advs.202512301
1•PaulHoule•18m ago•0 comments

Warp DB

https://warp.thegeeksquad.io/
1•thunderbong•19m ago•0 comments

Gram 1.0 Released

https://gram.liten.app/posts/first-release/
1•DiabloD3•19m ago•0 comments

I Built an Autonomous Flying Umbrella [video]

https://www.youtube.com/watch?v=EYRrUiM_A6g
2•CharlesW•19m ago•0 comments

Show HN: Mcptube – Karpathy's LLM Wiki idea applied to YouTube videos

https://github.com/0xchamin/mcptube
1•0xchamin•20m ago•0 comments

Hermes Agent (by Nous Hermes) quickly ranked #1 on OpenRouter

https://twitter.com/Teknium/status/2043122514986139763
1•larodi•20m ago•1 comments

After Criticizing Pope, Trump Posts Image of Himself as a Jesus-Like Figure

https://www.nytimes.com/2026/04/13/us/politics/trump-jesus-pope-leo-truth-social-post.html
2•treetalker•21m ago•2 comments

Texas Tech cancels academic programs "centered on" sexual orientation, gender

https://www.texastribune.org/2026/04/10/texas-tech-ban-gender-identity-sexual-orientation-academics/
2•hn_acker•22m ago•1 comments