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

Phones alerted millions before quakes shook Venezuela

https://www.nytimes.com/interactive/2026/06/27/world/americas/venezuela-earthquakes-android-alert...
1•pash•1m ago•0 comments

Show HN: Pressn't, a site where you can have a single post

https://app.pressnt.net/
2•DanielVZ•6m ago•1 comments

Protocol Prying: zero-click vulns in AirDrop and Quick Share

https://arxiv.org/abs/2606.26967
1•Jimmc414•6m ago•0 comments

I Build a 10 Inch Mini Rack from Aluminium Extrusions

https://louwrentius.com/i-build-a-10-inch-mini-rack-from-aluminium-extrusions.html
1•louwrentius•8m ago•0 comments

The truth about datacenters in space [video]

https://www.youtube.com/watch?v=_qpdUNMt2yg
1•dgellow•11m ago•0 comments

Tell HN: Please stop posting political content

4•phyzix5761•15m ago•4 comments

Reality has a surprising amount of detail

https://johnsalvatier.org/blog/2017/reality-has-a-surprising-amount-of-detail
2•vinhnx•17m ago•0 comments

Enki – memory for AI agents that keeps ~half as much and answers as well

https://github.com/stephen487/enki-benchmarks
1•Enkilabs•18m ago•0 comments

Predictions for the Future of AI

https://www.scoutcorpsllc.com/blog/2026/6/2/predictions-for-the-future-of-ai
1•schrodinger•18m ago•1 comments

WAL-RUS: a Rust Rewrite of WAL-G for PostgreSQL Backups

https://clickhouse.com/blog/walrus-postgres-backups-in-rust
1•saisrirampur•21m ago•0 comments

Data Access Patterns That Makes Your CPU Angry

https://blog.weineng.me/posts/slowest_add
1•shellpipe•22m ago•0 comments

Kops: Extending the eBPF JIT with native ops you don't have to trust

https://arxiv.org/abs/2606.24213
2•Jimmc414•23m ago•0 comments

Fast feedback loops is the way

1•skyglider•23m ago•0 comments

Apple Neural Engine: Architecture, Programming, and Performance

https://arxiv.org/abs/2606.22283
1•Jimmc414•24m ago•0 comments

Digital Storage Detection Dogs: A Promising New Niche

https://www.eurosatory.com/en/digital-storage-detection-dogs-a-promising-new-niche/
1•g-b-r•26m ago•1 comments

Church of Cyberology

https://cyberology.church/
1•jodacola•26m ago•0 comments

Proton's crypto is not Transparent and not OPAQUE

https://schaerli.org/weblog/5-proton/
1•backlit4034•27m ago•0 comments

Agent Kits – Compliance Scanner

https://www.agent-kits.com/scan
1•stoicstoic•34m ago•0 comments

Wan Streamer v0.1: End-to-End Real-Time Interactive Foundation Models

https://wan-streamer.com/
1•smusamashah•35m ago•0 comments

Logigate: Session gating and ephemeral isolation framework

https://crates.io/crates/logigate
1•zkpvault•37m ago•0 comments

Carna Botnet

https://en.wikipedia.org/wiki/Carna_botnet
2•lelandfe•38m ago•0 comments

Single Point of Failure Apps

https://chrpaul.de/posts/2026-06-27-single-point-of-failure-apps/
2•aendruk•40m ago•0 comments

Grasshopper – Algorithmic Modeling for Rhino

https://www.grasshopper3d.com/
1•gurjeet•45m ago•0 comments

Codeberg Is Down

https://social.anoxinon.de/@codebergstatus/116824443563698727
10•sscaryterry•48m ago•0 comments

DOE explains antimatter

https://www.energy.gov/science/doe-explainsantimatter
2•hhs•49m ago•1 comments

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
4•hackernj•50m ago•2 comments

New Work, new technologies, and the skill premium

https://www.nber.org/digest/202606/new-work-new-technologies-and-skill-premium
2•hhs•52m ago•0 comments

Teamwork: An unexpected strategy bacteria use to survive antibiotics

https://www.bcm.edu/news/teamwork-an-unexpected-strategy-bacteria-use-to-survive-antibiotics
3•hhs•56m ago•0 comments

The Weight-Loss Revolution People Didn't Want

https://greyenlightenment.com/2026/06/23/the-weight-loss-revolution-people-didnt-want/
2•paulpauper•1h ago•1 comments

Show HN: KV-psi, using Linux PSI to to trim an LLM KV cache

https://github.com/infiniteregrets/kv-psi
2•infiniteregrets•1h ago•0 comments