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

Virtual scrolling becomes much simpler when scrolling by index instead of pixels

https://github.com/ceriousdevtech/cerious-scroll
1•ryoucerious•1m ago•0 comments

Discussion – has anyone build a firewall for AI models yet?

1•Akhiljp•2m ago•0 comments

Ireland Is Becoming a French Military Protectorate

https://foreignpolicy.com/2026/06/18/ireland-france-military-protectorate-outsourcing-defense-pro...
1•ilamont•5m ago•0 comments

Show HN: LoomStack – Helping engineering orgs scale AI-driven development

https://loomstack.co/
1•vermaabhishek39•10m ago•0 comments

No AI data centres in my backyard, please

https://hey.paris/posts/ai-data-centres-tasmania/
2•parisidau•16m ago•0 comments

Iran war triggers global race to build oil reserves

https://www.reuters.com/commentary/reuters-open-interest/iran-war-triggers-global-race-build-oil-...
1•kaycebasques•16m ago•0 comments

The systemic decay of tech hiring

https://thoughtspile.github.io/2026/06/22/systemic-decay-of-hiring/
1•theanonymousone•17m ago•0 comments

What If the Work We're Busy Automating Is Needless?

https://www.oftwominds.com/blogjune26/needless-work6-26.html
1•spking•18m ago•0 comments

UK considers forcing social media firms to prioritise trusted news

https://www.reuters.com/legal/litigation/uk-considers-forcing-social-media-firms-prioritise-trust...
1•frm88•19m ago•0 comments

Gaussian splats on visionOS Beta

https://developer.apple.com/documentation/visionos/gaussian-splats-on-visionos
1•LoganDark•20m ago•0 comments

That I'm Using .NET

https://medium.com/c-sharp-programming/7-ways-that-im-using-net-93c669143cc8
1•sukhpinder0804•23m ago•0 comments

Seedance 2.5, generating a complete 30-second video in one go

https://twitter.com/xiaohu/status/2069236441964818508
3•vantareed•23m ago•1 comments

Vim Adventures – learning Vim by playing a game

https://www.youtube.com/watch?v=GVjtUK5JEw0
1•coolwulf•25m ago•1 comments

GLM-5.2 is the step change for open agents

https://www.interconnects.ai/p/glm-52-is-the-step-change-for-open
4•vantareed•31m ago•0 comments

Spartan Programming

https://spartan.wiki
1•skogstokig•35m ago•0 comments

Open-source security auditors for Supabase, Strapi, Hasura and Ollama

https://github.com/Perufitlife/awesome-backend-security
2•renzomad•39m ago•0 comments

Nonstop Trading, Lots of Leverage. How 'Perp Futures' Are Changing Wall Street

https://www.wsj.com/finance/commodities-futures/nonstop-trading-loads-of-leverage-how-perp-future...
4•JumpCrisscross•43m ago•0 comments

Reddit account history viewer, even for deleted posts

https://deletedby.com
2•Mobile-Spread•46m ago•2 comments

The System Moved On, but It Didn't Forget

https://webmnem.here.now/system-moved-on-but-it-didnt-forget/
1•InfraStack•49m ago•0 comments

The AI Tarpit: Why You Can't Stop Reading Your Code

https://www.williamangel.net/blog/2026/06/22/The-AI-Tarpit-Why-You-Cant-Stop-Reading-Your-Code.html
1•datadrivenangel•52m ago•0 comments

I Bought the Trump Phone [video]

https://www.youtube.com/watch?v=b1ytw85Npt8
3•billfor•53m ago•0 comments

Show HN: A 3D world you grow from your phone's camera flash

https://phronesis.world/similar
3•degibug•56m ago•0 comments

King's study finds AI chose nuclear signalling in 95% of simulated crises

https://www.kcl.ac.uk/news/artificial-intelligence-under-nuclear-pressure-first-large-scale-kings...
1•totetsu•57m ago•1 comments

Man used massage gun on his tired eyeballs. It went as well as you'd expect

https://arstechnica.com/health/2026/06/man-used-massage-gun-on-his-tired-eyeballs-it-went-as-well...
6•canucker2016•1h ago•6 comments

Ask HN: Has Codex gotten slower recently?

4•aurenvale•1h ago•0 comments

Show HN: ExtensionBooster – Get real human reviews for your apps

https://extensionbooster.net/
3•quangpl•1h ago•1 comments

How I made the firewood splitting simulator

https://old.reddit.com/r/vibecoding/comments/1uckug1/heres_how_i_made_the_firewood_splitting_simu...
4•thunderbong•1h ago•0 comments

Show HN: Loft gives thumb-keys and split-layout on a standard laptop or keyboard

https://loftkeyboard.com
4•RuleOfBirds•1h ago•0 comments

Prompt Preflight – catch vague AI-agent prompts before they burn tokens

https://github.com/akg268/prompt-preflight/
2•akg268•1h ago•0 comments

Chain-of-Trust with AI

https://marirs.net.in/cot/
2•sriramster•1h ago•1 comments