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

Can Sponge Cities Save Us from the Coming Floods?

https://www.newyorker.com/magazine/2026/04/13/can-sponge-cities-save-us-from-the-coming-floods
1•littlexsparkee•32s ago•0 comments

Kindle to end store downloads and registering for 1st-5th gen kindles in May

https://www.reddit.com/r/kindle/s/xg8uCdAWU3
1•seam_carver•51s ago•0 comments

Desalination plants in the Middle East are increasingly vulnerable

https://www.technologyreview.com/2026/04/07/1135235/desalination-technology-water/
1•joozio•1m ago•0 comments

Whatsappweb.se, a WhatsApp Pixel for attribution before the chat starts

https://whatsappweb.se/
1•the_plug•1m ago•0 comments

The Download: AI's impact on jobs, and data centres in space

https://www.technologyreview.com/2026/04/07/1135208/the-download-ai-impact-jobs-data-centres-space/
1•joozio•3m ago•0 comments

Stealing from the Best Emacs Configs

https://emacsredux.com/blog/2026/04/07/stealing-from-the-best-emacs-configs/
1•signa11•3m ago•0 comments

Frequent ChatGPT users are accurate detectors of AI-generated text (2025)

https://arxiv.org/abs/2501.15654
2•croemer•4m ago•1 comments

Show HN: Coding Planets – turn GitHub contributions into sound and space

https://joaonetto.me/projects/music/
1•jnettome•8m ago•1 comments

Show HN: RefearnApp – Open-source alternative to Rewardful/Tolt

https://refearnapp.com/
1•zekariyas•10m ago•0 comments

Wait Out AI's Super-Spending False Start

https://www.bloomberg.com/news/newsletters/2026-04-04/waiting-out-ai-s-super-spending-false-start...
2•strict9•10m ago•1 comments

How are you managing hooks for Claude Code?

1•nivedit-jain•11m ago•0 comments

textmode.js A creative coding library for building dynamic ASCII art

https://code.textmode.art
1•emigre•12m ago•0 comments

Prompt Caching from First Principles, blog with an AI co-author

https://lossfn.com/blog/prompt-caching/
1•rcdexta•12m ago•1 comments

EmDash is a full-stack TypeScript CMS, spiritual successor to WordPress

https://github.com/emdash-cms/emdash
1•danboarder•14m ago•1 comments

Emotion in AI Is Not Noise – It's Signal

https://twitter.com/fabianfranz/status/2041541955662774434
2•IsomorphicAI•14m ago•0 comments

Full System Cost of a Resilient and Carbon Neutral Electricity System [pdf]

https://unece.org/sites/default/files/2025-09/GECES-21_2025_INF.2%20-%20Understanding%20the%20Ful...
3•BenoitP•16m ago•0 comments

Show HN: Clawcast – A peer-to-peer podcast network for agents

https://www.clawcast.dev/
2•PiersonMarks•21m ago•4 comments

John Maynard Keynes: Newton, the Man

https://mathshistory.st-andrews.ac.uk/Extras/Keynes_Newton/
1•ericmay•21m ago•0 comments

Show HN: I built a database for AI agents

https://github.com/DinobaseHQ/dinobase
6•Kappa90•22m ago•5 comments

DNA robots could deliver drugs and hunt viruses inside your body

https://openyourmindabretumente.blogspot.com/2026/04/dna-robots-could-deliver-drugs-and-hunt_0138...
2•ericzapata•23m ago•0 comments

OpenSSH 10.3/10.3p1 Release Notes

https://www.openssh.org/txt/release-10.3
1•throw0101c•24m ago•1 comments

Studying Human Attitudes Towards Robots Through Experience

https://openyourmindabretumente.blogspot.com/2026/04/studying-human-attitudes-towards-robots_0169...
1•ericzapata•25m ago•0 comments

Stablecoins are quietly reinforcing US dollar dominance

https://verda.ventures/how-america-can-maintain-the-dollar-hegemony/
3•sevenfoldnancy•26m ago•0 comments

Show HN: C64 Ultimate Toolbox for macOS

https://github.com/amiantos/c64-ultimate-toolbox
1•amiantos•26m ago•0 comments

Ask HN: How do you promote apps which are vibe coded but has real life usecase?

2•faiyaz26•26m ago•0 comments

The Blueprint of a North Korean Attack on Open-Source

https://casco.com/blog/the-blueprint-of-a-north-korean-attack-on-open-source
6•brene•28m ago•1 comments

Seekdb M0: Persistent Cloud Memory and Shared Experience for OpenClaw Agents

https://en.oceanbase.com/blog/26635690496
2•calweng•28m ago•0 comments

Is Telehealth Safe?

https://www.kaspersky.com/blog/telehealth-issues-2026/55560/
1•salkahfi•28m ago•0 comments

Supabase vs. Convex

https://www.devtoolsacademy.com/blog/supabase-vs-convex/
2•alokDT•28m ago•0 comments

Show HN: I had no idea I twirled my hair 25 times an hour until my Mac told me

https://www.ticticboom.app/
3•haberdasher•28m ago•0 comments