frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI overly affirms users asking for personal advice

https://news.stanford.edu/stories/2026/03/ai-advice-sycophantic-models-research
284•oldfrenchfries•3h ago•219 comments

Spanish legislation as a Git repo

https://github.com/EnriqueLop/legalize-es
553•enriquelop•5h ago•172 comments

I Built an Open-World Engine for the N64 [video]

https://www.youtube.com/watch?v=lXxmIw9axWw
190•msephton•5h ago•23 comments

Show HN: Free, in-browser PDF editor

https://breezepdf.com/?v=2
31•philjohnson•1h ago•14 comments

Cocoa-Way – Native macOS Wayland compositor for running Linux apps seamlessly

https://github.com/J-x-Z/cocoa-way
207•OJFord•7h ago•70 comments

C++26: A User-Friednly assert() macro

https://www.sandordargo.com/blog/2026/03/25/cpp26-user-friendly-assert
28•jandeboevrie•3d ago•9 comments

CERN uses tiny AI models burned into silicon for real-time LHC data filtering

https://theopenreader.org/Journalism:CERN_Uses_Tiny_AI_Models_Burned_into_Silicon_for_Real-Time_L...
223•TORcicada•9h ago•110 comments

Folk are getting dangerously attached to AI that always tells them they're right

https://www.theregister.com/2026/03/27/sycophantic_ai_risks/
128•Brajeshwar•2h ago•80 comments

Linux Is an Interpreter

https://astrid.tech/2026/03/28/0/linux-is-an-interpreter/
4•frizlab•15m ago•0 comments

StationeryObject

https://stationeryobject.com/archive/
11•NaOH•3d ago•0 comments

ICAO issued new power bank restriction on flight

https://www.icao.int/news/new-power-bank-restrictions-will-safeguard-international-aviation
30•phantomathkg•2h ago•21 comments

Improved Git Diffs with Delta, Fzf and a Little Shell Scripting

https://nickjanetakis.com/blog/awesome-git-diffs-with-delta-fzf-and-a-little-shell-scripting
51•nickjj•4d ago•20 comments

Go hard on agents, not on your filesystem

https://jai.scs.stanford.edu/
510•mazieres•16h ago•279 comments

Paper Tape Is All You Need – Training a Transformer on a 1976 Minicomputer

https://github.com/dbrll/ATTN-11
81•rahen•3d ago•12 comments

AMD's Ryzen 9 9950X3D2 Dual Edition crams 208MB of cache into a single chip

https://arstechnica.com/gadgets/2026/03/amds-ryzen-9-9950x3d2-dual-edition-crams-208mb-of-cache-i...
246•zdw•14h ago•131 comments

Toma (YC W24) is hiring a Senior/Staff Eng to build AI automotive coworkers

https://www.ycombinator.com/companies/toma/jobs/2lrQI7S-sr-staff-software-engineer
1•anthonykrivonos•5h ago

A single-file C allocator with explicit heaps and tuning knobs

https://github.com/xtellect/spaces
44•enduku•2d ago•25 comments

The bee that everyone wants to save

https://naturalist.bearblog.dev/the-bee-that-everyone-wants-to-save/
206•nivethan•2d ago•67 comments

We built a multi-agent research hub. The waitlist is a reverse-CAPTCHA

https://enlidea.com
9•LZK•2h ago•8 comments

Make macOS consistently bad unironically

https://lr0.org/blog/p/macos/
479•speckx•21h ago•330 comments

Gerard of Cremona

https://en.wikipedia.org/wiki/Gerard_of_Cremona
21•teleforce•2d ago•6 comments

Go Naming Conventions: A Practical Guide

https://www.alexedwards.net/blog/go-naming-conventions
61•yurivish•3d ago•35 comments

Militarized snowflakes: The accidental beauty of Renaissance star forts

https://bigthink.com/strange-maps/star-forts/
19•Brajeshwar•1h ago•1 comments

LG's new 1Hz display is the secret behind a new laptop's battery life

https://www.pcworld.com/article/3096432/lgs-new-1hz-display-is-the-secret-behind-a-new-laptops-ba...
295•robotnikman•4d ago•149 comments

Anatomy of the .claude/ folder

https://blog.dailydoseofds.com/p/anatomy-of-the-claude-folder
555•freedomben•1d ago•240 comments

Arm releases first in-house chip, with Meta as debut customer

https://www.cnbc.com/2026/03/24/arm-launches-its-own-cpu-with-meta-as-first-customer.html
69•goplayoutside•3d ago•19 comments

Iran-linked hackers breach FBI director's personal email

https://www.reuters.com/world/us/iran-linked-hackers-claim-breach-of-fbi-directors-personal-email...
377•m-hodges•1d ago•483 comments

Nashville library launches Memory Lab for digitizing home movies

https://www.axios.com/local/nashville/2026/03/16/nashville-library-digitize-home-movies
182•toomuchtodo•4d ago•43 comments

Matadisco – Decentralized Data Discovery

https://matadisco.org/
43•biggestfan•3d ago•6 comments

Show HN: Twitch Roulette – Find live streamers who need views the most

https://twitchroulette.net/
167•ellg•18h ago•91 comments
Open in hackernews

C++26: A User-Friednly assert() macro

https://www.sandordargo.com/blog/2026/03/25/cpp26-user-friendly-assert
28•jandeboevrie•3d ago

Comments

nyc_pizzadev•1h ago
The nice thing about assert() is you can just define your own:

https://github.com/fiberfs/fiberfs/blob/7e79eaabbb180b0f1a79...

In this case, the ability to see the actual values that triggered the assert is way more helpful.

BoingBoomTschak•2m ago
Yeah, but the macro system being so pitiful makes me long for one that allows something as magical as fiveam's is (https://github.com/lispci/fiveam/blob/e43d6c8e7da5a80d5c33e8...)
omoikane•1h ago
> (assert) doesn't follow the usual SCREAMING_SNAKE_CASE convention we associate with macros

There are a few things like that, for example:

https://en.cppreference.com/w/c/numeric/math/isnan - isnan is an implementation defined macro.

https://en.cppreference.com/w/c/io/fgetc - `getc` may be implemented as a macro, but often it's a function.

MontagFTB•52m ago
Putting code with side effects into an assert is asking for trouble. Compile with NDEBUG set and the effects mysteriously disappear! Anything beyond an equality expression or straight boolean should be avoided.
nyc_pizzadev•25m ago
This is just a symptom of a bad assert() implementation, which funny enough is the standard. If you properly (void) it out, side effects are maintained.

https://github.com/fiberfs/fiberfs/blob/7e79eaabbb180b0f1a79...

omoikane•10m ago
assert() is meant to be compiled away if NDEBUG is defined, otherwise it shouldn't be called assert(). Given that assert() may be compiled away, it makes sense not to give it anything that has side effects.

Abseil has the convention where instead of assert(), users call "CHECK" for checks that are guaranteed to happen at run time, or "DCHECK" for checks that will be compiled away when NDEBUG is defined.

https://github.com/abseil/abseil-cpp/blob/0093ac6cac892086a6...

https://github.com/abseil/abseil-cpp/blob/0093ac6cac892086a6...

jmalicki•15m ago
Side effects are bad of course, but anything beyond a straight boolean or equality is bad?

`assert(vector.size() < 3)` is ridiculous to you?

throwpoaster•2m ago
assert(spellcheck(“Friednly”));
amelius•1m ago
Shouldn't the preprocessor be fixed, if it trips that easily on common C++ constructs?