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

Accounts are required to access old Reddit

https://old.reddit.com/login/
2•lultimouomo•1m ago•0 comments

Unsubscribe, If You Can

https://ofb.biz/safari/article/1447.html
1•speckx•2m ago•0 comments

Show HN: My solar died for 6 months, so I built a watchdog

https://sunranker.com
1•northify•2m ago•0 comments

StockCoaster (Made by Orca)

https://stockcoaster.vercel.app/
1•iamcoder18•3m ago•1 comments

Ask HN: iMessage Agents?

1•anr0•4m ago•0 comments

Xcode 27 Beta 5 Release Notes

https://developer.apple.com/documentation/xcode-release-notes/xcode-27-release-notes
1•Austin_Conlon•4m ago•0 comments

I just build another app cleaner app for Mac OS X (facepalm)

https://github.com/popyapp/app_cleaner
1•kulekci•5m ago•2 comments

BlueSCSI Milestones

https://bluescsi.com/milestones
2•rbanffy•7m ago•0 comments

The Library of Ashurbanipal

https://www.historytoday.com/archive/feature/library-ashurbanipal
1•samizdis•7m ago•0 comments

Are You a Human?

https://www.newyorker.com/magazine/2026/08/17/are-you-a-human
1•littlexsparkee•7m ago•0 comments

OpenAI Daybreak Red

https://developers.openai.com/api/docs/models/daybreak-red-latest
1•_pdp_•8m ago•0 comments

Dyna-2: A 1M-Hour Scaling Law for World-Action Models

https://www.dyna.co/dyna-2
1•skylerwiernik•8m ago•0 comments

High-orbit satellites could light the way for travel to the moon

https://news.mit.edu/2026/high-orbit-satellites-could-light-way-for-travel-to-moon-0810
1•gnabgib•9m ago•0 comments

Working on documents with your AI chat

https://revise.io/blog/08-10-2026/working-on-documents-with-your-ai-chat
2•artursapek•10m ago•0 comments

Armenia just opened the region biggest AI factory, because Trump signed licence

https://thenextweb.com/news/firebird-armenia-ai-factory-export-licence-compute-diplomacy
3•rbanffy•12m ago•0 comments

The Beauty of Settled Science

https://www.astralcodexten.com/p/the-beauty-of-settled-science
2•toomuchtodo•13m ago•0 comments

Seas have hit hottest temperature on record for July

https://www.theguardian.com/environment/2026/aug/10/global-seas-hottest-temperature-july-scientists
3•cuoder•14m ago•0 comments

Spy cameras on Navy drones sent data to China

https://www.telegraph.co.uk/news/2026/08/09/spy-cameras-on-navy-drones-secretly-sent-data-to-china/
3•like_any_other•14m ago•1 comments

There are 25% more psychotherapy sessions at 53 minutes than at 52

https://www.trytwofold.com/insights/53-minute-billing-threshold
2•ragswag•14m ago•0 comments

Corals Spin Tiny Vortices to Get Oxygen, but Not If It's Too Hot

https://www.quantamagazine.org/corals-spin-tiny-vortices-to-get-oxygen-but-not-if-its-too-hot-202...
1•rbanffy•15m ago•0 comments

Anthropic just proved AI isn't getting better

https://www.youtube.com/watch?v=xWxFEZICuwU
3•kesor•17m ago•0 comments

Putting frontier cyber models in more trusted hands – OpenAI

https://openai.com/index/putting-frontier-cyber-models-in-more-trusted-hands/
2•speckx•17m ago•0 comments

Slopocop: ESLint for TypeScript Slop

https://github.com/LBognanni/slopocop
1•lorisdev•17m ago•1 comments

Claude Code no longer limits sessions to 200 spawned subagents

https://github.com/anthropics/claude-code/commit/66edf5358349356774812264b75b8ea792f0d0a3
1•bakigul•17m ago•0 comments

Attacker Takes over Zoom AI

https://www.promptarmor.com/resources/attacker-takes-over-zoom-ai
3•hackerBanana•18m ago•0 comments

NYT Report Good News for Flock, but Overlooks Seven Major Problems

https://ipvm.com/reports/nyt-flock
1•jhonovich•19m ago•0 comments

Claude Sonnet 5 introductory pricing made permanent

https://twitter.com/claudeai/status/2086891169217122586
3•bvogelzang•21m ago•2 comments

C64 Demo: The Lab by Elysium (6 June 2026) [video]

https://www.youtube.com/watch?v=9g91vnJ6Bz4
1•austinallegro•21m ago•0 comments

Show HN: Étincel trains Claude's voice for PR reviews and code comments

https://github.com/AIStoryHub/etincel
1•jeeps1911•21m ago•0 comments

Investors Want Quarterly Reports, Unfavorable Results and All

https://www.bloomberg.com/graphics/2026-semiannual-reporting-obscures-bad-results/
2•petethomas•24m ago•0 comments