Some ways to navigate through 'git blame' over time in GNU Emacs

Some ways to navigate through ‘git blame’ over time in GNU Emacs

在 GNU Emacs 中随时间推移浏览 ‘git blame’ 的几种方法

You’re using a tool with a too-generic User-Agent. You’re probably reading this page because you’ve attempted to access some part of my blog (Wandering Thoughts) or CSpace, the wiki thing it’s part of. 你正在使用的工具其 User-Agent(用户代理)过于通用。你现在看到这个页面,可能是因为你试图访问我的博客(Wandering Thoughts)或其所属的 wiki 系统 CSpace 的某个部分。

Unfortunately whatever you’re using to do so has a HTTP User-Agent header value that is too generic or otherwise excessively suspicious. Unfortunately, as of early 2025 there’s a plague of high volume crawlers (apparently in part to gather data for LLM training) that behave like this. 遗憾的是,你所使用的工具其 HTTP User-Agent 标头值过于通用,或者显得过于可疑。不幸的是,自 2025 年初以来,大量高频爬虫(显然部分是为了收集大语言模型训练数据)泛滥成灾,它们的行为正是如此。

To reduce the load on Wandering Thoughts I’m experimenting with (attempting to) block all of them, and you’ve run into this. All HTTP User-Agent headers should clearly identify what they are, and for non-browser user agents, they should identify not just the software involved but also who specifically is using that software. 为了减轻 Wandering Thoughts 的负载,我正在尝试屏蔽所有此类爬虫,而你正好撞上了这一限制。所有的 HTTP User-Agent 标头都应明确标识其身份;对于非浏览器用户代理,它们不仅应标识所涉及的软件,还应标识具体是谁在使用该软件。

An extremely generic value such as “Go-http-client/1.1” is not something that I consider acceptable any more. One specific thing is that if your HTTP User-Agent header contains an explicit marker that you are only ‘compatible’ with what your User-Agent suggests, you must include an explicit, real URL that describes your activities or the software. 像 “Go-http-client/1.1” 这样极其通用的值,我已不再接受。特别需要指出的是,如果你的 HTTP User-Agent 标头中包含明确的“兼容”(compatible)标记,你必须提供一个明确且真实的 URL,用以描述你的活动或软件信息。

A minimal HTTP User-Agent such as ‘Mozilla/5.0 (compatible; mysoftware)’ is not acceptable. The same is true if your HTTP User-Agent says that you are a ‘bot’ of some sort; your bot needs a working URL explaining itself. An email address is not sufficient in either case. 像 ‘Mozilla/5.0 (compatible; mysoftware)’ 这样极简的 HTTP User-Agent 是不可接受的。如果你的 HTTP User-Agent 声称你是某种“机器人”(bot),情况也是如此;你的机器人需要一个有效的 URL 来进行自我说明。在这两种情况下,仅提供电子邮件地址都是不够的。

Chris Siebenmann, 2026-04-18 Chris Siebenmann, 2026年4月18日