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

Real-Time Self-Assembly of Artificial Constructions in mRNA Products

https://www.researchgate.net/publication/382358701_Real-Time_Self-Assembly_of_Stereomicroscopical...
2•blumomo•1m ago•0 comments

Veritasium – why he still gets views [video]

https://www.youtube.com/watch?v=QHhJ8_TJeNo
1•Gualdrapo•2m ago•0 comments

Typepad: An AI Writing Copilot

https://typepad.cc/
1•djxjxjcjcjc•2m ago•0 comments

Verse – functional logic programming in Unreal Engine 6 [video]

https://www.youtube.com/watch?v=ebqKYLKjL6U
1•modinfo•4m ago•0 comments

Paramount Agrees to Pause Its Warner Bros. Merger

https://www.wsj.com/business/media/paramount-agrees-to-pause-its-warner-bros-merger-88ae1de1
1•JumpCrisscross•5m ago•1 comments

Outbreak of diarrhea-causing parasite expands to 4 more states

https://ktla.com/news/nationworld/outbreak-of-diarrhea-causing-parasite-expands-to-4-more-states/
1•Bender•5m ago•0 comments

One ChatGPT link could smuggle a rogue AI agent into your company

https://www.theregister.com/security/2026/07/23/one-chatgpt-link-could-smuggle-a-rogue-ai-agent-i...
1•Bender•6m ago•0 comments

Europol flags 4,340 'horrific' URLs linked to The Com

https://www.theregister.com/cyber-crime/2026/07/24/europol-flags-4340-horrific-urls-linked-to-the...
2•ilreb•8m ago•0 comments

Canadian legislator's speech features telltale signs of LLM prompting

https://arstechnica.com/ai/2026/07/canadian-legislator-reads-out-apparent-llm-response-in-floor-s...
1•vok•8m ago•0 comments

Monumental solar observatory in New Mexico

https://www.nytimes.com/2026/07/22/arts/design/charles-ross-star-axis-land-art.html
2•ragall•9m ago•1 comments

Jimothy's Sandwich Stacker

https://fameboy.net/games/sandwich
1•djxjxjcjcjc•10m ago•0 comments

How to Regain the Lost Focus?

1•gabrycina•12m ago•0 comments

The Space Data Centers Situation Is Insane

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

Waymo explores split with Uber as robotaxi tensions deepen

https://www.ft.com/content/9dcb5d72-13aa-4f9c-ac6d-e022860df5ea
1•JumpCrisscross•12m ago•0 comments

Orbital data centers, yes or no?

https://www.youtube.com/watch?v=JAcR7kqOb3o
1•Arodex•13m ago•1 comments

State of the art research publication search

https://demos.exa.ai/scholar
1•shibo•14m ago•0 comments

Network expert Glenn Fiedler warns game devs to fix game vulnerabilities with AI

https://gamesbeat.com/network-expert-glenn-fiedler-warns-game-programmers-to-fix-game-code-vulner...
1•gafferongames•14m ago•0 comments

AI in Linux

https://drewdevault.com/blog/AI-in-Linux/
2•zdw•16m ago•0 comments

Canbus – Networking so simple, even YOU can understand it [video]

https://www.youtube.com/watch?v=QTTCqGtT6I4
2•jval43•17m ago•0 comments

NASA Deep Space ground station in Spain evacuated due to wildfires

https://spaceflightnow.com/2026/07/24/critical-nasa-deep-space-ground-station-in-spain-evacuated-...
1•gonzalohm•19m ago•1 comments

Show HN: SerTerm, a cross-platform, terminal-native serial program

https://github.com/eliachiarucci/SerTerm
2•elia_c•20m ago•0 comments

AI is giving software its quartz moment

https://axiacore.com/blog/ai-is-giving-software-its-quartz-moment-1016/
2•camilonova•25m ago•1 comments

Falsities of LLM Negationists

https://xlii.space/thoughts/falsities-of-llm-negationists/
3•xlii•34m ago•1 comments

Paramount agrees to pause $110B Warner Bros merger as case plays out

https://www.theguardian.com/us-news/2026/jul/24/paramount-warner-bros-merger
2•mellosouls•34m ago•0 comments

Chrrpt 5.0: the ONLY Free Messaging App in the world the USCloudAct can't touch

https://chrrpt.app/
2•zedlasso•35m ago•1 comments

PostgreSQL Extension Catalog

https://pgext.cloud/
3•craigkerstiens•35m ago•0 comments

Trump vows to investigate EU over fining of US tech companies

https://www.bbc.com/news/articles/cvgjenp4680o
6•murderfs•39m ago•0 comments

Am I in the Stack?

https://huggingface.co/spaces/HuggingFaceCode/in-the-stack
5•tardibear•40m ago•0 comments

6am News

https://6am-news.com
2•mastro35•40m ago•2 comments

Uncle Sam tells overseas cybercrooks their visas are canceled

https://www.theregister.com/security/2026/07/24/uncle-sam-tells-overseas-cybercrooks-their-visas-...
2•Bender•41m ago•0 comments