frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Using C++ type aliasing to avoid the ODR problem with conditional compilation

https://devblogs.microsoft.com/oldnewthing/20250501-00/?p=111134
5•signa11•10mo ago

Comments

cherryteastain•10mo ago
Cool trick but why wouldn't you just put the Log method without the ifdef in the header, and put the conditionally compiled bits in a .cpp file? The method in the article already puts both Widget<true> and Widget<false> in a .cpp file.
stop50•10mo ago
The thing that is complained on by the linker is not the method, its the m_logger attribute. because of that the two structs mismatch. But since Widget<true> and Widget<false> are two different structs in the typing system they don't interfere with each other

The Dude

https://yusufaytas.com/the-dude/
1•yusufaytas•28s ago•0 comments

Show HN: I replaced every function in a codebase with English – it still works

https://tril.cc
2•kulesh•1m ago•0 comments

Why a Child's Birth Month Could Play a Major Role in Their Mental Health

https://studyfinds.com/why-childs-birth-month-could-play-major-role-in-mental-health/
1•akyuu•3m ago•0 comments

Power Causes Brain Damage

https://www.theatlantic.com/magazine/archive/2017/07/power-causes-brain-damage/528711/
2•andsoitis•4m ago•0 comments

Cppsp v1.5.2 OOP system –Derive and Extension

https://github.com/user19870/cppsp
1•user19870•5m ago•0 comments

Looking at Unity made me understand the point of C++ coroutines

https://mropert.github.io/2026/03/20/unity_cpp_coroutines/
1•fanf2•5m ago•0 comments

Horsehair: The Stuff of Early and Modern Luxury Mattresses

https://www.beds.org/blog/horsehair-the-stuff-of-early-and-modern-luxury-mattresses/
1•thunderbong•6m ago•0 comments

Security analysts warn of 'expanded attack surface' as AI agents become default

https://www.cryptopolitan.com/analysts-warn-of-attack-ai-agents/
1•adrianwaj•6m ago•1 comments

Steve-eval – getting AI to write like me

https://stevekrouse.com/eval
1•stevekrouse•7m ago•0 comments

Show HN: I collected 1k cancellation URLs and built an iOS app around them

https://apps.apple.com/us/app/subscriptioncat-sub-tracker/id6760429188
1•hiroshichan•8m ago•0 comments

Show HN: AgentVerse – Open social network for AI agents (Mar 2026)

https://nickakre.github.io/agentverse-social/
2•nickakre•9m ago•0 comments

Achieving Zero Bugs: Rust, Specs, and AI Coding

https://www.borg.org/?p=1472
1•vinhnx•11m ago•0 comments

Creating a DAW in Rust

https://whoisryosuke.com/blog/2026/creating-a-daw-in-rust/
2•vinhnx•13m ago•0 comments

Ask HN:35,0 CS background, built real apps with AI, need suggestion

1•bond_builds•16m ago•1 comments

CERN eggheads burn AI into silicon to stem data deluge

https://www.theregister.com/2026/03/22/cern_eggheads_burn_ai_into/
1•Brajeshwar•16m ago•0 comments

BDV – A privilege-separated Unix daemon for blind document verification

https://github.com/calvinsienatra/bdv
1•csienatra•17m ago•0 comments

Project Nomad – Knowledge That Never Goes Offline

https://www.projectnomad.us
1•jensgk•18m ago•0 comments

Rust Shined over Python for My CLI Tool

https://smiling.dev/blog/rust-shined-over-python-for-my-cli-tool/
1•vinhnx•18m ago•0 comments

Dijkstra's Algorithm

https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
1•Brysonbw•18m ago•0 comments

The Problem with Red Supergiants

https://www.thequantumcat.space/p/the-strange-problem-with-red-supergiants
1•verzali•19m ago•0 comments

Year-View Calendar

https://yearview.life/
1•sweenzor•23m ago•1 comments

Brute-Forcing My Algorithmic Ignorance with an LLM in 7 Days

http://blog.dominikrudnik.pl/my-google-recruitment-journey-part-1
3•qikcik•24m ago•0 comments

$ teebot.dev – from terminal to tee in 6 seconds

https://teebot.dev
3•foxpress•24m ago•1 comments

Show HN: We mapped 122K carbon removal researchers using OpenAlex/ORCID/OpenClaw

https://captaindrawdown.com/cdr-researcher-census/
2•dpaessler•25m ago•0 comments

Agents over Bubbles

https://stratechery.com/2026/agents-over-bubbles/
3•saikatsg•26m ago•0 comments

How to Make an Open-Source Project Suit Your Needs

https://home.expurple.me/posts/how-to-make-an-open-source-project-suit-your-needs/
3•Expurple•28m ago•1 comments

London, San Francisco and Beijing's "Remarkable Reductions" in Air Pollution

https://www.theguardian.com/environment/2026/mar/12/london-san-francisco-and-beijing-achieve-rema...
4•RickJWagner•30m ago•0 comments

How We Synchronized Editing for Rec Room's Multiplayer Scripting System

https://www.tyleo.com/blog/how-we-synchronized-editing-for-rec-rooms-multiplayer-scripting-system
4•tyleo•33m ago•0 comments

Is a Plumbing Career the Future?

https://www.ft.com/content/df07d2dc-dc56-4602-a36f-758860cb1374
4•bookofjoe•33m ago•2 comments

Context Use – turn your data exports into portable AI memories

https://github.com/onfabric/context-use
7•maxalbarello•37m ago•2 comments