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

Relisten v6.1: CarPlay, Google Cast, Last.fm scrobbling, 4000 artists

https://old.reddit.com/r/gratefuldead/comments/1siwzr7/relisten_v61_carplay_google_cast_lastfm/
1•toomuchtodo•52s ago•1 comments

Show HN: Auto Learning Agents, a self-hosted AI agent platform on Elixir/OTP

https://www.autolearningagents.com/get-started/
1•abratabia•3m ago•0 comments

Does Academic Research Destroy Stock Return Predictability? (2012)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2156623
1•wslh•5m ago•0 comments

Free, on-device text-to-speech in the browser (and a scam-call sound board)

https://www.mycfml.com/articles/free-on-device-text-to-speech-in-the-browser/
1•rmason•7m ago•0 comments

Gaussian Function

https://en.wikipedia.org/wiki/Gaussian_function
1•tristenharr•10m ago•0 comments

Show HN: NeuralFit game - Adjust the network's weights manually

https://neuralfit.ai201.site/
2•Gooblebrai•11m ago•0 comments

Trump Made $1B on Crypto Deals While His Fans Lost a Fortune

https://www.wsj.com/finance/currencies/trump-made-1-billion-on-crypto-deals-while-his-fans-lost-a...
6•doener•12m ago•0 comments

Borrowing the Night: Reclaiming Idle Inference GPUs for Research

https://runwayml.com/news/borrowing-the-night-reclaiming-idle-inference-gpus-for-research
2•nielka•13m ago•0 comments

Spiritual Bypass

https://en.wikipedia.org/wiki/Spiritual_bypass
2•wslh•16m ago•0 comments

Show HN: Visualizing Contrastive Language-Audio Pretraining (Clap)

https://adamsohn.com/clap/
2•dataviz1000•16m ago•0 comments

Code Search: How Agents Search Across Snap's Codebase

https://eng.snap.com/code_search
3•Kaedon•18m ago•0 comments

Gen Z is forgoing the institution of mariage

https://www.cnbc.com/2026/07/02/gen-z-marriage-rates-american-dream.html
3•cramer4next•18m ago•3 comments

BlastRadar – paste a Git diff, get a production risk score in 10 seconds

https://blastradar.vercel.app/
2•M_Carpenter•19m ago•0 comments

China Tells Telecom Carriers to Phase Out Foreign Chips by 2027 (2024)

https://www.wsj.com/tech/china-telecom-intel-amd-chips-99ae99a9
2•mgh2•22m ago•1 comments

Show HN: Material 3 Expressive Web Components

https://matraic.github.io/m3e/
2•matraic•23m ago•0 comments

The 'Father of the Internet' is finally retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
5•rmason•23m ago•1 comments

Burned out, how do I get out of the rut?

4•brandgefahr•26m ago•5 comments

NLRB Case of Denise Unterwurzacher and Atlassian

https://www.nlrb.gov/case/16-CA-324971
3•abeppu•27m ago•1 comments

Microsoft Frontier Company – Announcement

https://blogs.microsoft.com/blog/2026/07/02/microsoft-frontier-company-ai-engineering-that-amplif...
3•dzonga•28m ago•1 comments

Swift-Nio-QUIC

https://github.com/apple/swift-nio-quic
2•frizlab•28m ago•0 comments

What's new in Swift: June 2026 Edition

https://swift.org/blog/whats-new-in-swift-june-2026/
2•frizlab•29m ago•0 comments

'Separate in name and power': How America reinvented English

https://www.bbc.com/future/article/20260630-how-america-reinvented-english
4•1659447091•29m ago•1 comments

Fly Through Hogwarts

https://hogwarts-production.up.railway.app/
2•memalign•32m ago•0 comments

Running a Virtual Machine on a Cloud Box That Can't Run Virtual Machines

https://www.frankchiarulli.com/blog/nix-pvm/
2•fcjr•34m ago•0 comments

US State of Virginia Bans Sale of Geolocation Data

https://www.hunton.com/privacy-and-cybersecurity-law-blog/virginia-bans-sale-of-geolocation-data
19•toomuchtodo•34m ago•2 comments

GitLab founder when facing terminal cancer attacks it like a startup problem

https://twitter.com/afshineemrani/status/2072363127552016501
2•rmason•35m ago•0 comments

The Music of Destruction

https://thebaffler.com/latest/the-music-of-destruction-fuelling
3•lermontov•37m ago•0 comments

WhatsApp to roll out username system, allowing users to hide phone numbers

3•PetaTech-News•38m ago•3 comments

Show HN: LaunchPact - Get upvotes for your Product Hunt launch

https://www.launchpact.io
1•launchpact_io•39m ago•2 comments

The Ramanujan Challenge for AI

https://www.ramanujanmachine.com/ramanujan-challenge/
1•robinhouston•40m ago•0 comments