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

The average SpaceX buyer post-IPO is almost under water after two-day slide

https://www.cnbc.com/2026/06/18/the-average-spacex-buyer-post-ipo-is-almost-under-water-after-two...
1•1vuio0pswjnm7•24s ago•0 comments

I still don't think you need to vacuum every week

https://kevinmunger.substack.com/p/a-messy-experiment
1•surprisetalk•3m ago•0 comments

Can Opus Be Used to Edit Technical Articles?

https://techstackups.com/articles/can-opus-edit-technical-articles/
1•ritzaco•3m ago•0 comments

Ask HN: Open-Source Intelligence

2•silent_butagrim•5m ago•0 comments

New York passes a bill aimed at halting 'ghost jobs'

https://www.hrdive.com/news/new-york-passed-bill-aimed-at-halting-ghost-jobs/822620/
3•pseudolus•5m ago•0 comments

Sashiko: AI code review system for the Linux kernel

https://www.theregister.com/software/2026/03/20/linux-kernel-engineer-introduces-sashiko-code-rev...
2•root-parent•5m ago•0 comments

Android dev verification on track for Sep, 'Verifier' service will auto-install

https://9to5google.com/2026/06/18/android-developer-verification-progress-timeline/
2•josephcsible•9m ago•0 comments

Show HN: 7a0 – Build a World Cup XI from 177 historical squads

https://7a0.org
2•cby821555203•10m ago•0 comments

Show HN: Wyolet Relay – high throughput, open source LLM router

https://github.com/wyolet/relay
2•aaliboyev•12m ago•0 comments

Big Tech's Ten Most Interesting Patents This Week (6/19/2026)

https://patentlyze.com/big-tech-ten-most-interesting-patents-june-19-2026/
3•patentlyze•13m ago•0 comments

New anonymous-by-default social, open for public access

2•euintceo•13m ago•1 comments

What 50k Runs of a 5-Line Eval Taught Us

https://code.visualstudio.com/blogs/2026/06/19/what-50000-runs-taught-us
1•dahjelle•14m ago•0 comments

Ask HN: Is there a recognized standard for swarm intelligence benchmarking?

3•stephanieriggs•14m ago•0 comments

Microsoft shareholders sue over $357B stock wipeout

https://www.msn.com/en-us/money/other/microsoft-shareholders-sue-over-357-billion-stock-wipeout/a...
2•petethomas•15m ago•0 comments

I spent two years fixing the wrong thing

https://www.traderscompanion.org
1•mathono•15m ago•0 comments

Waymo recalls ~3,900 robotaxis, some drove into 'freeway construction zones'

https://www.cnbc.com/2026/06/18/waymo-nhtsa-voluntary-recall-robotaxis-entered-freeway-constructi...
3•1vuio0pswjnm7•17m ago•2 comments

Clark Barwick on Topological Quantum Field Theory and the Langlands Program [video]

https://www.youtube.com/watch?v=t3xkf-hqG2Q
1•surprisetalk•18m ago•0 comments

Trump administration to Pay $765M to Cancel 4 More Wind Projects

https://www.nytimes.com/2026/06/17/climate/trump-wind-farms-cancel-millions.html
4•hjouneau•19m ago•1 comments

I had an AI grade five real pitch decks as they stood the day they were sent

https://www.coworkers.global/blog/five-pitch-decks-before-anyone-knew
1•c_stack•21m ago•0 comments

Compositions from Beethoven's Bonn Period

https://www.popularbeethoven.com/compositions-from-beethovens-bonn-period/
1•ingvay7•22m ago•1 comments

Zen, Zed, and Zits

https://www.matuzo.at/blog/2026/zen-zed-zits
2•robin_reala•24m ago•0 comments

Matrix Scroll – sign AI-generated code changes with Ed25519

https://github.com/SSX360/matrixscroll
1•ssx360•25m ago•1 comments

Every AI Agent Is an Identity. Most Organizations Don't Treat Them That Way

https://www.bleepingcomputer.com/news/security/every-ai-agent-is-an-identity-most-organizations-d...
1•ilreb•25m ago•1 comments

Show HN: HackerFlow – Hacker News Client for Android Which Looks Like Reddit

https://hackerflow.app/
4•alefalfa•26m ago•4 comments

Apple allows alternative app stores, payments in Brazil after deal w/regulator

https://www.reuters.com/world/americas/apple-allows-alternative-app-stores-payments-brazil-after-...
3•1vuio0pswjnm7•27m ago•3 comments

Old Software Was Fast Because It Had No Choice

https://yusufaytas.com/old-software-was-fast-because-it-had-no-choice
15•yusufaytas•27m ago•4 comments

We generated ethnic music from every single country on Earth

https://elevenexperiments.com/around-the-world
2•ktoyame•28m ago•1 comments

Clownmaxxing, experimental prompts and Joey's cadillac todo list

https://charlesleifer.com/blog/clownmaxxing-experimental-prompts-and-joey-s-cadillac-todo-list/
2•cleifer•30m ago•0 comments

The fast it goes the slow it feels

2•lifecodes•31m ago•0 comments

Bobby Prince, composer of classic id Software and 3DRealms game music, has died

https://www.shacknews.com/article/149718/bobby-prince-composer-of-classic-id-software-and-3drealm...
3•OberstKrueger•32m ago•0 comments