frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

4•mf_taria•1y 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•1y ago
Finally!

My AI agent caught most of our sites saying sent while no email left the server

https://iampneuma.com/the-function-returned-true/
1•mrshanebarron•11m ago•0 comments

Build architecture diagrams by making a Factorio factory

https://github.com/echohack/factory
1•echohack5•12m ago•1 comments

Show HN: 500 clocks in one 6.3 MB HTML file by Opus 5.5

https://tkgally.github.io/500-clocks/
1•tkgally•13m ago•0 comments

A Coming Incident Crisis?

https://www.philvenables.com/post/a-coming-incident-crisis
1•fagnerbrack•17m ago•0 comments

OpenPrinter

https://www.crowdsupply.com/open-tools/openprinter
2•xjia•22m ago•0 comments

AutoTrust's HF models are trending thanks to farmed likes

https://www.reddit.com/r/LocalLLaMA/comments/1x8sq4z
1•mrfakename•24m ago•0 comments

Phishing emails are baiting your AI assistant

https://www.malwarebytes.com/blog/ai/2026/10/phishing-emails-are-baiting-your-ai-assistant
2•cdrnsf•25m ago•0 comments

The ovary doesn't retire after menopause

https://news.northwestern.edu/stories/2026/10/the-ovary-doesnt-retire-after-menopause?fj=1&utm_so...
2•gmays•30m ago•0 comments

MonkeyITM – open-source broker that sits between agents and the open world

https://github.com/o87enterprises-ai/MonkeyITM
1•o87Dev•33m ago•0 comments

The Renaissance woman who was the first female painter of erotic nudes

https://www.bbc.com/culture/article/20261015-the-trailblazing-erotic-art-of-lavinia-fontana
2•koolhead17•34m ago•0 comments

Millions exposed to spyware operation through online ads, researchers say

https://www.politico.eu/article/israel-firm-advertising-spyware-mobile-phone-hacking/
2•everybodyknows•46m ago•1 comments

What type of mathematician are you?

https://lionellevine.github.io/quiz-what-type-of-mathematician-are-you/
2•sashank_1509•50m ago•0 comments

Turn your coding-agent sessions into private evals

https://github.com/ibragim-bad/evals-from-sessions
2•EvgeniyZh•51m ago•0 comments

Netocracy

https://en.wikipedia.org/wiki/Netocracy
3•henry700•53m ago•0 comments

How the Elizabeth Holmes Doc 'You Can See Everything' Is Deceiving You

https://www.readtheprofile.com/p/elizabeth-holmes-documentary-you-can-see-everything
2•MaysonL•58m ago•0 comments

Starting a New Journal

https://terrytao.wordpress.com/2026/10/17/starting-a-new-journal/
5•smilelamp•1h ago•0 comments

Falsehoods programmers believe about invoices

https://dev.cordhq.app/dev-blog/en/falsehoods-programmers-believe-about-invoices
5•andrevallee•1h ago•1 comments

Hugging Face Pricing 2026: Complete Cost Guide (Free Tier and Paid Plans)

https://www.metacto.com/blogs/the-true-cost-of-hugging-face-a-guide-to-pricing-and-integration
1•peter_d_sherman•1h ago•0 comments

Did Nintendo Kill Switch Emulation? The State of Yuzu, Ryujinx, and Their Forks

https://boilingsteam.com/did-nintendo-kill-switch-emulation-the-state-of-yuzu-ryujinx-and-their-f...
1•ekianjo•1h ago•0 comments

Training and Deploying Production Cyber Monitors on Kimi K3

https://www.goodfire.com/research/production-cyber-monitors-on-kimi-k3
1•a_w•1h ago•0 comments

Ask HN: How can we stop UX people from changing UIs to get promotions?

3•ex-aws-dude•1h ago•0 comments

Who Wants to Live Forever

https://ksetiya.substack.com/p/who-wants-to-live-forever
2•andsoitis•1h ago•0 comments

Defer, Panic, and Recover – The Go Blog

https://go.dev/blog/defer-panic-and-recover
3•doodlesdev•1h ago•0 comments

Making an 88x31 book-button using ImageMagick

https://k.sosnierz.me/08-11-24/
4•DanielVZ•1h ago•1 comments

When will we have flying cars? (2022)

https://www.popsci.com/aviation/history-of-flying-cars/
2•gmays•1h ago•0 comments

Best Free GPU Cloud Options for AI Startups and Researchers

https://www.gmicloud.ai/ja/blog/best-free-gpu-cloud-options-for-ai-startups-and-researchers
1•peter_d_sherman•1h ago•0 comments

Alt Propulsion Is Now AltSci

https://www.altsci.net/
2•timventura•1h ago•0 comments

Google Fonts as a Protest Piece?

1•soundworlds•1h ago•0 comments

Ukraine targets "Russia's Google" as the internet becomes a new front line

https://www.cnn.com/2026/10/17/europe/russia-yandex-data-center-internet-ukraine-intl
1•cisc•1h ago•0 comments

Bluesky aware of a phishing attack that has compromised more than 4,500 accounts

https://bsky.app/profile/safety.bsky.app/post/3my3zch7j4225
1•rorylawless•1h ago•0 comments