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

Microsoft Gives Apple Something to Think About – Surface Laptop Ultra Teardown [video]

https://www.youtube.com/watch?v=tXn8MMaRhVU
1•Udo_Schmitz•57s ago•0 comments

Deirdre McDermott Obituary

https://www.theguardian.com/books/2026/nov/03/deirdre-mcdermott-obituary
1•petethomas•2m ago•0 comments

Show HN: Spooler – a simple, managed message queue

https://spooler.sh/
1•gobwas•3m ago•0 comments

Shotgun – Terminal Batch Web Search

https://bweller.me/terminal-batch-web-search/
1•bweller•4m ago•0 comments

Leave a comment if you need a product demo video then I will make one for you

1•loveTech•4m ago•0 comments

Humans accidentally canceled the next Ice Age, scientists say – CNN

https://www.cnn.com/2026/10/29/climate/how-humans-halted-the-next-ice-age
2•bilsbie•5m ago•0 comments

Hinted Scaling Laws

https://arxiv.org/abs/2611.02270
1•matt_d•6m ago•0 comments

Aito vehicles' manufacturer Seres patents hidden in-car toilet design

https://carnewschina.com/2026/04/14/aito-vehicles-manufacturer-seres-patents-hidden-in-car-toilet...
1•mtmail•6m ago•0 comments

Enclave Gateway – CLI, SSH, SOCKS5 and MCP over RDP-Only Bastions

https://github.com/pom6i4/enclave-gateway
1•pom6i4•12m ago•0 comments

AMD Beats Wall Street Expectations as It Pivots to Data-Center First Status

https://www.wsj.com/business/earnings/advancedmicrodevices-amd-thirdquarter-earnings-report-2026-...
1•JumpCrisscross•12m ago•0 comments

AI 'godfather' Hinton: humans might have been better off without AI

https://www.theguardian.com/uk-news/2026/nov/03/ai-godfather-geoffrey-hinton-better-off-without-ai
2•entryleveljobsc•12m ago•1 comments

Bombshell: New Climate Study Shows Zero Carbon Impact on Warming

https://principia-scientific.com/bombshell-new-climate-study-shows-zero-carbon-impact-on-warming/
2•bilsbie•15m ago•1 comments

Prompting Is Programming

https://www.brethorsting.com/blog/2026/11/prompting-is-programming/
2•aaronbrethorst•17m ago•0 comments

Online reviews favor e-bikes sold online. Bike-shop e-bikes barely get reviewed

https://www.bettascore.ai/research/online-vs-bike-shop-ebikes
1•starwxchen1•19m ago•0 comments

MailBoy Send API Requests

https://github.com/alainnothere/mailBoy
2•xlayn•19m ago•1 comments

Gnutonium – Modern Gnutella Client for the Terminal (2026)

https://github.com/gnutonium/gnutonium
1•rickcarlino•20m ago•0 comments

Show HN: Modelpeers – a changelog for the AI models and agents you use

https://modelpeers.com
2•liorgrossman•20m ago•0 comments

Trump Accounts to Get SpaceX Shares from Shotwell in December

https://www.cnbc.com/2026/11/02/trump-accounts-spacex-shares-shotwell.html
4•bilsbie•24m ago•1 comments

What readers are reading: the 2026 US midterms

https://www.parse.ly/midterms-2026/
1•alexose•24m ago•1 comments

Physicists step closer to the 'Zeptoverse' after 42-year particle search

https://www.manchester.ac.uk/about/news/manchester-physicists-step-closer-to-the-zeptoverse-after...
2•geox•24m ago•0 comments

Show HN: RotateAd – A permanent web directory and banner exchange

https://rotate.ad/
1•irfanhasnani•26m ago•0 comments

Canva CEO's letter to staff: Major restructuring affecting 22% of employees

https://www.canva.com/newsroom/news/canva-team-update/
2•thedreammachine•26m ago•0 comments

Things I believed about coding agents

https://alonbochman.substack.com/p/seven-things-i-believed-about-coding
1•mooreds•27m ago•1 comments

Craft CMS 5.12.0: Added an authenticated HTTP MCP server

https://github.com/craftcms/cms/releases/tag/5.12.0
2•ashenke•28m ago•0 comments

Canva is announcing changes and layoffs affecting 22 percent of its staff

https://www.theverge.com/tech/1025971/canva-changes-layoffs
5•gbourne•28m ago•0 comments

The Netflix Crisis Isn't What It Seems [video]

https://www.theringer.com/podcasts/plain-english-with-derek-thompson/2026/10/30/the-netflix-crisi...
1•mooreds•29m ago•0 comments

Kitty 0.50.0

https://sw.kovidgoyal.net/kitty/changelog/#id1
4•birdculture•30m ago•0 comments

What a Compromised VS Code Extension Could Do Before You Write a Line of Code

https://octri.dev/blog/compromised-vs-code-extension
1•khalidkhair•31m ago•0 comments

EPSS versus CISA KEV on 204 exploited CVEs. And why CISA unusually won

https://www.handsomeboyscomputer.club/log/rappaport-2/
2•kravmaga999•31m ago•0 comments

Show HN: Export your Character.AI chats in minutes – open-source, runs locally

https://github.com/anima-universe/character-ai-chat-exporter
1•Amavie•32m ago•0 comments