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•1y ago

Comments

cherryteastain•1y 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•1y 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

Practical Quantum Advantage

https://q-ctrl.com/blog/q-ctrl-delivers-3-000x-speedup-in-materials-discovery-for-the-energy-sect...
1•luigibertaco•21s ago•0 comments

Sample Vault syncs gigabyte-scale databases from cloud to local with Turso

https://turso.tech/blog/how-sample-vault-syncs-gigabyte-scale-databases-from-cloud-to-local-with-...
1•mitchwainer•2m ago•0 comments

Show HN: MCP Python Hooks – sys.addaudithook and import hooks for MCP

https://github.com/bluerock-io/bluerock
2•BlueRock-Jake•2m ago•0 comments

Show HN: Looties – a marketplace for tech swag fans

https://looties.io/
1•quentindotpy•2m ago•0 comments

Light without electricity? Glowing algae could make it possible

https://www.colorado.edu/today/2026/05/06/light-without-electricity-glowing-algae-could-make-it-p...
1•geox•3m ago•0 comments

OpenBSD Stories: The closest thing to cute kittens (OpenBSD/zaurus)

http://miod.online.fr/software/openbsd/stories/zaurus1.html
1•zdw•3m ago•0 comments

Show HN: Recursant, "Istio for agents", is now open source

https://github.com/ajensenwaud/recursant
2•hestefisk•5m ago•0 comments

Analysis Paralysis: Folders

https://nonogra.ph/analysis-paralysis-folders-05-06-2026
1•dekdrop•5m ago•0 comments

White-Collar Sweatshops

https://aeon.co/essays/what-made-law-into-a-white-collar-sweatshop-in-the-1980s
1•cstever•5m ago•0 comments

I built a window manager for stocks

https://finterm.xyz/dashboard
1•qemuguest•5m ago•0 comments

State Strategies to Subvert Fraudulent Uniform Commercial Code Filings [pdf]

https://www.nass.org/sites/default/files/reports/updated-ucc-fraudulent-filing-report-july2023.pdf
2•ilamont•6m ago•0 comments

Arcee Trinity Large Technical Report

https://arxiv.org/abs/2602.17004
2•tcp_handshaker•6m ago•0 comments

Making your own programming language is easier than you think (but also harder)

https://lisyarus.github.io/blog/posts/making-your-own-programming-language.html
2•atan2•7m ago•1 comments

View of Life: A Letter to Richard Dawkins

https://punyamishra.com/2026/05/04/this-view-of-life-a-letter-to-richard-dawkins/
1•freediver•8m ago•0 comments

Reviving the IBM Selectric Composer Fonts (2023)

https://www.kutilek.de/selectric/
1•tangus•8m ago•0 comments

Old Job Is Still Running You. You Just Don't Work There Anymore

https://www.derekneighbors.com/2026/05/05/your-old-job-is-still-running-you
3•speckx•12m ago•0 comments

Google Gemini app does not respect chat history preferences

1•great_psy•13m ago•0 comments

Walt Disney and the Romance of Building (A Ton of Apartment Buildings)

https://www.governance.fyi/p/walt-disney-and-the-romance-of-building
2•bigbobbeeper•13m ago•1 comments

What the OpenAI Agent Phone might feel like

https://kouh.me/openaiphone
2•mrkn1•14m ago•0 comments

How AI agent memory works

https://memory.cobanov.dev/
2•cobanov•15m ago•0 comments

Bitter Lessons from the ISSpresso

https://mceglowski.substack.com/p/bitter-lessons-from-the-isspresso
1•zdw•15m ago•0 comments

Supreme Court denies Apple breathing space in Epic fight

https://appleinsider.com/articles/26/05/06/supreme-court-denies-apples-hopes-for-breathing-space-...
1•benoau•18m ago•0 comments

Saved ~40GB of db space wasted on unused indexes

https://peerlist.io/raviojhax/articles/how-unused-indexes-ate-41gb-postgres
1•raviojha•18m ago•0 comments

March Amtrak Up 21%; Flying Up 7% Since 2019

https://ti.org/antiplanner/?p=23854
2•speckx•18m ago•0 comments

Programming Still Sucks

https://www.stvn.sh/writing/programming-still-sucks-fqffhyp
3•jeromechoo•18m ago•0 comments

Batch API is terrible for one agent. It might be great for a fleet

https://eran.sandler.co.il/post/2026-04-27-batch-api-is-terrible-for-one-agent/
1•gmays•22m ago•0 comments

Surveva: Global Social Polling

https://surveva.com/
1•faisalalothaina•22m ago•1 comments

A Mutation Gave Humans the Gift of Speech. These Mice Have It, Too

https://www.nytimes.com/2026/05/06/science/a-mutation-gave-humans-the-gift-of-speech-these-mice-h...
4•jonas21•22m ago•0 comments

Show+HN:YouTube Transcript API

https://youtubetranscript.us/
2•nikitarogers•22m ago•1 comments

Recondo – Logging Proxy for Coding Agents (Claude Code, Codex, Gemini)

https://github.com/recondodev/recondo
1•andmerm•23m ago•0 comments