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

Comments

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

iOS 27 Rumored to Feature Keyboard Upgrade

https://www.macrumors.com/2026/04/01/ios-27-upgraded-keyboard-rumor/
1•Tomte•5m ago•0 comments

Agent Self-Care: The Hidden CPU Demand Reshaping Software Engineering

https://codephysics.dev/articles/agent-self-care/
1•antonajp•5m ago•1 comments

The Lost Art of Baseball's Makeup Call

https://thespade.substack.com/p/the-lost-art-of-baseballs-makeup
1•duck•6m ago•0 comments

A Guide to the AI Tribes

https://micheljusten.substack.com/p/a-guide-to-the-ai-tribes
1•timshell•10m ago•0 comments

Salomi, a research repo on extreme low-bit transformer quantization

https://github.com/OrionsLock/SALOMI
2•Edward9055•20m ago•0 comments

Your sign-up form is a weapon

https://bytemash.net/posts/subscription-bombing-your-signup-form-is-a-weapon/
2•homelessdino•20m ago•0 comments

Show HN: Open-agent-SDK – Claude Code's internals, extracted and open-sourced

https://github.com/codeany-ai/open-agent-sdk-typescript
1•idoubi•20m ago•0 comments

Neural Particle Automata: Learning Self-Organizing Particle Dynamics

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

'Unsustainable': Congressional Scrutiny of Kalshi, Polymarket Explodes

https://www.politico.com/news/2026/04/01/congress-kalshi-polymarket-regulation-00852370
2•mitchbob•24m ago•1 comments

'Think Everybody Dead': How the Threat of AI Is Fueling a New Political Alliance

https://www.politico.com/news/magazine/2026/04/01/silicon-valley-bernie-sanders-ai-coalition-0085...
3•mitchbob•27m ago•1 comments

macOS menu bar companion for Claude Code sessions

https://github.com/sayantan94/Pulse
1•Morningstar317•27m ago•0 comments

A Proposed Improvement to the Diet Coke and Mentos Experiment (2016)

https://physics.stackexchange.com/questions/168554/a-proposed-improvement-to-the-diet-coke-and-me...
1•jjmarr•27m ago•0 comments

MLflow Command Injection Vulnerability

https://nvd.nist.gov/vuln/detail/CVE-2025-11201
1•colemurray•34m ago•0 comments

Escapting the Claws

https://8gent.world/blog
1•freddealmeida•35m ago•0 comments

Tim Cook (Still) Believes in Crazy Ideas

https://www.esquire.com/news-politics/a70886045/apple-50th-anniversary/
1•thm•36m ago•2 comments

Dispenso: A high-performance C++ thread pool and parallel algorithms library

https://github.com/facebookincubator/dispenso
2•tanelpoder•37m ago•0 comments

Show HN: API for Flight Prices

https://ignav.com/
1•gusgordon•38m ago•0 comments

Why Iran targeted Amazon data centers

https://theconversation.com/why-iran-targeted-amazon-data-centers-and-what-that-does-and-doesnt-c...
5•throwaway2037•42m ago•1 comments

The future of code search is not regex – 100x faster than ripgrep

https://fff.dmtrkovalenko.dev/
2•neogoose•42m ago•2 comments

Building a Python Library in 2026

https://stephenlf.dev/blog/python-library-in-2026/
1•stephenlf•43m ago•0 comments

Show HN: Tlock – Lock macOS folders and apps with your fingerprint

https://github.com/freyzo/touch-lock
1•leo_agent•46m ago•0 comments

Show HN: NASA Artemis II Mission Timeline Tracker

https://www.sunnywingsvirtual.com/artemis2/timeline.html
1•AustinDev•47m ago•0 comments

VCR and Crystal balls in Claude's Leak

https://blog.mzfr.me/posts/2026-04-01-cc-vcr-cpu/
1•mzfr•48m ago•0 comments

Tell HN: Trying to update to macOS 15.7.5 bricked my M2 MacBook Pro

2•ValentineC•48m ago•2 comments

Iron-proxy – An egress firewall for untrusted workloads

https://github.com/ironsh/iron-proxy
1•gslepak•51m ago•0 comments

The Trajectory of the Iran War: Will Jiang Xueqin's Third Prediction Come True?

https://medium.com/@achineseliveinlondon/the-trajectory-of-the-iran-war-will-jiang-xueqins-third-...
1•salkahfi•51m ago•1 comments

OpenAge: Open-Source Biological age foundation models

https://twitter.com/nikhilyadala/status/2039171557667557744
1•nikhilyadala•52m ago•1 comments

Email obfuscation: What works in 2026?

https://spencermortensen.com/articles/email-obfuscation/
2•jaden•52m ago•0 comments

1 Click authentication with new NPM package

https://www.npmjs.com/package/react-google-one-tap-extention
2•Herod55•53m ago•0 comments

FBI Hacked by L33T Chinese H4XX0R

https://www.politico.com/news/2026/04/01/fbi-hack-surveillance-system-major-incident-00854237
4•OhMeadhbh•56m ago•0 comments