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: Hikaru Labs – A browser-based image toolbox

https://hikarulabs.xyz
1•CFBL•4m ago•0 comments

In Retrospect: Science – The Endless Frontier

https://www.nature.com/articles/466922a
2•teleforce•6m ago•0 comments

Jfsendit – A dead-simple way to send files straight from one browser to another

https://jfsendit.com/
1•coinfused•7m ago•0 comments

Google's YouTube settles social media addiction case with teen

https://www.bbc.co.uk/news/articles/cly81g7x73po
2•vinni2•8m ago•0 comments

New WingTask with TaskWarrior 3 sync support

https://wingtask.com/announcing-new-wingtask
1•Cort3z•11m ago•0 comments

Show HN: SQL MCP Server – 61.37% on DataAgentBench with GLM-5.2

https://github.com/gagarwal304/databridge
1•gagarwal123•12m ago•0 comments

Workdir: Open-source sandboxes for AI agents

https://workdir.dev/
1•handfuloflight•12m ago•0 comments

Digital Dugnad

https://digitaldugnad.eu/en/
1•bronlund•13m ago•0 comments

Israel continues to commit genocide by targeting children in Gaza, UN finds

https://www.theguardian.com/world/2026/jun/23/israel-deliberately-targeting-gaza-children-to-comm...
12•hebelehubele•14m ago•0 comments

"Be Yourself" Only Works for People Who Aren't Annoying

https://www.cartoonshateher.com/p/be-yourself-only-works-for-people
1•Michelangelo11•14m ago•0 comments

SHO HN: RainBreak App Mac – The AI doesn't need a break. But you do

https://rainbreak.franzai.com/
1•franze•14m ago•0 comments

What Happens When Claude Tests Your Web Application?

https://searchzee.com/blog/ai-agent-tests-web-application
1•rajkverma123•15m ago•0 comments

Crypto 2026 Accepted Papers

https://crypto.iacr.org/2026/acceptedpapers.php
1•altro•21m ago•0 comments

Show HN: dk

https://github.com/hq6/dk
1•hq6•24m ago•0 comments

The Importance of Establishing Boundaries with Your DOM: Stealing 1Password Keys

https://guyfischman.com/posts/1password-delegation/
2•guyfischman•29m ago•0 comments

Unreliable Agentic Systems in Production

1•shasyn•30m ago•0 comments

Oxford's top maths professor: 'The devil could use AI to destroy the world'

https://www.telegraph.co.uk/books/non-fiction/interview-oxford-professor-john-lennox/
1•01-_-•31m ago•0 comments

Anthropic Mythos exposed flaws in classified US systems

https://www.channelnewsasia.com/business/anthropics-mythos-model-found-vulnerabilities-in-classif...
2•01-_-•32m ago•0 comments

The Robotics Experiment Loop

https://rerun.io/learn
3•Tycho87•32m ago•0 comments

The $80 Pie Only a Former McKinsey Consultant Could Dream Up

https://www.grubstreet.com/article/jamagansett-pie-hamptons-baked-goods.html
1•Michelangelo11•33m ago•0 comments

Eight vaccines linked to a lower risk of dementia

https://www.gavi.org/vaccineswork/eight-vaccines-linked-lower-risk-dementia
3•u1hcw9nx•35m ago•0 comments

Ask HN: Best full text RSS news sources?

1•walden789•36m ago•1 comments

A desktop wrapper for orchestrating web design AI agents

https://github.com/swiftsellai-ssa/sticky/releases/tag/v1.0.0
1•gabriel_sstech•41m ago•0 comments

Ask HN: What do you do when your one model hits Limit?

1•ZaanCogil•41m ago•0 comments

Lies, Damn Lies and Database Benchmarks

https://questdb.com/blog/lies-damn-lies-and-database-benchmarks/
1•birdculture•43m ago•0 comments

Oracle's 21,000 layoffs help drive its debt-fueled AI investments

https://arstechnica.com/ai/2026/06/oracles-21000-layoffs-help-drive-its-debt-fueled-ai-investments/
2•joozio•45m ago•0 comments

Employee #1: Reddit (2016)

https://www.ycombinator.com/blog/chris-slowe-interview/
2•downbad_•47m ago•0 comments

World Cup 26 Goal Map– every goal, live

https://a-maherr.github.io/wc2026-goalmap/
2•theanonymousone•48m ago•0 comments

Excellent Repairability: Steam Machine Tear-Down and Accessing RAM and SSD [video]

https://www.youtube.com/watch?v=glXA3ObwSwQ
2•jrepinc•49m ago•0 comments

Segregation by Design (Urban Planning)

https://www.segregationbydesign.com
1•kristopolous•50m ago•0 comments