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

Knowing When User Feedback Can Backfire

https://journals.aom.org/doi/10.5465/amj.2024.0178.summary
1•rustoo•17s ago•0 comments

Parsing compressed JSON at 40 GB/s

https://lemire.me/blog/2026/10/01/parsing-compressed-json-at-40-gb-s/
1•mfiguiere•44s ago•0 comments

When AI Agents Break In, Governments Shouldn't Be Stuck with the Cleanup

https://www.techpolicy.press/when-ai-agents-break-in-governments-shouldnt-be-stuck-with-the-cleanup/
1•hn_acker•44s ago•0 comments

Stanislas: What if AI had been imagined back in 1984?

https://maicintosh.eu
1•AlCavi•54s ago•1 comments

JEP 545: Faster Startup and Warmup with ZGC

https://openjdk.org/jeps/545
1•0x54MUR41•1m ago•0 comments

Amazon's delivery driver smart glasses will take photos 'almost constantly'

https://www.theverge.com/tech/1002766/amazon-delivery-driver-smart-glasses-privacy
1•pavel_lishin•1m ago•0 comments

Amazon introduces a redesigned Kindle family

https://www.aboutamazon.com/news/devices/new-kindle-lineup-2026
1•seam_carver•1m ago•0 comments

Trump Personifies the Basic Laws of Human Stupidity

https://newrepublic.com/article/215721/trump-basic-laws-human-stupidity-carlo-cipolla
1•hkhn•1m ago•0 comments

LLMs helped me rediscover my love of math

https://ezzeriesa.notion.site/LLMs-helped-me-rediscover-my-love-of-math-3e61308b42048020bdfefc664...
1•kurinikku•1m ago•0 comments

Show HN: ChaosData – Chaotic data that fits your schema

https://chaosdata.net/
1•blamarvt•3m ago•0 comments

Stop Prompting, Start Swiping

https://python-visuals.com/box
1•JoyboyTheo•3m ago•1 comments

Cheers at Angola

https://www.metanoia-research.com/dispatch-006-cheers-at-angola/
1•metanoia_•4m ago•0 comments

Across the Globe, People Increasingly Say Social Media Is Harming Democracy

https://www.pewresearch.org/global/2026/10/01/across-the-globe-people-increasingly-say-social-med...
1•hn_acker•5m ago•0 comments

Teaching a Robot Three-Point Turn

https://www.atirobotics.ai/resources/blogs/teaching-a-three-point-turn/
1•prometheus1992•5m ago•0 comments

Pre-Emptive Commit Messages

https://arialdomartini.github.io/pre-emptive-commit-comments
1•ravenical•5m ago•0 comments

Frog and Toad and the Increasingly Capable Machines

https://www.frogandtoad.ai/
1•vinhnx•5m ago•0 comments

Leading Democrat asks AI firms for data on any Chinese access to sensitive code

https://www.reuters.com/legal/litigation/leading-democrat-asks-ai-firms-data-any-chinese-access-s...
1•tartoran•6m ago•0 comments

Show HN: SVPN News – Tracks high-engagement news, filters noise

https://news.svpn.com/news
1•svpn•6m ago•0 comments

Engineering Animals to Grow Human Organs – But Not Human Minds

https://undark.org/2026/09/25/brain-trust-human-animal-chimeras/
1•speckx•6m ago•0 comments

Russians Were Using the Chinese Remainder Theorem a Century Before Gauss Proved

https://valeman.medium.com/russians-were-using-the-chinese-remainder-theorem-a-century-before-gau...
1•ibobev•6m ago•0 comments

Show HN: I rebuilt Google Map's Pac-Man for my 5-year-old son

https://github.com/bear0330/pacman-on-map
1•bear330•6m ago•0 comments

Most Code Should Be Boring

https://dayvster.com/blog/most-code-should-be-boring/
1•ibobev•6m ago•0 comments

Trump's 'Morally Binding' New AI Guardrails Are Meaningless Pudding

https://www.techdirt.com/2026/10/01/trumps-morally-binding-new-ai-guardrails-are-meaningless-pudd...
1•hn_acker•7m ago•1 comments

A Rant About Claude Code's Auto-Memory

https://elliotmilco.substack.com/p/claude-auto-memory
1•RGS1811•7m ago•0 comments

A Visual Intro to Complex Numbers

https://photonlines.substack.com/p/a-visual-intro-to-complex-numbers
2•photon_lines•7m ago•0 comments

Django-moder-rest 0.16.0 release

1•sobolevn•7m ago•0 comments

Zpres: Presentations from Text

https://zayenz.se/blog/post/zpres-0-1-0/
1•ibobev•7m ago•0 comments

We Moved Pax ERP Off AWS

https://www.paxerp.com/blog/we-moved-pax-erp-off-aws
1•robeym•11m ago•0 comments

Show HN: Tegaki – Handwriting animation for any font

https://tegaki.ink/
1•gkurt•11m ago•0 comments

A Simple, Ordinary Domestic Failure

https://cinemasojourns.com/2026/10/01/a-simple-ordinary-domestic-failure/
1•jjgreen•12m ago•0 comments