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!

Opera adds local AI to its browsers

https://press.opera.com/2026/10/27/opera-doubles-down-on-local-ai-shipping-models-directly-in-its...
1•simonpure•2m ago•0 comments

Princeton to provide ChatGPT accounts for all students, faculty, staff

https://www.dailyprincetonian.com/article/2026/10/princeton-news-breaking-adpol-princeton-to-prov...
1•seam_carver•2m ago•0 comments

World Models explained in 7 mins

https://www.youtube.com/watch?v=d79HOo1fUhc
1•lroe•4m ago•0 comments

Oldest customer complaint in recorded history

https://en.wikipedia.org/wiki/Complaint_tablet_to_Ea-n%C4%81%E1%B9%A3ir
1•jameslk•5m ago•0 comments

Git for All Global Law

https://github.com/lexifina/global-law
1•alansaber•7m ago•1 comments

OpenAMRobot

https://github.com/openAMRobot
1•gmays•10m ago•0 comments

Microsoft Azure revenue surges 48% to $33.2B, beating expectations

https://www.geekwire.com/2026/microsoft-azure-revenue-surges-48-to-33-2b-beating-expectations-as-...
1•RoadieRoller•20m ago•0 comments

GPU or PSU coil whine: a test log and 47 owner reports across 44 models

https://techfuelhq.com/articles/gpu-or-psu-coil-whine/
1•LKWOODIV•23m ago•0 comments

Congo's Ebola outbreak tops 10k cases as authorities race to slow the spread

https://www.nbcnews.com/world/africa/congos-ebola-outbreak-tops-10000-cases-authorities-race-slow...
2•gmays•25m ago•0 comments

I made a web app for navigating the Bible

https://theamazingword.org/
1•_enjoi•26m ago•1 comments

Local Inference with Large Language Models

https://jacquesmattheij.com/local-inference-with-large-language-models/
1•jacquesm•26m ago•1 comments

Show HN: Linesofrelief] – Opinionated contour map in Rose Pine

https://linesofrelief.ink/
1•cjododev•26m ago•0 comments

Apple's New Touchscreen MacBook Pro Costs Up to $14,549

https://www.macrumors.com/2026/10/28/new-macbook-pro-maxed-out-cost/
3•sumnole•28m ago•0 comments

Rian Johnson has released an iOS camera app

https://twitter.com/rianjohnson/status/2115436064458621189
1•brzz•29m ago•1 comments

Caching, Bot Defense and a CDN

https://www.coryd.dev/posts/2026/caching-bot-defense-and-a-cdn
1•cdrnsf•32m ago•0 comments

Testing Silicon Photonics at Scale

https://www.semi.org/en/blogs/testing-silicon-photonics-at-scale
1•gmays•35m ago•0 comments

The Accessible Components Library

https://tetralogical.com/blog/2026/10/14/accessible-components-library/
1•birdculture•35m ago•0 comments

Syl: Compile-Time Dependent Types

https://thenumb.at/Syl-Intro/
1•surprisetalk•41m ago•0 comments

I Fixed a $500 Robot, Now You Can Control It [video]

https://www.youtube.com/watch?v=jorcg0Bx3Cw
2•_kb•53m ago•0 comments

Aula Neos-75 "Neo-Renaissance" Mechanical Keyboard

https://www.aulastar.com/mechanical-keyboard/1012.html
1•areoform•54m ago•0 comments

MicroZig to Adopt Strict No LLM / No AI Policy

https://github.com/ZigEmbeddedGroup/microzig/blob/main/CODE_OF_CONDUCT.md
20•paaloeye•1h ago•14 comments

The Pentagon is quietly building an elite new tech sabotage agency

https://www.politico.com/news/2026/10/22/technology-support-office-dod-tech-spyware-sabotage-0110...
2•tchalla•1h ago•1 comments

Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5

https://divagr.com/blog/qwenputer
39•csmantle•1h ago•7 comments

Show HN: Fengarde–OCSF-native open-source SIEM with local AI triage (Apache-2.0)

https://supermhel.github.io/fengarde/
2•dyalndjomou•1h ago•0 comments

Elon Musk is a 'real genius', Putin says after satellite talks with SpaceX boss

https://www.bbc.com/news/articles/c63djl148n3eo
6•cisc•1h ago•1 comments

Show HN: Simple DeepSeek web search CLI written in TypeScript (fast/cheap)

https://www.npmjs.com/package/deepseek-search-cli
1•lglen•1h ago•0 comments

Voters in Texas agree: They hate data centers

https://www.theverge.com/ai-artificial-intelligence/1018676/data-center-midterm-election-energy-w...
5•cdrnsf•1h ago•0 comments

Show HN: Postbox – Personal Mailbox for Humans and Agents Hosted on Cloudflare

https://github.com/NaxAlpha/postbox
1•naxalpha•1h ago•0 comments

New York Times adds more AI features to its Cooking app. Users aren't thrilled

https://www.niemanlab.org/2026/10/the-new-york-times-is-adding-more-ai-features-to-its-cooking-ap...
29•ilamont•1h ago•25 comments

I fell for a deepfake Elon Musk's cryptocurrency scam bait

https://www.ignorance.ai/p/i-fell-for-a-deepfake-elon-musks-af5
1•paulpauper•1h ago•0 comments