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

Comments

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

A man who co-designed SQL, and didn't live to see it run

https://drdavidwbell.substack.com/p/the-man-who-co-designed-sql
1•drdavidwbell•9s ago•0 comments

Improving ICU handovers by learning from Scuderia Ferrari F1 team

https://healthmanagement.org/c/icu/IssueArticle/improving-handovers-by-learning-from-scuderia-fer...
1•embedding-shape•11s ago•0 comments

City birds more afraid of women than men, scientists have no idea why

https://www.scientificamerican.com/article/city-birds-appear-more-afraid-of-women-than-men-and-sc...
1•jagaerglad•23s ago•1 comments

A Falcon 9 rocket stage will hit the Moon this summer at Mach 7

https://arstechnica.com/space/2026/04/a-falcon-9-upper-stage-will-strike-the-moon-in-august/
1•LorenDB•1m ago•0 comments

Show HN: A private-ish bookmark app that uses GitHub Gist as its back end

https://github.com/chrisdiana/gistkeep
1•inflam52•1m ago•0 comments

Coding Was Never the Hard Part: What I Wish Every Business Leader Knew About AI

https://koushikdasika.com/blog/coding-was-never-the-hard-part/
1•HalcyonicStorm•1m ago•0 comments

Four engineers with 10 years of experience on staying relevant in the AI era

https://shiftmag.dev/what-4-engineers-with-10-years-of-experience-say-about-staying-relevant-in-t...
4•choochilla4•2m ago•0 comments

Claude Mythos Has Found 271 Zero-Days in Firefox

https://www.schneier.com/blog/archives/2026/04/claude-mythos-has-found-271-zero-days-in-firefox.html
1•pastor_williams•2m ago•0 comments

Scroll-Driven Animations

https://www.joshwcomeau.com/animation/scroll-driven-animations/
1•ibobev•3m ago•0 comments

C++26: String and String_view Improvements

https://www.sandordargo.com/blog/2026/04/29/cpp26-string-string_view-improvements
1•ibobev•4m ago•0 comments

10Gb Ethernet: what I had to (re)learn

https://www.gilesthomas.com/2026/04/10g-ethernet-what-i-relearned
1•ibobev•4m ago•0 comments

ChronoShield – An API that catches DST and timezone edge cases

https://chronoshieldapi.com
1•Mike-Mait•4m ago•0 comments

Show HN: Prxhub – open registry so AI agents stop re-running the same research

https://prxhub.com
2•primeobsession•5m ago•0 comments

Notepad++ Code Editor Comes to Mac After 20-Year Wait

https://www.macrumors.com/2026/04/29/notepad-plus-plus-editor-comes-to-mac/
1•Brajeshwar•6m ago•0 comments

Multiple XSA/CVE Issues in Xen, Linux Xen Drivers and XAPI

https://tux.re/forum/viewtopic.php?t=182
1•Neteam•6m ago•0 comments

Are "Vintage LLMs" the start of a new humanistic field?

https://resobscura.substack.com/p/are-vintage-llms-the-start-of-a-new
1•arbesman•9m ago•0 comments

X11 is dead, Selkies web based remote desktop protocol explained

https://www.linuxserver.io/blog/webtop-4-1-x11-is-dead-and-what-is-selkies-anyway
3•thelamer•10m ago•1 comments

AI Chatbots – Last Week Tonight [video]

https://www.youtube.com/watch?v=Ykvf3MunGf8
1•hansmayer•10m ago•0 comments

Push for raw milk intensifies across the US, despite illness outbreaks

https://apnews.com/article/raw-milk-legislation-outbreak-02c67adf7845d188c41ab0af06e97869
1•geox•11m ago•0 comments

Show HN: A Fast Quicksort in C with Branch‑Avoidant Coding and Threads

https://easylang.online/blog/threaded_sorting
1•chrka•11m ago•0 comments

Compute Scaling Will Slow Down Due to Increasing Lead Times

https://epoch.ai/gradient-updates/compute-scaling-will-slow-down-due-to-increasing-lead-times
1•hyperpape•15m ago•0 comments

Megent – Firewall for AI Agents

https://megent.dev
1•mikile•15m ago•0 comments

NASA Fires Up Powerful Lithium-Fed Thruster for Trips to Mars

https://www.jpl.nasa.gov/news/nasa-fires-up-powerful-lithium-fed-thruster-for-trips-to-mars/
3•bilsbie•16m ago•0 comments

Reverse Engineering SimTower

https://phulin.me/blog/simtower
1•moyix•20m ago•1 comments

I checked carry-on rules at 75 airlines. The carry-on wasn't the trap

https://vientapps.com/blog/75-airline-personal-item-trap-2026/
1•vientapps•20m ago•2 comments

I built PII masking and semantic search directly into Polars DataFrames

https://omna.dev/
1•gauravji•20m ago•0 comments

Show HN: Stateless, system-wide Transparent Tor Proxy for Linux (v0.1.0)

https://github.com/onyks-os/TransparentTorProxy
2•onyks•21m ago•0 comments

How the Next El Niño Could Lock in a Hotter Climate

https://e360.yale.edu/digest/super-el-nino-climate-regime-shift
1•Brajeshwar•21m ago•0 comments

The Mystery of Asjo.org

https://acid.vegas/blog/the-mystery-of-asjo-org/
1•swq115•22m ago•0 comments

Letting AI play my game – building an agentic test harness to help play-testing

https://blog.jeffschomay.com/letting-ai-play-my-game
2•jschomay•22m ago•0 comments