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

Ask HN: Freelance full-stack dev in between contracts

1•downbad_•1m ago•0 comments

We Have Pgvector at Home

https://theconsensus.dev/p/2026/02/22/we-have-pgvector-at-home.html
1•zdw•3m ago•0 comments

Leibniz on Binary: The Invention of Computer Arithmetic (2022)

https://direct.mit.edu/books/monograph/5492/Leibniz-on-BinaryThe-Invention-of-Computer
1•measurablefunc•3m ago•0 comments

Wrapping Code Comments

https://matklad.github.io/2026/02/21/wrapping-code-comments.html
1•tenpa0000•5m ago•0 comments

Code Review Is Not About Catching Bugs

https://www.davidpoll.com/2026/02/code-review-is-not-about-catching-bugs/
1•depoll•5m ago•0 comments

Leveraging Attributes with Respect\Validation and Laravel

https://alganet.github.io/blog/2026-02-22-23-Leveraging-Attributes-With-Respect-Validation-and-La...
1•gaigalas•7m ago•0 comments

Official specification and reference code for Fast Lightweight Online Encryptio

https://github.com/Snowflake-Labs/floe-specification
1•todsacerdoti•7m ago•0 comments

"Pinky Promise Diplomacy" Once Stopped a War in the Middle East

https://www.lesswrong.com/posts/unxyt8EsCNkMCRbsw/how-pinky-promise-diplomacy-once-stopped-a-war-...
1•positivesum•12m ago•0 comments

Show HN: InferShield – A Lightweight Orchestration-Layer Attack Detector (POC)

https://github.com/InferShield/infershield
1•Alex-Hosein•17m ago•0 comments

Show HN: MSI GPU Mux Switcher for Linux via UEFI Vars and EC Trigger

https://github.com/ElXreno/msi-gpu-switcher
2•elxreno•18m ago•0 comments

Search Console MCP – Unified CLI for Google Search Console, Bing and GA4

2•svss_me•19m ago•0 comments

AI's [Other] Existential Threat

https://twitter.com/nick_alexander/status/2025757123033104562
2•nick007•21m ago•0 comments

Duan et al. 2026 algorithm beats Duan et al. 2025 for the SSSP Problem

https://arxiv.org/abs/2602.07868
1•samyadn12•22m ago•0 comments

Blue Owl Anxiety Rattles the $1.8T Private Credit Market

https://www.bloomberg.com/news/features/2026-02-22/blue-owl-redemptions-halt-intensifies-private-...
3•zerosizedweasle•24m ago•0 comments

No one has defined the "AI Strategist" role – so I wrote an OSS book to do it

https://github.com/Leading-AI-IO/the-ai-strategist
2•leading-AI•29m ago•0 comments

Aqua: A CLI message tool for AI agents

https://github.com/quailyquaily/aqua
2•lyricat•33m ago•0 comments

Cheers to the NetJets captain that made the call

https://twitter.com/BOCOjetSales/status/2025724280923910425
1•hnburnsy•36m ago•0 comments

2008 "Peak Oil" = 2026 "Peak Memory"

https://twitter.com/benkizemchuk/status/2025570398495015100
2•walterbell•36m ago•0 comments

Your Thirst Is Mine, My Water Is Yours

https://www.stopcar.ing/your-thirst-is-mine-my-water-is-yours/
2•cwal37•38m ago•0 comments

Jujutsu Version Control Explained – Video by Brian Will

https://www.youtube.com/watch?v=mM4nrhDenC8
3•Lanedo•41m ago•0 comments

Tesla Begins Production of Cybercab

https://www.barrons.com/articles/tesla-stock-price-cybercab-9e8a08ed
2•lateforwork•43m ago•3 comments

The lack of reliable financial infrastructure

https://www.tumblr.com/archive-is/809233317252710400/on-growth-limits-finances-and-why-osinters-f...
1•cnst•45m ago•0 comments

$30B for laptops yielded a generation less cognitively capable than parents

https://www.yahoo.com/news/articles/u-spent-30-billion-ditch-110200869.html
44•walterbell•46m ago•22 comments

Giving feedback is about to get much harder. Get better at it

https://thebestworstcase.substack.com/p/giving-feedback-is-about-to-get-harder
1•shmublu•51m ago•0 comments

HN Algolia API is currently stalled

https://hn.algolia.com/api/v1/search_by_date?tags=story
1•cylo•53m ago•1 comments

A Primer on Terrorism, Insurgency and Protest

https://acoup.blog/2026/02/13/collections-against-the-state-a-primer-on-terrorism-insurgency-and-...
1•colinprince•53m ago•0 comments

Show HN: SEOBot – open-source AI SEO tool (keyword research, content gen, audit)

https://github.com/George3307/seobot
2•starwildcard•57m ago•0 comments

Show HN: Debugger MCP for VS Code

https://marketplace.visualstudio.com/items?itemName=Speakeasy.debugger-mcp
1•indybonez•58m ago•0 comments

Show HN: Magnetic Tower of Hanoi – 8 disks = 2026 moves (the year)

https://george3307.github.io/magnetic-hanoi/
1•starwildcard•59m ago•0 comments

Container GUI – Native macOS GUI for Apple's Container CLI

https://github.com/FeSens/container-gui
2•fesens•59m ago•1 comments