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

Firefox and Linux in 2025

https://mastransky.wordpress.com/2026/01/23/firefox-linux-in-2025/
1•montroser•1m ago•0 comments

Show HN: Kirin – Transparent AI Assistant, Real-Time OCR/AI Insight on Workflow

https://github.com/JoshuaChil/Kirin
1•CodingForFun•2m ago•0 comments

Show HN: Root – Privacy-preserving home security camera

https://rootprivacy.com/blog/building-your-own-security-camera
1•PaulPlay•3m ago•0 comments

39C3 – AI Agent, AI Spy

https://www.youtube.com/watch?v=0ANECpNdt-4
1•todsacerdoti•4m ago•0 comments

Airpark

https://en.wikipedia.org/wiki/Airpark
1•pr337h4m•5m ago•0 comments

FAA institutes nationwide drone no-fly zones around ICE operations

https://www.aerotime.aero/articles/faa-drone-no-fly-zone-ice-dhs
9•dayofthedaleks•6m ago•1 comments

The Game Boy Talk (33c3) [video]

https://www.youtube.com/watch?v=HyzD8pNlpwI
1•tosh•8m ago•0 comments

Will Your AI Teammate Bring Bagels to Standup?

https://redmonk.com/kholterhoff/2026/01/16/will-your-ai-teammate-bring-bagels-to-standup/
3•ohjeez•8m ago•0 comments

Earthquake-detecting seismometers can track falling debris from space

https://hub.jhu.edu/2026/01/22/tracking-falling-space-debris/
1•giuliomagnifico•8m ago•0 comments

Wabans Electronics – Open-Source MP3-Player Project Intro [video]

https://www.youtube.com/watch?v=oABOxNCVlU8
1•4ggr0•11m ago•0 comments

Anthropic keeps redesigning hiring tests as Claude gets smarter

https://www.perplexity.ai/discover/you/anthropic-redesigns-hiring-tes-vAhcrdgiQYiU3h3bssgmlQ
2•game_the0ry•12m ago•0 comments

The personal finance app for everyone (by everyone)

https://sure.am/
2•oktcho•20m ago•0 comments

Spectrum Slit to turn Wi-Fi signals into wall art

https://rootkid.me/works/spectrum-slit
2•Brajeshwar•21m ago•0 comments

The new forensic science of proving what's real

https://www.scientificamerican.com/article/how-digital-forensics-could-prove-whats-real-in-the-ag...
3•Brajeshwar•21m ago•0 comments

How bad is your stove for your health?

https://www.washingtonpost.com/climate-environment/interactive/2026/gas-stoves-no2-lookup/
3•dberhane•21m ago•0 comments

(Python)Darl: Incremental compute, scenarios, parallelize, code replay and more

https://github.com/mitstake/darl
2•mitstake•26m ago•1 comments

Show HN: TAUI – Structured Terminal Agent UI (Like Google A2UI)

https://github.com/TAUI-Standards/taui-ink-adpater
2•tariqshams•27m ago•0 comments

Ask HN: Is Gemini Getting Worse?

3•optimalsolver•28m ago•2 comments

Thronglets

https://thronglets.entropicsystems.net/manual.html
2•snorbleck•28m ago•0 comments

Taiwan unveils plan for disaster-proof satellite communication devices

https://www.taipeitimes.com/News/front/archives/2026/01/26/2003851214
3•giuliomagnifico•29m ago•0 comments

Compiling Classical Sequent Calculus to Stock Hardware: Duality of Compilation [video]

https://www.youtube.com/watch?v=1i5E-IkILvM
1•matt_d•29m ago•0 comments

White House alters arrest photo of ICE protester, says "the memes will continue"

https://arstechnica.com/tech-policy/2026/01/white-house-posts-altered-arrest-photo-to-make-it-app...
137•wmeredith•32m ago•48 comments

History and the Debate Over Intellectual Property (2017) [pdf]

https://www.bschool.cuhk.edu.hk/wp-content/uploads/Peng17_MOR_A-C-S_131_March15_38.pdf
2•wslh•35m ago•0 comments

How to Cut an Infinitely Large Pancake into as Many Pieces as Possible

https://www.nytimes.com/2026/01/20/science/infinite-pancake-math-puzzle.html
1•bookofjoe•36m ago•1 comments

Sync/Backup/Install AI Agent configs across machines

https://sync-conf.dev/
1•zanreal•41m ago•1 comments

Wall Street Grapples with New Risk: A European Buyers' Strike

https://www.bloomberg.com/news/articles/2026-01-24/wall-street-grapples-with-new-risk-a-european-...
6•saubeidl•44m ago•2 comments

FR#150 – On ICE, Verification, and Presence as Harm

https://connectedplaces.online/reports/fr150-on-ice-verification-and-presence-as-harm/
4•colinprince•45m ago•0 comments

WA state is turning your 3D printer into a cop

https://blog.adafruit.com/2026/01/25/washingtons-3d-printing-bills-are-bad-for-stem-bad-for-busin...
4•ptorrone•45m ago•1 comments

Software 3.0 is the era of Thinkers

https://twitter.com/theOpusLABS/status/2015465349206941711
2•opuslabs•46m ago•0 comments

Monopsony, Markdown, and Minimum Wages [pdf]

https://eml.berkeley.edu/~schoefer/schoefer_files/FLS_MMM.pdf
1•jandrewrogers•47m ago•0 comments