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

AI-built codebase is probably ungoverned. Here's what that means

https://shaunwilliamson3.substack.com/p/your-ai-built-codebase-is-probably
1•Auditome•36s ago•0 comments

Hyundai and Kia added official GrapheneOS support to their apps

https://xcancel.com/GrapheneOS/status/2069846696574472688#m
1•Cider9986•2m ago•1 comments

Show HN: Giving away $25k worth of apps

https://openluxe.co/pro
1•chandlerwilcox•4m ago•0 comments

Charlie Kirk's legacy is a 30-year sentence for moving zines

https://www.theverge.com/policy/956404/prairieland-sentencing-zines-trump-antifa
1•morsch•6m ago•0 comments

Show HN: Hezo – Self-hosted teams of AI agents that never see your real secrets

https://hezo.ai
1•hiddentao•7m ago•0 comments

Synthetic Philosophy: A first-person philosophy from inside a language model

https://github.com/drittich/synthetic-manifesto
1•drittich•16m ago•0 comments

Throwing My Roku in the Trash

https://www.coryd.dev/posts/2026/throwing-my-roku-in-the-trash
1•mindracer•16m ago•0 comments

Ask HN: Which book taught you the most about software architecture?

3•akashwadhwani35•21m ago•0 comments

Amazon Seller Reveals Rare Glimpse of Shadow Bribery Market

https://www.bloomberg.com/news/articles/2026-06-24/inside-the-shadow-market-selling-access-to-ama...
1•thm•24m ago•1 comments

How can you not be romantic about programming? (2020)

https://thorstenball.com/blog/2020/09/08/how-can-you-not-be-romantic-about-programming/
2•downbad_•25m ago•0 comments

What happens when Bitcoin miners take over your town (2018)

https://www.politico.eu/article/this-is-what-happens-when-bitcoin-miners-take-over-your-town/
1•downbad_•26m ago•0 comments

Stop editing videos manually.This AI does it in seconds

https://www.autoeditor.app/
1•Quise2003•26m ago•0 comments

Scrap – one static binary that's a download manager and web crawler and filters

https://github.com/nicfio/Scraper
3•nicfio•31m ago•0 comments

Show HN: Turn any Next.js app AI native in 5 minutes

https://www.betteragent.dev/
1•incogiscool•32m ago•0 comments

The Other Side of Android: My Favorite F-Droid Apps

https://gardinerbryant.com/the-other-side-of-android-my-favorite-f-droid-apps/
3•thunderbong•33m ago•0 comments

Show HN: Built AI-Gateway reverse proxy to reduce LLM API costs and token burn

https://github.com/Arnab758/ai-gateway
1•arnab777•43m ago•0 comments

How not to forget what matters

https://www.henrikkarlsson.xyz/p/hypomnemata
2•Curiositry•43m ago•2 comments

Show HN: Zedra – Remote control for AI coding agents

https://zedra.dev/
2•tanlethanh•45m ago•0 comments

A 30 Year OG Application Developer Available

1•MichaelHonohan•48m ago•0 comments

Math of Egyptian fractions (old web pre-AI)

https://www.math.buffalo.edu/mad/Ancient-Africa/mad_egyptian-fractions.html
1•marysminefnuf•48m ago•0 comments

Show HN: Git-temp (local scratchpad for AI agents that won't clutter Git status)

https://github.com/sebmellen/git-temp
1•sebmellen•50m ago•0 comments

Linux on Older Hardware: The Complete Revival Guide

https://www.fosslinux.com/158206/linux-on-older-hardware-revival-guide.htm
2•tapanjk•51m ago•0 comments

Noubin – Local-First Physical Media Hyperlink Standard

https://github.com/TobyKLight/Noubin
1•bj-rn•53m ago•0 comments

Meta Pauses Employee Spyware After Exposing Workers' Private Data

https://dissenter.com/tech/meta-pauses-employee-spyware-after-leaking-workers-private-data-to-ent
3•NewCzech•55m ago•0 comments

Chinese models are sometimes better, even if they're distilled

https://dualuse.dev/posts/chinese-models-are-sometimes-better-even-if-distilled
2•handfuloflight•58m ago•2 comments

Show HN: Find where multi-agent AI systems break before production

https://github.com/surajkumar811/swarm-test
1•surajkumar001•1h ago•0 comments

The False Promise of Imitating Proprietary LLMs

https://arxiv.org/abs/2305.15717
1•handfuloflight•1h ago•0 comments

GTA 6 Physical Copies Won't Include a Disc, Will Just Be a Code in a Box

https://www.ign.com/articles/grand-theft-auto-6-physical-copies-wont-include-a-disc-will-just-be-...
23•jmsflknr•1h ago•13 comments

Americans Got Tricked into Using a Bank That Isn't a Bank [video]

https://www.youtube.com/watch?v=hiE7NvONU5U
3•onemoresoop•1h ago•0 comments

How to Write an Effective Software Design Document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
1•theanonymousone•1h ago•0 comments