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•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

Pre-Modern Armies for Worldbuilders, Part I: Why They Fight

https://acoup.blog/2026/06/05/collections-pre-modern-armies-for-worldbuilders-part-i-why-they-fight/
1•gostsamo•2m ago•0 comments

Claude-tinderbox: Search your Claude.ai conversation history locally via MCP

https://github.com/luckyrmp/tinderbox-archive
1•songwavepst•4m ago•0 comments

Bitcoin's star fades, as investors flock to lustre of AI and megacap IPOs

https://www.reuters.com/business/finance/bitcoins-star-fades-investors-flock-lustre-ai-megacap-ip...
1•1vuio0pswjnm7•6m ago•0 comments

Central Ohio Becomes Hub for Tech and Manufacturing

https://www.nytimes.com/2026/06/05/business/ohio-tech-manufacturing-hub.html
1•saikatsg•6m ago•0 comments

Language models transmit behavioural traits through hidden signals in data

https://www.nature.com/articles/s41586-026-10319-8
1•bushwart•7m ago•0 comments

OpenAI Help: Lockdown Mode

https://help.openai.com/en/articles/20001061-lockdown-mode
3•berlianta•8m ago•0 comments

Ubuntu 26.10 to Begin Laying Foundation for Context-Aware Desktop

https://www.phoronix.com/news/Ubuntu-26.10-Desktop-Features
2•dabinat•9m ago•0 comments

Show HN: Nimbril – 12 file tools that never upload (airplane-mode test)

https://nimbril.com
1•yapancha•9m ago•0 comments

Bitcoin cracks $60k, sinking to lowest level since October 2024

https://www.cnbc.com/2026/06/05/bitcoin-dismal-week-price-below-all-time-high-crypto-investors.html
1•1vuio0pswjnm7•12m ago•0 comments

MIT's Dr Fink got Sakharov Prize for defending human rights of scientists in US

https://www.aps.org/funding-recognition/prize/andrei-sakharov
1•osnium123•12m ago•1 comments

Costco sells such cheap gas

https://www.cnn.com/2026/05/31/business/costco-cheap-gas
3•Bender•15m ago•0 comments

Yet another Cisco SD-WAN 0-day under attack, and no patch in sight

https://www.theregister.com/security/2026/06/05/yet-another-cisco-sd-wan-0-day-under-attack-and-n...
2•Bender•16m ago•0 comments

C++: The Programming Language back cover raises questions not answered by front

https://devblogs.microsoft.com/oldnewthing/20260605-01/?p=112391
2•paulmooreparks•20m ago•0 comments

Quest 3 Accessory Turns Brain Activity into VR Avatar Control

https://roadtovr.com/quest-accessory-bci-brain-activity-avatar-control/
2•LorenDB•23m ago•0 comments

I turned a $59 Android phone into a self-healing cloud engine (Axiom SDK)

https://github.com/liberatedai-ui/axiom-sdk-wrapper
1•liberatedai•24m ago•0 comments

Scarcity is driving AI innovation outside Silicon Valley

https://restofworld.org/2026/scarcity-is-driving-ai-innovation-outside-silicon-valley/
2•i7l•29m ago•0 comments

The Fix for AI's Spending Problem Is Not Good for OpenAI and Anthropic [video]

https://www.youtube.com/watch?v=w1yB7ck36JA
1•mgh2•32m ago•0 comments

Starling – Managed-first .NET web browser engine, built from primitives

https://starlingbrowser.com
2•bj-rn•37m ago•0 comments

Show HN: NEP – Ethereum JSON-RPC transform that beats ZSTD by 12%

https://github.com/Louw115/nep-ethereum-compression
1•LBWasserman•43m ago•1 comments

The Future of Film May Just Be Old Movies (2024)

https://www.theringer.com/2024/10/23/movies/repertory-revival-cinema-old-movie-screenings-vidiots...
1•cocacola1•47m ago•0 comments

Thinking more about Netscape Time

https://thehistoryoftheweb.com/thinking-more-about-netscape-time/
1•Brajeshwar•50m ago•0 comments

The Stochastically K Shaped Job Market

https://www.williamangel.net/blog/2026/06/05/the-stochastically-k-shaped-engineering-job-market.html
1•datadrivenangel•57m ago•0 comments

Silicon Valley's Secretive, Orgiastic Dark Side (2018)

https://www.vanityfair.com/news/2018/01/brotopia-silicon-valley-secretive-orgiastic-inner-sanctum
2•mgh2•58m ago•0 comments

Getting silly with C, part and((int*)1)[-1]

https://lcamtuf.substack.com/p/getting-silly-with-c-part-and-int1
3•surprisetalk•59m ago•0 comments

Show HN: Backup Your Perplexity Research to Markdown and Obsidian

https://chatgpt2notion.com/products/perplexity-to-obsidian/
1•chatgpt2notion•1h ago•0 comments

Show HN: Zedra – Mobile control plane for AI coding agents

1•tanlethanh•1h ago•1 comments

Ask HN: Why is the HN crowd so anti-AI?

14•Ekami•1h ago•24 comments

Definitive guide for creating skill.md for your tools

https://docsalot.dev/blog/what-is-skill-md
1•fazkan•1h ago•0 comments

Agent-ML-skills – Teach Codex/Claude/Cursor to stop making ML mistakes

https://github.com/param087/agent-ml-skills
1•param087•1h ago•0 comments

Show HN: Apple Contacts MCP – Local AI Access to macOS Contacts

https://github.com/lu-wo/apple-contacts-mcp
1•luwo•1h ago•0 comments