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

Ask HN: Are we automating with AI instead of analysing then designing?

1•ozymand•7m ago•0 comments

A "PC" for the apocalypse, works as long as I have fire

https://www.reddit.com/r/pcmasterrace/comments/1vk3hwv/a_pc_for_the_apocalypse_works_as_long_as_i...
1•Tomte•7m ago•0 comments

Show HN: Free website status checker and DNS/SPF/DKIM toolbox – no signup

https://at-use.com/tools/online-status-checker
1•atuse•7m ago•0 comments

Claude Could Watermark Text Without Invisible Characters

https://www.jrzs.dev/blog/claude-watermarking-ai-text
1•jrhey•8m ago•0 comments

Panic of 1873

https://en.wikipedia.org/wiki/Panic_of_1873
1•GranularRecipe•8m ago•0 comments

Does Silicon Valley Dream of Philip K Dick?

https://www.ft.com/content/bdcf7729-3b03-49ec-82fb-b5773fdaa990
1•spy888•12m ago•1 comments

Deployah v0.7.0 – Spec-to-Release for Kubernetes without writing Helm charts

https://github.com/deployah-dev/deployah
5•atkrad•15m ago•0 comments

Jcode – open-source AI coding agent for the terminal

https://jcode.sh/
1•jonbaer•15m ago•0 comments

Why havent we found any aliens yet?

https://www.theguardian.com/news/2026/aug/11/the-great-silence-why-havent-we-found-any-aliens-yet
2•6LLvveMx2koXfwn•16m ago•0 comments

I reverse-engineered Codex's web search for use with Claude, and any local model

https://github.com/mateusdcc/pi-gpt-search
2•mateusdcc•18m ago•0 comments

They Killed Old Reddit

https://old.reddit.com/r/worldnews
2•pluc•19m ago•1 comments

Video Is a Playable Shooter Game [video]

https://www.youtube.com/watch?v=XW_bGXwfklI
1•smusamashah•21m ago•0 comments

Mac, out loud – text to speech with open models. No cloud, no analytics

https://sayit.sh/
1•lumannnn•21m ago•0 comments

Pessimist's Guide to the Next 10 Years (2010)

https://nextnature.org/en/magazine/story/2010/douglas-coupland-a-radical-pessimists-guide-to-the-...
1•FromHoiPolloi•22m ago•1 comments

Testing the effectiveness AI peer review

https://www.paullitvak.com/p/how-well-does-ai-peer-review-work
1•qsi•22m ago•0 comments

A WebMCP Interface

https://blog.cloudflare.com/webmcp/
1•nashashmi•23m ago•0 comments

Data Center Construction Monitoring from Satellite Imagery

https://datacenterbuildout.com/
1•jonbaer•23m ago•0 comments

There's a dungeon under this blog

https://blog.lvmbdv.dev/posts/theres-a-dungeon-under-this-blog/
1•mrtz•24m ago•0 comments

Cursor Router chooses the right model for the task

https://cursor.com/blog/how-cursor-router-works
1•kiyanwang•26m ago•0 comments

P: Safe asynchronous event-driven programming

https://dl.acm.org/doi/10.1145/2499370.2462184
1•Bluestein•27m ago•0 comments

Hunger stones, wrecks and bones: Europe's drought brings past to surface

https://www.theguardian.com/world/2022/aug/19/hunger-stones-wrecks-and-bones-europe-drought-bring...
1•sylvainkalache•27m ago•0 comments

FFmpeg Compiler?

2•danielszm•29m ago•1 comments

Samsung Galaxy Tab vs. iPad: Complete Buying Guide for 2026

https://www.analyticsinsight.net/phones/samsung-galaxy-tab-vs-ipad-complete-buying-guide-for-2026
2•swarnamukhi•31m ago•0 comments

Locating a livestream using background thunder sounds [video]

https://www.youtube.com/watch?v=SnbkIm56TfI
1•perching_aix•32m ago•0 comments

Show HN: Get a top Hacker News item with summary on every new tab

https://chromewebstore.google.com/detail/hacker-space/pmlajlgklmgabkhammfolkgkeghamjnn
1•KitN•32m ago•0 comments

Nvidia's Risky Business

https://stratechery.com/2026/nvidias-risky-business/
2•jonbaer•33m ago•0 comments

Show HN: Pi-Yahe: Yet Another Herdr Extension

https://github.com/marv1nnnnn/pi-yahe
1•marv1nnnnn•34m ago•0 comments

Swift-Node: Write Node.js Native Modules in Swift

https://github.com/biw/swift-node
1•biwills•34m ago•0 comments

Pi's AgentHarness: From an In-Process Loop to a Durable Runtime

https://github.com/earendil-works/pi/tree/main/packages/agent/docs
1•acmerfight•37m ago•0 comments

More than 10 firms pay up to $100k a month for access to Truth Social posts

https://www.bbc.com/news/articles/ce3q5nxpgk1o
4•whosgotch•38m ago•0 comments