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: Wealtii – Digital Asset index funds with on-chain 1:1 backed vaults

https://wealtii.com/funds
2•zayd7861•1m ago•0 comments

macOS California Camino

https://basicappleguy.com/basicappleblog/macos-california-adventure
1•herbertl•2m ago•0 comments

PostgreSQL Jsonb vs. MongoDB BSON: The Real Architectural Tradeoffs

https://visualeaf.com/blog/postgresql-jsonb-vs-mongodb-bson-architectural-tradeoffs/
1•amai•3m ago•0 comments

Show HN: I built Exfault, agentic mobile app pentesting tool

https://www.exfault.com/
2•shubh_sidhu•6m ago•0 comments

Swarm intelligence without degradation using two Qwen models

1•kofdai•6m ago•0 comments

Creating a Personalised Bin Calendar

https://alexwlchan.net/2026/bin-calendar/
1•surprisetalk•8m ago•0 comments

Toto: From Toilets to E-Chucks [video]

https://www.youtube.com/watch?v=CIB49e_r1OI
1•lyall•8m ago•0 comments

Show HN: Interactive Calculators Hub

2•StizzurpXDD•10m ago•0 comments

SteamOS now offered with new gaming prebuilt PCs

https://videocardz.com/newz/steamos-now-offered-with-new-gaming-prebuilt-pcs
2•LorenDB•12m ago•0 comments

Browser CLI for Agents

https://github.com/detrin/brow
3•kekqqq•13m ago•0 comments

A playbook to rank #1 of the day on ProductHunt

https://m-ric.com/blog/how-to-get-number-1-on-producthunt/
1•aubanel•14m ago•0 comments

Teaching AI how people work is fraught with problems

https://www.economist.com/business/2026/06/25/teaching-ai-how-people-work-is-fraught-with-problems
1•andsoitis•14m ago•1 comments

MD5 Implemented in Bash

https://www.youtube.com/watch?v=VDQmu6KzDvU
2•HeadlessChild•15m ago•2 comments

Show HN: ZUSE – 69x causal compression of a period-15 CA oscillator

https://github.com/conchaestradamiguelangel-droid/zuse-automat-agent
2•conchaestrada•15m ago•0 comments

Metis Learning – Personal Education Platform

https://metis-learn.io/
2•0xfinney•19m ago•0 comments

DRAM Crisis Until 2028

https://www.techpowerup.com/350343/micron-predicts-dram-crisis-until-at-least-2028
3•mr_fantastic•19m ago•0 comments

CaseHero – their call is recorded, yours isn't

https://apps.apple.com/us/app/casehero/id6757936177
1•root_theory•19m ago•0 comments

Did an experienced alpinist leave his girlfriend to die atop a mountain?

https://www.newyorker.com/magazine/2026/07/06/did-a-climber-leave-his-girlfriend-to-die-at-the-to...
2•bookofjoe•20m ago•2 comments

Is closed source even a moat anymore?

https://www.makerchecker.ai/insights/open-source-is-in-again/
1•smashini•21m ago•0 comments

Atrial Fibrillation

https://en.wikipedia.org/wiki/Atrial_fibrillation
1•efavdb•21m ago•0 comments

Zig and the Zig Guy

https://rosswintle.uk/2026/06/zig-and-the-zig-guy/
2•surprisetalk•23m ago•0 comments

GameBoy Emulator on ESP32 and eInk (M5Stack PaperS3) [video]

https://www.youtube.com/watch?v=oPbOK90aJEo
2•HelloUsername•24m ago•0 comments

Instagram is incorporating users' photos in ads for Mera Glasses

https://twitter.com/i/status/2071277885646868536
16•notRobot•26m ago•0 comments

Universal NT Installer: A Lightweight Linux-Based Installer for Windows NT

https://github.com/ages2001/Universal-NT-Installer
1•LorenDB•27m ago•0 comments

Why Spreading Yourself Thin Feels Like Winning

https://alifeengineered.substack.com/p/why-spreading-yourself-thin-feels
2•speckx•28m ago•0 comments

Reflections on 1,000 Days of Math

https://twitter.com/gabemays/status/2071441859709145563
2•gmays•28m ago•0 comments

Show HN: Create agents that grow to fulfill their purpose

https://github.com/opsyhq/wolli
3•saba-ch•28m ago•0 comments

France records around 1k excess deaths in heatwave

https://www.lemonde.fr/en/france/article/2026/06/28/france-records-around-1-000-excess-deaths-in-...
3•rawgabbit•29m ago•0 comments

Building Principia for Windows XP

https://voxelmanip.se/2026/06/28/building-principia-for-windows-xp/
6•LorenDB•30m ago•1 comments

Show HN: Backtest a futures strategy described in plain English

https://askfutures.com
4•jmulla•30m ago•0 comments