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

GPU Canvas

https://berkantay.github.io/gpucanvas/?n=10000&effect=ripple
1•razodactyl•1m ago•0 comments

Show HN: Which prompts ate your Claude Code limit? A local, read-only doctor

https://github.com/theagentplane/tokenops/tree/main/integrations/claude-code
1•agentplane•3m ago•0 comments

Minimal dark mode styles for Hacker News

https://antonz.org/hn-dark-mode/
2•ingve•4m ago•0 comments

Protecting the American Data Moat

https://www.micro1.ai/blog/protecting-the-american-data-moat
1•nlpnerd•7m ago•1 comments

A major step change in AI's offensive cyber capability

https://www.ncsc.gov.uk/blogs/major-step-change-in-ais-offensive-cyber-capability-demands-response
2•geox•9m ago•0 comments

Characterizing Latent Reasoning Dynamics in LLMs

https://arxiv.org/abs/2612.02425
1•E-Reverance•9m ago•0 comments

Where Skilled Talent Goes and Stays: The Best U.S. Metros for Attracting Talent

https://www.workcafe.com/blog/research-data/best-us-metros-for-attracting-talent/
1•hackawork•10m ago•0 comments

Running 1,000 Standalone SQLite Databases Inside SQL Server

https://sqlartist.github.io/posts/running-1000-standalone-sqlite-databases-inside-sql-server/
3•thunderbong•12m ago•0 comments

Experience the Magic of Ionospheric Propagation

https://rad950.org/
2•resters•12m ago•0 comments

Show HN: Biviu – AI list builder powered by Jev

https://biviu.com
2•ephx•13m ago•0 comments

Show HN: One of the smallest and easiest to maintain 11ty/Build Awesome starters

https://github.com/open-sveti/one-starter
1•anydigital•15m ago•1 comments

Hackers Breach the Brain of the U.S. Air Force Cloud

https://spintcom.substack.com/p/hackers-breach-the-brain-of-the-us
2•thunderbong•18m ago•0 comments

The core anti-Pangram constituency is phony writers

https://www.theargumentmag.com/p/the-core-anti-pangram-constituency
1•JoshTriplett•20m ago•0 comments

Show HN: VisualCI – Visual regression and snapshot testing for AI agents

https://visualci.com
2•nathan_f77•21m ago•0 comments

Free and open-source C++ DirectUI interface library for Windows

https://github.com/duilib/duilib
1•zerr•23m ago•0 comments

The Laravel You Know, Written in Rust [video]

https://www.youtube.com/watch?v=9znOFW6Bvg4
1•Imustaskforhelp•25m ago•0 comments

Not Slop: Haskell in the Age of AI

https://discourse.haskell.org/t/well-typed-blog-not-slop-haskell-in-the-age-of-ai/15237
3•romes•27m ago•0 comments

Do Hard Times Cause Crime?: The Lessons of History

https://lsupress.org/do-hard-times-cause-crime-the-lessons-of-history/
1•barry-cotter•27m ago•0 comments

Nvidia Fleet to Combat Smuggling and Implement Remote Cloud Access Protections

https://nvidianews.nvidia.com/news/nvidia-announces-expanded-national-security-and-export-control...
1•rzerowan•30m ago•0 comments

Introducing Laravel Rust

https://laravel.com/blog/introducing-laravel-for-rust
2•resurge•31m ago•0 comments

Jitter: Making Things Better with Randomness

https://brooker.co.za/blog/2015/03/21/backoff.html
2•hiohio•34m ago•2 comments

Phones Banned, Chinese Students Turn to Paper Short Dramas

https://www.sixthtone.com/news/1019331
4•wmchen•34m ago•0 comments

Surf95 ▸ Surf the Old Web

https://surf95.com/
2•kurtis_reed•36m ago•0 comments

Cerebras and Nvidia Collaborate to Accelerate Agentic Inference

https://nvidianews.nvidia.com/news/cerebras-and-nvidia-collaborate-to-accelerate-agentic-inference
2•gmays•39m ago•0 comments

Warren Buffett's Son Howard Buffett Became Ukraine's Largest Private Donor

https://www.forbes.com/sites/forbesinternational/2026/11/21/how-warren-buffetts-son-howard-buffet...
1•axiologist•41m ago•1 comments

Protect the AI We Love. Preserve Our Freedom to Choose

https://drive.google.com/file/d/1yyFrJiewV5rYIUA9pqwlbOST9m06USsw/view?usp=drivesdk
1•Roger-Evelyn•41m ago•0 comments

The Drawn Maps · Habibi Code

https://www.habibicode.org/thedrawnmaps
5•n_plus_1_acc•45m ago•1 comments

CoW B+ Trees are Fun

https://nubskr.com/2026/11/29/nubSQL/
2•signa11•45m ago•0 comments

CrimeWatch MCP

https://github.com/LordMoMA/crimewatch-mcp
1•lordmoma•45m ago•0 comments

How I made a RISC-V CPU in Minecraft Bedrock

https://www.youtube.com/watch?v=sP3tFTvJkNQ
1•sashiono•48m ago•0 comments