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

I Cut AWS CloudWatch Costs by 50%

https://medium.com/@srinu-n/how-i-cut-aws-cloudwatch-costs-by-50-a-vpc-flow-logs-case-study-5b147...
1•nallerooth•1m ago•0 comments

Can a Mediterranean Island Nation Turn AI into a Basic Public Right?

https://beeble.com/en/blog/can-a-mediterranean-island-nation-turn-ai-into-a-basic-public-right
1•Akamant•1m ago•0 comments

Silent Semantic Drift

https://normalphd.substack.com/p/silent-semantic-drift-inter-agent
1•dooku0721•2m ago•0 comments

I Don't Read My Own Specs Anymore

https://medium.com/@dparkmit/i-dont-read-my-own-specs-anymore-ade29a6cc063
1•dparkmit•3m ago•0 comments

Replay-based regression testing for ROS 2

https://github.com/Kaedim/perception-replay-ci
1•mbradber•4m ago•1 comments

I Caught ChatGPT for Finance Making Up a Transaction [video]

https://www.youtube.com/watch?v=-b1FNCAVXKU
1•bachmeier•4m ago•0 comments

Convicted Felon Gets $1M in Tax Money a Year to Sell Obsolete Internet Service

https://www.propublica.org/article/alaska-telecom-subsidies-roger-shoffstall
1•hn_acker•6m ago•1 comments

Ollama Doesn't Know Its GPU Is on Another Machine

https://loopholelabs.io/blog/ollama-remote-gpu
1•shivanshvij•7m ago•1 comments

Show HN: Sticky Icky – a ditherpunk sticker designer for the Zebra LP2844

https://github.com/nastronot/sticky-icky
2•sigspec•8m ago•0 comments

RTMX: Intent Layer for Agentic Engineering

https://github.com/rtmx-ai/rtmx
1•ryan4rtmx•9m ago•0 comments

Modern Web Guidance – Chrome for Developers

https://developer.chrome.com/docs/modern-web-guidance
2•rbanffy•9m ago•0 comments

Golfing Zig ELF binaries (2025)

https://ctf.gg/blog/zig-binary-golfing
1•jstrieb•11m ago•0 comments

OCL Nexus Local – Open-source local compute fabric for AI agents

https://github.com/rgombash/ocl-nexus-local
1•rgombash•11m ago•0 comments

The engine behind the 100 TB GitHub search engine

https://github.blog/engineering/architecture-optimization/the-technology-behind-githubs-new-code-...
1•samber•11m ago•0 comments

A closer look at Cosh[ArcCosh[x] + ArcCosh[y]]

https://www.johndcook.com/blog/2026/05/19/closer-look-at-an-identity/
1•ibobev•11m ago•0 comments

Square Root of X² − 1

https://www.johndcook.com/blog/2026/05/19/square-root-of-x-squared-minus-one/
1•ibobev•11m ago•0 comments

You can't whisper at an AI agent

https://stripe.dev/blog/ai-steering-experiments
2•fbuilesv•15m ago•0 comments

Samaris OS: A Bootable Linux-Based OS with React UI, Rust Daemons and Local AI

https://github.com/btkhaled/SamarisOSMountainLake
1•btkhaled•15m ago•0 comments

Token Saver for AI Tools

https://are-you-burning-tokens.vercel.app/
1•prengaraj•15m ago•1 comments

Startup's .com might be a security and growth blind spot

https://brandhunt.com/
1•latentio•15m ago•0 comments

Ask HN: Are there any serious efforts to organize tech labor now?

6•0rganize•17m ago•3 comments

Custom dog t-shirts made from your pet photo

https://dawgs.studio/
1•jpetitbon•18m ago•0 comments

Move the Friggin Cone

https://ninjasandrobots.com/move-the-friggin-cone
2•nate•20m ago•0 comments

Android Development Guide for Googlebooks

https://developer.android.com/googlebook
2•theanonymousone•21m ago•0 comments

Fewer Bots, More Ads: The Pentagon's Evolving Online Influence Campaigns

https://www.lawfaremedia.org/article/fewer-bots--more-ads--the-pentagon-s-evolving-online-influen...
4•hn_acker•23m ago•0 comments

LulaEdge – An open-source sharding orchestrator for Cloudflare D1

https://github.com/RodrigoManzanares/LulaEdge
2•rodmanLula•23m ago•0 comments

Inside the World of Teen Cybercrime

https://www.lawfaremedia.org/article/inside-the-world-of-teen-cybercrime
1•hn_acker•24m ago•0 comments

The Oldest Cold Case Murder Ever Solved in Massachusetts

https://www.bostonmagazine.com/news/2026/05/05/natalie-scheublin-murder-prosecuted/
1•gmays•24m ago•0 comments

LatticeShield – Quantum-safe reverse proxy in pure Rust, no FFI

https://github.com/nahuellamas/latticeshield
1•nahuellamas12•24m ago•0 comments

An image could compromise your Mac: understanding an ExifTool vulnerability

https://securelist.com/exiftool-compromise-mac/119866/
1•speckx•24m ago•0 comments