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

Random Number (Xkcd)

https://xkcd.com/221/
1•mystcb•1m ago•0 comments

Speeding up code review with `small-change`

https://lethain.com/small-changes/
1•KothuRoti•4m ago•0 comments

Australia's Hydro Project Snowy 2.0 Now Costs 11 Times Original Estimate

https://www.bloomberg.com/news/articles/2026-10-22/australia-s-flagship-hydro-project-now-costs-1...
2•toomuchtodo•6m ago•1 comments

A Surprise Map of a Book

https://phasefield.ai/blog_entry_2.html
1•mctwo•6m ago•0 comments

Show HN: Work in Progress alternative to OWASP threat dragon

https://saerskriven.com/
1•AlexaDewit•6m ago•1 comments

Calley Means, top MAHA ally, resigns from Trump administration

https://www.politico.com/news/2026/10/22/calley-means-top-maha-ally-resigns-from-trump-administra...
1•bilsbie•6m ago•0 comments

Where did my freed memory (not) go?

https://yapfast.com/blog/where-did-my-freed-memory-go/
1•wiredtenshi•9m ago•1 comments

Claudia.gallery

https://claudia.gallery/
1•zestyping•11m ago•0 comments

The Browser Company Retires Its Arc Browser and Pushes Users to Dia

https://www.thurrott.com/cloud/343150/the-browser-company-retires-its-arc-browser-and-pushes-user...
2•joak•11m ago•2 comments

Cyberpunk 2077 in WebGPU

https://twitter.com/omonkeyzz/status/2113389957968785510
5•astlouis44•15m ago•0 comments

Some Will Appreciate

https://www.bradoyler.com/ai/airplane-mode-revisited/
1•bradoyler•16m ago•1 comments

ClaudeCode skill to easily protect your website from the PHP2Shell bug

https://github.com/DavidHuji/PHP2Shell-SKILL
1•davenu•17m ago•0 comments

Show HN: A 15 MB Mac menu bar app that brings the Dock to the pointer

https://withbeckon.app/
1•iamdavidoti•19m ago•0 comments

New study traces van Gogh's famed Starry Night to an actual night sky from 1889

https://apnews.com/article/van-gogh-starry-night-space-6385c8e37f748bddc4137cdda5c76887
1•wltyn•19m ago•1 comments

Show HN: CATT 0.2.1: Test agents/services against a Muse/Instinct-alike, in CI

https://github.com/Coverage-Cat/consumer-agent-testing-tool
1•botacode•21m ago•0 comments

Rule 30: one black cell

https://www.wolframcollatzmahler.com/rule30/index.html
1•amichail•23m ago•0 comments

Open call for guest investigators in the life sciences

https://www.anthropic.com/news/open-call-guest-investigators-life-sciences
1•surprisetalk•24m ago•0 comments

Sony Exits UHD Blu-ray Player Market as Pull Back from Physical Media Continues

https://www.pushsquare.com/news/2026/10/sony-exits-uhd-blu-ray-player-market-as-pull-back-from-ph...
4•throw0101c•25m ago•0 comments

100% Reproducible OpenWrt SNAPSHOTs

https://aparcar.org/100-reproducible-openwrt/
1•aparcar•26m ago•0 comments

Liquid AI launches sub-20ms latency stack

https://www.liquid.ai/blog/low-latency
1•pember•28m ago•2 comments

MarketMee - Every GitHub push becomes a narrated product video

https://marketmee.app
1•adeiji1•29m ago•1 comments

The $300k Competition to Hijack AI Agents

https://www.aiengineering.report/p/inside-the-300k-competition-to-hijack
1•waprin•30m ago•0 comments

FBI sent a letter to MLK to try to convince him to kill himself

https://www.vox.com/xpress/2014/11/12/7204453/martin-luther-king-fbi-letter
5•handfuloflight•31m ago•0 comments

Show HN: Stumble Upon for AI News

https://ainews247.org/
2•computerex•31m ago•0 comments

Divine D. MVP

1•dawndrums•32m ago•0 comments

I'm Not Doing 996

https://www.elenaverna.com/p/im-not-doing-996
2•simonebrunozzi•34m ago•0 comments

The Perl and Raku Foundation by the Numbers

https://www.olafalders.com/2026/10/22/the-perl-and-raku-foundation-by-the-numbers/
1•oalders•34m ago•0 comments

Show HN: CNET – Complex-valued neural networks from scratch in C++/CUDA

https://github.com/crasmarum/CNet
2•almaya•34m ago•0 comments

The cult of the iPhone mini is alive and thriving

https://www.fastcompany.com/91625181/the-cult-of-the-iphone-mini-is-alive-and-thriving
1•layer8•35m ago•0 comments

Next Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation

https://github.com/HazyResearch/ncm
1•droidjj•36m ago•0 comments