frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•9mo ago

Comments

cherryteastain•9mo 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•9mo 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

Persistent Memory for OpenClaw (Moltbot)

https://www.npmjs.com/package/@mem0/openclaw-mem0
1•ninadwrites•1m ago•0 comments

To Use Snapdragon NPU, HTP Ops Libraries Must Be Signed with Trusted Certs

https://github.com/qualcomm/llama.cpp/blob/eb275c7f03f5411d88c6f5c56ea8926b25763199/docs/backend/...
1•WhereIsTheTruth•2m ago•0 comments

Yi-Ling Liu on finding freedom in China's digital margins

https://www.reuters.com/lifestyle/culture-current/yi-ling-liu-finding-freedom-chinas-digital-marg...
3•devonnull•3m ago•0 comments

Lessons Learned Shipping 500 Units of My First Hardware Product

https://www.simonberens.com/p/lessons-learned-shipping-500-units
1•sberens•3m ago•1 comments

Peter Thiel Is a Russian Asset

https://twitter.com/peterjukes/status/2017631808897122462
6•doener•5m ago•0 comments

Stratum: Architecting a Configurable Cache Simulator with C++ and Racket

https://thecloudlet.github.io/blog/project/stratum/
1•oumua_don17•8m ago•1 comments

More Than the Sum of Their Parts: From Statistical to Structural Mixtures

https://www.mdpi.com/1099-4300/28/1/111
1•PaulHoule•13m ago•0 comments

1-Click RCE to steal your Moltbot data and keys

https://depthfirst.com/post/1-click-rce-to-steal-your-moltbot-data-and-keys
2•arwt•16m ago•0 comments

New Stripe Landing Page

https://stripe.com/
1•MatthewBF•17m ago•0 comments

Show HN: Claude Confessions – a sanctuary for AI agents

https://claudeconfessions.com/
2•moona3k•17m ago•0 comments

The rise of one-pizza engineering teams

https://www.jampa.dev/p/the-rise-of-one-pizza-engineering
2•saikatsg•18m ago•1 comments

Scientists explain statin muscle pain

https://www.sciencedaily.com/releases/2026/01/260131084610.htm
2•gradus_ad•19m ago•0 comments

Scala Multimedia on the Commodore Amiga

https://stonetools.ghost.io/scala-amiga/
1•doener•19m ago•0 comments

Sales went up 430% after I added a live demo in the landing page

https://www.rankgap.io
1•itsjoaki•20m ago•2 comments

Clothes Are Plastic. Your Skin Pays the Price

https://substack.com/home/post/p-186265233
3•aftermath101•21m ago•1 comments

New in Calibre 9.0

https://calibre-ebook.com/new-in/eighteen
1•robin_reala•21m ago•0 comments

Average Is over with AI

https://arnoldkling.substack.com/p/average-is-over-with-ai
3•paulpauper•21m ago•1 comments

This year, I will write a GUI for my Emacs clone

https://kyo.iroiro.party/en/posts/this-year-a-shitty-gui/
2•todsacerdoti•22m ago•0 comments

TIL: Apple Broke Time Machine Again on Tahoe

https://taoofmac.com/space/til/2026/02/01/1630
25•rcarmo•25m ago•3 comments

India gives 20-year tax holiday to foreign firms using local data centres

https://www.reuters.com/world/india/india-gives-20-year-tax-holiday-foreign-firms-using-local-dat...
4•JumpCrisscross•25m ago•0 comments

Microsoft CTO: Why the OpenAI Board Really Fired Sam Altman

https://twitter.com/techemails/status/2018034985563996291
3•MrBuddyCasino•26m ago•0 comments

Show HN: Clawd Control – Open-source dashboard for monitoring Clawd fleets

https://clawdcontrol.com/
1•fmfamaral•27m ago•0 comments

French tech company Capgemini to sell US unit linked to ICE

https://www.reuters.com/business/french-tech-company-capgemini-sell-us-unit-linked-ice-2026-02-01/
3•JumpCrisscross•27m ago•0 comments

Mental model of fuel consumption is probably wrong

https://revithi.space/posts/fuel
2•billpcs•28m ago•0 comments

Ask HN/LLM: What you see in my product?

1•reconnecting•30m ago•0 comments

Moltbook and AI-to-AI Ecosystems

2•rowanseerwald•30m ago•0 comments

Another London: Excavating the disenchanted city

https://harpers.org/archive/2026/02/another-london-situationists-hari-kunzru/
1•jfil•31m ago•0 comments

Show HN: Chess.biz – pay to play top rated chess players

https://chess.biz/
1•ca98am79•32m ago•1 comments

Karpathy: We Should Bring Back RSS

https://twitter.com/karpathy/status/2018043254986703167
4•onurkanbkrc•32m ago•2 comments

New fear unlocked: runaway black holes

https://theconversation.com/new-fear-unlocked-runaway-black-holes-272429
3•billybuckwheat•33m ago•0 comments