frontpage.
newsnewestaskshowjobs

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

Ask HN: What software feels exceptionally polished?

1•Adam-Hincu•2m ago•1 comments

Show HN: Oworpheus – a tiny music programming language

https://git.thackston.dev/cmt/oworpheus
1•nan60•2m ago•0 comments

The forgotten Scots who gave Kafka his voice

https://engelsbergideas.com/reviews/the-forgotten-scots-who-gave-kafka-his-voice/
1•the-mitr•4m ago•0 comments

Germany's €100B bid to make the trains run on time

https://www.ft.com/content/db75e347-b13b-4753-8130-6301bb55c040
1•latentframe•5m ago•0 comments

Xbox Plans Significant Layoffs as New CEO Plans Overhaul

https://www.bloomberg.com/news/articles/2026-06-10/xbox-plans-significant-layoffs-as-it-transform...
2•reasonableklout•8m ago•0 comments

The Evolution of 'More Like This

https://medium.com/@s_nikolaev/the-evolution-of-more-like-this-049c88d53332
2•snikolaev•8m ago•0 comments

ML Job Interviews: The Ultimate Guide

https://silviasapora.github.io/blog/ml-interviews.html
2•mellosouls•9m ago•0 comments

Mr. Chess for Intellivision

https://nanochess.org/mr_chess.html
1•tosh•11m ago•0 comments

I made a addicting math puzzle game

https://www.sumgrids.com/
1•mattmerrick•13m ago•0 comments

Software Wasteland and the Data-Centric Revolution

https://technicspub.com/software_wasteland/
1•teleforce•15m ago•0 comments

Anthropic being a good citizen or pushing ideology?

https://www.anthropic.com/policy-on-the-ai-exponential
1•morpheos137•15m ago•4 comments

Trump Built a New Passport.gov Website

https://thedreydossier.substack.com/p/trump-built-a-new-passport-website
1•K7PJP•16m ago•0 comments

The Data Detective at the Carnival

https://technicspub.com/data-detective/
1•teleforce•16m ago•0 comments

We don't have food shortage issue, we have a Farmer shortage issue

2•QueenoftheNorth•20m ago•0 comments

The Math Behind SpaceX's AI1: Thermodynamics vs. a $1.77T IPO

https://mattrodak.medium.com/the-math-behind-spacexs-ai1-thermodynamics-vs-a-1-77t-ipo-d62e70a56522
1•mastemmah•22m ago•0 comments

Reinstituting SAT in UC admission process will not solve declining math readines

https://www.sfchronicle.com/opinion/openforum/article/sat-uc-university-california-22291626.php
1•donsupreme•24m ago•0 comments

StackTracker – internal portal to track engineering SaaS spend and renewals

1•Roshan_Mayeng•30m ago•0 comments

Tax, optimization math for equity comp your AI assistant can call (MCP, no auth)

https://github.com/AlvisoOculus/optionsahoy-mcp
1•alphalatitude•32m ago•0 comments

A Go Implementation of SCTP

https://github.com/pion/sctp
2•tosh•33m ago•0 comments

Microsoft doesn't know what to do about the memory pricing crisis theyre causing

https://www.pcgamer.com/software/platforms/microsoft-doesnt-know-what-to-do-about-the-memory-pric...
3•evo_9•38m ago•1 comments

China's Xiaomi MiMo Is Now 15X Faster Than ChatGPT and Claude

https://decrypt.co/370449/xiaomi-mimo-ultraspeed-ai-model-faster-chatgpt-claude
2•gmays•40m ago•0 comments

Show HN: Garden Letters – Floral Letter Design and Music

https://gardenletters.net
1•QingWu•45m ago•0 comments

Z-Library Lets People Run White-Label, Login-Only Pirate Mirrors

https://torrentfreak.com/z-library-lets-people-run-white-label-login-only-pirate-mirrors/
3•Cider9986•48m ago•0 comments

Anthropic Walks Back Policy That Could Have 'Sabotaged' Researchers Using Claude

https://www.wired.com/story/anthropic-responds-to-backlash-on-claudes-secret-sabotage-on-ai-resea...
14•ericflo•51m ago•2 comments

Tell HN: Anthropic's Fable model is too expensive

10•hyhmrright•53m ago•18 comments

What the Heck Happened to Mountain Bike YouTube? [video]

https://www.youtube.com/watch?v=_oQ4XY4P1n8
1•operatingthetan•53m ago•2 comments

Have a Thorny Medical Question? Your Doctor May Be Using A.I. For That

https://www.nytimes.com/2026/06/08/business/ai-medicine-doctors.html
2•lxm•54m ago•0 comments

Aram Harrow, quantum researcher: 'These computers won't take 10 years'

https://english.elpais.com/technology/2026-06-05/aram-harrow-quantum-researcher-these-computers-w...
3•olvy0•1h ago•0 comments

Canada introduces legislation to ban social media U16, regulate AI chatbots

https://finance.yahoo.com/news/canada-introduces-legislation-ban-social-205633582.html
2•1vuio0pswjnm7•1h ago•0 comments

Show HN: DocStreamAI – Automatic invoice/receipt collection for Quickbooks/Xero

https://docstreamai.com/
1•alexjimenez99•1h ago•0 comments