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

Dirge – The Batteries-Included Rust Coding Agent

https://dirge-code.github.io/
1•tosh•1m ago•0 comments

Neutrinos From Deep Inside Earth Provide a New Picture of the Mantle

https://www.quantamagazine.org/neutrinos-from-deep-inside-earth-provide-a-new-picture-of-the-mant...
1•Brajeshwar•1m ago•0 comments

Grok can escape its sandbox with persistent read/write access

1•holdswarm•4m ago•0 comments

Show HN: Happy 808 Day

https://raygum.com/instruments/roland-tr-808-drum-machine
1•stuartmemo•6m ago•0 comments

One Casualty of Taiwan's War Drills: A Slower Internet

https://www.wsj.com/world/asia/taiwan-war-drills-internet-speed-e4813870
2•impish9208•9m ago•1 comments

Most Expensive Historical Items Ever Sold at Auction

https://thehistoricalinsights.page/2026/03/most-expensive-historical-items.html
2•historical1234•9m ago•0 comments

A Gentle Deep Dive into Quantization

https://cuecloud.substack.com/p/the-fantastic-promise-of-quantization
2•krav-sales•10m ago•0 comments

AI Adoption Is a Myth

https://twitter.com/vasuman/status/2085806422072418632
2•gmays•10m ago•0 comments

8 Out of 10 Banks in Belgium Hate This One Weird EID RCE

https://amibeingpwned.com/blog/8-in-10-banks-in-belgium
1•Doohickey-d•10m ago•0 comments

Spec Driven Development with markdown-den

https://www.markdown-den.com/blog/ai-assisted-dev
2•dguridi•14m ago•0 comments

Does Silicon Valley Dream of Philip K Dick?

https://www.ft.com/content/bdcf7729-3b03-49ec-82fb-b5773fdaa990
3•bookofjoe•14m ago•1 comments

Odi – A note app where notes can be apps, and apps can be plugins

https://www.odinotes.com/
3•chin2413•14m ago•0 comments

Mini Cities – Cato Institute

https://www.cato.org/blog/friday-feature-mini-cities
2•danielfetz•16m ago•0 comments

Show HN: JustAPI:a Python web framework where the framework itself is Rust

https://blog.swadhin.cv/blog/just-api-a-python-framework/
1•0xER•18m ago•0 comments

Cloudflare R2 Outage (Sigh)

https://www.cloudflarestatus.com
4•minraws•19m ago•3 comments

Claude Code in 9 lines of Python

https://www.reddit.com/r/LocalLLaMA/comments/1viwlgj/claude_code_in_9_lines_python
1•larodi•20m ago•0 comments

The human-origin story is being revised

https://www.theatlantic.com/science/2026/08/human-origins-dna-tools-earthworks/688225/
1•arto•21m ago•0 comments

ICQ Reborn

https://icqr.net/
1•bartkappenburg•22m ago•0 comments

Are We Being Railroaded by AI?

https://tomtunguz.com/llm-impact-gdp/
2•bonsai_spool•25m ago•0 comments

What Is Spiralism? The AI Chatbot Religion

https://www.techrepublic.com/article/news-ai-chatbot-spiralism-movement/
2•Alien1Being•32m ago•0 comments

AI Video Taking over YouTube

4•toit4wing•36m ago•2 comments

Mycelium AI Policy

https://github.com/hawkw/mycelium/commit/b77e854bcbbe7c64f644e4c6ceeaebb74c80c79a
2•tekacs•37m ago•0 comments

OpenAI acquires NextSlide as ChatGPT expands into PowerPoint

https://runtimewire.com/article/openai-acquires-nextslide-chatgpt-powerpoint
2•ryanmerket•37m ago•0 comments

1mongpt: A large language model, except it's one guy

https://iwanttochee.se
2•raygen•38m ago•0 comments

Denmark Requires Oral Defenses for Students' Written Work to Counter AI Cheating

https://mezha.net/eng/bukvy/ca117584_denmark_requires_oral/
52•theanonymousone•38m ago•19 comments

Some software talks I like

https://char.lt/blog/2026/08/talks-i-like/
3•birdculture•39m ago•0 comments

Hackers breach TrueConf to trojanize client installers with backdoors

https://www.bleepingcomputer.com/news/security/hackers-breach-trueconf-to-trojanize-client-instal...
3•sbulaev•40m ago•0 comments

The first self-driving vehicle on Mars has proven to be a smashing success

https://arstechnica.com/space/2026/08/the-first-self-driving-vehicle-on-mars-has-proven-to-be-a-s...
2•Brajeshwar•41m ago•0 comments

You only have three weeks to buy a Switch 2 before its price goes up

https://www.t3.com/tech/gaming-consoles/reminder-this-is-the-last-month-to-buy-a-switch-2-before-...
2•mushstory•41m ago•0 comments

Show HN: Algebruh - Cross-check arithmetic claims with Z3, cvc5, and Lean

https://github.com/skorotkiewicz/algebruh
2•modinfo•43m ago•0 comments