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

3G at Last

https://nickvsnetworking.com/3g-at-last/
1•birdculture•3m ago•0 comments

The malignant rise of OnlyFans managers

https://www.theguardian.com/society/2026/jun/18/malignant-rise-onlyfans-managers-exploiting-groom...
1•mukmuk•5m ago•1 comments

An AI chief of staff for founders who can't afford one

https://useairo.co
1•vidit99•7m ago•0 comments

The rise of illegal tobacco in Australia tracked in wastewater

https://www.abc.net.au/news/2026-08-10/charting-the-rise-of-illegal-tobacco-in-australia/106941130
1•Gaishan•9m ago•0 comments

Neural Scaling Law

https://en.wikipedia.org/wiki/Neural_scaling_law
1•frozenseven•10m ago•0 comments

Testing Anthropic's RSI Claims

https://ankitmaloo.com/rsi-claims/
1•ankit219•13m ago•0 comments

Quoted $1M for AI code review. Built it for free

https://sagivo.com/blog/i-was-quoted-1m-to-get-ai-diff-review-tool
2•shubidubi•13m ago•0 comments

What Garbage Collection Costs

https://shivanshuag.com/blog/what-garbage-collection-actually-costs/
1•shivanshuag•15m ago•0 comments

Who Should Pay for Source Code Availability?

https://kristoff.it/blog/source-code-availability/
1•Retro_Dev•15m ago•0 comments

Black lung rates in Appalachia are high as the 1970s

https://text.npr.org/nx-s1-5894884
4•mooreds•18m ago•0 comments

I got 30% better AI coding results

https://github.com/akasula09/CodeSlimmer
1•kushthedevmmm•19m ago•0 comments

To Recruit Teachers, School Districts Are Building Homes

https://www.nytimes.com/2026/07/28/business/affordable-housing-schools-teachers.html
3•mooreds•20m ago•0 comments

Sen. Chuck Grassley mourns Beth, 49yo vacuum cleaner

https://twitter.com/ChuckGrassley/status/2086178745191133662
1•nianderwallace•21m ago•0 comments

High car prices lead to long-term auto loans

https://www.marketplace.org/story/2026/08/07/high-car-prices-lead-to-longterm-auto-loans
2•mooreds•21m ago•1 comments

Tape scratching the "Peter Piper" routine, using a homemade tape loop [video]

https://www.youtube.com/watch?v=L6SMyND8hso
1•CharlesW•21m ago•0 comments

Why.com – Explore any topic by repeatedly asking why

https://why.com/
2•m5r•21m ago•0 comments

Quantifying dynamics of failure across science, startups and security

https://arxiv.org/abs/1903.07562
1•highfrequency•25m ago•0 comments

The Post-Quantum WebPKI

https://rmhrisk.github.io/classical-webpki/
1•tomwas54•28m ago•0 comments

AI assistant hacks gym website in first known Australian autonomous cyber attack

https://www.abc.net.au/news/2026-08-10/ai-assistant-hacks-gym-website-aus-cyber-attack/107007986
1•stared•28m ago•0 comments

Is Cyber Warfare the Next World War?

https://medium.com/freedomofthought/is-cyber-warfare-the-next-world-war-0305756d37eb
2•raynchad•29m ago•1 comments

Sam Zeloof Home Chip Fab: Silicon IC Fabrication in the Garage – Hackaday [video]

https://www.youtube.com/watch?v=23fTB3hG5cA
3•binyu•29m ago•0 comments

Cambridge University's Disgrace

https://fakenous.substack.com/p/cambridge-universitys-disgrace
3•barry-cotter•31m ago•0 comments

JavaScript for Unity

https://onejs.com
1•CreepGin•31m ago•0 comments

AI Agent Qubitz

https://github.com/Gabrieliam42/AI-Agent-Qubitz
2•Gabrieliam42•38m ago•1 comments

My Brain Doesn't Have Git Worktrees

https://eliasson.me/articles/my-brain-doesnt-have-git-worktrees
1•elitan•39m ago•0 comments

Lawyers using "AI" could face sanctions including costs for fake citations

https://www.irishtimes.com/crime-law/2026/08/05/lawyers-could-face-sanctions-including-costs-if-a...
3•1vuio0pswjnm7•45m ago•0 comments

Bros and Cons

https://bros-and-cons.com/
1•bookofjoe•46m ago•0 comments

Why a Generic Open-Source Project Cant Also Be a Successful Civil Rights Project

https://chrismcdonough.substack.com/p/why-a-generic-open-source-project
2•sagacity•48m ago•0 comments

Lava Lamps and Internet Encryption

https://www.cloudflare.com/learning/ssl/lava-lamp-encryption/
1•kamphey•48m ago•1 comments

Rowly – a free open-source supabase security scanner

https://rowly.me
1•popkoren•50m ago•0 comments