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

I wish Xcode was more like Visual Studio when coding C++

https://www.lasselaursen.com/post/i-wish-xcode-was-more-like-visual-studio-when-coding-c/
1•Gazoo101•49s ago•0 comments

Formal Verification in Any Language for Everybody (lean 4)

https://www.dev-log.me/formal_verification_in_any_language_for_everybody/
1•wazHFsRy•1m ago•1 comments

Can LLMs accelerate science? An experiment

https://pavpanchekha.com/blog/llk.html
1•pavpanchekha•5m ago•0 comments

Federal Court Denies Anthropic's Motion to Lift 'Supply Chain Risk' Label

https://www.nytimes.com/2026/04/08/technology/anthropic-pentagon-risk-circuit-court.html
1•DeathArrow•6m ago•0 comments

Flatpak: Complete Sandbox Escape

https://github.com/flatpak/flatpak/security/advisories/GHSA-cc2q-qc34-jprg
1•eyberg•6m ago•0 comments

AI #163: Mythos Quest

https://thezvi.substack.com/p/ai-163-mythos-quest
1•paulpauper•11m ago•0 comments

US adults are having fewer kids – and it's forcing schools to close

https://www.theguardian.com/us-news/2026/mar/16/birthrate-schools-closing
1•PaulHoule•15m ago•0 comments

'The Egg' by Andy Weir (2009)

https://www.galactanet.com/oneoff/theegg_mod.html
1•goekjclo•16m ago•0 comments

When AI Day of Reckoning?

https://www.overcomingbias.com/p/when-ai-day-of-reckoning
1•paulpauper•16m ago•0 comments

Keychron has open sourced its hardware

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design/tree/main
3•azhenley•16m ago•0 comments

I rebuilt Claude Code's removed /buddy companion as a permanent MCP app

https://github.com/1270011/claude-buddy
2•1270011•19m ago•0 comments

Violating Copyright, Not the Planet

https://mumumelon.co/
1•Tomte•34m ago•0 comments

Bryson DeChambeau to use a 5-iron he made with 3D printer at Masters

https://www.espn.com/golf/story/_/id/48431238/bryson-dechambeau-using-iron-made-3d-printer-masters
1•1659447091•34m ago•0 comments

You've Been Writing Matplotlib Abstractions Wrong

https://www.dontusethiscode.com/blog/2026-04-08_matplotlib_abstractions.html
1•Tomte•34m ago•0 comments

How can I get your attention?

1•ChalresWT•36m ago•0 comments

On Partners, Mario, & Pi

https://www.foggynotions.day/#on-partners-mario-pi
1•doppp•37m ago•0 comments

The Waymo Rule for AI-Generated Code

https://rng.md/posts/the-waymo-rule-for-ai-generated-code/
2•handfuloflight•41m ago•0 comments

Know the Owners – Explore the ownership structures behind name brand products

https://knowtheowners.com/
2•pkutro•41m ago•1 comments

Pizza Tycoon simulated traffic on a 25 MHz CPU

https://pizzalegacy.nl/blog/traffic-system.html
1•vinhnx•42m ago•0 comments

Alignment Risk Update for Claude Mythos [pdf]

https://www-cdn.anthropic.com/79c2d46d997783b9d2fb3241de43218158e5f25c.pdf
1•jablongo•43m ago•0 comments

Bash Owns the Loop

https://www.nibzard.com/wrappers/
1•peterdemin•43m ago•0 comments

Under the hood of MDN's new front end

https://developer.mozilla.org/en-US/blog/mdn-front-end-deep-dive/
3•vinhnx•43m ago•0 comments

Open Source Security at Astral

https://astral.sh/blog/open-source-security-at-astral
19•vinhnx•45m ago•0 comments

Show HN: Jsonl Viewer – An offline JSON Lines viewer in a single HTML file

2•Cassandra99•46m ago•1 comments

Esquire Singapore responds to criticism over use of AI for Mackenyu story

https://cnalifestyle.channelnewsasia.com/entertainment/esquire-singapore-ai-mackenyu-interview-ba...
1•hboon•50m ago•0 comments

GPU solver that matches Fujitsu's $1M Digital Annealer on cubic optimization

https://github.com/MysticCodingCat/CUDA-Native-HUBO
1•bobchen1322•51m ago•1 comments

The Slow Startup Movement

https://tarikhkorula.com/wisdom/the-slow-startup-movement
1•subdane•51m ago•1 comments

Pope Leo Reportedly Unlikely to Visit US After Trainwreck Trump Admin Meeting

https://www.mediaite.com/media/news/pope-leo-reportedly-unlikely-to-visit-us-after-trainwreck-tru...
6•rawgabbit•51m ago•0 comments

Apple Will Release iPhone Air 2 No Matter How Badly It May Sell

https://www.macrumors.com/2026/04/08/iphone-air-2-to-launch-no-matter-what/
1•mgh2•52m ago•0 comments

Show HN: We Evaluates Medical Research Agent Skills

https://github.com/aipoch/medical-research-skills
2•The_resa•57m ago•0 comments