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

$30B for laptops yielded a generation less cognitively capable than parents

https://www.yahoo.com/news/articles/u-spent-30-billion-ditch-110200869.html
1•walterbell•11s ago•0 comments

Giving feedback is about to get much harder. Get better at it

https://thebestworstcase.substack.com/p/giving-feedback-is-about-to-get-harder
1•shmublu•4m ago•0 comments

HN Algolia API is currently stalled

https://hn.algolia.com/api/v1/search_by_date?tags=story
1•cylo•7m ago•1 comments

A Primer on Terrorism, Insurgency and Protest

https://acoup.blog/2026/02/13/collections-against-the-state-a-primer-on-terrorism-insurgency-and-...
1•colinprince•7m ago•0 comments

Show HN: SEOBot – open-source AI SEO tool (keyword research, content gen, audit)

https://github.com/George3307/seobot
1•starwildcard•11m ago•0 comments

Show HN: Debugger MCP for VS Code

https://marketplace.visualstudio.com/items?itemName=Speakeasy.debugger-mcp
1•indybonez•12m ago•0 comments

Show HN: Magnetic Tower of Hanoi – 8 disks = 2026 moves (the year)

https://george3307.github.io/magnetic-hanoi/
1•starwildcard•13m ago•0 comments

Container GUI – Native macOS GUI for Apple's Container CLI

https://github.com/FeSens/container-gui
2•fesens•13m ago•1 comments

JIT: A header-only, cross-platform JIT compiler library in C

https://github.com/abdimoallim/jit
3•linkdd•15m ago•0 comments

AI portrait generator for MSX: Bringing neural networks to 8-bit computers

https://github.com/astrowar/msx_gan
1•astrowar•17m ago•1 comments

SQLite Is the Evolutionary Perfection of the KeePass KDBX Format

https://mketab.org/blog/sqlite_kdbx/
2•wps•18m ago•0 comments

Playing CSS-defined animations with JavaScript

https://benhatsor.medium.com/99573ef4738b
1•barhatsor•22m ago•0 comments

The Single File Agent Manifesto – RappterHub

https://kody-w.github.io/rappterhub/single-file-agents.html
1•bothangles•22m ago•0 comments

Database Federation: Decentralized and ACL-Compliant Hive Databases

https://www.uber.com/blog/database-federation/
1•umairnadeem123•23m ago•0 comments

Carl Sagan 1996: Democracy Ends with a Charlatan [video]

https://www.youtube.com/shorts/X8qR4aVaI4g
1•keernan•25m ago•1 comments

Authorization before execution: deciding if an AI should be allowed to act

https://github.com/celestinestudiosllc/ai-action-authorization-test-harness
1•celestinestudio•29m ago•1 comments

The surprising power of daily rituals

https://www.bbc.com/future/article/20210914-how-rituals-help-us-to-deal-with-uncertainty-and-stress
4•andsoitis•31m ago•0 comments

Jordi Bonada (MTG): 20 years of singing voice synthesis at the MTG [video]

https://www.youtube.com/watch?v=t2ZcSluABKY&list=PL0EPT_FWD3Ml_U_WvQZ3uHb76ACJA6mRH&index=16
2•q7m•32m ago•0 comments

Bonobos Grin During Sex

https://nautil.us/grinning-during-sex-isnt-contagious-but-it-does-require-tempo-1269012/
2•marojejian•33m ago•1 comments

Star Chamber

https://en.wikipedia.org/wiki/Star_Chamber
1•barrister•35m ago•0 comments

Classic Prank Knife Design

https://imgur.com/a/cW0u7Rz
1•anonym29•38m ago•0 comments

Kangaroo Court

https://www.law.cornell.edu/wex/kangaroo_court
1•barrister•41m ago•0 comments

Show HN: AgentLint v0.5 – 42 rules, stack-aware guardrails for AI agents

2•maupr92•41m ago•0 comments

Wolbachia-infected mosquitoes suppress dengue by 70% across Singapore

https://medicalxpress.com/news/2026-02-wolbachia-infected-mosquitoes-dengue-citywide.html
4•marojejian•43m ago•0 comments

We're Cooked, Personal Musing on LLM-Bros

https://johnmount.github.io/mzlabs/JMWriting/WeAreCookedLLMs.html
1•jmount•44m ago•1 comments

The U.S. spent $30B to ditch textbooks for laptops and tablets

https://fortune.com/2026/02/21/laptops-tablets-schools-gen-z-less-cognitively-capable-parents-fir...
7•nothrowaways•46m ago•0 comments

Open Government

https://en.wikipedia.org/wiki/Open_government
2•barrister•48m ago•0 comments

The Big Brother v3.0 is a weaponized OSINT platform

https://github.com/chadi0x/TheBigBrother
1•mnky9800n•48m ago•1 comments

Show HN: VerdictMail – IMAP daemon that uses LLM reasoning to catch phishing

https://github.com/ascarola/verdictmail
1•ascarola•51m ago•0 comments

Risk-Adjusted Intelligence

http://blog.mattneary.com/risk-adjusted-intelligence
1•rosecross•53m ago•0 comments