Urgent.News

What's breaking now, across thousands of outlets.

Tech

在多台远程服务器上并行跑 Codex:worktree 应该怎么分

并行跑 AI 任务,常见的阻碍往往不是模型能力,而是目录。 两个会话在同一个工作目录里改代码,A 刚写完的文件可能被 B 覆盖;你打开文件准备保存,界面提示版本已经过期;测试失败时,也很难判断是哪一个任务改坏的。机器一多,问题还会多一层:任务到底跑在哪台服务器、哪个目录、哪个分支? Git worktree 能解决其中一部分问题,但它不是「把同一个目录挂到多台机器」的魔法。这篇讲清楚 TaskHandoff 里的分工方式:一台节点、一份仓库 clone、一个任务、一个 worktree,以及多节点时哪些事情不能做。 先说结论:多节点并行不是共享一个 worktree Git worktree 是 同一个仓库的独立工作目录和分支 。它让多个会话各自拥有一个目录,减少并行编辑冲突;但 worktree 仍然属于某一台机器上的某一个仓库 clone。…

We haven't written up this one. Dev.to has the full story — the link below goes straight to it.

Read the original at dev.to →

More in Tech

What should a vector editor remember after you hide its panels?

A familiar editor layout has to do more than resemble its reference. In Si, our browser-based vector editor, the workspace must distinguish a persistent preference from a temporary interaction.

  • Si browser vector editor has three hiding levels: allHidden, sideHidden, collapsed
  • reducer toggles hiding fields independently, panel selection clears flags
  • writeWorkspace persists layout in local storage with allHidden, sideHidden, tool fields

ElevenLabs free plan: 10,000 credits is about ten minutes of audio

Ten thousand credits sounds like a lot until you convert it: about ten minutes of finished speech a month. What the free plan includes Item Free plan Monthly credits 10,000 Roughly 10 minutes of…

  • ElevenLabs free plan offers 10,000 credits
  • Credits equate to about 10 minutes of audio per month
  • Commercial license required for monetized use

More from Monday 2 November →