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

Doomsday: Friday, 13 November, A.D. 2026

https://www.science.org/doi/10.1126/science.132.3436.1291
1•fodmap•15s ago•0 comments

Categorization and Language Interfere with Normativity and Perception of Reality

https://tidsskrift.dk/lev/article/view/167528/208568
1•bryanrasmussen•39s ago•1 comments

How integers should work (in systems programming languages)

https://blog.regehr.org/archives/642
1•fanf2•6m ago•0 comments

Should engineering leaders still code?

https://rizwaniqbal.com/posts/engineering-leadership-and-coding/
1•riz1•8m ago•0 comments

Who Is AI Native Foundation (AINF)?

https://ainativefoundation.org/who-we-are/
1•Bluestein•9m ago•0 comments

Warming Stripes Screensaver

https://karaman.is/blog/2026/10/stripes-screensaver
1•giuliomagnifico•11m ago•0 comments

Show HN: Deepswapp Browser: browser the browser with another browser

https://deepswapp.com
1•pancsta•13m ago•0 comments

Ollama adds local text-to-speech, 100x faster than real time on Apple Silicon

https://ollama.com/blog/speech-models
1•abdullahalharir•14m ago•0 comments

Series of Tubes – Build the Internet, One Tube at a Time

https://seriesoftub.es/
1•phineyes•15m ago•0 comments

Show HN: Rewrite, a free editor that rewrites text and edits Word, LaTeX and PDF

https://samratduttaofficial.github.io/Rewrite/
1•TheDutta•16m ago•0 comments

Aivs – The AI Video Studio

https://yapern.com/blog/aivs-the-ai-video-studio/
1•andrewfromx•16m ago•0 comments

Rada – A safe harbor for your files (terminal file manager in Rust)

https://github.com/FormikaDesk/rada-fm
1•Alessandro4694•21m ago•0 comments

A Brave New World (Of AI)

https://shahruk.com/blog/2026-10-22-brave-new-world/
1•Shahruk•23m ago•0 comments

Requests, Please

https://morronel.github.io/requests_please/
1•sysoleg•25m ago•0 comments

Researchers Pinpoint the Exact Location of First Ever Photo of a Human

https://petapixel.com/2026/10/22/researchers-pinpoint-the-exact-location-of-first-ever-photo-of-a...
1•asphodele•27m ago•0 comments

Building DuckDB's Community Extensions, Faster and More Consistently

https://query.farm/blog/duckdb-community-extensions-distribution/
1•vpmadd52huq•28m ago•0 comments

Sequential Diagnosis with Language Models

https://www.science.org/doi/10.1126/science.aeh7930
1•pingou•28m ago•0 comments

What If My Mum Can Build It Too?

https://justincampbellplatt.com/blog/personal-software
1•moodmanipulator•30m ago•1 comments

Increasing transparency and trust in language models with OLMoTrace

https://allenai.org/blog/olmotrace
1•Bluestein•30m ago•1 comments

I don't know if this page explains why the product exists

https://durabl.dev
1•andrecasal•31m ago•1 comments

What an agentic SDLC needs beyond coding assistants

1•joshua_dyson•31m ago•0 comments

Two AI Chipmakers Make Up 34% of America's Earnings Boom

https://www.wsj.com/finance/stocks/the-earnings-boom-is-heavily-reliant-on-just-a-handful-of-stoc...
1•thm•31m ago•0 comments

Owners of Elvis Presley's Music Sue Anthropic for Copyright Infringement

https://www.nytimes.com/2026/10/25/arts/music/anthropic-lawsuit-elvis-presley-songs.html
1•thm•32m ago•0 comments

SpaceX closed $40B in GPU debt, debt markets shut off credit for AI datacenters

https://www.techmeme.com/261025/p11#a261025p11
1•Risse•34m ago•0 comments

Scaling Unbounded N-Gram Language Models to a Trillion Tokens

https://infini-gram.io/
1•Bluestein•36m ago•0 comments

Nintendo legend reveals Super Mario Bros.' best innovation, and it's surprising

https://www.polygon.com/nintendo-super-mario-japan-award-biggest-series-innovation/
1•Michelangelo11•38m ago•0 comments

Show HN: Load-lock, a machine-wide semaphore for parallel AI coding agents

https://github.com/aron98/load-lock
1•erdelyia•40m ago•0 comments

Show HN: QueryForge – Natural language to validated database queries

https://queryforge-service.amtry.in/
1•awsaman2•47m ago•0 comments

What happens to old AI GPUs?

https://rcrtech.com/semiconductor-news/what-happens-to-old-ai-gpus/
1•theanonymousone•47m ago•0 comments

Func Prog Conf 2026

https://jmglov.net/blog/2026-10-25-func-prog-conf-2026.html
1•gsky•47m ago•0 comments