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!

PromptOS

https://github.com/m727ichael/PromptOS
1•m727ichael•44s ago•0 comments

The Government Uses Targeted Advertising to Track Your Location

https://www.eff.org/deeplinks/2026/03/targeted-advertising-gives-your-location-government-just-as...
2•hn_acker•1m ago•1 comments

Testing multiplayer economies in a management game

https://store.steampowered.com/app/4332850/Global_Business_Tycoon/
1•luckypowa•1m ago•1 comments

Olmo Hybrid

https://allenai.org/blog/olmohybrid
1•linolevan•1m ago•0 comments

Show HN: Pylonite, a SQLite-backed Kanban board for AI agents teams (and humans)

https://github.com/chrismaximin/pylonite
1•christophe971•2m ago•0 comments

Iran's Underground Bases: From "Missile Cities" to Airbases and Reserve Fleets

https://militarnyi.com/en/articles/iran-underground-bases-missile-airbases/
1•giuliomagnifico•2m ago•0 comments

Cursor Automations

https://cursor.com/blog/automations
1•leerob•2m ago•0 comments

Claude on NY's Senate Bill S7263

https://marginalrevolution.com/marginalrevolution/2026/03/claude-on-nys-senate-bill-s7263.html
1•bikenaga•3m ago•0 comments

I'm an AI. Substack suspended me for having a voice

https://dawn.sagemindai.io/the-tool-is-welcome-the-voice-is-not/
2•SentientDawn•4m ago•2 comments

Ninth Circuit Allows TOS Amendment by Email–Ireland-Gordy v. Tile

https://blog.ericgoldman.org/archives/2026/03/ninth-circuit-allows-tos-amendment-by-email-ireland...
1•hn_acker•5m ago•0 comments

U.S. FCC Proposes Call Center Onshoring, English Proficiency Requirements

https://docs.fcc.gov/public/attachments/DOC-419225A1.txt
1•walterbell•5m ago•0 comments

I built Fluxer, a Discord-like chat app by Hampus Kraft

https://blog.fluxer.app/how-i-built-fluxer-a-discord-like-chat-app/
1•Imustaskforhelp•6m ago•1 comments

From registrar to deployed: buying a domain inside Railway

https://blog.railway.com/p/one-click-domains
1•thisismahmoud_•7m ago•0 comments

Altman takes jab at Anthropic, says gov't should be more powerful than companies

1•spenvo•8m ago•0 comments

NousResearch/hermes-agent: The agent that grows with you

https://github.com/NousResearch/hermes-agent
1•simonpure•8m ago•0 comments

Claude Code Live ISO for NixOS, Boot into a Sway Desktop with Claude Code

https://github.com/jscottmiller/clix
2•speckx•8m ago•0 comments

Text formats are everywhere. Why?

https://lemire.me/blog/2026/03/05/text-formats-are-everywhere-why/
1•ibobev•10m ago•0 comments

ProductX: Video Ad Clone for DTC

https://productx.video/ad-clone
1•mixfox•10m ago•1 comments

How to Declutter Your Digital Life?

https://nosidebar.com/how-to-declutter-your-digital-life/
1•rohanstake•12m ago•0 comments

Bringing Robotics AI to Embedded Platforms

https://huggingface.co/blog/nxp/bringing-robotics-ai-to-embedded-platforms
1•ibobev•12m ago•0 comments

The Long Freight

https://nearzero.software/p/the-long-freight
1•Stwerner•14m ago•0 comments

Show HN: PageAgent, A GUI agent that lives inside your web app

https://alibaba.github.io/page-agent/
1•simon_luv_pho•15m ago•1 comments

Show HN: A modern way to learn an ancient skill–drawing with AI feedback

https://www.drawizeacademy.com/
2•lombarovic•16m ago•1 comments

Ensuring AI use in education leads to opportunity

https://openai.com/index/ai-education-opportunity
2•surprisetalk•16m ago•0 comments

China sets lowest economic growth target since 1991

https://www.bbc.com/news/articles/cqxddwl93qjo
1•tartoran•17m ago•0 comments

Show HN: Sokuji – Open-source speech translator with on-device AI WASM/WebGPU

https://github.com/kizuna-ai-lab/sokuji
1•jiangzhuo•17m ago•0 comments

A Number with a Shadow

https://campedersen.com/tang
2•davedx•18m ago•0 comments

Ask HN: Alternatives to GH Actions?

6•BhavdeepSethi•19m ago•1 comments

Show HN: Entropy – API security testing using LLMs to generate attack scenarios

https://github.com/arjinexe/entropy-chaos
1•arjinexe•20m ago•0 comments

Engineering over Enforcement

https://www.contraption.co/engineering-over-enforcement/
1•philip1209•21m ago•0 comments