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

DeepSeek beats GPT-6 Sol in autonomous drug development

https://eval.raycaster.ai/benchmarks/biopharma-bench/
1•levilian•1m ago•0 comments

PHP 8.5 vs. Node.js vs. Go vs. Python: I/O Perf Under Real Database Load (2026)

https://phpbenchlab.com/php-vs-nodejs-vs-go-vs-python-io-benchmark-2026/
1•e12e•3m ago•0 comments

The Age of Personalized Hardware

https://twitter.com/Geastack/status/2103501678490083510
1•arbayi•3m ago•0 comments

Running a business made me hate capitalism

https://gomakethings.com/articles/running-a-business-made-me-hate-capitalism/
1•surprisetalk•4m ago•1 comments

Synthetic Hospital: Physician-Validated Longitudinal EHR Benchmark

https://arxiv.org/abs/2609.30027
1•simonpure•4m ago•0 comments

A Compositor-Native Approach to Background Computer Use

https://github.com/trycua/cua/blob/main/blog/omarchy-cua-driver.md
1•frabonacci•5m ago•0 comments

How .env Works

https://infisical.com/blog/how-environment-variables-work
1•FinnLobsien•6m ago•0 comments

Data Diode

https://en.wikipedia.org/wiki/Unidirectional_network
1•sebazzz•7m ago•0 comments

Patrick Boyle: The Copy-Paste Professor

https://www.youtube.com/watch?v=Za5IfIbWNEk
1•galkk•8m ago•0 comments

Fifteen years later, the Apple Cards origin story

https://lexontech.org/fifteen-years-later-the-apple-cards-origin-story
1•robbiet480•9m ago•0 comments

The Netherlands Built a Nix-Basd Linux Desktop Because Microsoft Cut Off the ICC

https://itsfoss.com/news/netherlands-dawo-initiative/
2•abdelhousni•9m ago•0 comments

How personality traits predict life satisfaction: Insights from new research

https://www.psypost.org/how-personality-traits-predict-life-satisfaction-insights-from-new-study/
1•akyuu•10m ago•0 comments

Show HN: Misheard turns "recognize speech" into "wreck a nice beach"

https://wordlab.rickinto.place/misheard
1•rickintoplace•10m ago•1 comments

Uncle Sam wants in on Musk's €120M fight with Brussels

https://www.theregister.com/legal/2026/09/25/uncle-sam-wants-in-on-musks-120m-fight-with-brussels...
3•abdelhousni•11m ago•0 comments

Teaching agents to break distributed safety

https://antithesis.com/blog/2026/mutation-testing/
1•Klaster_1•12m ago•0 comments

Show HN: HocusFocus – Pomodoro timer and Lofi Music player for your Mac's notch

https://github.com/ravishchawla/hocus-focus
1•rvshchwl•13m ago•0 comments

The Small Web Is Tricky to Find

https://matduggan.com/the-small-web-is-tricky-to-find/
1•1317•14m ago•0 comments

A Proof of the Most Informative Boolean Function Conjecture

https://arxiv.org/abs/2609.24931
2•ur-whale•15m ago•0 comments

Woman Climbed Gate to Escape Notorious AI Hacker House After Repeated

https://www.techtimes.co.uk/agi-house-police-complaints-sexual-pressure-1808775
1•g-b-r•16m ago•1 comments

ChatGPT told Tumbler Ridge shooter how to avoid safeguards

https://www.cbc.ca/lite/story/9.7358031
2•colinprince•16m ago•1 comments

Robot Installations Outpaced Human Hiring at US Factories in 2025

https://www.bloomberg.com/news/newsletters/2026-09-25/robot-installations-outpaced-human-hiring-a...
4•ortusdux•18m ago•0 comments

Show HN: Xtriever – offline RAG retrieval on a phone

https://github.com/mirth/xtriever
1•hessdalenlight•18m ago•0 comments

The surprise winners from record-high diesel prices

https://www.washingtonpost.com/transportation/2026/09/25/surprise-winners-record-high-diesel-prices/
1•westurner•19m ago•0 comments

The World Needs Better Power Grids. Why Smaller May Be Better

https://www.nytimes.com/2026/09/25/business/power-grid-jonas-birgersson.html
1•gumby•19m ago•0 comments

Someone's attacking a critical 0-day RCE in F5 BIG-IP APM

https://www.theregister.com/security/2026/09/23/someones-attacking-a-critical-0-day-rce-in-f5-big...
1•Bender•21m ago•0 comments

CVE flood pushes Ubuntu onto weekly kernel release cycle

https://www.theregister.com/os-platforms/2026/09/24/cve-flood-pushes-ubuntu-onto-weekly-kernel-re...
2•Bender•22m ago•0 comments

AI boom could wipe 230M budget phones a year from the market

https://www.theregister.com/personal-tech/2026/09/24/ai-boom-could-wipe-230-million-budget-phones...
2•Bender•22m ago•0 comments

Show HN: Voice cloning for a TTS whose style encoder was never released

https://github.com/kdrkdrkdr/supertonic.embed
1•kdrkdrkdr•23m ago•0 comments

The Chasm: The Shape of Unfinished AI Codebases

http://jimmyhmiller.com/shape-of-unfinished-ai-codebases
2•surprisetalk•24m ago•0 comments

Show HN: TandemCode – practice coding interviews together in one live editor

https://www.tandemcode.space
1•naman0r•25m ago•0 comments