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

Chrome DevTools Keyboard Shortcuts

https://developer.chrome.com/docs/devtools/shortcuts
1•gregsadetsky•3m ago•0 comments

JavaScript vs. Java

https://discuss.google.dev/t/trusted-automation-with-google-antigravity-scaling-secure-finance-in...
1•foobarsimon•4m ago•0 comments

I had AI read my field

https://science.caseyhandmer.com/physics/
2•gcoguiec•6m ago•0 comments

Fortune Telling and Speculative Design

https://maggieappleton.com/fortune-telling
1•duck•8m ago•0 comments

Intellij-Elm – Elm Plugin for IntelliJ Platform IDEs

https://github.com/elm-tooling/intellij-elm
2•TheWiggles•9m ago•0 comments

Show HN: Yantra – an assistant that works in your own browser tab, with your OK

https://yantra.app/new
1•stackflow1•11m ago•0 comments

Optimjack from the Outside: The Hijacked Script Was on Our Radar

https://blog.fortirix.com/blog/optimjack/
1•SecurityNinjaGu•12m ago•0 comments

Classical Energies Learn to Reason 1k× Faster Than Looped Models

https://arxiv.org/abs/2611.17309
1•espeed•20m ago•0 comments

Interviewed at a YC startup, found out they used my LinkedIn without permission

https://reddit.com/r/recruitinghell/comments/1xyr6ml/interviewed_at_a_yc_startup_spent_30_hours/
10•throwawaysleep•21m ago•0 comments

Engineers Who Won't Commit

https://www.seangoedecke.com/taking-a-position/
1•prakashqwerty•23m ago•0 comments

Horizon Opens to Early Users: America's Most Powerful Academic Supercomputer

https://news.utexas.edu/2026/11/17/horizon-opens-to-early-users-americas-most-powerful-academic-s...
1•jonbaer•25m ago•0 comments

Purpose-Governed Agents: who reviews how an AI agent describes its own proposals

https://zenodo.org/records/23778866
1•douglasjrodrigu•26m ago•0 comments

Btrfs Seeks to Deal with AI and Newbies Without Common Sense

https://lore.kernel.org/lkml/df1c1fa031ba7e66486348dc37d1a7be53c18e43.1794894953.git.wqu@suse.com/
1•thunderbong•30m ago•0 comments

Inside the $900B data centre bet behind Anthropic's IPO

https://www.ft.com/content/559c13f1-0888-47e5-b6ce-523309a37193
1•1vuio0pswjnm7•30m ago•0 comments

Microsoft's agent-framework PyPI package Compromised with Credential Stealer

https://socket.dev/blog/agent-framework-pypi-package-compromised-with-credential-stealer
3•roseway4•30m ago•2 comments

A Review of Alfred North Whitehead's "Introduction to Mathematics"

https://arxiv.org/abs/2403.19675
1•Alien1Being•33m ago•0 comments

Protein and amino acid restriction in aging and longevity

https://www.cell.com/cell-press-blue/fulltext/S3051-3839(26)00077-0
1•Alien1Being•36m ago•1 comments

Crocker's Land Expedition

https://en.wikipedia.org/wiki/Crocker_Land_Expedition
1•silver92bullet•37m ago•0 comments

Show HN: Hacker Series on AWS in zines way

https://securityzines.com/aws/
1•r0hi7•37m ago•0 comments

Cover Your Tracks See how trackers view the browser

https://coveryourtracks.eff.org/
1•colinprince•41m ago•0 comments

A typing idler game about fast takeoff

https://mbuffett.com/takeoff/
1•marcusbuffett•43m ago•2 comments

Show HN: WalletFeed, Apple Card Transactions to Webhooks, Sheets and S3

https://walletfeed.app/
1•phlhr•45m ago•0 comments

LeetCode adds vibe coding challenges now

https://leetcode.com/discuss/post/8614473/project-challenge-can-you-build-a-produc-27kz/
3•keyle•46m ago•2 comments

Show HN: AgentShield Zero-dep secret redactor and shell firewall for Claude

https://github.com/RitualDev-Lab/AgentShield
1•RitualDev•53m ago•0 comments

California state AG sues OpenAI over rogue agent incidents

https://techcrunch.com/2026/11/16/california-state-ag-sues-openai-over-rogue-agent-incidents/
1•gmays•54m ago•0 comments

AI-assisted code at scale: provenance, quality, centrality and review time

https://donsbot.com/2026/11/17/ai-assisted-code-at-scale-provenance-quality-centrality-and-review...
1•gbacon•58m ago•0 comments

Hex: Voice Dictation

https://anoma.ly/hex/
3•handfuloflight•1h ago•1 comments

AV1 vs. AV2: Which Video Codec Should You Use in 2026?

https://www.red5.net/blog/av1-vs-av2/
3•mondainx•1h ago•0 comments

How are large companies not ripshit about the frontier labs?

4•siraris•1h ago•0 comments

Skill Studio

https://verified-skill.com/desktop
1•handfuloflight•1h ago•0 comments