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

Exploiting Sparsity for Long Context Inference: Million Token on Commodity GPUs

https://arxiv.org/abs/2502.06766
1•teleforce•2m ago•0 comments

Live 4K video transmitted from the Moon to Earth via laser for first time

https://www.aboutamazon.com/news/aws/how-nasa-streamed-live-4k-video-from-the-moon
1•giuliomagnifico•2m ago•0 comments

Show HN: Free, offline utilities for PDF, image and video

https://no-server-utils.sach.cc/
1•sachithrrra•2m ago•0 comments

WebAssembly runtime may still be no runtime at all

https://00f.net/2026/07/08/webassembly-compilation-to-c-2026/
1•birdculture•3m ago•0 comments

How to Deliver Constructive Feedback in Difficult Situations (2019)

https://productivityhub.org/2019/04/19/how-to-deliver-constructive-feedback-in-difficult-situations/
1•downbad_•5m ago•0 comments

OpenAI Will Reset Codex Limits Twice to Celebrate GPT-5.6 in 24h

https://twitter.com/thsottiaux/status/2075452680760443190
2•linzhangrun•5m ago•1 comments

Xonotic: Free and Fast Arena Shooter under copyleft GPLv3 license

https://xonotic.org/
1•Gecko4072•8m ago•0 comments

Ryanair B738 cabin window shattered, passenger partly sucked out

https://avherald.com/h?article=53ba2a01&opt=0
3•thm•8m ago•1 comments

Meta to build C$13B Alberta data center, its first in Canada

https://www.reuters.com/world/americas/meta-build-c13-billion-alberta-data-center-its-first-canad...
2•adithyaharish•10m ago•0 comments

Stop being the code review bottleneck

https://newsletter.posthog.com/p/code-review-tips
1•cribwi•10m ago•0 comments

CorvinOS – self-hosted OS for AI agents, compliance built into the runtime

https://corvin-labs.com/
1•shumway•13m ago•0 comments

Loop Engineering

https://addyosmani.com/blog/loop-engineering/
1•frozenseven•13m ago•0 comments

2,100 castles across 133 countries, one map

https://thecastlemap.com/
1•Flightmussy•13m ago•0 comments

Best Health Supplements Reviews and Ratings 2026

https://justpaste.it/ccvbk
1•rafisalq•20m ago•0 comments

Stop Looking for the Next Jony Ive

https://maurya.bearblog.dev/stop-looking-for-the-next-jony-ive/
1•theaniketmaurya•23m ago•0 comments

Show HN: OpenVole 4.5 Is Out

https://github.com/openvole/openvole
2•flabberghasted•24m ago•0 comments

Show HN: Drag boxes around and watch a layout engine infer the Flexbox (no AI)

https://wpconverters.com/playground/
1•drzivil•28m ago•0 comments

The Ambulatory Intelligence Gap

https://www.databricks.com/blog/ambulatory-intelligence-gap
1•ilreb•29m ago•0 comments

Best Offline Sudoku App?

https://sudokui.app/
1•edullero•32m ago•1 comments

The SBC hobby is dying (Geerling, 3 months ago) [video]

https://www.youtube.com/watch?v=HeX22LnKdFY
2•tetris11•34m ago•0 comments

Motel – A 1989 Documentary [video]

https://www.youtube.com/watch?v=XT0VUPi4vus
1•snapetom•35m ago•0 comments

Show HN: Vuci – make the spoken word searchable

https://vuci.ai/feed/
1•lawnmaster18•36m ago•0 comments

The House Passed the KIDS Act–The Senate Should Reject It

https://www.eff.org/deeplinks/2026/07/house-passed-kids-act-senate-should-reject-it
3•nobody9999•36m ago•0 comments

Segfault on Rust 1.97.0

https://github.com/rust-lang/rust/issues/159035
2•solecist•37m ago•0 comments

Pro-Palantir data has litany of errors, English hospitals admit

https://www.ft.com/content/977aeda7-c055-44b7-8fb7-df1570849035
5•sega_sai•43m ago•0 comments

LiboPrime ReviEwS (2026): We Tried It My Honest Review

https://gamma.app/embed/LiboPrime-ReviEwS-2026-We-Tried-It-My-Honest-Review-gy3dc0lt3icpx3p
1•gasurads•43m ago•0 comments

Using Go for Mobile Apps: A retrospective on a year of development with Gomobile

https://www.davidsobsessions.com/p/one-year-of-gomobile/
1•darccio•46m ago•0 comments

The Cost of the American Revolution

https://www.econlib.org/econlog/the-cost-of-the-american-revolution/
1•NewCzech•47m ago•0 comments

Managed Claude, but for Any Harness

https://asteroidbelt.ai/
1•yshuolu•47m ago•0 comments

Pin Bar Formation and Detection in Crypto Markets

https://dolphindb.com/blogs/47
1•CrazyTomato•48m ago•0 comments