frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

cherryteastain•11mo 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•11mo 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: How did you specialize as a software engineer?

1•legerdemain•4m ago•0 comments

Is "Tokenmaxxing" a Flex?

https://www.businessinsider.com/tokenmaxxing-ai-token-leaderboards-debate-2026-4
1•pascal-maker•9m ago•2 comments

Git fixup is magic (and Magit is too)

https://arialdomartini.github.io/git-fixup
1•fanf2•9m ago•0 comments

Trump's World Liberty Financial borrows $75M using its own token as collateral

https://www.coindesk.com/markets/2026/04/09/trump-s-world-liberty-financial-borrows-usd75-million...
3•JohnTHaller•9m ago•0 comments

Show HN: Beta Testing needed for my package Trustcheck

https://github.com/Halfblood-Prince/trustcheck
1•halfblood1010•13m ago•1 comments

Ask HN: Agentic Permutation of Testing Paths In A System

4•davidajackson•17m ago•0 comments

Amazon Luna Will No Longer Allow Owners to Buy Games, Access Game Stores

https://www.ign.com/articles/amazon-luna-will-no-longer-allow-owners-to-buy-games-access-game-sto...
4•surgical_fire•18m ago•1 comments

Living Memory Inference

https://github.com/alash3al/loci
2•alash3al•21m ago•0 comments

YouTube Premium price increase to take effect in June

https://www.latimes.com/entertainment-arts/story/2026-04-10/youtube-premium-price-increase
2•obilgic•26m ago•0 comments

Open-source MCP server for LinkedIn

https://github.com/stickerdaniel/linkedin-mcp-server
2•arguflow•28m ago•0 comments

Hours Without Internet

https://bsky.app/profile/netblocks.org/post/3mj6hjlonjc2m
1•stupefy•30m ago•1 comments

Top% of users capture 61.5% of engagement in Hezbollah discourse on X

https://arxiv.org/abs/2603.26681
2•soufan•31m ago•0 comments

Several Mac mini and Mac Studio configs are now out of stock at Apple

https://9to5mac.com/2026/04/11/mac-mini-mac-studio-configs-completely-out-of-stock/
3•gnabgib•31m ago•0 comments

Prompt to App

https://prompttoapp.dev/
19•helloww•31m ago•4 comments

Get Users on Autopilot

https://www.usehotdrop.com/
1•Lucnyg•37m ago•0 comments

Producing The Perfect Token

https://blog.luminal.com/p/producing-the-perfect-token
1•jafioti•38m ago•0 comments

A general technique for automating NES games

https://tom7.org/mario/
2•azhenley•39m ago•0 comments

Show HN: PlaneFeed – scroll live flights like TikTok

https://planefeed.app/
1•mind1m•39m ago•0 comments

Canada's Liberal party adopts motion to restrict kids from social media

https://toronto.citynews.ca/2026/04/11/liberal-party-adopts-motion-to-restrict-kids-from-social-m...
2•EmbarrassedHelp•39m ago•0 comments

TB/cm² at zero retention energy – atomic-scale memory on fluorographane

https://zenodo.org/records/19513269
2•iliatoli•42m ago•0 comments

Apple Stops Accepting Orders for Some Mac Mini and Mac Studio Models

https://www.macrumors.com/2026/04/11/some-mac-mini-mac-studio-currently-unavailable/
5•dabinat•49m ago•1 comments

Dark Castle

https://darkcastle.co.uk/
7•evo_9•49m ago•1 comments

Show HN: Kern – Agents that do the work and show it

https://github.com/oguzbilgic/kern-ai
2•obilgic•50m ago•0 comments

Punching through internet censorship in 2026

https://neversleeps.moscow/publications/vpn_complexity.html
1•keddad•50m ago•0 comments

Show HN: Share how you hear yourself (on-device)

https://bone-conduction-imitator.vercel.app/
2•SpyCoder77•50m ago•0 comments

Honcho: Memory library for building stateful agents

https://github.com/plastic-labs/honcho
2•modinfo•51m ago•0 comments

Show HN: Sätteri, high-performance Markdown pipeline for JavaScript

https://github.com/bruits/satteri
1•Princesseuh•51m ago•0 comments

Show HN: Feedstock – Web Crawler for TypeScript Built on Bun and Playwright

https://github.com/tylergibbs1/feedstock
1•tylergibbs1•51m ago•0 comments

Show HN: A Better Internet

https://tomclancy.info/pages/abi-a-better-internet.html
2•tclancy•55m ago•0 comments

US Mobile now bundles Starlink home internet starting at $47/month

https://www.usmobile.com/home-internet/starlink
4•fastest963•1h ago•0 comments