AIFeed

拟人化软件

Translation(model translation, not the source's own text)

拟人化软件

有些程序我喜欢称为拟人化软件。这些程序使用拟人化的第一人称文案。我想做一个区分:LLM 和其他对话式 AI 不算在内。不过,我会在最后讨论它们。

一个熟悉的例子是 Git。你有没有试过在刚安装好的系统上创建提交?你可能遇到过这个错误:


        *** Please tell me who you are.

Run

git config --global user.email "[email protected]"
      git config --global user.name "Your Name"
      

对于一个主要用途是追踪错误的工具来说,这相当私人化。

在 Git 发现已有 rebase 正在进行时启动 rebase。它还会说“再运行我一次”和“我要停止了”。


        I wonder if you are in the middle of another rebase.
      

在交互式终端中,在开始 bisect 之前先标记一个修订版本。


        Do you want me to do it for you [Y/n]?
      

我最喜欢的一个。在 git bisect 期间,跳过足够多的提交,让 Git 无法进一步缩小答案范围。


        We cannot bisect more!
      

类似地,Git 的更新日志也被拟人化了:

“git fsck”学会了把提交对象中的 NUL 字节当作潜在错误捕获并发出警告。CI 测试被教会构建文档页面。

“git fsck”学会了把提交对象中的 NUL 字节当作潜在错误捕获并发出警告。

CI 测试被教会构建文档页面。

patch 命令在 --verbose 模式下:


        Hmm...  I can't seem to find a patch in there anywhere.
      

        Looks like a unified diff to me...
      

GNU tar 命令:


        Cowardly refusing to create an empty archive
      

Elm 编程语言是一个极端的例子。


        webpack 5.69.1 compiled with 1 error in 55 ms
Detected problems in 1 module.
-- EXTRA COMMA ----------------------------------------------------- src/App.elm

I am partway through parsing a record, but I got stuck here:

16|         { init = \_ -> init
17|         , view = view
18|         , update = update,,
                              ^

I am seeing two commas in a row. This is the second one!

Just delete one of the commas and you should be all set!

Note: If you are trying to define a record across multiple lines, I recommend
using this format:

{ name = "Alice"
    , age = 42
    , height = 1.75
    }
      

我喜欢这种效果,前提是节制使用,不像 Elm 那样。

启用这个选项后,如果你输入错误密码,sudo 会辱骂你:


        Defaults 	insults
      

        team@itsfoss:~$ sudo apt update
[sudo] password for team:
When you're walking home tonight, and some homicidal maniac comes after you with a bunch of loganberries, don't come crying to me!
[sudo] password for team:
I'm very sorry, but I'm not allowed to argue unless you've paid.
[sudo] password for team:
sudo: 3 incorrect password attempts
team@itsfoss:~$ sudo apt update
[sudo] password for team:
You'll starve!
[sudo] password for team:
You can't get the wood, you know.
[sudo] password for team:
sudo: 3 incorrect password attempts
team@itsfoss:~$
      

如果你曾经尝试过 Linux From Scratch,你会知道 Bash 可以在提示符中说“我没有名字!”。

在 9 月 1 日,用 -v 运行 Nmap 会让它祝自己生日快乐。

到了 2026 年,消息会扩展为:


        Happy 29th Birthday to Nmap, may it live to be 129!
      

它还会在 12 月 25 日祝用户圣诞快乐。

如果你知道更多例子,我很乐意把它们列在这里。

LLM 代理是拟人化软件的终极版本。但代理不必听起来像人。为了我自己心智健全,我强迫我的代理不要像人一样说话。未来,代理可能会成为计算机用户界面的默认范式。到那时,我会怀念拟人化软件。

这种效果的大多数用法纯粹是为了好玩,并不是为了改善用户体验。Apple 的用户界面指南规定避免包含“哎呀!”和“糟糕”的错误消息。

面向人类的编译器错误 (elm-lang.org)

拟人化软件

写作 - Apple 开发者文档

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Lobsters
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗