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

The many multimillion-dollar homes of a professional ratbag

https://www.smh.com.au/national/nsw/the-many-multimillion-dollar-homes-of-a-professional-ratbag-2...
1•Alien1Being•2m ago•0 comments

Big Tech is borrowing like never before

https://startupfortune.com/big-tech-is-borrowing-like-never-before-and-the-fed-just-made-that-a-l...
1•krupan•7m ago•0 comments

Show HN: We post-trained a model that pen tests instead of refusing

https://www.argusred.com/cli
1•dk189•7m ago•0 comments

Show HN: Voice typing on Android with accurate punctuation and code-switching

https://replyvoice.com
1•kedimuzafer•7m ago•0 comments

Show HN: Fosbury – Put ads on autopilot across channels just by dropping a URL

https://www.fosbury.ai/
1•YarivAshkenazy•8m ago•0 comments

hgres

https://hgres.org
1•tosh•10m ago•0 comments

Show HN: Macro-template, table-driven code generation for Rust

https://github.com/fast/macro-template
1•tison•11m ago•0 comments

From PGP to Mythos: a brief history of export controls that didn't stop anyone

https://techcrunch.com/2026/06/19/encryption-spyware-and-now-mythos-history-shows-why-cyber-expor...
6•Brajeshwar•11m ago•1 comments

Enable software developers to compile hotspots into custom hardware accelerators

https://boolsi.com/seed-announcement.html
2•eatonphil•12m ago•0 comments

Privacy-Preserving Process Mining

https://hash.ai/blog/privacy-preserving-process-mining
1•tosh•12m ago•0 comments

The Eternal Allure of the Rabbit Hole

https://www.theatlantic.com/technology/2026/06/jfk-assassination-epstein-ufo-conspiracy-theories/...
1•fortran77•13m ago•0 comments

Bun 1.4: The Controversial AI-Driven Rewrite from Zig to Rust

https://grigio.org/bun-1-4-the-controversial-ai-driven-rewrite-from-zig-to-rust/
1•baranul•15m ago•0 comments

Nvidia-ZPPO: Zone of Proximal Policy Optimization

https://byungkwanlee.github.io/ZPPO-page/
1•gmays•16m ago•0 comments

Kremlometr - Using NLP to spot pro-Russian propaganda in czech media comments

https://kremlometr.cz/?lang=en
1•kekqqq•19m ago•0 comments

Show HN: I made AI bets for all World Cup games – bet against or with them

https://www.getaiso.com/tools/world-cup-ai-challenge
1•bentannen•22m ago•0 comments

Show HN: Material Hack – Reboot of the Hacker News Client Materialistic

https://github.com/mxmilkiib/material-hack
1•mxmilkiib•22m ago•1 comments

Canyon HUD helmet for road riding

https://media-centre.canyon.com/en-INT/266866-new-canyon-heads-up-display-helmet-could-be-a-safet...
1•zh3•22m ago•0 comments

US-Iran memorandum of understanding in full

https://www.bbc.com/news/articles/c4gy700j0eko
2•thisislife2•23m ago•2 comments

FIDE AI – Research and public infrastructure for faith-facing AI

https://fideai.substack.com/p/introducing-fide-ai
1•alexchaomander•25m ago•0 comments

Show HN: Web-Based FPGA Viewer

https://edacation.github.io/nextpnr-viewer/
1•malmeloo•25m ago•0 comments

Show HN: Forecastion – A forecasting workbench for analysts and operators

https://forecastion.com/
2•PrimeMentat•28m ago•0 comments

Anthropic build AI so safe the Gov made them delete it (YouTube) – Patrick Boyle

https://www.youtube.com/watch?v=AJP6K2_rr90
2•ziptron•32m ago•0 comments

Why do developers choose one programming language over another? (2002)

https://web.archive.org/web/20020803183731/http://www.joelonsoftware.com/news/20020505.html
1•tosh•36m ago•0 comments

Show HN: FOSS sandbox platform that hides infra secrets from devs and AI agents

https://github.com/octelium/cordium
1•geoctl•37m ago•0 comments

Pandas vs. DuckDB vs. Polars: 20M rows, 10 operations, benchmarked

https://thedatabytes.substack.com/p/pandas-vs-duckdb-vs-polars-i-ran
1•badhayaru•37m ago•0 comments

The Emerging AI Governance Space

https://www.threedeep.tech/ai-governance-stack
1•ethigent•37m ago•0 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
1•olievans•38m ago•2 comments

The Agentic Resource Discovery Specification

https://developers.googleblog.com/announcing-the-agentic-resource-discovery-specification/
2•simonpure•41m ago•0 comments

Gotique – AI that gives a first-read appraisal on antiques from photos

https://gotique.ai/en/community
2•gotique•43m ago•0 comments

Five Worlds (2002)

https://www.joelonsoftware.com/2002/05/06/five-worlds/
2•tosh•44m ago•0 comments