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!

X still allowing users to post sexualised images generated by Grok AI tool

https://www.theguardian.com/technology/2026/jan/16/x-still-allowing-sexualised-images-grok-ai-nud...
1•beardyw•1m ago•0 comments

Show HN: AIfacefy Photo to Video

https://aifacefy.com/photo-to-video/
1•AIFacefy•2m ago•0 comments

The Great American Bubble Machine (2010)

https://www.rollingstone.com/politics/politics-news/the-great-american-bubble-machine-195229/
1•vismit2000•2m ago•0 comments

A Booming Live Music Industry Looks for Its Next Generation of Roadies

https://www.bloomberg.com/news/features/2026-01-02/as-touring-booms-the-live-music-industry-looks...
1•petethomas•4m ago•0 comments

Show HN: CheerAd – Web3 ad slot widgets for regions that Stripe doesn't work

https://cheerad.com/
1•niyoseris•4m ago•0 comments

Mother of one of Elon Musk's sons sues over Grok-generated explicit images

https://www.theguardian.com/technology/2026/jan/15/mother-of-one-of-elon-musks-sons-sues-over-gro...
1•beardyw•8m ago•0 comments

GCRA vs. Leaky / Token Buckets

https://dotat.at/@/2026-01-15-gcra.html
1•enz•13m ago•0 comments

What is Reticulum? – Reticulum Network Stack 1.1.3 documentation

https://reticulum.network/manual/whatis.html
1•qbonnard•15m ago•1 comments

LLDB in 2025

https://jonasdevlieghere.com/post/lldb-2025/
1•ingve•17m ago•0 comments

Show HN: AI agent that joins Google Meet/Zoom to give live product demos

https://www.pipersdr.com/
1•ajabhish•27m ago•0 comments

JavaScript virtual machine with QuickJS running in WASM under Go/JS

https://github.com/aperturerobotics/go-quickjs-wasi-reactor
1•aperturecjs•31m ago•1 comments

Pratfall Effect

https://en.wikipedia.org/wiki/Pratfall_effect
2•rzk•32m ago•0 comments

Uncensored AI for image and video generation

https://www.gocrazyai.com/
1•shotvu•33m ago•0 comments

A guide on how to use beets, a media library manager

https://gist.github.com/DevER-M/a52b363b21093d8d285fb86c4aa098b5
1•DevER-M•38m ago•1 comments

Irrational betting craze signals we're on the cusp of a crash

https://www.thetimes.com/business/companies-markets/article/stocks-ai-crash-imminent-prediction-m...
3•petethomas•40m ago•3 comments

Show HN: BrewBar – a native macOS menubar app to manage Homebrew services

https://github.com/OmkarKirpan/BrewBar
1•omkarkirpan•41m ago•1 comments

MCP for GoDaddy

https://github.com/alpnix/GoDaddy-MCP
1•alpnix•44m ago•0 comments

How to wrangle non-deterministic AI outputs into conventional software? (2025)

https://www.domainlanguage.com/articles/ai-components-deterministic-system/
3•druther•47m ago•1 comments

Building a better Bugbot

https://cursor.com/blog/building-bugbot
9•onurkanbkrc•50m ago•0 comments

Playing daily games at work? Timdle just launched work mode

https://www.timdle.com/work
3•maskinberg•51m ago•0 comments

Ralph wiggum Agentic Coding Frameworks in 2026

https://ralphwiggum.org/blog/agentic-coding-frameworks-guide
1•zlonmask•51m ago•0 comments

Six more AI outfits sign for Wikimedia's fastest APIs

https://www.theregister.com/2026/01/16/wikimedia_25_ai_partner_access/
1•beardyw•52m ago•1 comments

Pi Coding Agent

https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent
1•ttobi•53m ago•0 comments

Ask HN: Share Your Personal Website

1•SRMohitkr•53m ago•0 comments

Our First Press Release: Mentra Releases First Smart Glasses with an App Store

https://mentraglass.com/blogs/blog/our-first-press-release-mentra-releases-first-smart-glasses-wi...
1•_____k•54m ago•0 comments

Chinese AI Developers Say They Can't Beat America Without Better Chips

https://www.wsj.com/tech/ai/china-ai-race-us-chips-9e74b957
2•Brajeshwar•55m ago•0 comments

Local-Only Marstek Venus E Battery Integration with Home Assistant

https://du.nkel.dev/blog/2026-01-11_marstek-battery-homeassistant/
1•Helmut10001•56m ago•0 comments

Decoding Academic Papers with AI: A Practical Guide

https://joshtuddenham.dev/blog/hashmaps/
1•reinhardt•57m ago•1 comments

Meta Horizon Workrooms is being discontinued

https://www.meta.com/en-gb/help/quest/2464765133873078/
1•_____k•58m ago•0 comments

Nobel Institute says Venezuelan leader Machado can't give Peace Prize to Trump

https://apnews.com/article/trump-machado-nobel-peace-prize-c7f47c161edc9b719dea3d0165f32a1f
3•wslh•1h ago•0 comments