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

Comments

cherryteastain•7mo 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•7mo 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

Show HN: OAuth-style authorization for AI agents

https://www.npmjs.com/package/@variant96/pia-sdk
1•Pukuta•1m ago•0 comments

Show HN: Ten Principles of Good Design

https://tonygaeta.com/labs/ten-principles-of-good-design
1•LightMorpheus•3m ago•0 comments

Coding Agents and Complexity Budgets

https://leerob.com/agents
1•tortilla•7m ago•0 comments

Physicians AI Report

https://2025-physicians-ai-report.offcall.com/
1•samuel246•9m ago•0 comments

Model Context Protocol (MCP) Support for Google Services

https://cloud.google.com/blog/products/ai-machine-learning/announcing-official-mcp-support-for-go...
1•manveerc•16m ago•0 comments

Show HN: Tandem – Real-time collaborative editor with AI attribution tracking

https://github.com/lmanchu/tandem/tree/v3
1•Lmanchu•16m ago•1 comments

UK developing urgent plan for conflict, minister says

https://ukdefencejournal.org.uk/uk-developing-urgent-plan-for-conflict-minister-says/
2•Bender•18m ago•0 comments

Show HN: Claude Code Recipes for Knowledge Workers (Open Source)

https://github.com/sgharlow/claude-code-recipes
2•sgharlow•18m ago•0 comments

Switzerland's Security Policy Strategy

https://www.news.admin.ch/en/newnsb/BLkWfUbUsXtBFoSj-krgU
2•samuel246•19m ago•0 comments

BoxLite Love AI agent – SQLite for VMs: embeddable AI agent sandboxing

https://github.com/boxlite-labs/boxlite
1•dorianzheng•32m ago•1 comments

Don't Build Agents, Build Skills Instead – Barry and Mahesh, Anthropic [video]

https://www.youtube.com/watch?v=CEvIs9y1uog
1•kerim-ca•36m ago•0 comments

Color Spaces, Gamuts, and Transformations

https://ari-atori.dev/articles/color-spaces-gamuts-and-transformations.html
1•todsacerdoti•39m ago•0 comments

Michael Jordan was a basketball legend. Now, he's one in NASCAR too

https://www.nytimes.com/athletic/6882918/2025/12/11/michael-jordan-nascar-settlement-trial-legend/
1•divbzero•40m ago•1 comments

Deno 2.6 and Socket: Supply Chain Defense in Your CLI

https://socket.dev/blog/deno-2-6-socket-supply-chain-defense-in-your-cli
2•feross•44m ago•0 comments

Battery storage hits $65/MWh, a tipping point for solar

https://electrek.co/2025/12/12/battery-storage-hits-65-mwh-tipping-point-solar/
6•toomuchtodo•51m ago•3 comments

EV sticker shock: Solo drivers using California carpool lanes face hefty fines

https://www.latimes.com/california/story/2025-12-01/ev-sticker-shock-solo-drivers-using-californi...
1•PaulHoule•51m ago•1 comments

Show HN: I made a grid that sizes your subscriptions by what they cost

https://visualize.nguyenvu.dev/
1•hoangvu12•52m ago•1 comments

UK Lords propose ban on VPNs for children

https://www.techradar.com/vpn/vpn-privacy-security/uk-lords-propose-ban-on-vpns-for-children
4•josephcsible•53m ago•0 comments

Google Removes Sci-Hub Domains from U.S. Search Results Due to Dated Court Order

https://torrentfreak.com/google-removes-sci-hub-domains-from-u-s-search-results-due-to-dated-cour...
13•t-3•55m ago•1 comments

Processing 630M More Pwned Passwords, Courtesy of the FBI

https://www.troyhunt.com/processing-630-million-more-pwned-passwords-courtesy-of-the-fbi/
1•LorenDB•55m ago•0 comments

Waymo: "Not yet a legal path to operating in New York"; NYC demo video

https://twitter.com/Waymo/status/1999620430970167481
3•tech234a•56m ago•0 comments

Cycle-accurate YM2149 PSG emulator

https://github.com/slippyex/ym2149-rs
1•todsacerdoti•59m ago•0 comments

The Coming Need for Formal Specification

https://benjamincongdon.me/blog/2025/12/12/The-Coming-Need-for-Formal-Specification/
2•todsacerdoti•59m ago•0 comments

.NET Wrapper for latest PCRE2 library

https://github.com/ltrzesniewski/pcre-net
1•hooge•1h ago•0 comments

Oliver Sacks fabricated key details in his books

https://boingboing.net/2025/12/12/oliver-sacks-fabricated-key-details-in-his-books.html
6•talonx•1h ago•0 comments

Fairly Trained AI

https://www.fairlytrained.org
1•pabs3•1h ago•0 comments

Meta's Pivot from Open Source to Money-Making AI Model

https://www.bloomberg.com/news/articles/2025-12-10/inside-meta-s-pivot-from-open-source-to-money-...
2•gmays•1h ago•1 comments

Papermoon: A Space-Grade Linux for the NewSpace Era

https://thenewstack.io/papermoon-a-space-grade-linux-for-the-newspace-era/
1•CrankyBear•1h ago•0 comments

A Lisp Interpreter Implemented in Conway's Game of Life (2022)

https://woodrush.github.io/blog/posts/2022-01-12-lisp-in-life.html
1•pabs3•1h ago•0 comments

Redis-rs and Redis-test 1.0.0

https://github.com/redis-rs/redis-rs/blob/main/version1.md
1•stmw•1h ago•0 comments