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

China, EU strike deal to halve Chinese hybrid exports

https://www.reuters.com/world/china/china-eu-reach-hybrid-vehicle-trade-understanding-keep-talks-...
1•geox•1m ago•0 comments

Two Futures for LLMs in Mathematics

https://wiredream.com/llm-two-futures/
2•dgacmu•1m ago•0 comments

Germany withdraws from AI partnership with Mistral and SAP

https://www.welt.de/wirtschaft/article6ac8d35d61b3d4c01d3e11da/digitale-souveraenitaet-bund-zieht...
3•7777777phil•3m ago•0 comments

Tinycast: A free, native launcher for macOS

https://tinycast.dev/
1•eustoria•3m ago•0 comments

Dijkstraverse – Use Dijkstra's algorithm to find the shortest path

https://dijkstraverse.vercel.app/
1•eustoria•4m ago•0 comments

Plague scare: what scientists know

https://www.nature.com/articles/d41586-026-03215-8
2•saikatsg•4m ago•0 comments

There's Plenty of Room at the Bottom

https://en.wikipedia.org/wiki/There%27s_Plenty_of_Room_at_the_Bottom
2•bigwheels•7m ago•0 comments

Traders put a one-in-five chance on Oracle defaulting within five years

https://theinference.org/article/traders-put-a-one-in-five-chance-on-oracle-defaulting-within-fiv...
1•richardttang•7m ago•0 comments

The Decision Model Gold Rush

https://swapniltalekar.substack.com/p/the-decision-model-gold-rush
1•swap32•8m ago•0 comments

2026 – The Year Software Was Commoditized

https://www.jbernier.com/p?id=2026-software-commoditized
1•jeremybernier•9m ago•0 comments

As We Become Cameras (2016)

https://medium.com/@mhkt/as-we-become-cameras-ac142f9a8bb5
1•bookofjoe•10m ago•0 comments

Alex Wang on Cleo [video]

https://www.youtube.com/watch?v=1LRvMRC_pfY
1•flurly•12m ago•0 comments

AI Agent Shouldn't Read That File Yet

https://www.claix.dev
1•gael_dev•14m ago•0 comments

As U.S. blocks DJI, Insta360 races to win American creators

https://restofworld.org/2026/insta360-us-dji-sanctions-drones-cameras/
3•whiteblossom•15m ago•0 comments

Ahead-of-Time Compilation of JavaScript to WebAssembly via Static Type Inference [video]

https://vimeo.com/1234257957
1•matt_d•16m ago•0 comments

Show HN: TaskHandoff – Self-hosted control plane for containerized AI agents

https://github.com/edgestorage/task-handoff
1•huadream5827•16m ago•0 comments

Ask HN: Internal AI Language

1•wvlia5•17m ago•0 comments

BellRun: Intraday Trading w/AI

https://bellrun.com
2•twism•19m ago•0 comments

Why we're backing America's existing nuclear plants

https://blog.google/company-news/why-were-backing-americas-existing-nuclear-plants/
1•mpweiher•19m ago•0 comments

Apple and LG leak shows new 'tap to control' HomeKit features

https://www.theverge.com/tech/1008812/apple-lg-homekit-tap-to-control-rumor
1•mikelgan•19m ago•0 comments

Can you make more than $200M in six months without encrypting victims?

https://databreaches.net/2026/10/07/can-you-really-make-more-than-200m-in-six-months-without-encr...
1•ibejoeb•22m ago•0 comments

TypeSafe a Raises $870M at a $7.5B

https://typesafe.ai/blog/series-ai
4•tosh•22m ago•0 comments

Virgil – a coding agent that cuts API calls by up to 78% on repeated work

https://virgil-ai.cloud/try
1•JohnMci•22m ago•0 comments

Formalization of the OpenAI Proof Withdrawal

https://github.com/ityonemo/openai-wiles
2•dnautics•23m ago•1 comments

Still on Its Way to Cleveland

https://longreads.com/2026/09/22/family-road-trip-early-internet-90s/
1•cainxinth•24m ago•0 comments

Kotlin keeps up with Rust in DHH's Campfire rewrite

https://www.wecodefire.com/p/kotlin-keeps-up-with-rust
5•kinabalu76•25m ago•0 comments

Building a Better NAS for My Homelab

https://bryananthonio.com/blog/building-a-better-nas-for-my-homelab/
1•photon_collider•27m ago•0 comments

SNTPings by Studenten Net Twente

https://pings.utwente.io/
1•bathory•28m ago•1 comments

New Version of OnemanBSD Includes WebKitGtk

http://bialamusic.com/onemanBSD/
1•OnemanBSD•29m ago•1 comments

Before Computer Science Became a Boys' Club, Margaret Hamilton Wrote the Code

https://www.nytimes.com/2026/10/08/science/space/margaret-hamilton-computer-science.html
5•ChrisArchitect•29m ago•1 comments