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

Employment increases by 172,000 in May; unemployment rate unchanged at 4.3%

https://www.bls.gov/news.release/empsit.nr0.htm
1•JumpCrisscross•37s ago•0 comments

California's AB 412 Still Demands Developers Do the Impossible

https://www.eff.org/deeplinks/2026/06/californias-ab-412-still-demands-developers-do-impossible
1•hn_acker•43s ago•0 comments

High-quality metagenome assembly from nanopore reads with nanoMDBG

https://www.nature.com/articles/s41467-026-69760-y
1•PaulHoule•1m ago•0 comments

International Space Station told to prepare for evacuation over air leak

https://www.theguardian.com/science/live/2026/jun/05/international-space-station-astronauts-evacu...
1•tosh•1m ago•0 comments

Friday Facts #441 – Space logistics improvements

https://factorio.com/blog/post/fff-441
1•danielmillward•1m ago•0 comments

Internet Searches for Vitamin A During the 2025 US Measles Outbreak

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2849740
1•hn_acker•1m ago•1 comments

SFQ: Simple, Stateless, Stochastic Fairness

https://brooker.co.za/blog/2026/02/25/sfq.html
1•fagnerbrack•3m ago•0 comments

Technical Interviews Reject the Wrong Engineers

https://fagnerbrack.com/technical-interviews-reject-the-wrong-engineers-a8e78ca04b2e
1•fagnerbrack•3m ago•0 comments

Mr. Bessel's Eponymous Functions

https://www.johndcook.com/blog/2026/06/05/mr-bessels-eponymous-functions/
1•ibobev•4m ago•0 comments

Hybrid quota-linear rate limiter – Tony Finch

https://dotat.at/@/2026-01-12-hqlr.html
1•fagnerbrack•4m ago•0 comments

Ask HN: How did you discover Hacker News?

1•chistev•4m ago•0 comments

Counting Counters on Zen 4: An Error in the Manual Caused a Segfault

https://loonatick-src.github.io/posts/zen4-likwid-perfctr-segfault/
1•ibobev•4m ago•0 comments

Detecting and removing dangerous secrets on dev workstations before Shai-Hulud

https://recyclebin.zip/posts/2026-05-25-secret-scanning-fleet-bagel/
2•ibobev•4m ago•0 comments

Mastery Learning

https://en.wikipedia.org/wiki/Mastery_learning
1•zwilderrr•7m ago•0 comments

Scientists in 'autonomous laboratories' are starting to outsource work to robots

https://www.npr.org/2026/06/05/nx-s1-5846973/ai-science-robots-risks-experiments-gingko-bioworks
1•Brajeshwar•8m ago•0 comments

Data Centers in Space; "I'm Sorry Dave. I'm Afraid I Can't Cool That"

https://www.tearsinrain.ai/p/im-sorry-dave-im-afraid-i-cant-cool
1•jgreid•9m ago•0 comments

The Web Is Being Made Accessible for AI, Not People

https://www.techpolicy.press/the-web-is-being-made-accessible-for-ai-not-people/
2•speckx•9m ago•0 comments

Show HN: Where" is an E2EE realtime location sharing app for iOS and Android

https://where.af0.net/
1•dm_•10m ago•0 comments

Sinestesia – Live AI VJ that draws the stage as a singer performs

https://github.com/danicuki/vibeton
1•danicuki•10m ago•0 comments

PivCo-Huffman

https://marcinzukowski.github.io/pivco-huffman/paper-1.0/ph.html
1•g0xA52A2A•10m ago•0 comments

Brace yourself for El Niño: it could be the strongest one

https://www.bbc.co.uk/news/resources/idt-54f4e985-a7fb-48b2-8246-f3be0d699402
1•heyimada•11m ago•0 comments

I tested every IP KVM in my Homelab

https://www.jeffgeerling.com/blog/2026/i-tested-every-ip-kvm/
3•vquemener•11m ago•0 comments

Doing Something That's Never Been Done Before

https://talglobus.com/p/doing-something-thats-never-been-done-before/
1•surprisetalk•12m ago•0 comments

Bumblebees use tools to solve complex problems

https://www.scientificamerican.com/article/bumblebees-use-tools-to-solve-complex-problems-despite...
2•tosh•13m ago•0 comments

China Becomes First Country to Approve Commercial Use of Invasive Brain Implant

https://slguardian.org/china-approves-first-invasive-brain-implant-for-mass-use-redrawing-the-neu...
2•bookofjoe•14m ago•0 comments

Whereabouts - Learn Every Country's Location

https://whereabouts.earth/
2•webology•15m ago•0 comments

Explicit Instruction Does Not Cause Learned Helplessness

https://scienceoflearning.substack.com/p/no-explicit-instruction-does-not
1•obscurette•16m ago•0 comments

The US economy added a stronger-than-expected 172,000 jobs last month

https://www.cnn.com/2026/06/05/economy/us-jobs-may-final
4•mgh2•20m ago•0 comments

"Steve Jobs in Exile" is a fine profile of Jobs' years at NeXT

https://arstechnica.com/apple/2026/06/steve-jobs-in-exile-is-a-fine-profile-of-jobs-years-at-next/
1•pseudolus•22m ago•1 comments

Tutorial: A Comic strip from A to Z with Krita

https://www.davidrevoy.com/article1150/tutorial-comic-strip-from-a-to-z-with-krita
5•Tomte•23m ago•0 comments