frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

cherryteastain•7mo 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•7mo 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

Rtila

https://rtila.com
2•bellamoon544•6m ago•1 comments

AI's safety features can be circumvented with poetry, research finds

https://www.theguardian.com/technology/2025/nov/30/ai-poetry-safety-features-jailbreak
1•c420•7m ago•0 comments

New AI Book for Kids

https://www.amazon.com/dp/B0G3KWSCC3
1•STEM-AI-FDE•9m ago•0 comments

Show HN: Generate storyboards from YAML with Gemini (image and TTS)

https://github.com/kierangilliam/storyboard/
1•kierangill•9m ago•0 comments

Designers Aren't Going Anywhere. Here's Why

https://spin.atomicobject.com/designers-arent-going-away/
1•philk10•10m ago•0 comments

Garry Tan says MCP "barely works" today

https://www.reddit.com/r/mcp/s/dQoNo0fSx3
2•AbstractH24•11m ago•0 comments

Setting a wallpaper in less than 250 Kb: A practical guide to reducing Rust's ru

https://www.lgfae.com/posts/2025-11-21-SettingAWallpaperWithLessThan250KB.html
2•fanf2•15m ago•0 comments

Linus and Linus

https://youtu.be/mfv0V1SxbNA?si=d9ocAg9EWneSDRiu
1•sonderotis•15m ago•0 comments

Building the Perfect Linux PC with Linus Torvalds [video]

https://www.youtube.com/watch?v=mfv0V1SxbNA
1•ingve•16m ago•0 comments

Patching Pulse Oximeter Firmware

https://stefan-gloor.ch/pulseoximeter-hack
1•stgl•17m ago•0 comments

Show HN: Solarm – a simple iOS sunrise alarm I made to improve waking up

1•nktskr•18m ago•0 comments

Show HN: Unmarker.it – Client-Side Tool to Disrupt Invisible AI Watermarks

https://www.unmarker.it/
2•ing-norante•20m ago•0 comments

Digital Art of Rafaël Rozendaal

https://www.newrafael.com/internet
1•8organicbits•20m ago•0 comments

David Lerner, Mr. Fix-it of Apple Computers and Tekserve co-founder, dies at 72

https://www.nytimes.com/2025/11/26/technology/personaltech/david-lerner-dead.html
2•bookofjoe•21m ago•0 comments

Program-of-Thought Prompting Outperforms Chain-of-Thought by 15%

https://arxiv.org/abs/2211.12588
1•mkagenius•22m ago•0 comments

Teens build pop-up arcade in Japan [video]

https://www.youtube.com/watch?v=kkbf092Los0
2•Charmunk•22m ago•1 comments

Confidential Compute Open Network

https://cocoon.org
1•jeudesprits•29m ago•0 comments

NixOS 25.11 Released

https://nixos.org/blog/announcements/2025/nixos-2511/
13•trulyrandom•35m ago•0 comments

DEP-18: A proposal for Git-based collaboration in Debian

https://optimizedbyotto.com/post/debian-collaboration-on-git/
1•ottoke•38m ago•1 comments

Don't push AI down our throats

https://gpt3experiments.substack.com/p/dont-push-ai-down-our-throats
42•nutanc•40m ago•20 comments

X's move to show users' location is a great step toward online transparency

https://www.washingtonpost.com/opinions/2025/11/25/elon-musk-x-location-democracy/
5•bookofjoe•40m ago•4 comments

Global Stock Leaderboards Are Ruled by Europe in Rare Dominance

https://www.bloomberg.com/news/articles/2025-11-30/global-stock-leaderboards-are-ruled-by-europe-...
2•layer8•41m ago•1 comments

There is No Quintic Formula [video]

https://www.youtube.com/watch?v=9HIy5dJE-zQ
7•DamnInteresting•41m ago•1 comments

Does 'Laziness' Start in the Brain?

https://www.theguardian.com/books/2025/nov/30/does-laziness-start-in-the-brain-apathy-motivation
8•billybuckwheat•44m ago•1 comments

Extinction rates have *slowed* over the last 100 years

https://royalsocietypublishing.org/doi/10.1098/rspb.2025.1717
2•bilsbie•47m ago•0 comments

The Complete Xbox Ally and Ally X Hands-On Review (Windows vs. Bazzite)

https://boilingsteam.com/complete-xbox-ally-and-ally-x-hands-on-review/
2•ekianjo•48m ago•0 comments

Show HN: I Built Tinyfocus – A Minimal Tool to Help Solo Founders Focus

https://www.tinyfoc.us/landing
2•arlindb•51m ago•0 comments

47.2M Developers Worldwide: Global Trends for 2025

https://www.slashdata.co/post/global-developer-population-trends-2025-how-many-developers-are-there
2•birdculture•55m ago•0 comments

Recent study: typical statins do cause muscle discomfort

https://www.nature.com/articles/s41467-025-66522-0
2•hereme888•56m ago•1 comments

Max Verstappen beats Piastri to take F1 title race to Abu Dhabi GP

https://www.theguardian.com/sport/2025/nov/30/max-verstappen-beats-piastri-to-take-f1-title-race-...
2•tosh•57m ago•0 comments