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

The Hair-Dryer Incident Is Just the Start

https://www.theatlantic.com/technology/2026/07/prediction-market-outsider-trading/687975/
1•nabbed•1m ago•1 comments

Plat: An embeddable infinite canvas for humans and agents

https://github.com/zackham/plat
1•zackham•3m ago•0 comments

How to Run a Multi-Agent Coding Workspace (2026)

https://www.augmentcode.com/guides/how-to-run-a-multi-agent-coding-workspace
1•mahirsaid•4m ago•0 comments

Snowflake's string min/max is truncated to ~40 chars, and it's undocumented

https://gist.github.com/wubx/c7a7d754ec5ec7d84b3aa7945bafec3f
1•river_wu•4m ago•0 comments

China's EV Revolution [video] – Foreign Correspondent

https://www.abc.net.au/news/2026-07-21/china-s-ev-revolution/106940630
1•langfo•5m ago•1 comments

If HF was breached, should we expect OpenAI to face criminal charges?

2•arm32•6m ago•0 comments

Ten Steps Towards Happiness

http://hintjens.com/blog:99
1•emerongi•6m ago•0 comments

Transformation Theater

https://tusshah.codeberg.page/posts-output/2026-07-16-currentstate/
1•mmts•6m ago•0 comments

Fundamental Theorem of Software Engineering

https://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering
1•vismit2000•7m ago•0 comments

Trump Now Wants E. Jean Carroll to Return the $5.6M He Paid

https://people.com/trump-now-wants-e-jean-carroll-to-return-the-usd5-6m-he-paid-for-sexual-abuse-...
1•ninjahawk1•8m ago•0 comments

SynnoDB – Synthesizing Database engines for your workloads

https://github.com/SynnoDB/SynnoDB
1•zX41ZdbW•9m ago•0 comments

A Fireside Chat with Cat and Thariq from the Claude Code Team

https://simonwillison.net/2026/Jul/21/cat-and-thariq/
1•vismit2000•10m ago•0 comments

Light Comes into the Room

https://lightcomesintotheroom.com/
1•bpierre•13m ago•0 comments

What the World Should Learn from Australia's Social Media Law

https://time.com/article/2026/07/18/the-world-should-learn-from-australia-s-social-media-law/
1•dotcoma•13m ago•0 comments

SEAM-V: A Hybrid-Decoupled RISC-V Vector Processor

https://arxiv.org/abs/2607.17899
1•Jimmc414•20m ago•0 comments

An Explosion of Surveillance Towers Is Coming to US Borders, Costing $1B+

https://www.eff.org/deeplinks/2026/07/explosion-surveillance-towers-coming-us-borders-costing-ove...
2•Jimmc414•20m ago•0 comments

Hardware Mechanisms to Dynamically Throttle AI Performance

https://arxiv.org/abs/2607.18069
1•Jimmc414•22m ago•0 comments

Curative ditched a $600k-a-year Salesforce contract after vibecoding a CRM

https://www.businessinsider.com/curative-ceo-salesforce-vibecode-crm-2026-7
2•branko_d•23m ago•0 comments

V0.5.2 is out with 1400 fixes including SOA, ownership, and pure V GC

https://github.com/vlang/v/releases
1•valera228•23m ago•0 comments

OpenBench – A benchmark for comparing coding-agent harnesses

https://twitter.com/mattlam_/status/2079605387121049605
1•vitorgrs•26m ago•0 comments

Sports Is the Last True Mass Medium

https://www.mediapost.com/publications/article/416524/sports-is-the-last-true-mass-medium.html
1•dotcoma•27m ago•0 comments

Gizmo generates editable 3D environments for robot training from text and images

https://runtimewire.com/article/gizmo-generates-editable-3d-environments-for-robot-training-from-...
1•ryanmerket•30m ago•0 comments

How an AI Anime Is Created

https://www.aventos.dev/our-process?view=blog
2•JimsonYang•30m ago•0 comments

What Makes American Architecture American?

https://www.thenation.com/article/culture/american-architecture-sprawl-suburbs-postmodernism/
2•tintinnabula•38m ago•0 comments

Agent swarms are great for local AI

https://jonready.com/blog/posts/agent-swarms-are-great-for-local-ai.html
1•mips_avatar•39m ago•4 comments

TinyS – put all your Python knowledge into TinyS

https://github.com/ewiger/TinyS/blob/main/TLDR.md
1•divingstar•42m ago•0 comments

The Great Barrier Reef is changing. Why isn't it on UNESCO's 'in danger' list?

https://www.unsw.edu.au/newsroom/news/2026/07/the-great-barrier-reef-is-changing-why-isnt-it-on-U...
4•littlexsparkee•46m ago•0 comments

Boeing asks US to intervene over record EU loan to Airbus

https://www.reuters.com/business/aerospace-defense/boeing-asks-us-intervene-over-record-eu-loan-a...
3•petethomas•47m ago•1 comments

A Journey to the Center of the SpiderMonkey Virtual Machine [video]

https://www.youtube.com/watch?v=yrk7fLVLBc8
2•pwnna•50m ago•0 comments

A flaky test exposed a Redis client use-after-free

https://buildkite.engineering/how-a-flaky-test-exposed-a-redis-use-after-free/
10•DrNemski•56m ago•0 comments