这一篇是字典,不是文章。不用通读,收藏起来按需查。

收的都是真会读错的:熟词僻义、缩写黑话、一词多义。那些"一眼就懂"的词一律不收,免得占你时间。

2026-11-01 更新:加了音标和例句。新增第七节「精讲 98 词」——一个词一张卡片,音标 + 官方文档原句 + 为什么这句值得记,按主题分 11 组。末尾另附「音标速查」。


一、熟词僻义:词都认识,意思全不对

这一张表最值钱。 技术文档里这些词出现频率极高,而且每次都是专业含义。

括号里的小字是音标,只给真的会读错的词标——branch、commit 这种你本来就会读,标了是噪音。 想细看的词,去第七节找卡片。

词日常意思技术含义
abort /əˈbɔːrt/中止(计划)异常终止(进程/事务)
alias /ˈeɪliəs/化名别名(命令/路径/类型)
anchor锚锚点(正则/HTML/滚动定位)
arm手臂启用(arm the timer);分支(ARM 架构)
backoff后退退避(失败后延迟重试)
bare赤裸的裸的(bare metal 裸机、bare repo 裸仓库)
bind捆绑绑定(端口/地址/变量作用域)
bootstrap鞋带引导(自举启动)
branch树枝分支
buffer缓冲物缓冲区
cache /kæʃ/隐藏处缓存
canary金丝雀灰度发布(小范围先上)
cast投掷类型转换;广播(broadcast)
chunk大块数据块(分块传输/切块)
claim声称认领(claim an issue)
closure关闭闭包
commit承诺提交(一次代码变更)
context上下文上下文(执行环境/超时控制)
crawl爬行爬取(网页抓取)
daemon /ˈdiːmən/恶魔守护进程
digest /ˈdaɪdʒest/名 · /daɪˈdʒest/动消化摘要(哈希值)
dirty脏的有未提交改动(dirty working tree)
dispatch派遣分发(事件/请求路由)
drain /dreɪn/排水摘流(drain a node 让节点停止接新流量)
drift漂流漂移(配置/状态偏离预期)
dump倾倒转储(core dump、dump the database)
eager渴望的急切的(eager loading 立即加载)
escape逃跑转义(escape a character)
expose暴露暴露(对外提供接口/端口)
fence篱笆栅栏(并发控制/内存屏障)
flaky易剥落的不稳定的(测试时过时不过)
flush脸红刷新(缓冲写盘)
fork叉子派生(进程/仓库)
graceful优雅的优雅(graceful shutdown 平滑退出)
handle处理句柄;回调函数
hint暗示提示(查询优化器/类型提示)
host主人主机;托管(host a service)
idempotent /ˌaɪdəmˈpoʊtənt/—幂等的(执行多次结果一样)
instrument乐器插桩(加监控埋点)
issue问题议题(GitHub issue);签发(issue a token)
kernel /ˈkɜːrnl/果核内核
leak泄漏泄漏(内存/资源/信息)
legacy遗产遗留(legacy code 老代码)
lint线头静态检查
marshal /ˈmɑːrʃl/元帅序列化(Go/Python 里常见)
merge合并合并(分支/PR)
mock嘲弄模拟对象(测试用)
mount山;登上挂载(文件系统)
namespace—命名空间
native本地的原生(native code 原生代码)
negotiate谈判协商(协议版本/加密套件)
orphan孤儿孤儿(进程/提交)
patch补丁代码补丁
pin别针固定(pin a version 锁定版本)
pipe管道管道(|);流水线
plain平原的纯的(plain text 纯文本)
poll投票轮询
prime首要的预填(prime the cache);质数
prompt提示提示符(命令行);提示词(AI)
prune /pruːn/修剪剪枝(清理无用数据/节点)
race赛跑竞态(race condition)
raise举起抛出(异常)
rebase /ˌriːˈbeɪs/变基重定基底(改写提交历史)
reconcile调和对账(K8s/状态收敛)
recycle回收回收(连接池/资源)
ref参考引用(git ref、React ref)
render提供渲染
resolve解决解析(DNS/路径/Promise)
retire退休下线(retire an endpoint)
rollback—回滚
root根根目录;超级用户
sanitize消毒净化(过滤危险输入/HTML)
sanity check理智检查基本完整性校验
scaffold脚手架脚手架(生成项目骨架)
seal密封密封(sealed class 密封类)
seed种子种子(随机数/初始数据)
serialize连载序列化
shadow影子遮蔽(变量覆盖);影子库
shell壳命令行外壳
shim /ʃɪm/垫片垫片(兼容层)
shrink收缩收缩(shrink the image 缩容)
snapshot快照快照(磁盘/数据库/状态)
socket插座套接字
spin旋转自旋(spin up 起服务;spinlock 自旋锁)
squash /skwɑːʃ/压扁压缩提交(多个 commit 合成一个)
stale /steɪl/陈旧的过期(长期无活动的 issue/PR;缓存过期)
stamp邮票时间戳
stub票根桩(占位实现)
surface表面浮出(surface an error 暴露错误)
tear down撕下拆掉(拆除环境/资源)
throttle /ˈθrɑːtl/掐脖子限流
ticket票工单
tombstone墓碑墓碑记录(删除标记)
triage /ˈtriːɑːʒ/分诊问题分类(给 issue 打标签分派)
truncate截短截断(字符串/表清空)
tune曲调调优
verbose啰嗦的详细模式(日志级别)
warm温暖的预热(warm the cache)
watchdog看门狗看门狗(超时监控)
window窗户窗口(时间窗口/滑动窗口)

二、缩写:不认识就读错意思

Git / GitHub 场景

缩写全称含义
PRPull Request合并请求
MRMerge Request同上(GitLab 用)
LGTMLooks Good To Me我同意,可以合
PTALPlease Take Another Look改完了,请再看一眼
WIPWork In Progress未完成,别合
RFCRequest For Comments提方案征求意见
TBDTo Be Determined待定
AFAIKAs Far As I Know据我所知
IIRCIf I Recall Correctly如果我没记错
IANALI Am Not A Lawyer我不是律师(免责)
nitnitpick小问题,不阻塞
OPOriginal Poster原帖作者
TL;DRToo Long; Didn’t Read太长不看(后面给摘要)
FYIFor Your Information供参考
ETAEstimated Time of Arrival预计完成时间
ACKAcknowledgement已收到/确认
NAKNegative Acknowledgement否认/拒绝

通用工程缩写

缩写全称含义
APIApplication Programming Interface应用程序接口
SDKSoftware Development Kit开发工具包
CLICommand Line Interface命令行界面
GUIGraphical User Interface图形界面
CIContinuous Integration持续集成
CDContinuous Delivery/Deployment持续交付/部署
CRUDCreate/Read/Update/Delete增删改查
ORMObject-Relational Mapping对象关系映射
RPCRemote Procedure Call远程过程调用
RESTRepresentational State Transfer表述性状态转移
SLAService Level Agreement服务等级协议
SLOService Level Objective服务等级目标
SLIService Level Indicator服务等级指标
RTORecovery Time Objective恢复时间目标
RPORecovery Point Objective恢复点目标
MTTRMean Time To Recovery平均恢复时间
MTBFMean Time Between Failures平均故障间隔
P0/P1/P2Priority 0/1/2事故优先级(P0 最高)
SRESite Reliability Engineering站点可靠性工程
IaCInfrastructure as Code基础设施即代码
VPCVirtual Private Cloud虚拟私有云
CDNContent Delivery Network内容分发网络
DNSDomain Name System域名系统
TLSTransport Layer Security传输层安全
OAuthOpen Authorization开放授权协议
JWTJSON Web TokenJSON 网络令牌
CORSCross-Origin Resource Sharing跨域资源共享
CSRFCross-Site Request Forgery跨站请求伪造
XSSCross-Site Scripting跨站脚本攻击
DoS/DDoS(Distributed) Denial of Service(分布式)拒绝服务
RBACRole-Based Access Control基于角色的访问控制
SSOSingle Sign-On单点登录
MFAMulti-Factor Authentication多因素认证
TTLTime To Live存活时间
GCGarbage Collection垃圾回收
JITJust-In-Time即时编译
OOMOut Of Memory内存溢出
PIDProcess ID进程号
UUIDUniversally Unique Identifier通用唯一标识符
YAML/JSON/TOML—三种配置格式
EOFEnd Of File文件结束
EOLEnd Of Life停止维护
LTSLong Term Support长期支持
GAGeneral Availability正式发布
RCRelease Candidate候选版本
E2EEnd-to-End端到端(测试)
UATUser Acceptance Testing用户验收测试
POCProof Of Concept概念验证
MVPMinimum Viable Product最小可行产品
DRIDirectly Responsible Individual直接负责人

三、一词多义:同一个词,四个领域四种意思

这类词最坑,因为你查词典只会得到一个答案。

handle

领域意思例句场景
通用处理handle the request
系统句柄file handle 文件句柄
前端事件处理函数onClick={handleClick}
网络用户名/昵称@handle

host

领域意思
网络主机(localhost、host name)
云服务托管(host a service)
小程序宿主(host environment)
生物宿主(host cell)

mount

领域意思
Linux挂载(mount /dev/sda1 /mnt)
前端挂载(组件插入 DOM)
测试挂载(mount vs shallowMount)
通用递增(mount up)

resolve

领域意思
网络解析(resolve a domain name)
异步成功态(Promise resolve)
构建解析(resolve a module path)
通用解决(resolve a bug)

四、容易直译错的短语

短语别译成实际意思
out of the box从盒子里出来开箱即用
under the hood在罩子下面底层原理
on the fly在飞行中运行时/即时
back of the envelope信封背面粗略估算
boil the ocean煮海想一口吃成胖子
eat your own dog food吃自己的狗粮自家产品自己先用
yak shaving剃牦牛毛为做 A 先做 B 再做 C……
bus factor公交车系数少几个人项目就瘫
bikeshedding车棚讨论纠结无关紧要的细节
rubber duck橡皮鸭对鸭子讲一遍就想通了
happy path快乐路径一切正常的主流程
dogpile狗堆请求同时涌入
blast radius爆炸半径故障影响范围
runaway逃跑的失控(进程/成本)
golden path黄金路径官方推荐做法
snowflake雪花独一无二的特例(含贬义)
cattle vs pets牛和宠物可替换 vs 精心养护
cadence韵律节奏(发版/会议频率)

五、读文档最该记住的 8 个词

如果只记八个,记这些(它们决定你读得对不对):

词含义为什么重要
MUST必须RFC 里的红线
SHOULD建议可商量
MAY可选做不做都合规
deprecated已弃用还能用,但快没了
breaking破坏性变更你的代码会坏
default默认值不改会怎样
optional可选参数不用传
required必填不传会报错

这八个词的权威定义在 RFC 2119。原文(rfc-editor.org/rfc/rfc2119.txt):

“MUST” … mean that the definition is an absolute requirement of the specification. “MUST NOT” … mean that the definition is an absolute prohibition of the specification. “SHOULD” … mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course. “MAY” … mean that an item is truly optional.

这八个词在第七节「文档与工具」组里还有更细的卡片(deprecated、prompt、verbose、hint)。

注意 SHOULD 那句有多长——它不是"随便",是"你有权不听,但后果自负"。这就是为什么 RFC 里 SHOULD 和 MUST 要分开写。


六、怎么用这张表

不要从头背。 按这个顺序用:

  1. 今天先看第五节那 8 个词(五分钟,立刻有用)
  2. 读文档时遇到查过的词,回来在这张表里找(有上下文才记得住)
  3. 第一节(熟词僻义)每周看十行,不要一次看完
  4. 第四节(短语)遇到就查,因为这些靠猜永远猜不到
  5. 第七节(精讲 98 词)当睡前读物,一晚三五个词就行

最有效的用法:在真实文档里"抓"这些词。

打开一个你熟悉的项目的 README,用 Ctrl+F 搜 deprecated、default、may、optional,看看它们在真实句子里怎么用。比背表格快十倍。


七、精讲 98 词:音标 + 真实例句

这里的每一个英文句子都是从官方文档原文里复制下来的,一个字没改(唯一的例外是第 25 条 tombstone 和第 70 条 fence,已在文中明确标注"未找到权威原文,只给语义")。 出处标在每句下面。

自己编例句毫无意义——真实的句子同时给你三样东西:词在什么位置、周边长什么样、以及它在什么情况下才出现。

格式约定:反引号里是原文逐字。原文里的配置项名、选项名与解释文字分段写时,我分成两段反引号,中间不插任何词;个别地方原文本身带破折号或分号,我原样保留。

按主题分组,不是按字母排。同一个场景里的词放一起,记的时候能互相带出来。 分组只是阅读顺序,不影响查——用 Ctrl+F 搜词就行。

一、进程与资源

1. abort /əˈbɔːrt/

日常义:中止(一个计划) 技术义:异常终止——系统判定无法继续,强制中断。

All further processing of the query string is aborted by ErrorResponse (even if more queries remained in it).

——PostgreSQL 官方文档 Protocol Flow

记住这句:主语是 ErrorResponse——不是"人"中止的,是系统为了自保而中断。cancel 是你按的,abort 是它自己停的。

2. daemon /ˈdiːmən/

日常义:恶魔 技术义:守护进程——后台常驻、没有终端、默默干活。

The local timezone on the daemon will be used if you do not provide either a Z or a +-00:00 timezone offset at the end of the timestamp.

——Docker 官方文档 docker system prune

记住这句:读作 DEE-mən,不读"呆蒙"。这里的 the daemon 指 Docker 后台那个常驻进程——你用命令行只是发指令,真正干活的是它。

3. fork

日常义:叉子 技术义:① 派生(进程/仓库)② 分叉

-F, --fork(Used in conjunction with -a) Fork off a new incarnation of mount for each device.

——Linux man-pages mount(8)

记住这句:a new incarnation(一个新的化身)——fork 出来的东西和原来的一模一样,但从此独立。进程 fork、仓库 fork 都是这个语义。

4. graceful /ˈɡreɪsfl/

日常义:优雅的 技术义:平滑退出——先停止接新请求,把手上的做完再退。

...it is important to allow those processes to gracefully terminate when they are no longer needed (rather than being abruptly stopped with a KILL signal and having no chance to clean up).

——Kubernetes 官方文档 Pod Lifecycle

记住这句:括号里那句才是重点——graceful 的反面是 KILL 信号。看到 SIGKILL 就该想到"这不 graceful",看到 SIGTERM 就该想到"这是给你机会 graceful"。

5. orphan

日常义:孤儿 技术义:孤儿——父没了但自己还在。

...you delete Job old but leave its pods running, using kubectl delete jobs/old --cascade=orphan.

——Kubernetes 官方文档 Jobs

记住这句:--cascade=orphan 的意思是"级联删除时把子对象留下变成孤儿"。注意这是故意制造的孤儿,不是故障——孤儿进程同样:父进程退了,子进程被 init 收养。

6. leak

日常义:泄漏 技术义:泄漏(内存/资源/信息)。

This avoids a resource leak as Pods are created and terminated over time.

——Kubernetes 官方文档 Pod Lifecycle

记住这句:as Pods are created and terminated over time —— 泄漏是"随时间累积"的。所以 leak 的排障特征永远是"跑得越久越糟,重启就好"。

7. watchdog

日常义:看门狗 技术义:看门狗——超时监控,长时间没响应就重启。

...configures the time to wait for the service to terminate when it was aborted due to a watchdog timeout (see WatchdogSec=).

——systemd 官方手册

记住这句:aborted due to a watchdog timeout —— 看门狗的动作是"中止"。它是最后一道防线:程序卡死了自己不会说,只能靠外面的人踢一脚。

8. buffer

日常义:缓冲物 技术义:缓冲区——数据的中转存放区。

If you are using replication or persistence for a server, Redis will use some RAM as a buffer to store the set of updates waiting to be written to the replicas or AOF files.

——Redis 官方文档 Key eviction

记住这句:waiting to be written——缓冲区里装的是"还没落盘的"。所以 buffer 满了意味着"生产速度大于消费速度",这是排障时最重要的一句话。

9. flush

日常义:脸红 技术义:刷新——把缓冲区里的数据立刻写出去。

flush If set, the filesystem will try to flush to disk more early than normal.

——Linux man-pages mount(8)

记住这句:more early than normal —— flush 的唯一含义就是"提前落盘",不是"清空"。日志里看到 flush 失败,说明数据还在内存里,断电就丢。

10. spin

日常义:旋转 技术义:自旋(spinlock 空转等锁);启动(spin up 起服务/机器)。

For repositories on spinning disks and/or machines with a small number of cores, the default sequential checkout often performs better.

——Git 官方手册 git-config

记住这句:这里的 spinning disks 是机械硬盘(盘片在转)——和 SSD 相对。同一个词在 spinlock 里是"原地打转等锁",在 spin up 里是"把服务转起来"。都在说"转"。

11. handle

日常义:处理 技术义:句柄(资源的引用);回调函数。

...which uses stat polling, but this method is slower and less reliable.

——Node.js 官方文档 fs(对照组:同页讲的是文件监听)

application that you can run on your own computer (for development) and in the cloud (to handle real traffic).

——Kubernetes 官方文档 ConfigMap

记住这句:handle real traffic(扛住真实流量)是动词用法;而 file handle(文件句柄)是名词。同一个词,名词是"把手",动词是"扛住"——把手是你抓住它的地方。

12. recycle

日常义:回收 技术义:回收复用(连接/线程/资源)。

Thread identifiers may be recycled when a thread exits and another thread is created.

——Python 官方文档 threading

记住这句:may be recycled when a thread exits —— 这句在警告你:线程 ID 会被复用,所以别拿它当唯一标识。回收的副作用就在这里。

13. retire

日常义:退休 技术义:下线/淘汰(服务/连接/资源不再启用)。

Idle connections will not be retired once the pool reaches minimumIdle connections.

——HikariCP 官方文档

记住这句:retired as idle —— 连接池里"退休"就是被关掉回收。和 deprecated 的区别:deprecated 是"还能用但别用了",retire 是"已经关掉了"。

14. instrument

日常义:乐器 技术义:插桩——在代码里埋监控点。

The short answer is to instrument everything.

——Prometheus 官方文档 Instrumentation

记住这句:官方这句"全部插桩“很硬。注意 instrument 做动词时的感觉:给程序装上仪表盘,就像给车装仪表。

二、失败与重试

15. backoff

日常义:后退 技术义:退避——失败后不立刻重试,而是等越来越久再试。

Repeated crashes: After the initial crash Kubernetes applies an exponential backoff delay for subsequent restarts, described in restartPolicy.

——Kubernetes 官方文档 Pod Lifecycle

记住这句:exponential(指数)是关键词。不是"等一会儿”,是 1s → 2s → 4s → 8s。看到 CrashLoopBackOff 这个状态,你就知道系统正在按指数退避。

16. throttle /ˈθrɑːtl/

日常义:掐脖子(掐油门) 技术义:限流——限制单位时间内的请求量。

The Job controller may throttle new Pod creation due to excessive previous pod failures in the same Job.

——Kubernetes 官方文档 Jobs

记住这句:throttle new Pod creation due to excessive … failures —— 限流是个保护动作,不是惩罚。失败太多就踩刹车,避免越崩越多。

17. race

日常义:赛跑 技术义:竞态——两个操作抢同一个东西,结果取决于谁先到。

Doing so introduces a race condition, since other processes may change the file's state between the two calls.

——Node.js 官方文档 fs

记住这句:between the two calls —— 这就是竞态的形状:“检查"和"使用"之间有缝隙,别人插了进来。也有个专名叫 TOCTOU(time-of-check to time-of-use)。

18. eager

日常义:渴望的 技术义:急切的——能做就立刻做,不等被要求。

A task factory for eager task execution.

——Python 官方文档 asyncio

记住这句:eager 的反面是 lazy(惰性)。eager loading 立即把关联数据一起查出来;lazy loading 用到时才查。看到 eager,就往"提前、立刻"上理解。

19. poll

日常义:投票 技术义:轮询——隔一会儿问一次"好了没”。

This is done in a polling loop that periodically reconciles the desired state (a Pod spec) with the actual state of the running containers.

——Kubernetes 官方文档 Pod Lifecycle

记住这句:polling loop + periodically —— 轮询 = 定时循环地问。它的反面是 event-driven(事件驱动,有事才通知)。K8s 大量用轮询,因为轮询简单、能自愈。

20. raise

日常义:举起 技术义:抛出(异常)。

...if any of those steps in the setup raise an exception, none of the teardown code will run.

——pytest 官方文档 Fixtures

记住这句:raise an exception —— 英语里"抛出"异常就是 raise,不是 throw(Python 用 raise,Java/C++ 用 throw)。看到 raise,要立刻想到"这里要中断并上抛"。

三、数据与存储

21. cache /kæʃ/

日常义:隐藏处(动词:偷偷藏) 技术义:缓存。

Redis is commonly used as a cache to speed up read accesses to a slower server or database.

——Redis 官方文档 Key eviction

记住这句:读作 cash,不读"卡切"。定义里那半句 a slower server or database 才是精髓——缓存存在的唯一理由是"后面那个太慢"。

22. stale /steɪl/

日常义:陈旧的(食物不新鲜) 技术义:过期但还能用(与"失效"不同)。

Allows starting a background subrequest to update an expired cache item, while a stale cached response is returned to the client.

——nginx 官方文档 ngx_http_proxy_module

记住这句:update ... while a stale ... is returned —— 这就是 stale 的精髓:旧的先用着,同时后台在刷新。所以 stale ≠ 不能用,stale = “我知道它旧了,但我先用着”。

23. dump

日常义:倾倒 技术义:转储(把内存/数据库整体倒出来)。

...this option can be used to give the system more time to write a core dump of the service.

——systemd 官方手册 systemd.service

记住这句:core dump 是"程序崩了之后,把内存整个倒到磁盘上的那个文件"。dump 的精髓是"不加工,全倒出来"——所以 dump the database 是把整库导出,不是"备份策略"。

24. snapshot

日常义:快照 技术义:快照——某一时刻的完整状态副本。

...the table will appear empty to concurrent transactions, if they are using a snapshot taken before the truncation occurred.

——PostgreSQL 官方文档 TRUNCATE

记住这句:a snapshot taken before —— 快照的关键词是"那一刻"。数据库隔离级别、磁盘备份、VM 快照,全是"冻结某一瞬间"。

25. tombstone

日常义:墓碑 技术义:墓碑标记——删除时不真删,留一个"已删除"的记号。

各数据库文档对它的表述差异较大(DynamoDB、Cassandra、RocksDB 都有各自叫法),本表只给语义,不冒充某一家的原文。

通用表述:删除一条记录时写入一个带 TTL 的墓碑标记,读时跳过它,等 compaction 阶段才真正物理删除。

记住这句:为什么叫墓碑——人不在了,但地上留个碑告诉后面的人"这儿曾经有个东西,别找了"。技术上同理:让读到它的人知道"这是删除标记",而不是"数据丢了"。

26. truncate

日常义:截短 技术义:截断(截短字符串);数据库里是清空表。

TRUNCATE — empty a table or set of tables

——PostgreSQL 官方文档 TRUNCATE

记住这句:empty a table —— SQL 的 TRUNCATE 不是"删几行",是"清空整张表"。这和字符串的 truncate(截掉后半截)是同一个动作:从某个位置一刀切掉,但 SQL 的切口在最开头。

27. prune /pruːn/

日常义:修剪(树枝) 技术义:剪枝——清理不可达/无用的对象。

Remove all unused containers, networks, images (both dangling and unused), unused build cache, and optionally, volumes.

——Docker 官方文档 docker system prune

记住这句:注意它把"unused“重复说了三遍——prune 的判定标准就是"没用到的”,不是"旧的"。这解释了为什么 git prune 删掉的东西几乎找不回来。

28. seed

日常义:种子 技术义:种子——随机数的起点;初始数据。

sequence.seed Set the randomization seed.

——Vitest 官方文档

记住这句:Set the randomization seed —— 同一个 seed 必然产生同一串随机数。所以 seed 是"可复现"的关键:bug 复现不了,先问"你 seed 多少"。

29. shrink

日常义:收缩 技术义:缩容/收缩(镜像、存储、副本数)。

Higher values of the decay rate cause consecutive groups to shrink at an increasing rate.

——Git 官方手册 git-config

记住这句:shrink at an increasing rate(越来越快地缩小)—— 注意英语里 shrink 是不及物也能及物,“缩容"和"缩小"都是它。

30. warm

日常义:温暖的 技术义:预热——提前把缓存/连接池准备好。

...to perform time-consuming initial tasks, such as establishing network connections, loading files, and warming caches.

——Kubernetes 官方文档 Pod Lifecycle

记住这句:warming caches 和"建立连接、加载文件"并列——它们都是"耗时但可以提前做"的事。这就是为什么要预热:把慢的挪到用户来之前。

31. seal

日常义:密封 技术义:封闭(禁止扩展/继承/新增属性)。

Seal will disable the automatic creation of mocks when accessing an attribute of the mock being sealed

——Python 官方文档 unittest.mock

记住这句:disable the automatic creation —— seal 的动作是"把口封上,不让再自动长出新的来”。Kotlin 的 sealed class、JS 的 Object.seal 全是这个语义。

32. shadow

日常义:影子 技术义:遮蔽(变量覆盖);影子库(用于测试的镜像库);影子树(DOM)。

...you need to create and configure the shadow database manually.

——Prisma 官方文档

记住这句:shadow database —— 影子库是"跟随主库、但不对外"的那一个,用来试迁移。变量 shadowing 也是:内层的名字把外层的"盖住"了,但外层还在。

33. stamp

日常义:邮票、印章 技术义:时间戳(time stamp)。

The Kubernetes control plane uses the time stamp of this field to determine the availability of this Node.

——Kubernetes 官方文档 Leases

记住这句:time stamp 中间通常有空格——把时间"盖"在某个东西上,这就是印章的比喻。

34. window

日常义:窗户 技术义:窗口(时间窗口/滑动窗口/竞态窗口)。

This means there is an inherent time-of-check-to-time-of-use (TOCTOU) window between the permission verification and the actual mount operation.

——Linux man-pages mount(8)

记住这句:TOCTOU window —— 窗口 = 一段"有机会出事"的时间段。滑动窗口限流、TCP 窗口、竞态窗口,都是"一段区间"的意思。

四、Git 与协作

35. commit

日常义:承诺 技术义:提交(一次代码变更);数据库里指事务提交。

...the truncation will be safely rolled back if the surrounding transaction does not commit.

——PostgreSQL 官方文档 TRUNCATE

记住这句:does not commit = 没有最终确认。Git 的 commit 和数据库的 commit 是同一个意思:把改动"钉死"下来。 两个领域共用一个词不是巧合。

36. branch

日常义:树枝 技术义:分支。

Collect coverage only for files changed since a specified commit or branch (e.g., origin/main or HEAD~1).

——Vitest 官方文档 CLI

记住这句:注意 origin/main、HEAD~1 并列出现——branch 和 commit 在参数位置上是可以互换的,因为 Git 里它们都是"指向某个提交的引用"。

37. merge

日常义:合并 技术义:保留每个提交 + 加一个合并点(与 squash 相对)。

原文是一张三列表格,这是其中的 Merge commit 那一行:

StrategyResult
Merge commitPreserves every commit from the pull request branch and adds an explicit merge point.

——GitHub 官方文档 Pull request merges

记住这句:和 squash 放一起看。同一张官方表格里,两者并列,各写"什么时候该用"——这种成对出现的词,一定要一起记。

38. squash /skwɑːʃ/

日常义:压扁 技术义:把多个提交压成一个。

原文是一张三列表格,这是其中的 Squash and merge 那一行:

StrategyResultChoose when
Squash and mergeCombines all commits in the pull request into a single commit on the base branch.A pull request represents one logical change, especially with many small fixup commits.

——GitHub 官方文档 Pull request merges

记住这句:它给了判断标准——“一个 PR 代表一个逻辑变更时用 squash”。以后纠结要不要 squash,就看这个 PR 是不是"一件事"。

39. rebase /ˌriːˈbeɪs/

日常义:变基(直译) 技术义:把你的提交搬到另一个起点上重放。

Transplant a series of commits onto a different starting point.

——Git 官方手册 git-rebase 的 DESCRIPTION 首句

记住这句:官方用的动词是 transplant(移植)——不是"合并",是"连根拔起搬到别处"。这就是为什么 rebase 会改写 commit hash:它不是在原处改,是重新种了一遍。

40. ref

日常义:参考 技术义:引用(指向对象的指针/句柄)。

The format of the URL fragment is #ref:dir, where: ref is the name of the branch, tag, or commit hash

——Docker 官方文档

记住这句:branch, tag, or commit hash —— 这三种东西都能当 ref,因为它们都能"指到某个提交"。ref 的本质就是"一个指向某物的名字"。

41. dirty

日常义:脏的 技术义:有未提交改动;文件系统里指未正常卸载/有未落盘数据。

A working tree is said to be "dirty" if it contains modifications which have not been committed to the current branch.

——Git 官方 gitglossary

记住这句:dirty 描述的不是"文件脏",是"状态未落定"。所以 git status 说 dirty 时,正确反应不是"清理垃圾",是"我有东西还没存进历史"。

42. patch

日常义:补丁 技术义:代码补丁;HTTP 里是局部更新方法。

The POST and PATCH methods are not guaranteed to be idempotent.

——MDN Glossary: Idempotent

记住这句:PATCH 和 POST 并列出现,都不是幂等的——这是面试和排障都爱考的一点。PUT 是整体替换(幂等),PATCH 是局部改(不一定幂等)。

43. issue

日常义:问题 技术义:议题(GitHub issue);签发(动词,如签发 token)。

Open an issue in the GitHub Repository if you want to report a problem or suggest an improvement.

——Kubernetes 官方文档 ConfigMap

记住这句:注意 report a problem or suggest an improvement ——issue 不只是"问题",也包括"改进建议"。所以中文翻"议题"比"问题"准。

44. ticket

日常义:票 技术义:工单;Kerberos 里是票据(认证凭证)。

Delegates if and only if the OK-AS-DELEGATE flag is set in the Kerberos service ticket

——Git 官方手册 git-config

记住这句:service ticket —— Kerberos 的票据就是"证明你已经被认证过的那张票"。IT 里的"工单"也是同一逻辑:一件事对应一张凭证。

45. triage

日常义:分诊(医院里按轻重缓急分流) 技术义:问题分类分级——给 issue/告警定优先级、分派人。

Anyone with triage access to a repository can apply and dismiss labels.

——GitHub 官方文档

记住这句:triage access 是 GitHub 的一种权限角色(比 read 高、比 write 低)——专门负责"分诊"的人。这个权限名把 triage 的含义讲得最清楚:能分类、能打标签,但不改代码。

46. claim

日常义:声称 技术义:认领(占用资源);也指断言(安全声明)。

PersistentVolumeClaims are a way for users to "claim" durable storage (such as an iSCSI volume) without knowing the details of the particular cloud environment.

——Kubernetes 官方文档 Volumes

记住这句:引号里的 "claim" 是故意加的——它在说"这不是"声称",是"占住""。without knowing the details 是关键:你只声明"我要 10G",不用管它从哪块盘来。

五、序列化与接口

47. marshal /ˈmɑːrʃl/

日常义:元帅 技术义:序列化——把内存对象变成可传输/可存储的字节流。

Marshal returns the JSON encoding of v. Marshal traverses the value v recursively.

——Go 官方文档 encoding/json

记住这句:traverses ... recursively(递归遍历)说明它是深度操作——嵌套结构也会被展开。这也解释了为什么循环引用会让 marshal 报错。

48. serialize

日常义:连载 技术义:序列化——把对象变成字节流(与 marshal 近义)。

SERIALIZE Include information on the cost of serializing the query's output data, that is converting it to text or binary format to send to the client.

——PostgreSQL 官方文档 EXPLAIN

记住这句:converting it to text or binary format to send to the client —— 序列化的定义就在这半句:为了传输,把内存里的东西变成字节。做反方向叫 deserialize。

49. digest /ˈdaɪdʒest/

日常义:消化 技术义:摘要(哈希值)。

If the errors "digest check failed" appear in the logs, try disabling session reuse.

——nginx 官方文档 ngx_http_proxy_module

记住这句:这是真实报错日志的原文。技术文档里 digest 几乎全是名词,所以读 DYE-jest。看到 digest check failed 就知道:内容被改过,或传输中损坏了。

50. chunk

日常义:大块 技术义:数据块(分块传输/切块处理)。

The Content-Length header must be omitted, and at the beginning of each chunk, a string of hex digits indicate the size of the chunk-data in octets

——MDN Transfer-Encoding

记住这句:“必须省略 Content-Length” ——因为分块传输的前提就是"我事先不知道总长"。这一句解释了为什么会有分块这回事。

51. cast

日常义:投掷 技术义:类型转换;broadcast = 广播。

A type cast specifies a conversion from one data type to another.

——PostgreSQL 官方文档 Value Expressions

记住这句:CAST(expression AS type) 这个语法把词义讲透了——“把某物铸成另一形状”。SQL 里这么写,C/Go/Java 里叫 type casting,都是同一件事。

52. pipe

日常义:管道 技术义:管道(|);Unix 的进程间通信。

When you pipe a tarball to the build command, the build uses the contents of the tarball as a filesystem context.

——Docker 官方文档

记住这句:pipe a tarball to the build command —— 把 A 的输出直接喂给 B,中间不落地。这就是管道的全部含义:没有中间文件。

53. socket

日常义:插座 技术义:套接字——网络通信的端点。

proxy_pass http://unix:/tmp/backend.socket:/uri/;

——nginx 官方文档 ngx_http_proxy_module

记住这句:unix:/tmp/backend.socket —— socket 不一定是网络的,Unix 域套接字是同机进程通信。“插座"的比喻很准:两头对上,才能通电。

54. plain

日常义:平原的 技术义:纯的(无格式、无加密、无装饰)。

Content-Type: text/plain

——MDN CORS 示例响应头

记住这句:text/plain 就是”纯文本,不带任何格式"。所有 plain 的用法都统一:plain text、plain HTTP(不加密)、plain sequential scan(朴素全表扫描,不建索引)。

55. render

日常义:提供 技术义:渲染——把数据/模板变成最终可看的结果。

...so that the framework can render <style> elements.

——Angular 官方文档 Security

记住这句:render <style> elements —— render 的输出永远是"最终形态":HTML 变像素、模板变字符串、数据变页面。

56. crawl

日常义:爬行 技术义:爬取(网页抓取)。

def crawl(link, delay=3): print(f"crawl started for {link}")

——Python 官方文档 threading

记住这句:注意参数 delay=3——爬取永远和"慢一点"绑在一起,因为快就会被封。这个词的业务含义全在这个参数里。

六、并发与对账

57. reconcile

日常义:调和 技术义:对账——让"期望状态"和"实际状态"重新一致。

If your state and configuration do not match your infrastructure, Terraform will attempt to reconcile your infrastructure

——Terraform 官方教程 Manage resource drift

记住这句:do not match ... will attempt to reconcile —— 先发现不符,再对账。K8s 的整个设计都是"不断 reconcile",这也是为什么它叫"声明式"。

58. idempotent /ˌaɪdəmˈpoʊtənt/

日常义:无(纯技术词) 技术义:幂等的——执行一次和执行多次,结果一样。

An HTTP method is idempotent if the intended effect on the server of making a single request is the same as the effect of making several identical requests.

——MDN Glossary: Idempotent

记住这句:定义里 intended effect(预期效果) 是关键限定。DELETE /user/1 调十次,用户都只有一个"被删掉"的状态——幂等;POST /orders 调十次建十个订单——不幂等。同页的结论:GET、PUT、DELETE 幂等,POST 不保证,PATCH 也不保证。

59. context

日常义:上下文 技术义:上下文——执行环境/超时控制/安全标签。

...but used strictly within the context of access control).

——MDN CORS

记住这句:within the context of 是英语里极高频的搭配——“在……的语境/范围内”。技术上的 context(Go 的 ctx、React 的 Context)也是这个意思:搞清楚"现在处在什么环境里"。

60. dispatch

日常义:派遣 技术义:分发(事件/请求路由到处理者)。

...used to determine which server (virtual machine, or IP address) the load balancer should dispatch traffic to.

——Kubernetes 官方文档 Service

记住这句:dispatch traffic to —— 派给谁。load balancer 的核心动作就是这个动词,所以它叫 dispatcher 也不奇怪。

61. resolve

日常义:解决 技术义:解析(域名/路径/Promise)。

Sometimes, increasing the resources in the Pod definition can resolve the issue.

——Kubernetes 官方文档 Pod Lifecycle

记住这句:这里是日常义"解决"。但技术上更常见的是 resolve a domain name(域名→IP)。共同的底层含义:把一个"符号"变成"实体" ——问题解决了,也是把模糊变成确定。

七、构建与部署

62. bootstrap

日常义:鞋带 技术义:引导/自举——用最小的东西把自己启动起来。

start period provides initialization time for containers that need time to bootstrap.

——Docker 官方文档 Dockerfile reference

记住这句:bootstrap 的本质是"用自己的力量把自己提起来"——所以它总是发生在最早期,而且总是"先有一个小的,再由它生出大的"。

63. rollback

日常义:(无日常对应,金融里是"回滚") 技术义:回滚——退回到上一个已知良好状态。

Rollback to an earlier Deployment revision if the current state of the Deployment is not stable.

——Kubernetes 官方文档 Deployments

记住这句:if the current state of the Deployment is not stable —— 回滚的触发条件就是"不稳定"。注意它和 rebase 的区别:rollback 是往后撤,rebase 是往前搬。

64. canary

日常义:金丝雀(矿井里探毒气用的鸟) 技术义:灰度发布——先让一小部分用户用新版本。

If you want to roll out releases to a subset of users or servers using the Deployment, you can create multiple Deployments, one for each release, following the canary pattern described in managing resources.

——Kubernetes 官方文档 Deployments

记住这句:a subset of users —— 金丝雀的意义是"用少数人探路"。矿工带鸟下井,鸟先死人就跑;发布带 canary,它先挂你就回滚。

65. drift

日常义:漂流 技术义:漂移——实际状态悄悄偏离了声明的状态。

...because the state file will be out of sync, or "drift," from the real infrastructure.

——Terraform 官方教程 Manage resource drift

记住这句:引号里的 "drift," 是官方在给它下定义:out of sync。注意后半句——Terraform 会自动 reconcile(对账),可能"无意中销毁或重建"你的资源。这就是 drift 的危险之处。

66. scaffold

日常义:脚手架 技术义:脚手架——自动生成项目骨架。

In this section we will introduce how to scaffold a Vue Single Page Application on your local machine.

——Vue 官方文档 Quick Start

记住这句:scaffold a Vue Single Page Application —— scaffold 是动词,产出的是"骨架"不是"成品"。脚手架搭好之后,墙还得你自己砌。

67. pin

日常义:别针 技术义:固定——把版本/依赖/对象钉死在某个值上。

...it is recommended to pin the Dockerfile syntax to a specific version. Otherwise, your build may start to fail when new checks are added in the future versions.

——Docker 官方文档

记住这句:pin the Dockerfile syntax to a specific version —— pin 的反面是 “floating”(浮动)。生产环境要 pin,因为"没 pin 就等于随时可能被上游改掉"。

68. bare

日常义:赤裸的 技术义:裸的——不加任何包装层。

For this reason, we recommend that you use a Job rather than a bare Pod, even if your application requires only a single Pod.

——Kubernetes 官方文档 Jobs

记住这句:bare Pod 是"没有任何控制器管着的 Pod"——节点一重启它就没了,不会自愈。bare = 没有保护层,这个词在 bare metal(裸机)、bare repo(裸仓库)里是同一个意思。

69. drain /dreɪn/

日常义:排水 技术义:摘流——标记不可调度,等现有 Pod 迁走,再下线维护。

The given node will be marked unschedulable to prevent new pods from arriving. 'drain' evicts the pods if the API server supports [eviction]. Otherwise, it will use normal DELETE to delete the pods.

——Kubernetes 官方手册 kubectl drain

(原文 [eviction] 处是指向 K8s「Pod 干扰」文档页的超链接,这里用方括号代替。)

记住这句:它用的是 evicts(驱逐) 而不是 deletes。drain 的本意是"先把水龙头关了,等池子流完"——不是"拔管子"。

70. fence

日常义:篱笆 技术义:栅栏/隔离——把故障节点隔离开,防止它继续捣乱(集群高可用里)。

说明:在收集到的官方文档里没有找到权威的 fence 单句定义。为避免编造,此处只给语义: 集群里某节点疑似脑裂或不响应时,用 STONITH(Shoot The Other Node In The Head)等 fence 设备强制其断电/隔离,确保它不能再写共享存储。

——术语见 Pacemaker / STONITH 相关文档

记住这句:fence 的物理比喻是篱笆:不是打死它,是把它围起来,让它碰不到别人。

八、网络与安全

71. bind

日常义:捆绑 技术义:绑定——把两部分固定关联(端口、地址、变量作用域、挂载)。

原文是小标题 Bind mount operation 下的一句话:Remount part of the file hierarchy somewhere else.

——Linux man-pages mount(8)

记住这句:mount --bind olddir newdir 之后,同一份内容在两个地方都能访问。bind 的关键不是"复制",是"两个入口指向同一份东西"。

72. host

日常义:主人 技术义:主机;托管(动词)。

X-mount.idmap = id-type:id-mount:id-host:id-range

——Linux man-pages mount(8)

记住这句:这里 id-host 里的 host 指"宿主侧"。所有 host 的用法都能归到一句话上:“承载别人跑的那个东西”——宿主机承载虚机,主机名标识一台机器,host a service 是替别人把服务跑起来。

73. expose

日常义:暴露 技术义:对外提供(端口/接口/响应头)。

The Access-Control-Expose-Headers header adds the specified headers to the allowlist that JavaScript (such as Response.headers) in browsers is allowed to access.

——MDN CORS

记住这句:allowed to access 说明 exposed 是"主动放行",而不是"不小心漏了"。技术上 expose 通常是有意为之的开放,这一点和日常义正好相反。

74. surface

日常义:表面 技术义:暴露面(攻击面);浮现(把错误暴露出来)。

This inherent filtering significantly reduces the practical attack surface.

——Angular 官方文档 Security

记住这句:attack surface(攻击面)——这是安全领域最核心的概念之一:“能被攻击到的那些地方”。缩小攻击面 = 少开一个端口、少一个输入口。

75. sanitize

日常义:消毒 技术义:净化——过滤掉危险内容(HTML/输入/文件名)。

Sanitize untrusted values with the DomSanitizer.sanitize method and the appropriate SecurityContext.

——Angular 官方文档 Security

记住这句:Sanitize untrusted values —— sanitize 的对象永远是"不可信输入"。消毒这个词妙在:不是"删除",是"处理到安全为止"。

76. escape

日常义:逃跑 技术义:转义——给特殊字符加个标记,让它失去特殊含义。

To avoid this, you must escape them using \040.

——Linux man-pages mount(8)

记住这句:挂载路径里有空格会出问题,用 \040(空格的八进制)把空格"保护"起来——这就是转义:不让它被解释成"分隔符"。正则、HTML、Shell 里的 escape 都是同一件事。

77. negotiate

日常义:谈判 技术义:协商——两端商量用哪个版本/算法/编码。

See also the --negotiate-only and --negotiation-restrict options to git-fetch[1].

——Git 官方手册 git-config

记住这句:协商意味着"双方都有发言权"。TLS 握手协商加密套件、HTTP 协商内容编码,都是"我列一支持列表,你挑一个"——所以叫 negotiate 而不是 choose。

78. native

日常义:本地的 技术义:原生——为某个平台直接编译/直接支持。

However, the native functionality provided by a container engine or runtime is usually not enough for a complete logging solution. For example, you may want to access your application's logs if a container crashes

——Kubernetes 官方文档 Logging

记住这句:native functionality … is usually not enough —— native 是"原厂自带的",不是"更好的"。这个词经常被误解成褒义,其实它只是"没经过额外加工"。

九、代码质量与测试

79. lint

日常义:线头(衣服上的) 技术义:静态检查——不运行代码,直接扫规则。

ESLint will not lint your code unless you extend from a shared configuration or explicitly turn rules on in your configuration.

——ESLint 官方文档

记住这句:unless you … turn rules on —— lint 本身不带规则,规则要你开。所以"跑过 lint 了"不等于"没问题",得看开了哪些规则。

80. mock

日常义:嘲弄 技术义:模拟对象(测试时替代真实依赖,并能验证调用行为)。

unittest.mock — mock object library

——Python 官方文档

记住这句:mock 和 stub 的区别就一句话:stub 管返回,mock 管交互。 stub 只回答"是什么",mock 还能断言"有没有被调用、调了几次、参数对不对"。

81. stub

日常义:票根 技术义:桩——只有签名、没有实现的占位。

On the client side, the client has a local object known as stub (for some languages, the preferred term is client) that implements the same methods as the service.

——gRPC 官方文档 Core concepts

记住这句:a local object known as stub ... that implements the same methods —— stub 提供的是"同样的方法签名",不是"同样的实现"。所以它能让你的代码编译通过、跑得起来,但不会真的干活。

82. shim /ʃɪm/

日常义:垫片(木工用的薄片) 技术义:兼容层——夹在两个不兼容的东西之间做转接。

例:vue-cli 的 shim 文件给旧浏览器补 Object.assign;pyinstaller 的 bootloader 也是个 shim。

——通用工程用法(MDN 术语表收录了 Shim 条目,但各框架定义不一致,故此处只给说明不引原文)

记住这句:理解"垫片"这个物理比喻,就永远忘不掉。垫片的作用是"填缝让两个东西能装上",不改任何一个东西。shim 也一样。

83. flaky

日常义:易剥落的 技术义:不稳定的——同样的代码,有时过有时不过。

...the problem of non-deterministic tests - tests that sometimes pass and sometimes fail.

——Martin Fowler《Eradicating Non-Determinism in Tests》

记住这句:sometimes pass and sometimes fail —— flaky 的定义就这一句。注意作者用的正式术语是 non-deterministic(非确定性),flaky 是行业口语。

十、文档与工具

84. legacy

日常义:遗产 技术义:遗留——还在用,但没人愿意碰。

When using the legacy mount(2) syscall (on older kernels without the new mount API), the mount target path is resolved by the kernel at syscall time.

——Linux man-pages mount(8)

记住这句:on older kernels without the new mount API —— legacy 的判断标准是"已有新替代品",不是"老旧"。这决定了面对 legacy 的正确态度:能用,但迁移是迟早的事。

85. prompt

日常义:提示;催促 技术义:提示符(命令行);提示词(AI)。

原文是选项表的一行:-f, --force Do not prompt for confirmation

——Docker 官方文档 docker system prune

记住这句:Do not prompt for confirmation —— prompt 是"等你回答的那个停顿"。-f/--force 的本质就是"别问我,直接干"。

86. verbose

日常义:啰嗦的 技术义:详细模式(日志/输出打得更细)。

原文是同名选项的解释:verbose Print an informational message for each successful mount.

——Linux man-pages mount(8)

记住这句:for each successful mount —— verbose 会增加"成功"的记录,不只是增加错误。所以排障时先加 -v,因为默认模式下成功的事根本不会说。

87. hint

日常义:暗示 技术义:提示(给优化器/编译器的建议,不是命令)。

Hint: values between 3 and 5 are good choices when exponential backoff is desired.

——systemd 官方手册

记住这句:官方自己用 Hint: 起头——意思是"你不听也行,但听了更好"。技术上 hint 一律是建议性的:optimizer hint、type hint、hint 参数都不改变正确性。

88. prime

日常义:首要的 技术义:预填/预热(提前把数据放到该在的地方);也指质数。

HEAD is a prime example of a symref.

——Git 官方 gitglossary

记住这句:这里用的是日常义 a prime example(最典型的例子)。但技术上更常见的是 prime the cache——提前把缓存填好,别让第一个用户等。看到 prime 先看它后面接什么。

89. arm

日常义:手臂 技术义:启用(像枪上膛);也可指 ARM 架构。

...simplify the constant subexpression, even if every row in the table has x > 0 so that the ELSE arm would never be entered at run time.

——PostgreSQL 官方文档 Value Expressions

记住这句:这里的 ELSE arm 是"分支"。同一个词在技术上至少两个意思:arm the timer = 上膛启用;ARM 架构 = 芯片。看到 arm 先看后面跟什么。

90. anchor

日常义:锚(船锚) 技术义:锚点——正则里的 ^/$、HTML 里的 #id、滚动定位的参照点。

usually relies upon a chain of trust, conveyed from some prearranged or configured trust anchor, to deem a certificate trustworthy

——RFC 9110 HTTP Semantics

记住这句:trust anchor(信任锚)是全篇最值钱的用法——“一切从这里开始可信"的那个点。理解了它,正则的锚点、HTML 的锚点就都通了:都是"从这里定位”。

91. alias /ˈeɪliəs/

日常义:化名 技术义:别名(命令/路径/类型的另一个名字)。

Command aliases for the git[1] command wrapper. Aliases can be defined using two syntaxes: Without a subsection, e.g., [alias] co = checkout .

——Git 官方手册 git-config

记住这句:看 co = checkout 的方向——左边是你打的,右边是它真正执行的。所有配置文件里的 alias xxx = yyy 都是这个方向。

92. tune

日常义:曲调 技术义:调优——调参数让它跑得更好。

You can tune the performance of the algorithm by changing the number of samples to check before every eviction with the maxmemory-samples configuration directive: maxmemory-samples 5

——Redis 官方文档 Key eviction

记住这句:tune the performance of the algorithm by changing the number of samples —— 调优 = 改参数,不是改代码。所以调优永远有边界:参数改不动的地方,才需要改架构。

十一、其余高频

93. mount

日常义:山;登上 技术义:挂载——把文件系统接到目录树上;前端里指组件挂到 DOM。

You set volumes at the Pod level, then mount them into containers inside that Pod

——Kubernetes 官方文档 ConfigMap

记住这句:mount them into —— 把 A 装到 B 里面去。Linux 挂载和前端 mount 是同一个动作:东西本身不变,只是被"装"到了某个位置上。

94. namespace

日常义:无(纯技术词) 技术义:命名空间——给名字划一个作用域,避免撞车。

The Pod and the ConfigMap must be in the same namespace.

——Kubernetes 官方文档 ConfigMap

记住这句:must be in the same namespace —— 技术上的所有"找不到"报错,先查是不是跨了命名空间。这条在 K8s、C++、XML 里都一样。

95. kernel /ˈkɜːrnl/

日常义:果核 技术义:内核。

This tells the kernel to attach the filesystem found on device (which is of type type) at the directory dir.

——Linux man-pages mount(8)

记住这句:读作 KER-nel。“果核"这个比喻很到位:内核是操作系统最里面那层,外面全是壳。

96. root

日常义:根 技术义:根目录;超级用户。

The root permissions are necessary to mount a filesystem by default.

——Linux man-pages mount(8)

记住这句:root permissions —— 同一个词在同一句话体系里指两样东西:/ 是目录树的根,root 用户是权限体系的根。都叫 root,因为都是"最上面那个”。

97. shell

日常义:壳 技术义:命令行外壳。

/sbin/mount.smbfs may have to be a shell script that sets up the desired call.

——Linux man-pages mount(8)

记住这句:shell script —— shell 就是"包在内核外面那层壳",你敲的字先给它,它再转给内核。

98. closure /ˈkloʊʒər/

日常义:关闭 技术义:闭包——函数 + 它捕获的外部变量环境。

A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment).

——MDN JavaScript Guide: Closures

记住这句:bundled together + references。不是复制,是引用——所以外部变量变了,闭包里的值也跟着变。这一个词之差是无数 bug 的来源。


附:音标速查(最容易读错的 24 个)

词音标中文近似常见误读
cache/kæʃ/凯什(=cash)“卡切”
daemon/ˈdiːmən/迪蒙“呆蒙”
digest(名)/ˈdaɪdʒest/呆-杰斯特一律读成一个调
digest(动)/daɪˈdʒest/呆-杰斯特(重音在后)同上
idempotent/ˌaɪdəmˈpoʊtənt/艾登-波-腾特—
kernel/ˈkɜːrnl/克呢尔“肯内尔”
alias/ˈeɪliəs/埃利厄斯“阿利亚斯”
prune/pruːn/普闰(= prune 李子干)“普润”
squash/skwɑːʃ/斯夸什—
stale/steɪl/斯特尔“斯泰乐”
throttle/ˈθrɑːtl/斯罗头“特罗特”
triage/ˈtriːɑːʒ/特里阿日“吹阿格”
marshal/ˈmɑːrʃl/马首“马沙尔”
rebase/ˌriːˈbeɪs/瑞-贝斯“瑞巴斯”
shim/ʃɪm/西姆“希姆”
drain/dreɪn/卓恩“德兰”
evict/ɪˈvɪkt/伊维克特—
abort/əˈbɔːrt/阿伯特“阿波尔特”
closure/ˈkloʊʒər/克楼热“克漏苏”
graceful/ˈɡreɪsfl/格瑞斯否—
tombstone/ˈtuːmstoʊn/图姆-斯通“汤布斯通”
scaffold/ˈskæfoʊld/斯卡-否尔德“斯加福德”
serialize/ˈsɪriəlaɪz/西里尔莱兹“塞瑞莱斯”
reconcile/ˈrekənsaɪl/瑞肯-赛尔“瑞康塞尔”

这是我的个人整理。缩写和术语含义以各项目官方文档为准;RFC 情态动词的定义来自 RFC 2119。

第七节 98 张卡片里,96 条的英文例句逐字摘自官方文档原文,出处已标注在每句下方,并用脚本对 110 份官方页面做过逐字回核。 只有 2 条是通用说明、不是原文引用,已在卡片内明确写出:tombstone(第 25 条)、fence(第 70 条)。


这个系列的其他几篇