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

China's AI entrepreneurs are trying to leave the country

https://www.economist.com/china/2026/11/30/chinas-ai-entrepreneurs-are-trying-to-leave-the-country
1•enraged_camel•58s ago•0 comments

Self host Workers and Durable Objects with workerd clustering

https://developers.cloudflare.com/changelog/post/2026-12-03-workerd-self-hosted-durable-objects/
1•durron•1m ago•0 comments

Rethinking agent harnesses in the age of frontier models

https://shivam.dev/blog/augmentative-scaffolding
1•shivam-dev•1m ago•0 comments

Software, mathematics, and the occasional job interview

https://kbr.is-a.dev/comics/
1•kbr-•1m ago•0 comments

I pen plotted secp256k1 (Bitcoin's elliptic curve)

https://harmonique.one/posts/i-pen-plotted-secp256k1-bitcoin-s-elliptic-curve
1•futurecat•2m ago•0 comments

Cybersecurity for Web Apps in 2027

https://www.speedshop.co/blog/cybersecurity-and-ai/
1•speckx•2m ago•0 comments

Show HN: Mechy

https://twitter.com/farevalo27/status/2128891951617323027
1•FabianArevalo•2m ago•0 comments

Build Custom Zwift Routes

https://www.zwiftroutebuilder.com/
1•smaddrellmander•4m ago•0 comments

Ask HN: Do you find LLMs inefficient for non-coding work?

1•muddi900•5m ago•0 comments

Is Amazon's writing culture collapsing because of AI?

https://blog.pragmaticengineer.com/the-pulse-is-amazons-writing-culture-collapsing-because-of-ai/
1•dvaplima•5m ago•0 comments

AI Victory Conditions

https://cottageindustry.ai/p/victory-conditions
1•kevinmannix•6m ago•0 comments

Ray tracing large, dynamic worlds with RT-MLAS

https://gpuopen.com/learn/amd-rt-mlas-vulkan/
1•ibobev•7m ago•0 comments

See Through Nanite – How Unreal Engine 5 Draws Billions of Triangles [video]

https://www.youtube.com/watch?v=uvHhrPY8bwY
1•ibobev•7m ago•0 comments

Colibrì

https://justvugg.github.io/colibri/
1•sonabinu•8m ago•0 comments

Pushin now supports post-quantum SSH keys

https://pushin.eu/blog/2026-12-04-post-quantum-ssh
1•lawik•9m ago•0 comments

EFF's Reflections from MozFest 2026

https://www.eff.org/deeplinks/2026/12/effs-reflections-mozfest-2026
1•hn_acker•9m ago•0 comments

Work through PRs without GitHub's UI slowing you down

https://chonk.gg/
1•ahamez•9m ago•0 comments

Freehand: A hands-off harness from MS

https://github.com/microsoft/FreeHand
1•rochansinha•10m ago•0 comments

Freelancing in the Age of AI

https://www.thomasmcgee.co/note/freelancing-in-the-age-of-ai
1•SunshineTheCat•11m ago•0 comments

Iceberg Won. Now What? 5 Lakehouse Shifts for 2027

https://www.morphion.io/blog/open-table-formats-2027
1•cnatsis•11m ago•0 comments

AI didn't break encryption. Here's what it did

https://www.youtube.com/watch?v=cYTDvS1ZGSo
1•frag•11m ago•0 comments

Are nuclear power plants too expensive to build?

https://climate.mit.edu/ask-mit/are-nuclear-power-plants-too-expensive-build
2•mpweiher•11m ago•0 comments

What the Spec Didn't Tell the Agent – A Book on Specs as Agda Types

https://leanpub.com/what-the-spec-didnt-tell-the-agent
1•siberiankot•11m ago•0 comments

Odin Just Broke Its ABI (On Purpose)

https://www.youtube.com/watch?v=OC0j7A2hn3A
1•todsacerdoti•15m ago•0 comments

The spectrum between coding and vibe coding

https://dmitryfrank.com/articles/ai_for_coding_in_2026
2•dimonomid•15m ago•0 comments

'Honest Rayban' shop opens in London

https://www.reddit.com/r/london/comments/1ycq0jd/honest_rayban_shop_opens_on_great_titchfield_group/
1•BerislavLopac•17m ago•0 comments

Why Users See Banner Alerts but Ignore Them

https://uxmovement.substack.com/p/why-users-see-banner-alerts-but-never
1•antux•17m ago•0 comments

A New Map of Tea

https://interconnected.org/home/2026/12/04/tea
2•titusblair•18m ago•0 comments

AI Makes Individuals Faster but Teams Slower

https://hbr.org/2026/12/ai-makes-individuals-faster-but-teams-slower
1•saikatsg•18m ago•0 comments

A Day in the Life of an Enshittificator [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
1•cdrnsf•19m ago•0 comments