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

Lenovo's new Android tablets get 7 years of updates, flagship chips, 4K displays

https://9to5google.com/2026/09/03/lenovo-yoga-tab-gen-2-release-specs-updates/
1•theanonymousone•21s ago•0 comments

I made 3Dfx Voodoo2 work on a modern PC

https://www.jamesfmackenzie.com/2026/08/30/voodoo-2-on-a-modern-pc/
1•speckx•47s ago•0 comments

Language model watermarks degrade unevenly across different linguistic families

https://theprimary.com/ai-tech/2026-08-28/language-model-watermarks-linguistic-families
1•Anon84•1m ago•0 comments

TCL sues Samsung, alleging false advertising of 'Mini LED' TVs

https://www.flatpanelshd.com/news.php?subaction=showfull&id=1788422454
1•ledoge•3m ago•0 comments

It's 2026 and ChatGPT still fails

1•sehw•4m ago•0 comments

Mysterious island appears and then disappears in Canada [video]

https://www.youtube.com/watch?v=WNRm9-DuiOs
1•mdp2021•4m ago•0 comments

Show HN: AirLune - A focus timer built around virtual flights

https://airlune.space
1•ayazxel•5m ago•0 comments

U.S. auto companies call for ban on Chinese-made cars

https://thehill.com/policy/transportation/6070614-auto-companies-congress-letter-chinese-car-ban/
1•smurda•7m ago•1 comments

Principles of Memory Management in Java [video]

https://www.youtube.com/watch?v=xr73mR7ii9M
2•za3faran•8m ago•0 comments

Is there any way to contribute to nitter and xcancel's legal fights?

4•orange999•9m ago•0 comments

Show HN: Open-Source eInk Bike Computer

https://opentrailpaper.com
2•stingrae•9m ago•0 comments

Preoptic Neurons That Control Entry into Hibernation

https://www.biorxiv.org/content/10.64898/2025.12.05.692394v4
2•wjSgoWPm5bWAhXB•10m ago•0 comments

Squeezing Performance Out of eBPF

https://bitbison.io/blog/ebpf-performance/
2•sbahra•10m ago•0 comments

Georgi Gerganov on llama.cpp/ggml future after Nvidia acquisition of HuggingFace

https://twitter.com/ggerganov/status/2095897173376618881
4•theanonymousone•15m ago•0 comments

Show HN: NationalDex • minimal open-source Pokédex

https://www.nationaldex.app
1•linesofcode•15m ago•0 comments

UK residents warned to stock up on food due to El Niño

https://www.bbc.co.uk/news/articles/cp931m8n3p5o
2•sarreph•16m ago•1 comments

Typeof Is Lying to You

https://blog.gaborkoos.com/posts/2026-09-04-Your-typeof-Is-Lying-to-You/
1•theanonymousone•17m ago•0 comments

Stop Thinking of LLMs as Next-Token Predictors

https://gmcgoldr.github.io/2026/09/04/llm-next-token-predictors.html
2•garrinm•18m ago•0 comments

Software Is Beginning to Act

https://keydris.com/thesis
1•Osman_728•18m ago•0 comments

Building Meta-AST: Sub-Millisecond Incremental Polyglot Static Analysis in Rust

https://k5602.github.io/#/blog/meta-ast-polyglot-static-analysis
3•viferga•20m ago•0 comments

Jj Jobhunter

https://jj-jobhunter.de
1•guychristiankam•20m ago•0 comments

Is AI ruining my brain?

https://thoughtbot.com/blog/is-ai-ruining-my-brain
1•speckx•21m ago•0 comments

Time Use: King's College vs. Whitman

https://countingfromzero.blog/2026/08/27/time-use-kings-college-vs-whitman/
2•mooreds•23m ago•0 comments

The Download: selling battlefield drone data and AI reshaping language

https://www.technologyreview.com/2026/09/04/1143457/the-download-ukraine-selling-drone-data-ai-re...
3•joozio•26m ago•1 comments

Ringbinder – Lowkey Best Tool for Personal Docs

https://max.engineer/ringbinder
2•hakunin•26m ago•0 comments

Show HN: Ephemerals – Disposable Cloud Dev Environments

https://ephemerals.dev/
3•ishener•27m ago•0 comments

AI Investment and Semiconductor Prices

https://fredblog.stlouisfed.org/2026/06/ai-investment-and-semiconductor-prices/
2•latentframe•28m ago•0 comments

Chromium full chain found by XBOW

https://twitter.com/Xbow/status/2095220385876742456
4•StrauXX•28m ago•0 comments

Blockchain Wishing Well

https://dropasol.com
3•Fallout_cz•28m ago•0 comments

I built free tools that turn sales call notes into proposals

https://inkdraft.io
2•janishd•30m ago•0 comments