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

Cost calculators for common home renovation projects

https://costto.build/
1•way007•8m ago•0 comments

NASA's X-59 "frankenjet" tests supersonic flight without the sonic boom

https://arstechnica.com/gadgets/2026/06/nasas-x-59-frankenjet-tests-supersonic-flight-without-the...
2•joak•23m ago•0 comments

Warren Buffett skips donation to Gates Foundation amid Epstein review

https://www.aol.com/articles/warren-buffett-skips-donation-gates-012320000.html
2•1vuio0pswjnm7•26m ago•0 comments

Revisiting: Stack pivot, W^X break – in the context of PixelSmash

https://www.mail-archive.com/misc@openbsd.org/msg198341.html
1•gibletz•26m ago•0 comments

Snapcompact: SoTA Compaction – Instant, Local, Free

https://blog.can.ac/2026/06/10/snapcompact/
1•handfuloflight•30m ago•0 comments

Positive and Negative Time Flows in the Toronto Experiment on the 4/3πC Formula

https://medium.com/@f9121212/topological-derivation-of-geometric-boundaries-for-positive-and-nega...
2•ortrich•32m ago•0 comments

Exiled Chinese Tycoon Gets 30 Years in Prison for Billion-Dollar Fraud

https://www.bloomberg.com/news/articles/2026-06-29/exiled-chinese-tycoon-guo-gets-30-years-in-us-...
1•1vuio0pswjnm7•33m ago•0 comments

Silicon Valley Is Obsessed with 'Trust Stacking,' and the IRS Doesn't Like It

https://www.wsj.com/personal-finance/taxes/silicon-valley-is-obsessed-with-trust-stacking-and-the...
2•apparent•33m ago•3 comments

Loko Scheme 0.13.0

https://weinholt.se/articles/loko-scheme-0-13-0/
1•azhenley•35m ago•0 comments

Instatic is a modern self-hosted visual CMS

https://github.com/CoreBunch/Instatic
1•danboarder•35m ago•0 comments

Students are doing worse than you think

https://www.economist.com/international/2026/06/25/students-are-doing-worse-than-you-think
1•andsoitis•39m ago•0 comments

Is there a Mario Wii Web port?

1•Itzsplicez•43m ago•1 comments

T-Mobile Just Ripped 8M Customers Off Their Grandfathered Plans

https://www.gadgetreview.com/t-mobile-just-ripped-8-million-customers-off-their-grandfathered-pla...
1•momentmaker•47m ago•0 comments

GitHub profiles turned into FIFA Ultimate Team cards, rated out of 99

https://gitfut.com
3•beatthatflight•52m ago•0 comments

Magicbookshelf.org – A Spoiler Free Companion – The Brothers Karamazov

https://magicbookshelf.org/read/the-brothers-karamazov/
2•pfwitt•53m ago•0 comments

Why AI is like a (Clever Hans) Horse [video]

https://www.youtube.com/watch?v=0GQ2RP-25gM
2•tartoran•53m ago•0 comments

Should every baby's DNA be sequenced?

https://www.economist.com/science-and-technology/2026/06/29/should-every-babys-dna-be-sequenced
1•andsoitis•56m ago•0 comments

Prism: An Impure Functional Language with Typed Effects

https://www.stephendiehl.com/posts/prism/
1•ghc•57m ago•0 comments

SRAM as Processing

https://prawns.dev/til/processing-using-sram
1•random__duck•58m ago•0 comments

Open Domesday

https://opendomesday.org/
1•mellosouls•1h ago•0 comments

Moonshot AI (kimi) launches a credit card

https://www.kimi.com/aicard
2•danieltanfh95•1h ago•0 comments

Chinese tycoon sentenced to 30 years in US jail

https://www.bbc.com/news/articles/cjeg15vw3z9o
2•tartoran•1h ago•2 comments

New Student Loan Rules Are Poised to Amp Up Pressure on Colleges

https://www.wsj.com/us-news/education/student-loan-rules-accountability-tuition-earnings-threshol...
1•JumpCrisscross•1h ago•0 comments

Cisco to lay off more than 400 workers in California

https://www.latimes.com/business/story/2026-06-26/cisco-to-lay-off-more-than-400-workers-in-calif...
4•1vuio0pswjnm7•1h ago•0 comments

AI Does Not Have to Kill Humans to End the Human Future

https://kunyuan.substack.com/p/ai-does-not-have-to-kill-humans-to
2•Kiyo-Lynn•1h ago•0 comments

BlackBerry Staged a Comeback by Winning over Car Companies

https://thewalrus.ca/how-blackberry-staged-a-comeback-by-winning-over-car-companies/
3•pseudolus•1h ago•0 comments

The Lake They Couldn't See: gold, dark fiber, and the AI data-center boom

https://cyrusradfar.com/thoughts/the-lake-they-couldnt-see
2•cyrusradfar•1h ago•0 comments

'Humanity has chosen to become idiots': Brown professor discovers mass cheating

https://fortune.com/2026/06/29/roberto-serrano-brown-university-massacre-ai-cheating/
3•1vuio0pswjnm7•1h ago•1 comments

Illinois lawmakers crack down on junk fees, bots in online ticket sales

https://www.nprillinois.org/economy-business/2026-06-26/illinois-lawmakers-crack-down-on-junk-fee...
2•toomuchtodo•1h ago•1 comments

Reports of Anthropic Cutting Usage Limits Again

https://old.reddit.com/r/ClaudeCode/comments/1uim4jb/this_is_a_message_for_anthropic_bring_back_the/
1•quux0r•1h ago•0 comments