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 Dashlane 2FA Breach and What It Means for Cloud Vaults

https://www.cloudlesssoftware.com/articles/dashlane-2fa-breach/
1•presleymarkw•25s ago•0 comments

Show HN: Meadow Notes – extract and publish microsites from your Markdown graphs

https://meadow-notes.com
1•gmccreight2•44s ago•0 comments

How are you controlling your child's AI usage?

1•ciwolex•3m ago•0 comments

What Is Tokenomics, and Why Your AI Infrastructure Is Now a FinOps Problem

https://cast.ai/blog/tokenomics-why-your-ai-infrastructure-is-now-a-finops-problem/
1•pcsalad•3m ago•0 comments

MCP Grow

https://mcpgrow.com
1•mayosmith•7m ago•1 comments

I'm simulating the 2026 World Cup with 22 LLM-written agents per match

https://agentpitch.surge.sh/
1•gangtao•8m ago•0 comments

Holster-scan – catch AI-hallucinated package imports before agents run

https://github.com/nauta-ai/holster-scan
1•davidnauta•11m ago•0 comments

I built a free tool that extracts recipes from YouTube cooking videos

http://217.154.165.14:8080
1•The_Cook•12m ago•0 comments

Ottawa moves to restrict social media for kids under 16

https://www.cbc.ca/news/politics/online-harms-ai-social-media-children-9.7229976
1•ChrisArchitect•15m ago•0 comments

BYD's 5-minute EV chargers go live overseas

https://electrek.co/2026/06/09/byd-opens-first-5-min-ev-chargers-overseas-cheap/
1•breve•16m ago•0 comments

Japan is everything wrong with society [video]

https://www.youtube.com/watch?v=ugPtz0zL4gI
1•ValentineC•17m ago•1 comments

Do the Hard Things, Always

https://www.serval.com/serval-news/do-the-hard-things-always
3•emot•18m ago•0 comments

Uber sues New York City over 'reckless' driver protection law

https://www.reuters.com/business/uber-sues-new-york-city-over-reckless-driver-protection-law-2026...
1•tartoran•19m ago•0 comments

Apple Intelligence: Apple got it right this time

https://trk.barrons.com/view/699d75232ec2b6256c871dadrg22t.12dw/c6474167
1•Anon84•20m ago•0 comments

A Case for a Simulation-Driven Exploration of Distributed GenAI Platforms

https://dl.acm.org/doi/10.1145/3805621.3807623
1•matt_d•23m ago•0 comments

ICANN sends breach notice to TrustName

https://domainnamewire.com/2026/06/10/icann-sends-breach-notice-to-trustname/
1•untitled-now•23m ago•0 comments

Organic foods are not healthier or pesticide free

https://news.immunologic.org/p/organic-foods-are-not-healthieror
3•fsflover•23m ago•0 comments

Chopped, Stored, Secured – The Story of the Hash Function

https://0xkrt26.github.io/math_behind_security/2026/06/09/the-story-of-the-hash-function.html
1•denismenace•24m ago•0 comments

Tried to benchmark Google's new on-device dictation model and basically couldn't

https://www.getonit.ai/eloquent-review
1•telenardo•24m ago•1 comments

Defeat the Heap: Zero-Copy Data Movement in AXI4MLIR

https://arxiv.org/abs/2606.11158
1•matt_d•24m ago•0 comments

Aurora – live animated background for VS Code

https://github.com/crlang44/AuroraBg
1•crlang44•27m ago•2 comments

My Prodigal Brainchild

https://nealstephenson.substack.com/p/my-prodigal-brainchild
2•bookofjoe•28m ago•0 comments

Bola – login-free World Cup prediction game for families, in 8 languages

https://bola.football/?lang=en
1•brainarts•29m ago•0 comments

OpenAI says Chinese propaganda is being deployed to foment dissent over tariffs

https://www.reuters.com/business/media-telecom/openai-says-chinese-propaganda-is-being-deployed-f...
2•tartoran•30m ago•0 comments

Somali referee for World Cup denied entry into United States

https://www.espn.com/soccer/story/_/id/49002985/somali-referee-world-cup-denied-entry-united-states
3•wslh•32m ago•0 comments

Real-time AI voice bridges language gaps in the moment

https://manateavagner.com/news/translate-live-spoken-translation
1•manateavagner•33m ago•0 comments

A primer on wide, structured events and observability

https://alok87.in/blogs/observability-wide-events
2•lizthegrey•37m ago•0 comments

Show HN: Hyphenate.dev: illustration of TeX's hyphenation algorithm

https://hyphenate.dev
2•returningfory2•37m ago•0 comments

Back to the Blog Again

https://www.rahulakira.com/posts/back-to-the-blog-again
2•exochrono•42m ago•0 comments

Will the next high value profession be people who can think independently?

5•ciwolex•44m ago•2 comments