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!

Show HN: Building a SQL analyst agent from scratch

https://raminmousavi.dev/blog/building-a-sql-analyst-agent
1•ramin2nt2•8m ago•0 comments

Ubuntu 26.10 could drop btrfs, ZFS and LUKS support from GRUB

https://www.omgubuntu.co.uk/2026/03/ubuntu-grub-secure-boot-luks-changes
1•mariuz•10m ago•0 comments

BSI (Germany) defines when a cloud is sovereign

https://www.heise.de/en/news/BSI-defines-when-a-cloud-is-truly-sovereign-11272828.html
1•pros•11m ago•0 comments

Queen

https://medium.com/the-hitmagist/queen-2a8c2d9da9f5
2•bryanrasmussen•11m ago•0 comments

An attempt at explaining bipolar disorder and psychosis

https://osf.io/preprints/psyarxiv/w28g9_v1
2•anon1253•15m ago•0 comments

Quarkdown – Markdown with Superpowers

https://quarkdown.com/
1•amai•21m ago•0 comments

Show HN: Defeating AI by making knowledge accessible to Humans

https://github.com/tnelsond/peakslab
1•tnelsond4•21m ago•0 comments

China Blocks Meta's $2B Acquisition of AI Firm Manus

https://www.bloomberg.com/news/articles/2026-04-27/china-blocks-meta-s-2-billion-acquisition-of-a...
3•limoce•21m ago•0 comments

China blocks Meta's $2B purchase of AI startup Manus

https://finance.yahoo.com/sectors/technology/articles/china-blocks-foreign-acquisition-ai-0825482...
2•jmsflknr•22m ago•0 comments

Notes on Serial Experiments Lain

https://jordanmatthiass.net/essays/serial_experiments_lain
1•lilytweed•22m ago•0 comments

Open Source Mintlify Alternative

https://doccupine.com
1•luangjokaj•22m ago•1 comments

Open CoDesign: Open-source, local-first alternative to Claude Design and v0

https://firethering.com/open-codesign-ai-design-tool-open-source/
1•steveharing1•25m ago•0 comments

Tell HN: Ebay.com Is Down

2•NKosmatos•26m ago•1 comments

Enhancing Server Availability and Security Through Failure-Oblivious Computing [pdf]

https://people.csail.mit.edu/rinard/paper/osdi04.pdf
1•pabs3•37m ago•0 comments

The "Connectivome Theory": A New Model to Understand Autism Spectrum Disorders

https://pmc.ncbi.nlm.nih.gov/articles/PMC8892379/
1•AndrewDucker•37m ago•0 comments

Recursive Acronym

https://en.wikipedia.org/wiki/Recursive_acronym
1•Quizzical4230•39m ago•0 comments

Soulful Sites

https://app.paradigmai.com/sheets/76210606-6ce4-4ccc-a005-fb1cf6984a45
1•sauravmaheshkar•41m ago•0 comments

LLMs are not a higher level of abstraction

https://www.lelanthran.com/chap15/content.html
2•lelanthran•42m ago•3 comments

Ask HN: RedHat for Personal Use

2•bozdemir•43m ago•2 comments

The Truth About China's Green Energy Industry [video]

https://www.youtube.com/watch?v=Ff0AYRWrnGY
1•mpweiher•43m ago•0 comments

"Grandma, get on": Ukrainian robot carried 77-year-old from grey zone near Lyman

https://euromaidanpress.com/2026/04/25/grandma-get-on-ukrainian-robot-carried-77-year-old-from-gr...
1•eternalreturn•44m ago•0 comments

Claude Code Opus-4-7 VS Codex GPT-5-5

1•rashidae•44m ago•0 comments

MobED: Mobile Eccentric Droid – A robotic platform from Hyundai (2022) [video]

https://www.youtube.com/watch?v=uQqXbXpmkc0
1•num42•45m ago•1 comments

Ask HN: Paid ambient/background noise for focus?

2•deaux•48m ago•1 comments

A Website, Hosted on an ESP32

https://helloesp.com/
1•agilek•49m ago•1 comments

Show HN: AI voice screens for hiring managers to save time

https://worksignal.com/demo
1•cdnsteve•51m ago•0 comments

Show HN: AI agents that learn from their own failures each week

https://www.deployinfra.ai/
1•dkarigi•51m ago•0 comments

French teen who licked vending machine straw faces years in jail in Singapore

https://www.bbc.com/news/articles/cjw8w849g6go
5•jb1991•55m ago•1 comments

Was sind und was sollen die unendlichdimensionalen Supermannigfaltigkeiten

https://mathoverflow.net/questions/510716/was-sind-und-was-sollen-die-unendlichdimensionalen-supe...
1•jjgreen•55m ago•0 comments

Mapping the dreamworld: inside Le Guin's unseen cartographies of myth and mind

https://www.designboom.com/art/mapping-the-dreamworld-inside-ursula-k-le-guins-unseen-cartographi...
1•bryanrasmussen•57m ago•0 comments