广场

Deterministic Simulation Testing

Distributed systems are hard to test because partial failures overlap with live traffic and the same fault can produce different execution traces on different runs. Unmesh Joshi describes how deterministic simulation testing addresses this by replacing real clocks, networks, and storage with simulated components driven by a single-threaded execution loop. This allows simulating both hard failures and routine slowdowns—such as network and disk latency spikes—and more importantly makes every execution reproducible. This article explains the technique using a quorum key-value store as a running example, with code from Tickloom, a Java implementation of the approach. more…

Martin Fowler开发技术英文

TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient

AI coding agents can waste time and tokens relearning the same lessons. TokenEconomizer is an open-source plugin that builds on past sessions to cut costs while maintaining task success. It’s a path toward coding agents that learn not only how to solve tasks, but also how to spend computation more effectively. The post TokenEconomizer: Learning from Experience to Make AI Coding Agents More Efficient appeared first on Microsoft Research .

247A, Notes 4: Weighted estimates and pseudodifferential operators

— 1. Weighted inequalities — In the previous notes we have taken a linear or sublinear operator on a measure space and established mapping properties, such as These estimates reveal information about how the height and width of is controlled by the height and width of . However, these estimates do not indicate where the […]

What's new其他英文

科技爱好者周刊(第 419 期):机房来了,写字楼走了

这里记录每周值得分享的科技内容,周五发布。 本杂志 开源 ,欢迎 投稿 。另有 《谁在招人》 服务,发布程序员招聘信息。合作请 邮件联系 (yifeng.ruan@gmail.com)。 封面图 成都麓湖生态城的 Q8 步行桥,采用双曲线造型,在机动车桥的下方穿过,盘旋处形成一个湖心岛。( via ) 机房来了,写字楼走了 前几天,我看到一个短视频。有个博主来到内蒙古乌兰察布,拍下自己看到的景象,非常震惊。 那里现在是真正的"热土",曾经的草原遍布工地,聚集了几万个建筑工人,到处都在开工建设机房。 你敢相信吗?一个内陆地级市,最新统计是已经有100多个数据中心(包括建设中),全国主要 IT 公司和算力公司几乎都在那里有自己的机房。乌兰察布已经成了我国算力战略的重点城市。 它的成因,那个博主总结了几点,说得挺好。 (1)离北京近。它跟北京的直线距离约240公里,光纤往返延迟仅4.2毫秒。 (2)绿电丰富。它的有效风场面积占全国十分之一,年日照超3200小时,风电和太阳能根本用不完,导致电价便宜。 (3)气温低。年平均温度4.3度,一年有10个月可以直接利用室外冷空气来散热。 (4)(最初的)地价便宜,一亩才小几万元。当然,现在涨了好多倍。 但是,最打动我的,还是他在短视频结尾说的一句话。 他看着一眼望不到头的机房,脱口而出:" 写字楼会越来越不值钱 ,智力产出正转移到这些数据中心。" 这些新建的数据中心,主要用来跑大模型。随着越来越多的公司广泛使用 AI,很多智力工作会在机房里面完成,那么谁还需要大面积的写字楼? 再说,任何地方都可以远程调用算力,何必在城市的黄金地段花大价钱租写…

阮一峰的网络日志开发技术中文