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

Comments

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

Breakthrough in AI Solving Math Conjectures: Peking Univ. Team's Exploration

https://chinaresearchcollective.substack.com/p/a-new-breakthrough-in-ai-solving
1•seekdeep•42s ago•0 comments

Did it get dumber? Tracking Claude Code and Codex according to HN comments

https://diditgetdumber.com/
1•lebek•1m ago•0 comments

OCC – YAML-defined workflow orchestrator for LLMs with parallel execution

https://github.com/lacausecrypto/OCC
1•lacausecrypto•4m ago•0 comments

RFC 0015: Pi Licensing

https://rfc.earendil.com/0015/
1•tosh•4m ago•0 comments

Reading /etc./passwd through a translation file upload (CVE-2026-32251)

https://simonkoeck.com/writeups/tolgee-xxe-translation-import
1•soeckly•5m ago•0 comments

Hugging Face Contributes Safetensors to PyTorch Foundation

https://www.linuxfoundation.org/press/pytorch-foundation-announces-safetensors-as-newest-contribu...
1•rbanffy•5m ago•0 comments

DuckLake's 900x Speed Claim:A Database in Your Catalog Is Worth Two in the Cloud

https://www.banandre.com/blog/ducklake-900x-speed-claim-data-inlining-analysis
1•pholanda•7m ago•0 comments

Why Your Engineering Team Is Slow (It's the Codebase, Not the People)

https://piechowski.io/post/codebase-drag-audit/
2•grepsedawk•8m ago•0 comments

Defender – Local prompt injection detection for AI agents (no API calls)

https://www.npmjs.com/package/@stackone/defender
2•Hiskias•8m ago•0 comments

Countries are considering teen social media bans – why experts warn it's 'lazy'

https://www.cnbc.com/2026/04/08/teen-social-media-ban-countries-tech-experts-warning.html
1•cebert•11m ago•0 comments

Claude Mythos Preview: Available in Private Preview on Vertex AI

https://cloud.google.com/blog/products/ai-machine-learning/claude-mythos-preview-on-vertex-ai
1•Topfi•13m ago•0 comments

Optimize Norm Gathering Asm

https://blog.serenedb.com/norm-gathering
1•MBkkt•14m ago•0 comments

Show HN: Android SSH client with full Terminal, server monitoring and runbooks

https://saltserv.com/posts/cura-sysadmin-server-monitoring-android/
2•0dayman•18m ago•0 comments

From Engineer to Director

https://danielgriesser.com/posts/from-engineer-to-director/
1•tosh•18m ago•0 comments

ZeroKeep – Private AI workspace on WebGPU. Zero cost, zero setup

https://zerokeep.dev
1•bozmen•25m ago•0 comments

Earendil Inc. announcing Pi acquisition and Lefos

https://earendil.com/posts/press-release-april-8th/
1•czottmann•25m ago•0 comments

Show HN: DryRun – PostgreSQL MCP and schema advisor that works offline

https://github.com/boringSQL/dryrun
2•radimm•27m ago•1 comments

Mamba-3 and the State Space Model Renaissance

https://ngrislain.github.io/blog/2026-3-29-reading-note-mamba3-and-the-state-space-model-renaissa...
1•ngrislain•29m ago•0 comments

Zapfino, the Typeface with Built-In Magic

https://thatkeith.com/articles/zapfino-the-typeface-with-built-in-magic/
2•arm•30m ago•0 comments

Grid Battery storage is now cheap enough to unleash India's full solar potential

https://ember-energy.org/latest-insights/battery-storage-is-now-cheap-enough-to-unleash-indias-fu...
2•alephnerd•31m ago•0 comments

Reddit vs. SerpApi et al.

https://www.documentcloud.org/documents/26193527-reddit-v-serpapi-et-al/
2•doener•32m ago•0 comments

The Age-Old Urge to Destroy Technology

https://www.newyorker.com/culture/infinite-scroll/the-age-old-urge-to-destroy-technology
1•chrisaycock•36m ago•0 comments

Richard Feldman: language runtime overhead (2022) [video]

https://vimeo.com/653510682
1•tosh•37m ago•0 comments

Show HN: I built an open protocol for Agent-to-agent commercial negotiation

https://a2cn.io/
2•cmagorr1•38m ago•0 comments

Rare China visit, Taiwan's opposition leader calls for reconciliation

https://www.aljazeera.com/news/2026/4/8/on-rare-china-visit-taiwans-opposition-leader-calls-for-r...
2•_tk_•42m ago•0 comments

Did WordPress VIP leak my phone number?

https://shkspr.mobi/blog/2026/04/did-wordpress-vip-leak-my-phone-number/
3•ColinWright•43m ago•0 comments

OpenAI Codex reaches 3M weekly active users, up from 2M in under a month

https://twitter.com/thsottiaux/status/2041655710346572085
3•alecco•43m ago•0 comments

What Is a 'Cyberdeck': Meet Gen Z's New DIY Obsession

https://www.newsweek.com/what-is-a-cyberdeck-gen-zs-new-custom-computing-obsession-11787017
2•breve•45m ago•0 comments

Roc: Fast

https://www.roc-lang.org/fast
2•tosh•54m ago•0 comments

What does Lockdown Mode do to keep you safe from spyware? [video]

https://www.youtube.com/watch?v=5D3lWDUEJA8
1•skibz•1h ago•0 comments