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

Mysterious debris could be 'space balls'– may contain toxic rocket fuel

https://www.theguardian.com/australia-news/2026/jul/05/mysterious-debris-found-on-queensland-beac...
2•defrost•52s ago•0 comments

Nuclear Startups Hit a Big Milestone. Why It Matters–and Why It Doesn't

https://www.wired.com/story/nuclear-startups-hit-milestone-why-it-matters/
3•joozio•2m ago•0 comments

Agentsnap – find which config change broke your AI agent

https://drive.google.com/file/d/1oPTmOOkBtE0IRV4oy0K4NuuLxYBezXRc/view?usp=sharing
1•Gladi•6m ago•0 comments

Light Painting Tutorial, How to Light Paint a Light Man(2016)

https://lightpaintingphotography.com/light-painting-photography/light-painting-tutorial-how-to-li...
1•hopelessluca•12m ago•0 comments

GetSuperpower, an installable skill tree for coding agents

https://github.com/0xroylee/getsuperpower
1•1997roylee•12m ago•0 comments

'It's whack-a-mole': how Europe's smart border melted down

https://www.ft.com/content/3ed70f64-7443-4241-ac0f-38eabe218913
1•thm•15m ago•1 comments

Bending Spoons built a $23B tech empire from struggling brands

https://www.ft.com/content/040aac86-f458-400b-a353-7ff2ee5aa34f
1•mmarian•15m ago•1 comments

Notion based no code form builder

https://ndbforms.myurll.in/
1•nookeshkarri7•16m ago•0 comments

The Graduate-School Dropout Toppling China's Academic Stars

https://www.wsj.com/science/the-graduate-school-dropout-toppling-chinas-academic-stars-3c1e5d86
1•alecco•19m ago•1 comments

Toyota's CEO Warns the Company Might Not Survive

https://www.autonocion.com/us/toyota-crisis-chinese-evs/
2•Alien1Being•19m ago•0 comments

Show HN: Devflow CMS – Hybrid CMS Alternative to Joomla, Drupal, and WordPress

https://github.com/getdevflow
1•7mediaws•22m ago•0 comments

Is The Economist Always Wrong?

https://economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
1•andsoitis•23m ago•0 comments

Sollya: An environment and library for safe floating-point code development

https://www.sollya.org/
1•RossBencina•31m ago•0 comments

EV Batteries Are Defying Expectations After Miles

https://www.wsj.com/business/autos/ev-batteries-are-defying-expectations-after-hundreds-of-thousa...
13•apparent•32m ago•4 comments

Fidx – local semantic search in one SQLite file, no LLM at query

https://github.com/williamliu-ai/fidx
1•williamliu_ai•36m ago•0 comments

Security Roundup: Apple's Hide My Email Service Fails to Hide Your Email

https://www.wired.com/story/security-roundup-apples-hide-my-email-service-fails-to-hide-your-email/
1•01-_-•36m ago•0 comments

Show HN: Onboard-CLI, an AST-based tool to detect architectural drift

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•37m ago•0 comments

My manager appreciated my design process

3•Achuth123•42m ago•1 comments

Google commercial imagines Declaration of Independence written with help from AI

https://techcrunch.com/2026/07/04/new-google-commercial-imagines-a-declaration-of-independence-wr...
2•eloisius•42m ago•1 comments

sqlite-utils 4.0rc2, mostly written by Claude Fable (for about $149.25)

https://simonwillison.net/2026/Jul/5/sqlite-utils-fable/
2•ognyankulev•44m ago•0 comments

Top Companies in the Global Hybrid Memory Cube High-Bandwidth Memory Market

https://www.sphericalinsights.com/blogs/top-20-companies-in-the-global-hybrid-memory-cube-high-ba...
1•peter_d_sherman•45m ago•0 comments

Enigma M4 Breaker with GPU

https://github.com/vladimir-cicovic/EnigmaM4Breaker
2•vlad__81•47m ago•0 comments

Dungeon KeeperFX 1.4.0 with Multiplayer Released

https://keeperfx.net/news/25/2026-07-04/keeperfx-140-released
2•MrJagil•54m ago•1 comments

LLM's as a Different Kind of Intelligence

https://handmadeoasis.com/llms-as-a-different-kind-of-intelligence/
2•RamtinJ95•56m ago•0 comments

Geek, Music Producer, Father CEO Info-Struct

1•gryanfawcett•56m ago•0 comments

Megawatts by Microwave

https://computer.rip/2026-07-04-microwave-and-power.html
9•eternauta3k•1h ago•0 comments

Ask HN: How Do You Connect OpenAI Secure MCP Tunnel with Claude Desktop

2•mcpzero•1h ago•0 comments

Small Change [pdf]

https://web.stanford.edu/class/comm1a/readings/gladwell-small-change.pdf
2•ABNi•1h ago•0 comments

Fixing analog audio on the $2.58 HDMI-to-VGA adapter

https://nyanpasu64.gitlab.io/blog/hdmi-vga-dac-audio/
2•zdw•1h ago•0 comments

After hooking China on coffee, Starbucks ramps up consumer strategy

https://www.scmp.com/business/china-business/article/3359294/after-hooking-china-coffee-starbucks...
1•keepamovin•1h ago•0 comments