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

Show HN: Watch Wikipedia being edited live on a 3D globe

https://theplanetthinks.com/
1•alekcac•46s ago•0 comments

Show HN: A sandbox for running real jailbreak techniques against local LLMs

https://github.com/joshfischer1108/jailbreak-lab
1•joshfischer1108•2m ago•0 comments

GTFO VR Postmortem

https://dsprtn.dev/posts/GTFO-VR-Postmortem/
1•jhartikainen•3m ago•0 comments

Proposal for universal AI ethics standard against country censorship

https://www.omrajguru.com/writings/aistandard
1•omrajguru•3m ago•0 comments

Spine – a knowledge graph of your repo, in 7 languages, that feeds an agent

https://github.com/synaptixs/spine
1•Falconsol13•3m ago•0 comments

Show HN: I made a Strava for logging degen trades on WSB

https://topyolo.com/
1•dignaga69•3m ago•0 comments

Show HN: Sokkan – my Claude Code sessions kept forgetting, so I gave them memory

https://sokkan.ch
1•micaudn•4m ago•0 comments

Real Money, Fake Models: Deceptive Model Claims in Shadow APIs

https://arxiv.org/abs/2603.01919
1•sysoleg•5m ago•0 comments

Show HN:Math Grid – Japan's 100-square math drill (hyakumasu keisan)

https://apps.apple.com/ca/app/math-grid-100-squares/id6779562830
1•emile_labs•9m ago•0 comments

Cutting China reliance would cost the West $23T, research suggests

https://www.ft.com/content/c6c1f5a5-3332-471b-87d5-253e03f8b90a
1•giuliomagnifico•12m ago•1 comments

Gofi – go tooling for Ubiquiti Unifi gear

https://github.com/emergingrobotics/gofi
1•gherlein•12m ago•0 comments

Ampere, open-source battery charge control for Apple Silicon Macs

https://amperebattery.app/
1•elgs•13m ago•1 comments

Recognition of unfamiliar predators in horses through only visual predator cues

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0349298
2•bookofjoe•13m ago•0 comments

Humans evolved to be twice as big as our ancestors

https://www.newscientist.com/article/2533221-how-humans-evolved-to-be-twice-as-big-as-our-ancestors/
2•ike_usawa•14m ago•0 comments

Neglected software update caused widespread Telstra network outage

https://www.theguardian.com/business/2026/jul/17/telstra-missing-software-update-undocumented-des...
1•prawn•15m ago•0 comments

Get notified about open slots at campgrounds / huts / cabins all over the world

https://getcabinfever.com/en/last-minute
1•felixdoerp•15m ago•0 comments

50 vs. 60 Hz and Alzheimer's Disease, an AI Exploration

https://github.com/mankins/50Hz-vs-60Hz-Alzheimers
1•mankins•16m ago•0 comments

Should AI usage be explicitly disclosed in movies and TV shows?

https://www.unite.ai/should-ai-usage-be-explicitly-disclosed-in-movies-and-tv-shows/
1•50kIters•17m ago•0 comments

Value, quality or growth: three investing philosophies based on 12 years of data

https://aito.ai/blog/value-quality-or-growth-who-was-right/
1•arauhala•17m ago•0 comments

Zero Weights Deterministic Graph Language Model (MSE-GLM)

https://tonlexianert.com/pages/blog.php
1•clifffodokidza•21m ago•0 comments

Ask HN: Best courses/resources to learn SEO?

1•danilovilhena•22m ago•0 comments

Why AI Infrastructure Is Becoming More Important Than AI Models

https://geekyants.com/blog/self-healing-ai-agents-the-future-of-enterprise-automation-needs-gover...
2•maria46•24m ago•0 comments

Blatant AI slop just won a 25k USD DeepMind Kaggle Grand Prize

https://www.kaggle.com/competitions/kaggle-measuring-agi/discussion/724918#3498423
58•twerkmeister•26m ago•8 comments

Show HN: Tiny and CSP-safe expression language for JavaScript

https://github.com/robinvdvleuten/xprsn
1•robinvdvleuten•29m ago•0 comments

Windows XP Simulation by Kimi K3

https://windows-xp.kimi.site/
2•uneven9434•32m ago•0 comments

Ask HN: Whats the worst site that you have encountered for accessibility?

3•a11ymaster•33m ago•1 comments

Get your FREE custom Email

https://bottled.email
2•Spark88•41m ago•2 comments

EU to 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•goplayoutside•52m ago•1 comments

Show HN: Vulnsy – A platform for vulnerability management and reporting

https://www.vulnsy.com
1•MrTurvey•54m ago•0 comments

Now, even Russia's most elite hackers are using Clickfix to infect devices

https://arstechnica.com/security/2026/07/now-even-russias-most-elite-hackers-are-using-clickfix-t...
3•joozio•55m ago•0 comments