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: go-iroh – iroh compatible networking for Go

https://github.com/tmc/go-iroh
1•traviscline•1m ago•0 comments

Google's New reCAPTCHA Wants Your Camera Access and 21 Points of Your Hand

https://reclaimthenet.org/googles-new-recaptcha-wants-your-camera-access-and-21-points-of-your-hand
1•Cider9986•2m ago•0 comments

Nondelegation and the Unitary Executive [pdf]

https://afj.org/wp-content/uploads/2020/02/Nondelegation-and-the-Unitary-Executive.pdf
1•qwefasg•2m ago•0 comments

Core – Deterministic governance rules for AI-generated code (pip installable)

https://github.com/DariuszNewecki/CORE
1•d_newecki•2m ago•0 comments

Three FOSS projects for developers, procrastinators, and media wranglers

https://www.theregister.com/software/2026/06/26/three-foss-projects-for-developers-procrastinator...
1•rbanffy•5m ago•0 comments

A Good Animation Disappears

https://frigade.com/blog/a-good-animation-disappears
1•pancomplex•6m ago•0 comments

Proxylity: Academic and Non-Profit Program

https://www.proxylity.com/academic
1•mlhpdx•10m ago•0 comments

Ask HN: Should HN Get 2FA?

1•roschdal•11m ago•1 comments

China's first AI-powered cancer vaccine production line set to launch in Beijing

https://www.scmp.com/business/china-business/article/3358689/chinas-first-ai-powered-cancer-vacci...
2•msalsas•11m ago•0 comments

Feedback around "Tech enforcement layer for AI governance"

https://trust-layer-ai.de/
1•YUZHEN200495•12m ago•1 comments

The Next Chapter of PrimeTek

https://primeui.dev/nextchapter
2•nallerooth•13m ago•0 comments

3D necroprinting: Leveraging biotic material as the nozzle for 3D printing

https://www.science.org/doi/10.1126/sciadv.adw9953
2•jacquesm•16m ago•0 comments

Australian ballista spider builds a spring-loaded snare for a single ant species

https://phys.org/news/2026-06-newly-australian-ballista-spider-snare.html
1•wglb•16m ago•1 comments

Magicbookshelf.org – a spoiler-aware companion for public domain classics

https://magicbookshelf.org/
1•philipfweiss•17m ago•0 comments

Show HN: Fleet – a local-first console for managing Dockerized Hermes AI Agents

https://github.com/matt454/agent-fleet-console
1•matt454•17m ago•0 comments

Freedom of Intelligence

https://slack.org/freedom-of-intelligence
2•sixhobbits•17m ago•0 comments

Show HN: Apex Trading Signals – AI commodity trade ideas, free Android beta

https://play.google.com/apps/testing/com.apextradingsignals
1•dmaso191•18m ago•0 comments

Stop Killing the Internet

https://www.stopkillingtheinternet.net/
1•nobody9999•18m ago•0 comments

How AI Is Changing the Way Politicians Run for Office

https://www.nytimes.com/2026/06/29/us/politics/political-campaigns-ai-tech.html
1•m-hodges•19m ago•0 comments

Can Printed 'Skin' Heal Burns and Prevent Scars?

https://www.smithsonianmag.com/innovation/can-printed-skin-heal-burns-and-prevent-scars-180989000/
2•bookofjoe•24m ago•0 comments

An interactive chess social platform (first launch)

https://chesswire.app
1•hardikvora•24m ago•1 comments

Show HN: Clockclear – 12 ephemeral tools that auto-delete

https://us.clockclear.com/
2•annrap1d•26m ago•2 comments

Disposable Chat System

https://nonconfirmed.com/app/chatza/
1•colenikol2•27m ago•0 comments

Solar outproduced coal in April but not on the grid

https://arstechnica.com/science/2026/06/solar-outproduced-coal-in-april-but-not-on-the-grid/
2•Bender•29m ago•0 comments

Perform DFU Restores on Apple Silicon Macs with Macvdmtool (2021)

https://www.bkurtz.io/posts/macvdmtool/
1•gregsadetsky•29m ago•0 comments

Suffocating mega heat dome to engulf 35 states as forecasters issue urgent alert

https://www.dailymail.com/sciencetech/article-15938463/mega-heat-dome-weather-alert.html
4•Bender•30m ago•1 comments

Supreme Court expands Trump's power over the federal bureaucracy

https://www.washingtonpost.com/politics/2026/06/29/supreme-court-expands-trumps-power-over-federa...
2•throw0101a•35m ago•2 comments

Comparison Between ATProto and Tim Berners-Lee's Solid Protocol

https://forum.solidproject.org/t/comparing-solid-to-atproto-pds/9461
1•xeonmc•36m ago•0 comments

Small Penetrator Instrument Concept for the Advancement of Lunar Surface Science

https://iopscience.iop.org/article/10.3847/PSJ/abda4f
1•rbanffy•36m ago•0 comments

Learn X in Y Minutes

https://learnxinyminutes.com/
1•skogstokig•38m ago•0 comments