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•10mo ago

Comments

cherryteastain•10mo 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•10mo 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

Show HN: Circuitchat, a Tor-first encrypted messaging program using Noise

https://github.com/uncognic/circuitchat
1•uncognic•1m ago•0 comments

Samsung Galaxy update removes Android recovery menu tools, including sideloading

https://9to5google.com/2026/02/27/samsung-galaxy-update-android-recovery-menu-removed/
1•josephcsible•8m ago•0 comments

OpenAI Reaches A.I. Agreement With Defense Dept. After Anthropic Clash

https://www.nytimes.com/2026/02/27/technology/openai-reaches-ai-agreement-with-defense-dept-after...
3•jbegley•13m ago•0 comments

Bird Losses Are Accelerating

https://www.nytimes.com/2026/02/26/climate/bird-declines.html
4•lxm•18m ago•0 comments

India disrupts access to popular developer platform Supabase with blocking order

https://techcrunch.com/2026/02/27/india-disrupts-access-to-popular-developer-platform-supabase-wi...
1•pouwerkerk•19m ago•0 comments

A Day in the Life of an Enshittificator [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
1•ianrahman•25m ago•0 comments

We may Soon have City-Spanning 900 MHz Mesh Networks (2021)

https://cheapskatesguide.org/articles/900mhz-mesh.html
1•ColinWright•27m ago•0 comments

System prompt change Claude's reasoning depth – side-by-side comparison tool

https://claude.ai/public/artifacts/eba2a270-dd61-4f0c-a276-34a53e604f13
2•Yuudaiikoma•28m ago•1 comments

Build your own Command Line with ANSI escape codes (2016)

https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
1•vinhnx•28m ago•0 comments

The Enshittificator [video]

https://vimeo.com/1168468796
2•gurjeet•29m ago•0 comments

SUNN O))) HalfLife Fer Mmxxv

https://sunn.southernlord.com/sunn-o-halflife-fer-mmxxv/
2•rglover•29m ago•0 comments

YouTube now determines your watch list [video]

https://www.youtube.com/watch?v=7U_LhzgwJ4U&list=RD7U_LhzgwJ4U
2•bilekas•32m ago•0 comments

Binance's MAGA-Branding Strategy

https://www.thenation.com/article/economy/binance-crypto-trump/
2•petethomas•33m ago•0 comments

As We May Think (1945)

https://en.wikipedia.org/wiki/As_We_May_Think
2•ColinWright•36m ago•0 comments

Estimating π with a Coin

https://arxiv.org/abs/2602.14487
2•vismit2000•36m ago•0 comments

The Mountain Eagle Is Now Online

https://www.mountaineagle.net/articles/display/?entry_short=the-mountain-eagle-is-now-online
2•retrocog•42m ago•1 comments

German Tank Problem

https://en.wikipedia.org/wiki/German_tank_problem
1•ColinWright•44m ago•0 comments

Latency

https://cheat.sh/latency
1•vismit2000•45m ago•0 comments

Show HN: Agents-lint – detect stale paths and context rot in AGENTS.md files

https://github.com/giacomo/agents-lint
1•devGiacomo•45m ago•1 comments

Show HN: Recall – Persistent Memory for Claude Code via MCP Hooks

https://recallmcp.com
1•elfenleid•46m ago•0 comments

The Reason Anthropic Wants Guardrails

https://www.theatlantic.com/ideas/2026/02/anthropic-pentagon-ai/686172/
1•Stratoscope•46m ago•1 comments

Ask HN: How do products get priced after the bubble bursts?

1•AbstractH24•47m ago•1 comments

Joint Statement from OpenAI and Microsoft

https://openai.com/index/continuing-microsoft-partnership/
3•alex_young•52m ago•0 comments

OpenAI reaches deal to deploy AI models on U.S. DoW classified network

https://www.reuters.com/business/openai-reaches-deal-deploy-ai-models-us-department-war-classifie...
21•erhuve•53m ago•8 comments

Six Simple Machines: Lever, Wheel, Pulley, Inclined Plane, Wedge, and Screw

https://en.wikipedia.org/wiki/Simple_machine
1•gurjeet•54m ago•0 comments

Drug-resistant strain of deadly 'ancient fever' spreading to US

https://www.dailymail.co.uk/health/article-15598967/typhoid-fever-surging-drug-resistant-US-UK.html
1•Bender•54m ago•0 comments

OpenAI Onboards Department of War

https://twitter.com/i/status/2027578652477821175
2•dinosor•58m ago•1 comments

The use of hydroxyapatite toothpaste to prevent dental caries

https://pmc.ncbi.nlm.nih.gov/articles/PMC8930857/
5•gurjeet•1h ago•0 comments

Show HN: TattooForge – AI Tattoo Design Generator

https://tattooforge.art
1•crawde•1h ago•0 comments

Agreement with the Department of War

https://twitter.com/sama/status/2027578580159631610
2•madars•1h ago•0 comments