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•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

Why this tribe is buying up acres of farmland – and flooding it

https://www.npr.org/2026/05/03/nx-s1-5806062/washington-tribe-restore-wetlands-fish
1•Brajeshwar•55s ago•0 comments

Poverty on the rise as RI families struggle to meet basic living expenses

https://rhodeislandcurrent.com/2026/05/04/federal-data-gaps-aside-poverty-on-the-rise-as-ri-famil...
1•chmaynard•1m ago•0 comments

Easiest way to create agents with local LLMs

https://github.com/iBz-04/quaynor
1•Ibz04•5m ago•0 comments

Back into Plato's Cave

https://akoepke.github.io/cave_umwelten/
1•Murfalo•5m ago•0 comments

Are you conscious? A conversation between Dawkins and ChatGPT

https://richarddawkins.substack.com/p/are-you-conscious-a-conversation
1•mhb•7m ago•0 comments

Show HN: Turn your cat pic into a dancing cat video

https://dancingcats.damjanski.com
3•whatifbelief•8m ago•0 comments

Someone allegedly used a hairdryer to rig Polymarket weather bets

https://www.engadget.com/big-tech/someone-allegedly-used-a-hairdryer-to-rig-polymarket-weather-be...
2•cdrnsf•8m ago•0 comments

You Do Not Understand Browser History (2013)

https://madhatted.com/2013/6/16/you-do-not-understand-browser-history
1•downbad_•9m ago•1 comments

The Surprising Heart of the Data-Center Boom

https://www.city-journal.org/article/loudoun-county-virginia-data-centers-construction
1•eatonphil•11m ago•0 comments

Show HN: YourSpace – one username, a separate bio page for each thing you do

https://yourspace.page
1•iamhaseeb•13m ago•0 comments

AI Agent API Grader

https://saastr.ai/api-report-card
1•gertjandewilde•14m ago•0 comments

Show HN: HypergraphZ – Hypergraphs, PageRank, Laplacians, and More in Zig

https://github.com/yamafaktory/hypergraphz
1•yamafaktory•15m ago•0 comments

Birds Are More Afraid of Women Than of Men

https://nautil.us/birds-are-more-afraid-of-women-than-of-men-1280333
1•Michelangelo11•17m ago•1 comments

Modyak – run Claude Code and Codex with any model from your Mac menu bar

https://modyak.com
1•robertkeus•17m ago•0 comments

Warren Buffett Did It

https://www.theatlantic.com/ideas/2025/12/warren-buffett-retirement/685294/
1•littlexsparkee•17m ago•0 comments

Study shows how Nazi-era propaganda influences present-day attitudes

https://www.psypost.org/new-study-shows-how-nazi-era-propaganda-influences-present-day-attitudes/
1•geox•17m ago•0 comments

Equal Ping for All

https://bagnalla.github.io/posts/ping-charity.html
2•bagnalla•19m ago•0 comments

Beijing 'covered up passenger plane suicide crash that killed all 132 on board'

https://www.dailymail.com/news/article-15788033/Beijing-covered-passenger-plane-suicide-crash-kil...
3•Bender•19m ago•0 comments

TablePlus: Modern, native, and friendly GUI tool for relational databases

https://tableplus.com/
1•bundie•20m ago•0 comments

Unauthorized Notepad++ macOS fork credits Don Ho on AI plugin he didn't make

https://www.neowin.net/news/notepad-creator-issues-warning-to-users-about-an-unauthorized-macos-f...
1•bundie•21m ago•0 comments

Project Deal: Claude-run marketplace experiment

https://www.anthropic.com/features/project-deal
1•gmays•21m ago•0 comments

The Nintendo Switch 1 can run GameCube/Wii Games [video]

https://www.youtube.com/watch?v=AZqacXlM4AM
1•skibz•22m ago•0 comments

Machine

https://punkx.org/jackdoe/machine.html
1•ricardobeat•22m ago•0 comments

An orthodox file manager for macOS. Built for those who still prefer keyboards

https://www.captains-deck.com/
1•juhapekka69•22m ago•1 comments

ClickFS – Mount ClickHouse as a read-only filesystem

https://github.com/donge/clickfs
1•donge•23m ago•0 comments

How to Improve at Sensemaking AI?

https://commoncog.com/how-to-improve-at-sensemaking-ai/
1•rrherr•24m ago•1 comments

Amazon Supply Chain Services: Amazon's logistics network open to every business

https://twitter.com/amazonnews/status/2051240894842429624
1•taubek•25m ago•0 comments

Jane Street employees paid $9.4B in 2025

https://www.ft.com/content/82f3b9de-f91d-4726-ac85-5420373ecb64
3•throwaway2037•26m ago•1 comments

Gaps in national food production, worldwide

https://www.nature.com/articles/s43016-025-01173-4
1•simonebrunozzi•27m ago•0 comments

Show HN: Aurra – Bi-temporal memory for AI agents (with LLM auto-supersede)

https://www.aurra.us/blog/level-2-auto-supersede-beta
1•akshayt2012•28m ago•0 comments