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

Facebook Is Down

https://www.facebook.com/
1•eric_khun•18s ago•0 comments

Show HN: Shikigami, run AI coding agents in parallel, each in a Git worktree

https://shikigami.dev/
1•igor_nast•3m ago•0 comments

Half a Second – a book about the XZ backdoor

https://www.half-second.com/
1•zvr•3m ago•0 comments

Moon Phase Clock – Realistic, Full Screen

https://medium.com/@thesuperrepemail/moon-phase-clock-with-full-screen-mode-1a1e230fa710
2•mssblogs•4m ago•0 comments

Boys' ADHD symptoms linked to addictive social media use in new study

https://www.msn.com/en-us/health/other/boys-adhd-symptoms-linked-to-addictive-social-media-use-in...
1•jnord•4m ago•0 comments

Qwen3.8 is launching and going open-weight soon

https://twitter.com/Alibaba_Qwen/status/2078759124914098291
7•nh43215rgb•7m ago•0 comments

More emulation goodness, an Intel Itanium (IA-64) emulator that boots Windows

https://raymii.org/s/blog/Intel_Itanium_IA-64-Emulator_that_boots_Windows.html
1•jandeboevrie•14m ago•0 comments

Victora proposes new laws to target big tech and online trolls

https://www.abc.net.au/news/2026-07-19/victoria-social-media-big-tech-laws/106932668
1•aragilar•17m ago•0 comments

Anthropic runs large-scale code migrations with Claude Code

https://claude.com/blog/ai-code-migration
1•vinhnx•20m ago•0 comments

Ask HN: Is anyone else facing login issues on Facebook?

2•wasi0013•22m ago•2 comments

Protester calls out Amazon CTO for allowing Israel to use their AI towards Gaza

https://www.reddit.com/r/chaoticgood/s/4Pla2e38AV
2•trymas•22m ago•0 comments

Where I erred in my original post about Kimi and my views on open-weight AI

https://twitter.com/deanwball/status/2078619513575137330
2•tosh•22m ago•1 comments

When China's open-source AI is a trap

https://www.economist.com/international/2026/07/14/when-chinas-open-source-ai-is-a-trap
3•chvid•25m ago•1 comments

LG Monitors Caught Installing Adware and App with Access to All System Resources

https://www.privacyguides.org/news/2026/07/17/lg-monitors-caught-installing-adware-and-app-with-a...
3•taubek•25m ago•0 comments

DeepSeek routes your request to Fable5

https://twitter.com/synthwavedd/status/2078514339552628880
2•lijialjun•26m ago•1 comments

Refs: Mutable Arrays in jax

https://docs.jax.dev/en/latest/array_refs.html
1•cl3misch•26m ago•0 comments

We Merged with Machines a Long Time Ago – Futurology and Berggruen Institute [video]

https://www.youtube.com/watch?v=tDccIoz-SFI
1•lioeters•27m ago•0 comments

All the Cool Kids Are Birding

https://www.theatlantic.com/health/2026/07/birding-millennials-genz/687910/
1•ep_jhu•30m ago•0 comments

Show HN: OfflineTTS — Free browser-based TTS & STT that runs locally

https://offlinetts.com/
2•twainyoung•30m ago•0 comments

How to Start a Successful Freelance Business as a Software Developer (2017)

https://nickjanetakis.com/blog/how-to-start-a-successful-freelance-business-as-a-software-developer
1•downbad_•33m ago•1 comments

Sue (Dinosaur)

https://en.wikipedia.org/wiki/Sue_(dinosaur)
1•thunderbong•40m ago•0 comments

Mirror your GitHub repos to tangled.org automatically

https://synchub.to/
2•wertyk•45m ago•0 comments

The Mighty Big Array of Finn Jensen LA8YB

https://la0by.darc.de/LA8YB_EME_MBA.htm
1•kalehmann•46m ago•0 comments

Facebook Down

https://downdetector.co.uk/status/facebook/
8•RupertWiser•48m ago•1 comments

Perforce charges $500 for training training videos.. and it's AI narrated

https://training.perforce.com/learn/courses/535/p4-helix-core-user-basic
3•TZubiri•51m ago•1 comments

Ask HN: Are you building agents? What do they need access to?

1•asim•52m ago•1 comments

Ollama: All Aboard Open Models

https://ollama.com/blog/all-aboard-open-models
2•inferhaven•52m ago•0 comments

Wolfram LLM Benchmarking Project

https://www.wolfram.com/llm-benchmarking-project/
1•rzk•53m ago•0 comments

Breeze – A High-Performance Go Web Framework with a Built-In Developer Dashboard

https://github.com/nelthaarion/breeze
1•ethanwinters•55m ago•1 comments

The Model Race Hangover

https://adlrocha.substack.com/p/adlrocha-the-model-race-hangover
1•adlrocha•55m ago•0 comments