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

Stripe will reportedly acquire AI gateway startup OpenRouter for $7B+

https://techcrunch.com/2026/08/16/stripe-will-reportedly-acquire-ai-gateway-startup-openrouter-fo...
1•amichae2•19s ago•0 comments

Smarter – open-source, declarative AI authoring platform (Django, K8s-inspired)

https://github.com/smarter-sh/smarter
1•lpm0073•39s ago•0 comments

Sperm whales in 19th century shared ship attack information – Whales

https://www.theguardian.com/environment/2021/mar/17/sperm-whales-in-19th-century-shared-ship-atta...
2•bilsbie•10m ago•0 comments

Show HN: I Turned Apple Calendar into Tetris

https://github.com/EvanZhouDev/calendar-tetris
2•EvanZhouDev•13m ago•0 comments

Ghosts of the Past and Devils of the Present

https://thenewcuriosityshop.substack.com/p/ghosts-of-the-past-and-devils-of
1•benbreen•14m ago•0 comments

Legbar – live AI agent sessions beside GitHub CI, in one terminal

https://github.com/gmhoward9289-ops/legbar
2•gmhoward9289•19m ago•0 comments

Redis uses less RAM than you think, nibble measures how much, and applies it

https://github.com/RyanRana/nibble
2•ryanrana•29m ago•1 comments

Anthropic's 'Watermark' Text Adulteration in Claude Is a Perversion of Writing

https://daringfireball.net/2026/08/anthropics_watermark_text_adulteration_in_claude_is_a_perversi...
13•ropbear•32m ago•12 comments

Claude Seems Down

38•zhan_eg•32m ago•23 comments

Failure Takes Years to Admit

https://julienreszka.com/blog/failure-takes-years-to-admit/
2•julienreszka•34m ago•0 comments

Claude Is Down

https://claude.ai/new
27•nabeards•34m ago•34 comments

Nauru, the 3rd-smallest country, changes its name to Naoero

https://abcnews.com/International/wireStory/nauru-worlds-3rd-smallest-country-naoero-135318134
2•gmays•43m ago•0 comments

Winkeys: Windows Keyboard Shortcuts on macOS

https://winkeys.app
1•yashvadaria•43m ago•0 comments

Show HN: One page per betting market – 21 books' odds, every outcome graded

https://prop-line.com/odds-api
1•rquitzo243•44m ago•0 comments

How to build a RAG pipeline with the Go StdLib

https://blog.devgenius.io/stop-stuffing-your-system-prompts-build-a-real-rag-pipeline-in-go-e93bb...
2•cheikhdev•44m ago•0 comments

Wellington second-hand bookstore's mysterious orders

https://www.rnz.co.nz/life/books/wellington-second-hand-book-store-s-mysterious-orders
2•beanaroo•45m ago•0 comments

My Hermes and Obsidian Setup and Use Cases

https://metedata.substack.com/p/013-my-hermes-and-obsidian-set-up
2•young_mete•45m ago•0 comments

Awesome-local-first – A curated list of Local-First Software

https://github.com/zhongkechen/awesome-local-first
2•peter_d_sherman•46m ago•0 comments

Productivity Framework Paraiso

https://ejlabs.io/blog/introduction_paraiso
1•mansi1010•47m ago•2 comments

Three Mile Island Accident

https://en.wikipedia.org/wiki/Three_Mile_Island_accident
2•js2•49m ago•0 comments

Life with Hazard Ratios

https://dynomight.substack.com/p/hazard-ratios
1•paulpauper•49m ago•0 comments

AI #176 Part 2: Plan B

https://thezvi.substack.com/p/ai-176-part-2-plan-b
1•paulpauper•51m ago•0 comments

Ask HN : Why Did Stripe Acquire OpenRouter For 7B?

https://s-1.vercel.app/posts/why-openrouter-can-be-the-next-great/
6•nbcu1985•51m ago•0 comments

The Decline of Deviance 2

https://www.experimental-history.com/p/the-decline-of-deviance-2
2•paulpauper•51m ago•0 comments

Young People Hate AI CEOs So Passionately That It's Almost Hard to Believe

https://futurism.com/artificial-intelligence/young-people-ai-ceos-executives-poll
9•healsdata•51m ago•0 comments

America's Loneliness Trap

https://slate.com/life/2026/08/men-lonely-social-skills-therapy-economy-crisis.html
2•theriddlr•52m ago•0 comments

The 'Fraud Squad' at Caltech Will Catch You If You Lie on Your Application

https://www.wsj.com/us-news/education/college-admissions-caltech-cheating-fraud-squad-f7627aab
2•apparent•54m ago•0 comments

Prediction Firms Are Flagging Insider Traders. Many Will Not Face Charges.

https://www.nytimes.com/2026/08/12/us/politics/prediction-markets-insider-trading.html
3•bookofjoe•56m ago•2 comments

Stop Turning every purchase into a tip request

https://www.foxnews.com/opinion/america-needs-stop-turning-every-purchase-uncomfortable-tip-request
8•gist•56m ago•2 comments

Who needs a dedicated portable music player in 2026?

https://kevinboone.me/pmp.html
2•ingve•57m ago•0 comments