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

Coding agent for local models on a Mac

https://mlx-optiq.com/blog/optiq-code
1•codelion•16s ago•0 comments

Show HN: Q3Edit – Edit and play Quake 3 maps in the browser

https://q3edit.com
1•drdator•2m ago•0 comments

OpenAI's Sol Learned Design Taste

https://notes.designarena.ai/how-openais-sol-finally-learned-design-taste/
1•gmays•4m ago•0 comments

British runner Josh Kerr breaks world record for mile which stood for 27 years

https://news.sky.com/story/british-runner-josh-kerr-breaks-world-record-for-mile-which-had-stood-...
1•austinallegro•6m ago•0 comments

Build: Mobile-First AI Creation on Roblox

https://about.roblox.com/newsroom/2026/07/build-without-limits-on-roblox
1•nyku•7m ago•0 comments

British runner Josh Kerr breaks 27-year-old world record in the mile

https://www.runnersworld.com/news/a73175937/josh-kerr-breaks-mile-world-record/
1•rappatic•8m ago•0 comments

A Simple P/E Valuation Model that Works

https://www.safalniveshak.com/simple-pe-valuation-model/
1•akbarnama•9m ago•0 comments

Show HN: Teya – Open‑source AI family agent on a wall‑mounted Android phone

https://github.com/adgapar/teya
1•AdiletGaparov•10m ago•0 comments

I tested Gisia against real-world .gitlab-ci.yml files – it just works

1•okoddcat•11m ago•0 comments

Tract Postmortem (2025)

https://buildwithtract.com/
1•dukeyukey•16m ago•0 comments

The scientific case for eating more bones

https://www.nationalgeographic.com/health/article/eating-bones-nutrition-health
1•YeGoblynQueenne•19m ago•0 comments

EU will force Google to share search data and open up AI on Android

https://arstechnica.com/gadgets/2026/07/its-official-eu-will-force-google-to-share-search-data-an...
4•akyuu•19m ago•1 comments

DBUF Encoding and Protocol

https://github.com/bintoca/dbuf
1•pierogitus•20m ago•0 comments

Terminal Bean Soup

https://blog.davep.org/2026/07/17/terminal-bean-soup.html
1•lemonberry•21m ago•0 comments

Reasonably Isolated NixOS Desktop MicroVM Framework

https://github.com/vicondoa/d2b
3•tour2026•22m ago•0 comments

Panchanga Tantra: The Magic of the Indic Calendar System

https://aksh.ai/posts/panchanga-tantra/panchanga_tantra.html
1•lioeters•25m ago•0 comments

I procrastinated so hard I built a proxy to stop myself from procrastinating

1•thisislorenzov•26m ago•0 comments

The case for eating more organ meat

https://www.nationalgeographic.com/health/article/offal-organ-meat-nutrition-health
3•YeGoblynQueenne•28m ago•2 comments

Show HN: TPU-accelerated quantum circuit simulation in Jax

https://github.com/AshiteshSingh/Tpu-Accelerated-Quantum-JAX
1•ashitesh_12•31m ago•0 comments

Basaltlabs Monolith-1.0 – #1 on Last Exam, AIME, GPQA Diamond, MMLU-Pro

https://basaltlabs.org/monolith
1•Topfi•32m ago•1 comments

HollowByte DDoS flaw bloats OpenSSL server memory with 11-byte payload

https://www.bleepingcomputer.com/news/security/hollowbyte-ddos-flaw-bloats-openssl-server-memory-...
1•Brajeshwar•35m ago•0 comments

Americans say they need $1.2M to retire comfortably

https://www.cnbc.com/2026/07/15/retirement-savings-goal-1point2-million.html
3•gmays•40m ago•0 comments

What Makes Humans Stupid

https://nautil.us/what-makes-humans-stupid-1282459
3•hoekit•43m ago•0 comments

Show HN: Can You Name the Tune?

https://1000songs.co.uk/#namethattune
1•farnhamancestry•43m ago•0 comments

Google Gemini launch delayed as tech falls short of internal goals

https://www.reuters.com/business/google-gemini-launch-delayed-tech-falls-short-internal-goals-blo...
3•sega_sai•44m ago•1 comments

Show HN: Japan and Korea Parliament Members Archive

https://eastasiainsights.com/
3•cksmct•46m ago•0 comments

Aspirin Shortage in UK

https://www.bbc.com/news/articles/c8d08v77ylro
4•bookofjoe•47m ago•1 comments

Half a Second: a free book on the XZ backdoor and the labor beneath open source

https://www.half-second.com/
2•a_mastronardi•50m ago•0 comments

Social Media Is Overrated

https://medium.com/whatsnextwray/why-social-media-is-overrated-and-what-to-do-instead-079d9b4cd78d
1•raynchad•53m ago•0 comments

World Cup photographer used a 96-year-old camera

https://www.cbc.ca/news/canada/world-cup-photos-camera-9.7272702
2•empressplay•55m ago•0 comments