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

Comments

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

I Hate Fish

https://randsinrepose.com/archives/i-hate-fish/
1•mooreds•41s ago•0 comments

Time could be different on jobs

https://www.ft.com/content/298a38bb-4cc1-44f3-bd62-6aff25d58b94
1•mooreds•1m ago•1 comments

The AI breakthrough isn't intelligence – it's existence

1•Kalpaka•1m ago•0 comments

NASA Confirms China's Three Gorges Dam Has Slowed Earth's Daily Rotation (2025)

https://orbitaltoday.com/2025/09/03/nasa-confirms-chinas-three-gorges-dam-has-slowed-earths-daily...
1•thunderbong•2m ago•0 comments

How the Golden Gate Bridge Was Built: A 3D Animated Introduction In

https://www.openculture.com/2026/02/how-the-golden-gate-bridge-was-built-a-3d-animated-introducti...
1•nomagicbullet•2m ago•0 comments

Supreme Court strikes down most of Trump's tariffs in a blow to the president

https://www.nbcnews.com/politics/supreme-court/supreme-court-strikes-trumps-tariffs-major-blow-pr...
2•csomar•3m ago•0 comments

repgrep – Interactive Find/Replace

https://github.com/acheronfail/repgrep
1•dmit•6m ago•0 comments

CircleCI study: code throughput up, delivery down, reliability slipping

https://circleci.com/blog/five-takeaways-2026-software-delivery-report/
2•louiereederson•6m ago•1 comments

Marble Machine X – Siegfrieds Mechanisches Musikkabinett

https://www.smmk.de/en/marble-machines.html
1•mofosyne•7m ago•0 comments

Stack Computers (1989)

https://users.ece.cmu.edu/~koopman/stack_computers/index.html
1•tosh•7m ago•0 comments

Supreme Court rules most of Trump tariffs illegal

https://www.cbsnews.com/news/supreme-court-tariffs-decision-trump/
2•mhb•7m ago•0 comments

Artisanal Code, AI, and the Right to Repair the Future

https://geekyschmidt.com/post/2026-2-15-artisanal-code/
1•speckx•10m ago•0 comments

U.S. Supreme Court strikes down tariffs

https://www.washingtonpost.com/national-security/2026/02/20/live-updates-supreme-court-tariffs-ru...
6•niuzeta•10m ago•0 comments

Trump's global tariffs struck down by US Supreme Court

https://www.bbc.com/news/live/c0l9r67drg7t
67•blackguardx•12m ago•25 comments

What the Spring Festival robots show about China's technological prowess [video]

https://www.youtube.com/watch?v=gfJTX1Y0ynM
1•vintagedave•12m ago•1 comments

Small numbers of Notepad++ users reporting security woes

https://doublepulsar.com/small-numbers-of-notepad-users-reporting-security-woes-371d7a3fd2d9
4•maxloh•14m ago•1 comments

West Virginia Claims That Apple Allows Sharing of Child Sexual Abuse Material

https://www.nytimes.com/2026/02/19/technology/apple-west-virginia-lawsuit-child-sexual-abuse.html
1•iamnothere•16m ago•0 comments

I Verified My LinkedIn Identity. Here's What I Handed Over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
4•HotGarbage•16m ago•0 comments

HN Mastering Debate 101: Always impact your arguments [video]

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

Trump overstepped executive power by imposing tariffs, Supreme Court rules

https://www.theguardian.com/us-news/2026/feb/20/trump-supreme-court-tariffs-ruling
9•fizl•17m ago•0 comments

17 AI companies that raised $100M or more so far in 2026

https://techcrunch.com/2026/02/17/here-are-the-17-us-based-ai-companies-that-have-raised-100m-or-...
2•gmays•17m ago•0 comments

Cketchbook: Collaborative drawing web app from scratch in C with no dependencies

https://github.com/cedric-h/cketchbook
1•hecanjog•19m ago•0 comments

Ask HN: On-Device vs. Cloud Based LLMs

1•zahirbmirza•20m ago•0 comments

Cothought: A Markdown zettelkasten journal for your life, in Claude Code

https://cothought.ai
1•elliotbnvl•20m ago•1 comments

13h disruption in December after Kiro AI deleted and recreated an environment

https://www.reuters.com/business/retail-consumer/amazons-cloud-unit-hit-by-least-two-outages-invo...
1•r2sk5t•20m ago•0 comments

Learning Resources vs. Trump, President of the United States [pdf]

https://www.supremecourt.gov/opinions/25pdf/24-1287_4gcj.pdf
1•verzali•20m ago•0 comments

Show HN: Decision Guardian – surface architectural context

3•iamalizaidi•20m ago•0 comments

US Supreme Court rejects Trump's global tariffs

https://www.reuters.com/legal/government/us-supreme-court-rejects-trumps-global-tariffs-2026-02-20/
10•eis•21m ago•0 comments

The only taboo left is copyright infringement

https://www.garbageday.email/p/the-only-taboo-left-is-copyright-infringement
1•Tomte•21m ago•0 comments

Build AI Workflows on Amazon EKS with Union.ai and Flyte

https://aws.amazon.com/blogs/machine-learning/build-ai-workflows-on-amazon-eks-with-union-ai-and-...
1•aitacobell•22m ago•0 comments