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

King Ludd

https://www.astralcodexten.com/p/king-ludd
1•andromaton•45s ago•0 comments

Self-generated prompt injections in compaction summaries

https://simonwillison.net/2026/Sep/17/compaction-summaries/
1•hn9zmdcaou•3m ago•0 comments

Show HN: A poetry site for developers – solve a code puzzle to post

https://developerpoetry.com/
1•attels33•5m ago•0 comments

OpenSaga: Matching decompilation of the Lego Star Wars

https://opensaga.dev/
1•epestr•6m ago•0 comments

Windows turned months of inactivity into a 7-hour update hostage situation

https://www.theregister.com/os-platforms/2026/09/20/how-windows-turned-months-of-inactivity-into-...
1•beardyw•6m ago•0 comments

Turn off Apple Intelligence in macOS 27

https://discussions.apple.com/docs/DOC-250012366
1•petecooper•8m ago•0 comments

Ground Effect Vehicle

https://en.wikipedia.org/wiki/Ground-effect_vehicle
2•kekqqq•10m ago•0 comments

Security Review Scope for Daml: Coverage, Methods, and EVM Comparison

https://hacken.io/discover/daml-vs-solidity-smart-contract-audits-3-scope-decisions-for-researchers/
1•Dron_Rick•15m ago•0 comments

Auto approve pull requests with Jev

https://github.com/metalbear-co/jev-auto-approve
2•infiniteregrets•21m ago•0 comments

How ISIL is using Big Tech's AI to build bombs

https://www.aljazeera.com/news/2026/9/18/just-ask-grok-how-isil-is-using-big-techs-ai-to-build-bombs
1•smallerize•22m ago•0 comments

Migrating the GitHub Copilot Runtime to Rust, Using Copilot

https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-co...
1•saikatsg•23m ago•0 comments

RoboHarm: Do Frontier Robot Policies Refuse Unsafe Instructions?

https://robocurve.org/roboharm/
1•fittingopposite•24m ago•0 comments

Chat-based Large Language Models replicate the mechanisms of a psychic's con

https://softwarecrisis.dev/letters/llmentalist/
2•jalev•25m ago•0 comments

An Ode to the Owl: The Inside Story of Psygnosis

https://www.timeextension.com/features/an-ode-to-the-owl-the-inside-story-of-psygnosis
2•Bluestein•25m ago•0 comments

The Millennium Problems for Biology

https://millenniumproblems.bio/
2•artninja1988•27m ago•0 comments

Outer Billiards on the Penrose Kite: Compactification and Renormalizaiton

https://arxiv.org/abs/1102.4635
1•vismit2000•29m ago•0 comments

WrathBench − an Agent Workbench for World of Warcraft

https://wrathbench.shard.page/
2•stymaar•32m ago•0 comments

Big Tech uses guarantees to keep $300B AI exposure off balance sheets

https://www.ft.com/content/7f11afae-c4e3-4054-a65b-873f3647f563
6•sbulaev•38m ago•1 comments

Densha de Go

https://en.wikipedia.org/wiki/Densha_de_Go!
4•tosh•38m ago•0 comments

The First Nolan Movie: The Odyssey and the world after men change it

https://www.firstrand.co.za/perspectives/article.html?article=the-first-nolan-movie
3•theDillinger•42m ago•0 comments

The Shaky Evidence That Flock Cameras Reduce Crime Rates

https://reason.com/2026/09/18/the-shaky-evidence-that-flock-cameras-reduce-crime-rates/
3•pseudolus•47m ago•0 comments

Claude Code is getting native AGENTS.md support

https://github.com/anthropics/claude-code/tree/main/mods/agents-md
4•thisisfatih•47m ago•0 comments

Open-source AI PR reviewer that helps you ship

https://nitpicker.dev/
3•Bluestein•49m ago•0 comments

An Agent's Breath. The Heart Beats by Itself, Breathing Is a Choice

https://piotrzientara.pl/agent-breath/
4•piotrzientara•52m ago•0 comments

The Cornetto Ice Cream Cone Framework for Prompting

https://hazn.com/cornetto
2•hazn•56m ago•0 comments

Ternary-Bonsai-8B-Gguf

https://huggingface.co/prism-ml/Ternary-Bonsai-8B-gguf
2•Bluestein•56m ago•0 comments

How Efficient Is Each Type of EV Charger? (2024)

https://insideevs.com/features/711659/ev-charger-efficiency-losses/
2•cisc•56m ago•0 comments

Show Your Work

https://jagasantagostino.com/blog/show-your-work
2•andsoitis•58m ago•0 comments

Tactile controls in a digital world (2024)

https://jenson.org/airpod/
2•andsoitis•1h ago•0 comments

Ask HN: What to focus on in this age of AI

2•yernarak•1h ago•2 comments