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

People Inc. CEO accuses Google of abusing its market power

https://www.axios.com/2026/06/23/people-inc-google-ai-search-crawler
1•1vuio0pswjnm7•1m ago•0 comments

Ask HN: How much memory is useable by GPU in MacBook?

1•mzubairtahir•1m ago•0 comments

Rich and famous families teach their kids Mandarin as China's influence grows

https://www.abc.net.au/news/2026-06-27/musk-trump-bezos-zuckerberg-children-learning-mandarin/106...
1•defrost•2m ago•0 comments

My gf's birthday is my yearly reminder that I'm bad at gift-giving

https://giftmaxxing.vercel.app/
1•tar-ive•2m ago•0 comments

I HATED having to stop playin instrument togo thru pages onPDFso I used blinking

https://verceleye.vercel.app/
1•peenut•3m ago•1 comments

OpenTTD 16.0-Beta1

https://www.openttd.org/news/2026/06/25/openttd-16-0-beta1
1•untilted•5m ago•0 comments

Mythos available for select organisations

https://twitter.com/anthropicai/status/2070665903440871779
1•dsr12•7m ago•1 comments

Air conditioning torn from homes under net zero clampdown

https://www.telegraph.co.uk/money/consumer-affairs/air-conditioning-torn-from-homes-under-net-zer...
2•razor-thin•11m ago•1 comments

Photos by Om

https://www.photosbyom.com
1•adityaathalye•11m ago•1 comments

Modern GPU Programming for MLSys

https://mlc.ai/modern-gpu-programming-for-mlsys/#
1•sonabinu•25m ago•1 comments

Coding agent harness written in native Golang with built-in file and Git viewer

https://code.intellios.ai
1•coolwulf•25m ago•0 comments

2026 FIFA Worldcup Predictor

https://nutmeg-4eg.pages.dev/
1•chriszng•31m ago•2 comments

Isn't US Government trying to monopolize AI as a super power?

1•StizzurpXDD•38m ago•0 comments

SpaceX stock is a terrible buy – what that means for the bull market

https://www.msn.com/en-us/money/topstocks/spacex-stock-is-a-terrible-buy-what-that-actually-means...
1•WheelsAtLarge•41m ago•1 comments

Apple seeks to buy memory chips from blacklisted Chinese company

https://www.ft.com/content/d72a25e2-7bde-4aa9-bd8d-0c4f3d6cb2cb
1•ilreb•43m ago•0 comments

Agentic Trading on Robinhood

https://robinhood.com/us/en/agentic-trading/
3•huragok•46m ago•1 comments

(Planet Money, NPR) "We almost had a smartphone in the 90s. Why did it fail?"

https://www.npr.org/2026/06/26/nx-s1-5872785/general-magic-sony-magiclink-constraints
1•wnc3141•52m ago•2 comments

I built a marketplace where the money can be verified by anyone

https://old.reddit.com/r/SubliminalsVerytasium/comments/1ufhleb/i_built_a_marketplace_where_the_m...
1•bbenevolence•54m ago•0 comments

Find the right AI agents to build

https://www.agentideahub.com
1•mattmerrick•58m ago•0 comments

TUI email client in native Golang with LLM based drafting functions

https://mail.intellios.ai
1•coolwulf•59m ago•0 comments

Nomad: Portable, offline media server powered by the ESP32-S3 in a thumbdrive

https://www.instructables.com/Jcorp-Nomad-Mini-WIFI-Media-Server/
1•thunderbong•1h ago•0 comments

US allows Anthropic to release Mythos AI to 'trusted' US organizations

https://www.reuters.com/technology/us-releases-anthropic-model-mythos-some-us-companies-semafor-r...
1•swolpers•1h ago•0 comments

If they start to gatekeep who gets to use the best models, that is a DoW

https://twitter.com/jmrphy/status/2070528497752166454
1•Jimmc414•1h ago•0 comments

Show HN: I replaced $500/mo in freelance tools with 20 ChatGPT prompts

https://medium.com/@promptalex53/1c857c6f424a
1•promptalex53•1h ago•0 comments

WordStar: A Writer's Word Processor (1996)

https://www.sfwriter.com/wordstar.htm
10•droidjj•1h ago•4 comments

Meta asks California lawmakers for shield from child harm penalties

https://www.politico.com/news/2026/06/26/exclusive-meta-asks-california-lawmakers-for-shield-from...
2•donsupreme•1h ago•0 comments

Smugglers Create Fake Google Maps Car, US Border Patrol Catches

https://www.autoevolution.com/news/smugglers-create-fake-google-maps-car-border-patrol-agents-act...
1•gnabgib•1h ago•0 comments

Ask HN: MacBook vs. Dedicated GPU for LLM

12•mzubairtahir•1h ago•16 comments

OpenData – Open-Source and Object Store Native Databases

https://www.opendata.dev/
1•apurvamehta•1h ago•0 comments

Love Conquers Fear: Humanity, AI, and the Age of Abundance for All

https://www.amazon.com/Love-Conquers-Fear-Humanity-Abundance-ebook/dp/B0GX32NPX5
1•ilreb•1h ago•0 comments