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

170k Claude queries per gallon of gas?

https://claude.ai/share/44fdc891-0fe5-40f3-a5b5-b203bbb6ab02
1•millisecond•1m ago•0 comments

AI Is Upending One of Finance's Cushiest Jobs

https://www.bloomberg.com/news/features/2026-06-05/ai-is-upending-traditional-financial-advisor-jobs
1•ctkhn•3m ago•0 comments

JNU, an Vibe Coded Operating System

1•annoymousperson•6m ago•0 comments

AI Has Broken Hiring

https://hbr.org/2026/06/ai-has-broken-hiring-heres-how-to-fix-it
1•seafaithless•8m ago•0 comments

BofA Warns It's Time to 'Take Profits' as Red Flags Multiply

https://www.bloomberg.com/news/articles/2026-06-08/bofa-warns-it-s-time-to-take-profits-as-red-fl...
7•petethomas•16m ago•0 comments

Show HN: Mach – A compiled systems language looking for contributions

https://github.com/octalide/mach
2•octalide•21m ago•0 comments

Show HN: Ustps (UDP Speedy Transmission Protocol Secure) and USSH

https://github.com/x1colegal/USTP-Secure
1•x1colegal•26m ago•0 comments

Show HN: Sudo Report – Drudge closne for AI/tech/product

https://wwe.sudoreport.com
2•ataturkle•29m ago•0 comments

WhatsApp disrupted spear phishing attempts, asks court to hold NSO in contempt

https://arstechnica.com/tech-policy/2026/06/meta-alleges-nso-violated-spyware-injunction-with-new...
1•SockThief•30m ago•0 comments

Why Compiler Engineers Avoid Strassen's Algorithm for Matrix Multiplication

https://leetarxiv.substack.com/p/why-compilers-rarely-use-strassens-algorithm
2•birdculture•36m ago•0 comments

How to Measure Time to First Token (TTFT)

https://qainsights.com/how-to-measure-time-to-first-token-ttft-in-ai-systems/
1•qainsights•39m ago•0 comments

Germany and France Scrapped the FCAS

https://www.reuters.com/business/aerospace-defense/german-french-leaders-unable-resolve-fcas-figh...
4•signatoremo•41m ago•0 comments

Tim Cook's Final WWDC Showed Why Apple Still Always Wins in the End

https://www.inc.com/connor-jewiss/tim-cook-final-wwdc-showed-why-apple-still-always-wins-in-the-e...
2•connorjewiss•42m ago•0 comments

Rediscovered: The Lost Audio of Sherlock Holmes

https://sherlock-holmes.org.uk/rediscovered-the-lost-audio-of-sherlock-holmes/
1•austinallegro•43m ago•0 comments

Life Cycle Costing Approach of Carbon Capture and Storage at Hunter Unit 3

https://www.mdpi.com/1996-1073/19/9/2010
1•PaulHoule•45m ago•0 comments

Hiring Co-Founder

1•Chukz•46m ago•0 comments

Major earthquake off Cuba's coast felt across Florida

https://www.wesh.com/article/earthquake-rocks-cuba-shaking-felt-across-florida/71526284
2•eth0up•46m ago•0 comments

Apple drops support for a long list of Apple Watches with latest OS updates

https://www.theverge.com/news/946147/apple-watchos-27-ipados-27-supported-devices-dropped
3•ValentineC•46m ago•1 comments

Product teams struggled to create intent. AI let them think they could skip it

https://productpicnic.beehiiv.com/p/product-teams-struggled-to-create-intent-ai-let-them-think-th...
2•healsdata•49m ago•0 comments

Building Bulletproof React Components

https://shud.in/thoughts/build-bulletproof-react-components
2•plurby•52m ago•0 comments

Let's Encrypt bans certificate usage in any US sanctioned territory [pdf]

https://letsencrypt.org/documents/LE-SA-v1.7-June-04-2026-diff.pdf
5•piskov•54m ago•1 comments

Terradev 5.3.3

https://github.com/theoddden/Terradev
1•Facingsouth•55m ago•0 comments

The Data Center Bankshot – David Karpf

https://davekarpf.beehiiv.com/p/the-data-center-bankshot
3•Baljhin•55m ago•1 comments

AkiraOS: Embedded OS that runs WebAssembly applications on microcontrollers

https://github.com/ArturR0k3r/AkiraOS
1•sohkamyung•57m ago•0 comments

OpenAI plots biggest ChatGPT overhaul since launch

https://www.ft.com/content/ca0f5f5e-fb9a-41a0-a2a9-0127e15b7db9
5•ferryth•58m ago•0 comments

Ask HN: How do you cope when your startup contracts?

6•jasonephraim•58m ago•2 comments

Trusting AI Blindly

https://cate.cero-ai.com/blog/illusion-of-finished-work
6•Imbiss•1h ago•0 comments

Airline profits set to halve this year as fuel costs jump by $100B: IATA

https://www.cnbc.com/2026/06/08/iata-airline-profitability-halve-jet-fuel-costs-jump-100b.html
4•root-parent•1h ago•0 comments

Expanding Private Cloud Compute

https://security.apple.com/blog/expanding-pcc/
3•wrxd•1h ago•0 comments

Sam Bankman-Fried seeks Trump pardon

https://www.ft.com/content/7b976fd2-d93d-4af6-b030-0d1aceec3a30
5•root-parent•1h ago•4 comments