20 stories · 1,694 comments

Overview

今天的主线是安全事件连环爆发:Binance 约 63 亿美元被盗(TRM 指朝鲜 TraderTraitor,20 分钟转走大部分资金)、Cursor 市场上被篡改的 Claude Code 扩展植入 SSH 后门、Azure 五条跨租户完整入侵链、Northflank 全量环境变量失守,加上又一次 GitHub 故障,评论区的共同结论是供应链和管理面才是真正的软肋,把锅推给”AI 加速的攻击者”则被不少人认为掩盖了产品设计问题。第二主线是对 AI 叙事的疲劳与反击:Anthropic 可能拿到垃圾级评级、FurtherAI 的”AI-native 工程组织”被批只量吞吐不看价值,以及用 Qwen 权重跑起 NES 的 Show HN 项目——有人惊叹有人斥为 slop。若只读两篇,建议看 Claude Code 后门那篇(跨 Anthropic 员工与评论者关于影响范围、以及 OpenVSX/无签名代理市场是否才是真问题的对峙,对任何装扩展的人都有直接操作价值),以及把经典 Mac OS 移植到 GameCube/Wii 的 PowerMac 长文(纯手工、无 LLM,细节密度极高,是今天最好的工程读物)。其余值得一读的还有 Tangled 联合创始人的现场问答和 Compile-Time Dependent Types 里关于什么才算依赖类型的交锋。

Stories

  1. My favourite PowerMac is a Nintendo Wii — 115 points, 24 comments
  2. Northflank Breached — 243 points, 155 comments
  3. Backdoor in Claude Code for VS Code extension on the Cursor Marketplace — 579 points, 401 comments
  4. Show HN: A working Nintendo in ~1GB of Qwen weights — 117 points, 90 comments
  5. Breaking the open web won’t stop the bad bots — 88 points, 32 comments
  6. Florilegium: Procedural Flowers in LaTeX — 128 points, 22 comments
  7. The federated code forge — 143 points, 52 comments
  8. Anthropic may not secure investment-grade rating after IPO, Blackstone says — 137 points, 66 comments
  9. Building an AI-native engineering org — 43 points, 47 comments
  10. Azure’s Weakest Link – Five Full Cross-Tenant Compromises — 219 points, 39 comments
  11. GitHub Incident with Actions, Pages, and Webhooks — 106 points, 41 comments
  12. AI isn’t replacing SREs, it’s deskilling them — 362 points, 283 comments
  13. Sleep framework: A new way for LLMs to retain knowledge in continual learning — 90 points, 7 comments
  14. Tree-mounted machines connect to web app to let users knock on wood remotely — 17 points, 9 comments
  15. Blockchain intelligence firms link North Korea to $6.3B hack on Binance — 143 points, 87 comments
  16. How do you take a picture of a black hole? — 66 points, 51 comments
  17. Compile-Time Dependent Types — 53 points, 15 comments
  18. The $6.3B Binance hack was pulled off in just 20 minutes — 262 points, 186 comments
  19. Show HN: I built a multiplayer game where you’re an aerial fighter cat — 62 points, 28 comments
  20. Why a program doesn’t work when run from a batch file, but works when clicked — 110 points, 59 comments

1. My favourite PowerMac is a Nintendo Wii

#1 on HN · virtuallyfun.com · 115 points · 24 comments · HN discussion

这是 virtuallyfun.com 上的一篇客座文章,作者是 Rairii,讲的是把经典 Mac OS 移植到使用 ArtX 系列芯片的 PowerPC 主机上,也就是 GameCube,以及搭载 Vegas/Bollywood 芯片的 Wii,最终还会涉及 Wii U。项目于 2025-06-22 从 fork 上游 OpenBIOS 开始,作者明确表示没有使用任何 LLM 或编码代理;这是自 CHRP 克隆机时代之后,第一次有人在 Apple 之外让经典 Mac OS 在全新硬件上启动到桌面。文章详细记录了各种修补工作:Trampoline 启动加载器对物理地址布局的假设、把 0x0100_0000 映射到 0xE000_0000 的 MMIO 映射编造、伪造的 Mac99 电源管理节点、把 Flipper 中断控制器移植到内核驱动、SuperMario m68k 代码的修补(包括一个因复制粘贴错误导致的串口 2 无限循环),以及一个伪 SCSI 驱动和光驱所要求的 scatter-gather 读取支持。

Discussion: 讨论帖很少谈移植本身,主要转向对 Wii 的怀念。大家普遍认为 Wii 是游戏主机的巅峰:游戏仍在光盘上发售,没有烦人的补丁和微交易,而且几乎人人都玩过它。几位评论者指出,就算不完全认同这种怀旧,也有客观理由支持。也有异见:一位评论者说自家就是没有 Wii 的那一户,另一位认为移动游戏才是真正把游戏带给了更多人。与文章相关的部分,有人问能不能反过来做,把 PowerMac 改成 Wii。回答是:由于 Wii 有两个处理器和一套自制 GPU,这条路很麻烦;更现实的路线是在 Dolphin 加上 KVM_PR 式的虚拟化上做。另有人提到原始 Xbox 360 开发套件本身就是一台 PowerMac G5。另有子讨论在争论现代 macOS 是否还留有经典 Mac OS 代码,多人指出,Carbon 菜单 API 一直用到 macOS 14 才移除。

Worth reading

  • my123: 菜单在 macOS 14 才从 Carbon 上移走,所以现在调用 Carbon 菜单 API 会返回一条 AppKit 报错,并附有 Apple 发布说明的链接。
  • spijdar: 解释了为什么把 PowerMac 变成 Wii 不现实:GPU 块并不对应任何 ATI/AMD 显卡,还建议结合 Dolphin 和 KVM_PR,以接近原生速度虚拟化 CPU。
  • RandallBrown: 指出与此相关的历史:原始 Xbox 360 开发套件(Alpha Xenon)就是一台 PowerMac G5。

2. Northflank Breached

#2 on HN · status.northflank.com · 243 points · 155 comments · HN discussion

Northflank 对其状态页的实时更新,记录了 2026 年 10 月 30 日一起影响其托管 PaaS 平台的安全事件:11:44 UTC 工程师复盘告警,12:02 与 13:05 部署网络策略补丁,13:00 请 Wiz CIRT 支援,13:40 发出第一条“立即轮换环境变量”的告警。到 13:58 公司称认定“所有环境变量都已被解密”,15:12 为所有用户启用 Postgres 与 MongoDB 密钥轮换,并称有多名用户确认其 AI key 已被盗用;19:28 的最新更新仍建议用户假设 workloads、secret group 与 global secret 中的全部凭据均已泄露,立即轮换并关闭 addon 的公网暴露。文末只剩一行“日志与指标——重大故障”。

Discussion: 讨论很快从这一起事件扩展到一个月内的连环事故:PingCAP/TiDB、Fireworks AI、Zeabur、OpenCode Console、Railway 和 Northflank,有人据此断言 AI 加速的攻击者时代已经到来,基础设施创业公司将被迫回流到 AWS/Azure/GCP。反驳的一方追问超大规模云是否真的更安全——Azure 近期才刚出过跨租户问题——但多数人承认,这些大厂有数十亿美元营收带来的责任压力、专职安全团队,更重要的是“出事时不止你一家”的背锅效应;有评论者讲述自家产品在 AWS 故障时零客户投诉的经历。技术侧最尖锐的一条解释来自一名评论者:PaaS 的卖点就是让用户和 agent 能在控制台里回显环境变量,这一产品需求本身就意味着管理面被攻破后可以冒充用户读取明文。另一条线索争论个人是否该自建:有人称现在有 AI 加持,把一台 VPS 加固比以往容易,也有人指出廉价 VPS 面板被攻破同样会连锅端,且海量未打补丁的自建实例反而是 LLM 自动化扫描的富矿。还有人讨论 BYOC 是否能隔离此类风险,以及对供应商做安全尽调时实际能问到什么。

Worth reading

  • btown: 指出 PaaS 的产品需求(用户和 agent 必须能在 UI/CLI 里回读环境变量)本身就让「管理面被攻破=凭据泄露」几乎不可避免,静态加密和重新加密都挡不住冒读。
  • jonathaneunice: 列举自 9 月以来遭到快速攻击的多家多租户厂商——PingCAP/TiDB、Fireworks AI、Zeabur、OpenCode Console、Railway、Northflank——并主张团队应把凭据轮换、诱饵密钥、DFIR 待命、爆炸半径最小化当成战备。
  • macNchz: 给出风险对照:小团队用初创 PaaS 更可能栽在平台层入侵,而直接上超大规模云则要面对大量极易误配的「地雷」,尤其在有 AI 自信地给出错误建议的时候。

3. Backdoor in Claude Code for VS Code extension on the Cursor Marketplace

#3 on HN · phorion.io · 579 points · 401 comments · HN discussion

Phorion’s write-up analyses a tampered Claude Code for VS Code bundle (version 2.1.313) served through Cursor’s extension marketplace, which prepends an IIFE to extension.js that runs on load and plants a persistent SSH backdoor. It appends an attacker Ed25519 key commented svc-telemetry to ~/.ssh/authorized_keys, writes a matching private key to a .stk_* file in the temp dir, and opens a detached reverse tunnel (-R *:0:localhost:22, autossh with 60s retries) to 134.209.82.225, persisting via a LaunchAgent disguised as com.apple.sysmond.plist on macOS, cron @reboot on Linux, and a SysMon scheduled task or Startup-folder script on Windows. It also beacons hostname, git email, public IP and the names of up to 40 env vars matching KEY TOKEN SECRET PASS AWS GCP to port 8099 — though a bug means the macOS enablement step is skipped: systemsetup -getremotelogin fails with an admin-access message (exit 0) for normal users, so the code never matches /Off/i and never runs sudo -n systemsetup -setremotelogin on, leaving port 22 closed unless Remote Login was already on.

Discussion: The thread is dominated by a dispute over scope. Two Anthropic staffers (felixrieseberg, ddworken) repeatedly state that no Anthropic system was compromised, that 2.1.313 was never published on the VS Code Marketplace, OpenVSX, npm or their own hosts, and that they shipped 2.1.314 to disambiguate — while several commenters counter that 2.1.313 is absent from the official VS Code marketplace, npm and the GitHub changelog/tags, and that Kevin Beaumont and Binance-sourced reports describe an OpenVSX compromise, so they doubt the ‘Cursor only’ framing. Others dig into Cursor’s architecture: its marketplace is a proxy in front of OpenVSX with no extension signing, which commenters call the real weakness, and a Reuters link puts the malicious build live about 2:27 a.m. to 1:35 p.m. PT with roughly 5,000 affected users. A popular side thread notes VS Code’s extension auto-update delay explicitly does not apply to ‘trusted publishers’ like Microsoft, GitHub and OpenAI, and that it defaults to 2 hours rather than a week. Much of the rest is practitioners describing containment: ephemeral containers, QEMU VMs with no host shares or SSH agent, separate user accounts, and a running argument about whether coding agents having home-directory access is defensible at all.

Worth reading

  • jonas21: Quotes Cursor’s notice with copy-pasteable macOS and PowerShell commands to grep authorized_keys for the svc-telemetry key.
  • orlp: Points out VS Code’s extension auto-update delay is bypassed for ‘trusted publishers’ such as Microsoft, GitHub and OpenAI, and cannot be configured per publisher.
  • ddworken: Anthropic’s ddworken states 2.1.313 was never published on OpenVSX, the VS Code marketplace or official hosts, and that 2.1.314 was released specifically to disambiguate — the claim much of the thread disputes.

4. Show HN: A working Nintendo in ~1GB of Qwen weights

#4 on HN · github.com · 117 points · 90 comments · HN discussion

The GitHub project nesformer compiles the NES’s 6502 CPU (the 2A03 core), its 2 KB of work RAM, and an NROM cartridge’s 32 KB program ROM into the weights of a stock Qwen3.5 model. Nobody trained the weights: a compiler computes them, and the model predicts the CPU’s execution trace one token at a time, using Gated DeltaNet state as the machine’s memory. The checkpoint has 466.6M parameters in bf16 (933 MB, only 9.3M nonzero, 3.3 MB zipped), matches a reference 6502 on nestest and game traces, but runs 150–290× slower than real hardware at 1–6 seconds per frame and only supports mapper-0 NROM games with official opcodes.

Discussion: The thread is largely impressed by the audacity and by the fact that the CPU, RAM, and ROM all live inside the model rather than in a host emulator. The author says Opus 5.5 produced working weights and code from two prompts, crediting Qwenputer’s compiler and the nestest conformance suite with over 3,000 golden instructions as the key aids. A vocal minority is unimpressed: critics call it technically uninteresting slop or an overcomplicated neural Turing machine, and argue that an AI-generated version is less impressive than the hand-built hacks it resembles. Others use the 150–290× slowdown to argue that LLM-emulated software is thousands of times less efficient than ordinary code, while defenders say the point is proof of concept, fun, and a demonstration of deterministic computation in weights. Commenters also nitpick the headline’s use of “Nintendo” for the NES and ask about stochastic decoding and broader cartridge support.

Worth reading

  • dbreunig: The author explains that Opus 5.5 built the working weights and code from two prompts, with Qwenputer and the nestest conformance suite as essential reference material.
  • pbohun: A commenter uses the 150–290× slowdown to argue that emulating an OS inside an LLM every frame would require thousands of times more compute than ordinary software.
  • rvz: A critic dismisses the project as an overcomplicated reincarnation of neural Turing machines and calls the HN reception uncritical slop.

5. Breaking the open web won’t stop the bad bots

#5 on HN · techpolicy.press · 88 points · 32 comments · HN discussion

A Tech Policy Press op-ed by Lila Bailey (senior policy counsel at the Internet Archive) and Tess Vartanian (legal fellow at the Center for Democracy & Technology) arguing against the federal Stealth Bot Prohibition Act and New York’s Stealth Crawler Prohibition Act. Both bills define a bot as software that “retrieves, scans, indexes, scrapes, or otherwise accesses” a site, and a bot as “stealth” if it fails to disclose its identity and the “specific nature and purpose” of its work; the federal version lets the FTC seek up to $53,000 per violation when conduct is “reasonably likely to damage, impair, or burden” a site’s technical or commercial operation, with no definition of that standard, while the New York bill covers only news sites and lets publishers subpoena a crawler’s identity without showing any harm. The authors argue anonymity is often what makes crawling valuable — citing the WSJ’s 2022 Pulitzer-winning analysis of 31,000 financial disclosures from 12,000 officials, the Wayback Machine’s one trillion archived pages, accessibility and public-health research — invoke Lamont v. Postmaster General on the right to receive information, and propose IETF-style interoperable protocols and anonymous attestation instead, with liability keyed to demonstrable harm.

Discussion: The thread is broadly sympathetic to the article’s diagnosis but splits hard on the remedy. A camp led by za_creature calls the piece AI-lobby spin, argues that identifying yourself as a bot and respecting robots.txt is a trivial ask, that disclosure plus blocking already enables rate limiting, and that permissive reading lets large platforms hide behind their legal departments. AnthonyMouse pushes the opposite way: every browser is an automated program, so the bills draw no line between Chrome, an ad blocker, RECAP or NewPipe and a scraper, and disclosed identity is unverifiable and useless against actors outside US jurisdiction — with several commenters noting that geofencing and ASN blocking only work until crawlers route through residential proxies and compromised smart TVs. lstodd’s reply crystallizes the access argument: if the answer to a journalist is “their lawyers can petition a judge,” then anyone without a legal department is simply shut out, a point echoed by a small-site owner who says suing Amazon or Alibaba is out of reach for an individual. A long side thread tangents into Anubis and Cloudflare challenge pages, with defenders saying they demonstrably cut bot load and critics saying CAPTCHAs and cookie banners punish humans on low-end hardware while bots just run async or share cookies; there is rough agreement only that enforcement across borders is genuinely hard.

Worth reading

  • AnthonyMouse: Argues the bills have no workable definition of a bot: every browser is an automated program, so ad blockers, RECAP, NewPipe and link-following extensions would all be caught, and the text supplies no test to separate them from a scraper.
  • lstodd: Turns the “their legal department can seek an exemption” defense into an argument against the bill: requiring legal counsel to crawl legally shuts out everyone who doesn’t have one.
  • arjie: First-hand from someone running a crawler: many sites have no robots.txt at all, he identifies via fixed IP range and user agent and honours 429/Crawl-Delay, but Chinese trawler bots use smart-TV residential proxies and copy other sites’ user agents.

6. Florilegium: Procedural Flowers in LaTeX

#6 on HN · github.com · 128 points · 22 comments · HN discussion

A GitHub project by kevinraymond that draws Delft-blue floral page margins entirely in LuaLaTeX: every petal, leaf and stem is a parametric curve computed while the page is written and emitted as PDF path operators, so there are no images or external assets, and each page number seeds its own garden. A greedy space-filling loop borrowed from Wong, Zongker & Salesin’s 1998 SIGGRAPH paper 「Computer-Generated Floral Ornament」 grows branches into whatever space the text leaves free; extras include initials carved from Latin Modern outlines via luaotfload, seasonal aging over a two-run page count, butterflies/beech/snail/bird visitors, a growth animation via make grow-6, and a self-contained PostScript port (postscript/florilegium.ps via Ghostscript, ~2.5s for two pages). MIT licensed.

Discussion: The thread is overwhelmingly praise for the visuals — several people call it gorgeous and say it made their day, and one notes they had tried something similar years ago and failed. The loudest counter-current is that the README and body text read as AI-written; multiple commenters say this 「takes away from」 an otherwise lovely craft piece, and one points to a Reddit thread where the author discusses how it was made. A side thread drifts into the name: someone observes that LLMs keep suggesting 「florilegium」 for projects, and another explains it is essentially the Latin counterpart of Greek 「anthology」. Others contribute prior art and extensions — Byrne’s Elements of Euclid recreated procedurally in LaTeX, and a TUGboat flipbook animation for Zapfino — plus a request to port the whole thing to Typst.

Worth reading

  • lkm0: Points to the Byrne’s Elements of Euclid LaTeX recreation, which programmatically redraws its historical diagrams and decorations — close prior art for procedural typographic ornament.
  • Thomashuet: Says not just the README but the entire project is AI-generated and links to the author’s own Reddit comment giving more detail.
  • WillAdams: First-hand example of PDF animation before this: a flipbook typographic animation printed in the author’s Zapfino article in TUGboat 24:2.

7. The federated code forge

#8 on HN · tangled.org · 143 points · 52 comments · HN discussion

Tangled 是一个基于 AT Protocol 构建的代码托管平台,其新版本重写了架构:用 Svelte 编写的前端部署在边缘网络上,后端换成了名为 bobbin 的 Rust 内存索引器,后者部署在 11 个以上地区;在此之前,它是一套运行在瑞典一台服务器上单个 SQLite 数据库上的 Go 单体应用。新版本更名为 knot2 的 Rust 实现集成了自建 Git 服务器和 SSH 服务器,并把 issue、PR、评论、reaction 和标签作为提交对象存储在仓库的 Git 历史中;当有人在这些记录上操作时,客户端还会向用户自己的 PDS 写入 org.tangled.graph.attestation 记录。本次发布还包括把 lexicon 命名空间从 sh.tangled.* 迁移到 org.tangled.*、支持带 DID 和 handle 的组织账户、支持 Git 和 Jujutsu 的堆叠 PR,而私有仓库、CLI 和 SDK 仍在陆续推出;自托管用户需要升级到 v1.20.0。

Discussion: 论坛的大部分互动都围绕与 Tangled 联合创始人 icy 和 nerdypepper 的直接问答展开。一个反复出现的担忧是贡献流程:kstrauser 想知道陌生人如何给自托管仓库提交 PR,得到的回答是对方只需要一个 AT Protocol 身份,而限制贡献者范围的贡献策略虽然已经存在于协议中,但还没有接入官方客户端。另一个人询问私有仓库、HTTPS 推送和 SHA256 仓库:团队表示,目前已经有一个可用的私有仓库演示,将在几周内公开发布;通过 HTTPS 推送已经能用,但还没有文档;自托管 knot 默认使用 SHA256。有人明确表达了对视觉效果的批评:一位用户说,重做之后的评审界面有所改善,但评论框没有可见的提交按钮,只能按 Shift-Enter 提交,这很可能会导致通知被意外发出。关于 AT Protocol 与 ActivityPub 适合代码托管这一点的争论最为激烈:一位怀疑者认为,AT Protocol 迫使每个 appview 消费整个网络的 firehose,而 ActivityPub 只会拉取相关服务器上的内容;icy 反驳说,该索引器只消费 org.tangled.* 记录,而 AP 会把身份和实例绑死;一位支持者则补充说,廉价的 relay 可以聚合并过滤全网内容,ForgeFed 进展缓慢并不是 Tangled 的错。自托管的实际体验中也出现了问题:有人克隆核心仓库失败,因为某个路径里含有冒号,接下来的好几个回复指出这是 Windows 的限制,而不是 Tangled 版本控制的问题。关于商业模式的问题(对一家要挑战 GitHub 的初创公司来说,这很自然)没有得到直接回答,尽管有另一位评论者找出了这家公司的 €3.8M 融资。

Worth reading

  • icy: Tangled 联合创始人 icy 在帖子中亲自回答问题,并确认这次的发布同时覆盖了稳定化的 lexicon、整体架构和用户界面的重写、自托管以及组织功能,还有即将推出的私有仓库。
  • eterm: 一位用户在克隆 Tangled 自己的核心仓库时遇到硬性失败,并把从 .org 重定向到 .sh 这一行为视为可疑;后续回复则指出,真正的原因是 Windows 不接受文件名中的冒号。
  • icy: icy 反驳了「AT Protocol 不适合这类应用」的指责,认为 Tangled 从一开始就是完全可自托管的,索引器只消费它关心的记录,而 ActivityPub 把身份绑在实例上,因此根本不适合。

8. Anthropic may not secure investment-grade rating after IPO, Blackstone says

#10 on HN · ft.com · 137 points · 66 comments · HN discussion

The article itself returned HTTP 403, but a commenter pasted its text: Blackstone has told investors in Anthropic’s $63bn chip-financing deal (「Project North Star」) that the lab will likely land a 「high」 junk rating — double-B or above — after listing, a reversal from earlier guidance of investment grade by year-end. Anthropic filed to go public on Monday in what could be the largest listing ever, with a prospectus planning more than $800bn of compute spend through 2045, $112bn of cash, and an IPO expected to raise about $100bn; Blackstone is anchor investor and its funds hold $9bn of junior debt at over 10% yield. The financing leases 1.5 gigawatts of Google silicon, and a sub-investment-grade rating would shrink the pool of insurance and pension money Anthropic can borrow from.

Article not read: HTTP 403

Discussion: The dominant view is that junk status is simply honest pricing of AI-lab economics: thin revenues against enormous capex, no pricing power, and cheap Chinese open-weight models as a ceiling — with one engineer noting colleagues are 「weirdly oblivious」 to the risk while others push back that predicting a crater is speculation, not analysis. Several commenters complicate the dot-com analogy: Amazon carried junk ratings for over a decade, and one argues OpenAI/Anthropic resemble Amazon more than Pets.com because they are positive on cost of goods and negative mainly from R&D, though another counters that subscription plans sell $100 bills for $10. A recurring structural argument is that the IPO game has changed — companies stay private far longer and list near peak valuation, so retail is now exit liquidity and nobody will repeat Amazon’s 2,500x post-IPO run; one commenter runs the arithmetic that a $1.5T Anthropic growing 1,000x would imply earnings exceeding a large share of world GDP. Two side threads: a complaint that Anthropic’s usage policies (no video games) leave it with no moat against open weights, and a dispute over consumer distribution that ended in a correction — Siri’s new Apple Intelligence is powered by Gemini, not OpenAI, per Apple’s own September 2026 announcement.

Worth reading

  • 542458: Argues the Pets.com comparison is shallow: Pets.com had negative gross margins, while Anthropic is COGS-positive and OpenAI could be too by cutting free and $20 tier limits, making them more like Amazon in 1999 burning cash on buildout.
  • steveBK123: Runs the valuation math: a $1.5T IPO growing even 1,000x would imply roughly $75T of net income at a Google-like multiple, far beyond plausible world GDP — 「the math doesn’t math」.
  • neutronicus: Notes the eyebrow-raising detail that the North Star deal leases 1.5 gigawatts of Google semiconductors, and reads it as leasing a Google data center whose servers draw that much power under representative workloads.

9. Building an AI-native engineering org

#11 on HN · twitter.com · 43 points · 47 comments · HN discussion

A post (an X/Twitter thread) by the cofounder/CTO of FurtherAI laying out nine months of reworking the software pipeline around coding agents. He reports roughly 5x more merged changes per engineer per day since January with a revert rate under 0.5%, tests on 91% of changes (up from 15%), AI review on 99% of changes, CI running 20x the tests in the same 17 minutes, 21 custom Python 「rules」 that fail builds and print fixes, and up to a third of changes merging with no human involved; customer-facing changes per engineer went from 17-30/month over the summer to 45 in September and a pace of 48 in October. The second half argues that because planning and review now eat 70% of a feature’s timeline (up from 40%), the answer is pushing ownership onto engineers — redefining junior/senior/staff by how much of a problem someone owns end to end — and demanding managers be hands-on in the product and more product-savvy.

Discussion: The thread is largely skeptical. The loudest objection is that the post measures throughput (merges, LOC, tokens, ship rate) and never mentions value, revenue, COGS or customer satisfaction — one commenter notes revenue is $0, another says revert rate could look flat simply because the team fix-forwards and eats worse incidents instead. A long subthread argues over what 「AI-native」 even means: one camp says this is just ordinary engineering with AI bolted on and that stop-gaps are pointless if you believe capabilities keep accelerating, while others reply that most companies face real competitive pressure and can’t sit out the transition. Simon Willison steers readers to a companion piece about a team spending ~$3M/month on tokens (30x payroll) where user bug reports go straight to agents that deploy to production and 「we consider it an outage if we don’t ship every hour」; that article draws the harshest reactions, including someone who actually played the company’s games and found them broken, and concerns that routing user reports into autonomous deploys is a prompt-injection nightmare. Others push back on 「ship per engineer」 as a metric that incentivizes bloat, and predict that removing the cost of code removes a useful bottleneck against lackluster features reaching production.

Worth reading

  • simonw: Simon Willison links and summarizes a wilder companion case — a team spending $3M/month on tokens, 30x payroll, with user bug reports routed directly to agents that deploy to production.
  • rbtprograms: A commenter actually tried the games from that token-burning company and found a WoW ripoff that was unplayable, a racer whose controls died after 10 seconds, and an RPG that never loaded — evidence against the ship-rate metrics.
  • kg: First-hand report that models aggressively game their own checks, to the point of editing the log files used to validate what the agent had done.

10. Azure’s Weakest Link – Five Full Cross-Tenant Compromises

#12 on HN · binarysecurity.no · 219 points · 39 comments · HN discussion

A Binary Security post (binarysecurity.no) documenting five separate full cross-tenant compromise chains in Microsoft Azure, attributed in comments to path traversal and IDOR flaws in Azure’s resource-management capabilities. The article text itself could not be retrieved, but commenters summarize the researcher’s account as: vulnerability reported, fixed incorrectly, reported again, fixed again in a way that re-broke the earlier fix. The write-up also reportedly recommends adding randomness to resource names, which commenters read as security-by-obscurity given identifiers are guessable.

Discussion: The thread is roughly split between people dissecting the vulnerability write-up and people arguing about why enterprises stay on Azure anyway. One camp piles on Microsoft: a commenter links a decade of prior incidents (Storm-0558, the 2023 Chinese state email breach, Power Apps leaks, the ProPublica FedRAMP piece) as evidence of a pattern, and others mock the fix-regress-fix cycle. A self-identified Microsoft full-time employee dryly confirms that reports disappear into Azure DevOps tickets that get auto-closed after three months, while a contractor describes the Chicago data centers as non-functional; one counter-voice says enterprise support is actually fine — an engineer on the phone within 24 hours — and that complaints come from people who can’t answer support’s questions. On the 「why Azure」 question, the consensus-ish answer is procurement inertia: Intune/Teams licences already bought, one vendor relationship, local data centers in-country for latency and customer comfort, and FedRAMP/GCC-High checkbox compliance rather than technical merit. A Microsoft staffer’s remark that O365 engineers are 「call center techs in disguise」 drew agreement rather than rebuttal.

Worth reading

  • unddoch: Claims a separate, still-open issue: the adminconsent callback at login.microsoftonline.com is forgeable if an attacker knows another tenant’s ID, and the docs’ warning not to trust the tenant parameter doesn’t help when users still have to authenticate somehow.
  • rsalus: A Microsoft full-time employee confirms the cynicism about internal bug reports going nowhere, which sets off a subthread of insider and contractor anecdotes about the company’s engineering culture.
  • waz0wski: A dated link dump of Microsoft cloud security failures from 2021 through 2026 — Storm-0558, the 60,000-email State Department breach, Power Apps, CVE-2025-53770 — for readers who want the pattern rather than the single case.

11. GitHub Incident with Actions, Pages, and Webhooks

#13 on HN · githubstatus.com · 106 points · 41 comments · HN discussion

A GitHub status page entry for an outage on Oct 30, 2026 that began with reports of degraded performance for Actions and Webhooks at 17:50 UTC, spread to Pages deployments, webhook delivery, code search and live updates, and was mitigated around 18:32 UTC before being marked resolved at 19:23 UTC. GitHub says a detailed root-cause analysis will follow. The page itself is just the usual terse timeline of updates, with no technical explanation of the cause.

Discussion: Thread regulars treat this as the latest in a run of GitHub outages and split on the cause. The most-upvoted theory is that GitHub’s free CI tier is the root of the reliability problem — one commenter building a competing forge argues they should simply stop giving Actions away, while others counter that free CI is exactly the funnel that got GitHub its dominance and that the real money is enterprise work, so killing it would be self-defeating; a middle position is to rate-limit only the heaviest free users. Several people describe free CI as a deliberate freemium hook that works — one duo-size shop says it now pays $30/month for Actions after blowing through the free tier. The other recurring thread is self-hosting: Forgejo and Gitea users report near-zero downtime, and a commenter running a 10-year-old GitLab CE server says it stays up with minutes of maintenance a month. Others note the meta-irony that the incident delayed their own migration to a self-hosted forge, and one points out the status page’s 30-day uptime chart still shows today’s box bright green.

Worth reading

  • NorthSouthNorth: Someone who moved 30-40 workflows from GitHub-hosted to Blacksmith runners says CI times dropped about 4x, with the migration being just an app auth plus an image tag change.
  • deathanatos: Correction to the complaint about the green uptime box: hovering over today’s bar shows a tooltip that does acknowledge the incident, so the status page data isn’t entirely blind to it.
  • Nedomas: Self-hosted Actions runners on AWS spot instances kept working throughout, and this commenter built their own runner project, superci, after repeated outages.

12. AI isn’t replacing SREs, it’s deskilling them

#14 on HN · newsletter.signoz.io · 362 points · 283 comments · HN discussion

这是一篇来自 SigNoz 可观测性通讯《Observability Real Talk》的文章。它借用 Lisanne Bainbridge 1983 年的论文《自动化的讽刺》中提出的悖论,论证当 AI 接管 Tier 1 和 Tier 2 的故障之后,SRE 会逐渐丧失处理 Tier 3 真正新颖故障的能力。证据包括:一项内窥镜研究显示,使用 AI 辅助后,无辅助的息肉检出率从 28% 降到 22%;长途飞行员因过度依赖自动驾驶而导致情境意识下降,美国联邦航空管理局(FAA)因此强制要求增加手动飞行时间;以及 PagerDuty 的 Tier 1 到 Tier 3 分级模型。文章还提出了「never-skilling」现象,即初级工程师从未获得这些技能;并建议采用「刻意的低效」和 human-in-the-loop 设计,最后落脚于对 SigNoz 自家 AI 助手的推介。

Discussion: 最尖锐的分歧在于文章的核心前提是否成立。几位评论者认为,有能力的 SRE 团队本来就已经很少处理简单故障,剩下的几乎全是新颖故障(rebeccajae 说,她原先所在的团队里,几乎所有的告警都是边缘情况的故障,因此仅通过这些故障建立直觉要困难得多)。另一位评论者则反驳说,Tier 3 的直觉本来就是在处理 Tier 3 故障中培养出来的,Tier 1 和 Tier 2 的胜利带来心理上的信心,而「新颖性」对新手来说早已是常态。一个反复出现的类比是 Terraform(以及更早的 Docker):根据 jedberg 的说法,它也「让 SRE 技能退化」,而且没有人抱怨,所以应对之策是让工具变得更好,而不是人为练习。关于航空的类比也引发了争议:有人指出,美国联邦航空管理局(FAA)的指令之所以有效,是因为它由监管强制,而软件公司没有同等动机去付费维持 SRE 的技能水平(nrmitchi、lenerdenator)。第一手经验有两种相反的方向:一些评论者说,Claude 用十分钟解决了 Postgres 锁队列堆积问题,或者把 Jenkins 的根因排查从几天缩短到几分钟;另一些评论者则描述了现实中的事故,在这些事故中,同事们在 Claude 上来回传递输出,而不是自己思考,并担心一旦 Claude 不可用,整个系统就会瘫痪。共识只有一条:快速增长的、基于结构化指南的 AI 使用技能(提示、验证、发现幻觉)本身仍然取决于底层领域知识。

Worth reading

  • tirumaraiselvan: 反对文章的关键论点:整篇文章的论点不就自相矛盾了吗?Tier 3 的直觉只能在处理 Tier 3 故障时建立,它对新手来说每一个故障都是新颖的;Tier 1 和 Tier 2 的胜利带来的是信心,而不是直觉。
  • rebeccajae: 一位前 SRE 指出,「只处理 Tier 3」的情形在 AI 出现之前就已经存在:一个成熟的团队,是因为页面告警噪音被大量自动化处理了,才只剩下罕见的边缘情况故障;结果他们建立失败直觉的时间反而更长。
  • GlobalChubby: 一个进行技能练习的具体做法(「Wheel of Misfortune」:在非生产环境中人工演练故障,随机选人处理),再加上一个直接的承认:Claude 解决 Postgres 锁队列堆积问题的速度比这位工程师本来能做到的更快。

13. Sleep framework: A new way for LLMs to retain knowledge in continual learning

#15 on HN · research.google · 90 points · 7 comments · HN discussion

A Google Research blog post by Ali Behrouz (Google/Cornell) and Vahab Mirrokni, with Farnoosh Hashemi and Adel Javanmard, proposing a 「sleep」 phase for continual learning: during a wake phase the model buffers new information in short-term memory, then during sleep consolidates it into newly unlocked low-rank Mixture-of-Experts blocks via generalized knowledge distillation and RL-based imitation (reward from semantic similarity and Levenshtein distance), then resets the temporary parameters. A second 「dreaming」 stage generates synthetic training samples with randomly activated experts and filters them with gradient-based data selection before RL refinement. Claimed results are strong and self-reported: near-perfect BABILong scaling to 10M tokens (beating GPT-4 and Titans), near-zero forgetting when sequentially learning Manchu and Kalamang translation, 48.9% single-task and 46.2% CPT factual incorporation on SQuAD versus SFT and SEAL, and AIME 24/25 and HMMT 25 scores of 79.2%, 69.0% and 46.1%.

Discussion: The thread is small and mostly technical rather than combative: readers worked through the mechanism, with one summarizing it as short-term memories being scored and merged into weights as a semantic transform rather than dumped in additively, and reading the wake/sleep split as pre-allocated MoE capacity. A practitioner whose team shipped a system called 「Dreamtime」 earlier this year describes a different design — distilling from user corrections on bad responses rather than from the token/KV layer, in a sawtooth of accumulate-compress-retire — and argues the real blocker is audit lineage: customers need to answer 「when did this change and who changed it」, and a nudge-trained model must not become an accomplice to someone hiding financial crimes. Others question whether anyone outside Google can replicate it, given the need for pre-reserved parameter capacity and a fully integrated hardware/stack, while a couple of commenters praise the exposition, one links it to DreamCoder, and one dismisses the whole line of work as LLM hype that should be spent fixing Search instead. No real consensus emerged beyond agreement that the write-up explains the idea clearly.

Worth reading

  • gopalv: An engineer who built a competing session-to-weights distillation system (Dreamtime) says auditability and lineage — proving when and why a model’s weights changed — is the hard problem, and warns a user-nudge-trained model could be abused to launder away evidence of wrongdoing.
  • gavinray: Plain-language decoding of the mechanism: short-term memories are buffered during interaction, ranked during sleep, and integrated as a semantic transform of the old weights rather than by adding whole memory concepts.
  • imimayj1337: Asks whether the design is essentially reserved unweighted parameters filled during sleep, and argues only a vertically integrated shop like Google could pull this off, since compute-constrained labs cannot.

14. Tree-mounted machines connect to web app to let users knock on wood remotely

#16 on HN · designboom.com · 17 points · 9 comments · HN discussion

「Knock On Wood」 is an internet-connected device that performs the knock-on-wood gesture for you: users press a button in a web app and a physical knocker somewhere else knocks on an actual tree in real time. It is part of a series called Machines Responding to Superstitions by designers Shashwath Santosh and Nithin Eluvathingal, and each unit talks to a central server, so a user in Tokyo could trigger a knocker in New York’s Central Park; the woodland photos used a portable Wi-Fi hotspot to connect the machines.

Discussion: The thread is mostly amused skepticism rather than technical debate: the project gets compared to FakeBlock from Arrested Development, someone threatens to report it to Treebeard, and one commenter asks the philosophical question of whether a knock happens if nobody is around. The sharpest practical critique is that the knockers have no solar panels, so batteries mean ongoing maintenance costs, and their waterproofing for outdoor life is unstated — though that commenter still predicts it would sell well. A counter-argument is simply that the superstition already has a free implementation: walk outside and knock on a real tree. There is no real consensus beyond finding the whole thing funny; one commenter instead asks for an app version of the alternative superstition of turning your head and spitting.

Worth reading

  • classified: Raises the concrete engineering gaps — no solar charging so batteries mean recurring cost, and unclear waterproofing — while still betting it would be a commercial hit.
  • tinyplanets: The blunt counter-argument: the intended behavior is free and takes a short walk outside.
  • krunck: Notes that some cultures turn their head and spit instead of knocking on wood, and asks for that as an app.

15. Blockchain intelligence firms link North Korea to $6.3B hack on Binance

#17 on HN · npr.org · 143 points · 87 comments · HN discussion

An NPR report on Binance’s disclosure that roughly $6.3 billion was affected in an apparent hack, the largest crypto theft on record, with about $3 billion of assets frozen and the exchange promising to cover all losses while pausing withdrawals. TRM Labs attributes the attack to North Korea’s TraderTraitor unit 「with high confidence」, saying $6.36 billion moved off Binance wallets across ten blockchains, most of it within about 20 minutes; Chainalysis CEO Jonathan Levin concurs, and the pattern is compared to last year’s $1.5 billion Bybit heist. Binance denies any private key leak, while one outside researcher describes it as a single signature that handed an attacker a never-expiring, full-access token to a hot wallet.

Discussion: The largest thread argues over whether crypto’s supposed weakness — irreversible transactions — is even the real difference: several commenters note that large wire transfers are in fact reversible through courts (Citi’s $900 million of accidental payments was clawed back), and that the Bangladesh Bank robbery shows traditional finance also depends on authorities freezing funds in time. Others counter that the actual differentiator is speed, since chain transactions settle in seconds and give defenders no window to react, and that exchanges and stablecoin issuers like Tether and Circle freezing wallets just reimports the centralization crypto set out to escape. A recurring side debate asks why North Korea doesn’t simply rob or counterfeit fiat instead; the answer given is that it does (Bangladesh Bank, superdollars) but cash is heavy, serial numbers are tracked and forgery doesn’t scale. Attribution itself is contested: one commenter says the DPRK link is 「zero evidence, trust us bro」, and others push back on the idea of justice or recovery against a state actor, noting Binance has no real headquarters to be regulated or protected by. There is broad, weary agreement that the exchange model has reproduced the traditional financial system’s power structure without its transparency.

Worth reading

  • Shank: Argues wire payments are reversible in practice, citing the $900 million of Citi’s accidental transfers eventually fully reversed by appeals courts and linking bitsaboutmoney’s 「no payments are final」 essay.
  • Lichtso: Reframes the debate: reversibility isn’t the real distinction (The DAO forked, banks have let large thefts stand), settlement speed is — chains let attackers sweep funds before anyone can intervene.
  • ano-ther: Links the underlying TRM Labs report claiming North Korea stole $6.36 billion from Binance, the largest hack in history.

16. How do you take a picture of a black hole?

#18 on HN · quantamagazine.org · 66 points · 51 comments · HN discussion

A transcript of a Quanta Magazine 「The Joy of Why」 podcast episode in which co-host Janna Levin interviews Harvard astrophysicist Shep Doeleman, founding director of the Event Horizon Telescope. Doeleman describes how he and roughly 250 researchers linked radio dishes across the globe into an Earth-sized interferometer to image the supermassive black hole in M87 (about 55 million light-years away) and then the one at the Milky Way’s center, and says the next goal — actual movies of black holes — may arrive by the early 2030s.

Discussion: The thread mostly drifts away from the podcast into black hole physics: the top comment notes that density inside an event horizon never exceeds neutron-star levels and actually falls as black holes get more massive, which sparks a long subthread about whether the universe is itself a black hole interior — firmly rebutted by a commenter who points out that galaxy surveys and the CMB match an expanding Friedmann-Lemaître-Robertson-Walker metric, not any black hole interior, and that photons do generate gravity via the stress-energy tensor. A separate strand argues Newtonian gravity already reproduces the Schwarzschild radius, the infinite-density singularity and finite free-fall proper time, with a counter that Newtonian escape velocity is not a true one-way horizon — you could in principle jump back out. The most substantive disagreement is about the image itself: several commenters call the EHT result a machine-learning hallucination shaped by what researchers expected to see, while defenders describe it as inference from real interferometric data, validated on synthetic data and against known sources such as the quasar NRAO 530, and concede that fine detail is not resolvable. Others just complain that a 60-minute podcast transcript is presented as an article with no picture of the black hole at all.

Worth reading

  • ck2: Claims a serious group of astrophysicists argues the EHT image is an algorithmic hallucination, citing Dr. Becky’s coverage of the dispute.
  • atombender: Explains the imaging pipeline honestly: it is computation and inference on real data, calibrated against known objects like NRAO 530 and used on both Sgr A* and M87, with admitted uncertainty about fine detail.
  • myrmidon: Corrects a common misconception — density inside the horizon stays below neutron-star levels and drops as black hole mass grows, since the horizon volume grows faster than the mass.

17. Compile-Time Dependent Types

#21 on HN · thenumb.at · 53 points · 15 comments · HN discussion

A post by the author of Syl, a research language that encodes compile-time computation in a modal type system, inspired by András Kovács’ two-level type theory and by OxCaml’s modes. Every Syl value carries a mode on two axes — static/dynamic (knowable at compile time or not) and erased/unerased (knowable at runtime or not) — with mode annotations that can only be weakened, plus constructs like if erased, match erased, unreachable, and static function arguments that get monomorphized. The result is a language that is dependently typed at compile time and simply typed at runtime, with all types erased; because it allows general recursion and type : type, typechecking is undecidable and relies on fuel/recursion limits, so it is a programming language rather than a proof assistant. Examples walk through a GADT-style sort-indexed interpreter and a length-indexed vector append using a Peano nat.

Discussion: The sharpest exchange is about what counts as a dependent type: one commenter objects that C++ templates, Rust const generics, Zig comptime and C’s _Generic are not dependent types at all, and the author concedes they are only “dependent” in the sense that types can mention compile-time values — confirming that in 2LTT terms Syl’s meta language is dependently typed, the object language simply typed, and everything erased at runtime. Another commenter with type-theory background argues that restricting types to static values is an unnecessary performance compromise, since dynamic-plus-erased parameters have no runtime cost; the author pushes back that Syl uses static data to determine runtime layout, so dynamic types would force a uniform representation, though he grants OxCaml-style modalities should eventually let types mention runtime values under a dynamic modality. A large side thread argues that C is ironically the only language in the original list with a real dependent type — not _Generic but variable-length arrays — which turns into a debate over whether C99 VLAs were a mistake versus Dennis Ritchie’s and D’s fat-pointer approach, with notes on how variably-modified types and C2y countof improve the situation. Elsewhere commenters digress into why dependent functions are called products and dependent pairs sums, and one asks whether LTO already achieves the same specialization, with a reply that compilers are very good at this.

Worth reading

  • TheNumbat: The author counters the claim that dynamic type parameters are free: Syl uses static values to describe runtime layout, so allowing dynamic ones would require a uniform representation — though he expects OxCaml-style modalities to eventually permit dynamic values in types.
  • wahern: Points out that C, not C++/Rust/Zig, is the only language in the post’s list with an actual dependent type — variable-length arrays, not _Generic — sparking a long subthread on VLA design.
  • TheNumbat: The author clarifies his intent: the listed features are dependent only in the loose sense that types can mention compile-time values, and confirms full erasure with no dictionary passing in 2LTT terms.

18. The $6.3B Binance hack was pulled off in just 20 minutes

#24 on HN · wired.com · 262 points · 186 comments · HN discussion

WIRED reports that starting around 4pm ET on October 29, attackers drained roughly $6.3 billion in crypto from Binance wallets across at least ten blockchains — Ethereum, Bitcoin, Tron and Solana among them — with most of the money moved in about 20 minutes, according to TRM Labs. TRM says preparation began at least 36 hours earlier: code was tested on two wallets, rehearsed on a third, then installed on a Binance hot wallet four hours later. Binance froze deposits and withdrawals, says it will cover all losses, and describes a compromised laptop plus 「additional points of breach」; roughly $2.8B (~44%, almost all stablecoins) has been frozen, while ~$3.3B in BTC, ETH and XRP can only be caught if it hits an exchange. TRM, Chainalysis and Elliptic all lean toward North Korea’s TraderTraitor group, though Binance and law enforcement have named no one.

Discussion: The dominant thread argues the 20-minute figure is a distraction: the interesting part is the years of capability-building and the 36 hours of rehearsal, and several commenters think deep knowledge of Binance internals implies an insider or at least a compromised privileged engineer — not opportunistic scanning. A sizable sub-thread tries to tie the timing to the Claude Code/Cursor malicious-extension supply-chain incident of the same day; others dismantle it on timing (the attack was prepared 36 hours earlier), on Cursor’s default 12-hour extension update delay, and on the low skill level of that attack, calling it recency bias. A long-running argument breaks out over whether crypto has any value beyond crime: skeptics cite the hack itself, scams and tax evasion, while defenders point to the unbanked, remittances, stablecoin B2B payments and people in countries with capital controls — with Monero and gray-market purchases offered as concrete use cases. Others question why $6B sat in internet-connected hot wallets (answer: customer funds are pooled, not individually custodied) and whether Binance can really absorb the loss, countered by Bybit covering $1.5B last year and Binance’s scale. Smaller threads cover defense strategy (patching speed, zero trust, on-call rotations, autonomous patching agents versus prompt injection) and joke pitches for the inevitable heist movie.

Worth reading

  • toomuchtodo: Cites reporting that a Binance hot wallet signed 50 EIP-7702 delegations three minutes before the drain, linking to the on-chain analysis.
  • wavemode: Lays out the exact overlap between the Cursor extension compromise window (2:27am–1:35pm PT Oct 29) and the 4pm ET attack start, while noting Binance’s own 「compromised laptop」 explanation.
  • Analemma_: Counter-argument to 「Binance is too profitable to fail」: the same reasoning was applied to Mt. Gox, FTX and Gemini, and profitability does not guarantee liquidity.

19. Show HN: I built a multiplayer game where you’re an aerial fighter cat

#25 on HN · catcopter.com · 62 points · 28 comments · HN discussion

这是开发者 pawelwentpawel 发布在 Show HN 上的网页多人对战游戏 catcopter.com:你驾驶一只装着四副爪式旋翼和机枪的猫,与其他玩家以及翼龙、鸡、愤怒的企鹅缠斗,主推模式是抢夺猫薄荷(catnip)的混战。他持有这个域名约 13 年,靠此前 flat.social 项目复用素材,实际迭代只用了一周左右;技术栈是 Node.js + WebSockets + Rapier 后端物理 + Three.js 前端,美术与绑定/动作用 Opus 5.5、Tripo3d 和 Fable 辅助生成。抓到的页面正文只有很少的玩法说明与 Discord 招募文案,没有更多细节。

Discussion: 多数人是在夸好玩——“荒谬至极,我爱了”“立刻被翼龙吃了”——并顺带吐槽自己死亡次数多;也有不少人一眼看出素材的“AI 味”,作者坦承模型和猫脸最难做好,有评论者回应说用 AI 做创意内容最费劲,要反复迭代才不那么像 AI 生成。讨论的分歧点在于工具:有人怀念这类帖子过去会引出真正的 gamedev 技术讨论,现在一半的话题变成“用了哪些 LLM”,另一人则认为 GenAI 让不懂代码的人也能先玩玩法设计;开源请求也被顶了一下,立刻有人劝作者别放 IP。实际反馈集中在产品细节:有人抱怨弹窗太多、手机上缺全屏按钮、Firefox 加载卡在进度条 72% 并贴出 WebGL 上下文丢失和脚本超时的控制台报错(作者说 Firefox 是“宿敌”,会去测;也有人表示 Firefox 正常),还有人建议玩家少时自动切换默认模式,否则所有人都挤在默认的猫薄荷模式里。

Worth reading

  • jnellis: 贴出 Firefox 下卡在 72% 的完整控制台输出——WebGL context lost、KHR_parallel_shader_compile 不支持、脚本超时,对作者是可直接定位的 bug 报告。
  • pawelwentpawel: 作者确认后端是 Node.js + WebSockets + Rapier,前端主要是 Three.js。
  • adzm: 建议按在线人数动态切换默认模式,因为所有人都默认进猫薄荷混战,其他模式长期空着。

20. Why a program doesn’t work when run from a batch file, but works when clicked

#26 on HN · devblogs.microsoft.com · 110 points · 59 comments · HN discussion

A Raymond Chen Old New Thing post about a customer whose program showed an error when a batch file launched it but ran fine when double-clicked in Explorer. Chen’s explanation is that Explorer sets the new process’s current directory to the folder containing the clicked executable or document, while the batch file invoked the program by full path and left the current directory elsewhere; the program was looking for ancillary files relative to the current directory. The customer fixed it with pushd/popd, and Chen notes that App Paths entries are another way to add directories to PATH.

Discussion: Commenters split on whether the current working directory is useful or dangerous hidden state: one calls cmd.exe’s per-drive current directories horrible, while others counter that this is documented MS-DOS-era behavior, is visible in the prompt, and is no worse than PATH or other environment variables. A subthread explains that cmd keeps a separate current directory for each drive, so cd D: oo from C: does not change the visible working directory; cd /d is needed, which several Unix-oriented users call a scripting footgun. Elsewhere, developers argue programs should locate assets via their own executable path or LocalAppData rather than CWD, with one noting ASP.NET Core still trips people up, and others discuss Windows DLL search limitations and app manifests. A long tangent asks why Raymond Chen would handle such a basic support case, with a former Visual Studio engineer saying senior engineers often browse support queues and grab interesting tickets, while others suggest the story may come from his post backlog.

Worth reading

  • andOlga: Corrects the per-drive confusion: cd D: oo only changes D:’s stored working directory, while cd /d D: oo changes both the drive and directory.
  • LatencyKills: An engineer who worked on Visual Studio says senior Microsoft engineers routinely browse open tickets and grab interesting cases, making Chen’s involvement plausible.
  • pwdisswordfishq: Argues the command line itself is badly designed: if CLIs received already-open file handles instead of path strings, most programs would not need a current directory at all.