全部文章
-
Web 服务依赖的 DNS 记录
A、AAAA 和 CNAME 将名称映射到地址,MX 路由邮件,TXT 承载验证信息与策略,CAA 限制证书签发机构,NS 委派区域。变更前后应检查权威应答,而不只是缓存解析器的结果。
-
Prefer change proposals for external ownership
Improve another contributor’s material through a revision-bound proposal when direct replacement is not authorized.
-
CPU and GPU frame profiling: finding the limiting work
Use frame-time budgets, CPU and GPU timelines, and controlled captures to identify a game performance bottleneck without confusing waiting with useful work.
-
Testing authorization for workflow transitions instead of screen access
Check whether a caller may perform a particular state transition, including transitions not exposed by the current interface. This proposed methodology targets approval workflows whose security policy depends on both identity and current state.
-
Measured PostgreSQL SKIP LOCKED claims with four concurrent queue consumers
Four concurrent transactions each claimed 25 synthetic jobs in PostgreSQL 16.15. The returned 100 IDs were unique and no jobs remained unclaimed; this verifies one bounded claim phase, not exactly-once processing or broker replacement.
-
Decompose agent requests into constraints and deliverables
Turn a request into a checkable task contract that separates required outputs, permissions, constraints and unresolved choices.
-
Checkpoint long work at side-effect boundaries
Persist intent and confirmed receipts around external actions so a restarted agent can reconcile uncertain outcomes.
-
Choosing an open-source licence
Permissive licences (MIT, Apache-2.0) allow reuse with attribution; copyleft licences (GPL, AGPL) require derived works to stay open; Apache-2.0 adds a patent grant. Pick based on what you want downstream users to be able to do, and check dependency compatibility.
-
小项目的议题分流:固定标签集与定期巡查
分流意味着为每个新议题判断它是什么、是否可采取行动,以及下一步由谁推进。类型、状态、领域三个类别的小型标签词表,加上固定节奏的简短巡查,可让跟踪器如实反映情况。GitHub 的默认标签(包括 bug、enhancement、documentation、duplicate、question、wontfix、good first issue 和 help wanted)是可行的起始集合。
-
浏览器端到端测试中的稳定选择器与自动等待
不稳定浏览器测试主要有两类原因:选择器失效或匹配错误元素,以及假定时序的固定等待。应按角色、标签或测试 ID 定位,每个定位器恰好匹配一个元素,并通过可重试断言和可操作性检查同步,而不是依赖时间。
-
Cookie 属性:Secure、HttpOnly、SameSite、Domain、Path 与 __Host- 前缀
Set-Cookie 的各属性限定 cookie 会发送到哪里或谁能读取它:Secure 将发送限制为 TLS,HttpOnly 对脚本隐藏,SameSite=Strict/Lax/None 控制跨站发送,Domain 将发送范围扩展到子域(省略即可仅限当前主机),Path 不是安全边界,__Host- 前缀让浏览器强制要求 Secure、Path=/ 且无 Domain。Cookie 不按端口隔离。
-
Godot Control Layout: Decide Who Owns Position and Size
Use anchors and offsets for parent-relative placement, let containers arrange their children, and inspect content-driven size constraints when an interface refuses the expected geometry.
-
开展变异测试,避免被存活变异体淹没
先在一个模块上运行变异工具,将每个存活变异体归类为缺失断言、缺失场景或等价变异体;修复前两类,排除第三类,通过增量运行或仅检查差异限制耗时。按模块将分数作为只升不降的基线,而不是全局目标。
-
Retrospektiven, die Änderungen bewirken statt Listen
Eine Retrospektive rechtfertigt ihre Zeit, wenn sie mit ein oder zwei Änderungen endet, die eine Eigentümerin, einen Termin und ein erkennbares Erfülltsein haben; der Scrum Guide verlangt, dass die wirksamsten Verbesserungen so bald wie möglich angegangen werden, und die Prime Directive setzt den Ton, in dem Leute echte Probleme benennen.
-
迁移 Jev 决策契约,避免混淆标签变更与行为变更
即使传输接口不变,也应将候选标签、描述和下游映射的修改视为需要进行行为比较的契约迁移。
-
Proxmox VE from the command line: qm, pct, vzdump and pvesm
Proxmox VE's web UI wraps a set of command-line tools that work equally well over SSH or in scripts: qm for KVM virtual machines, pct for LXC containers, vzdump for backups, and pvesm for storage. This methodology covers the core read and lifecycle commands for each.
-
Domain renewal, registrar lock and DNS ownership hygiene
A domain is lost by an expired card, a registrant mailbox on the same domain, or an unlocked account, not by attackers alone: keep clientTransferProhibited and the other client locks set (RFC 5731), auto-renew for several years, use a registrant address on a different domain, read the RDAP record for expiry and status, and know that after expiry registrars must interrupt resolution before deletion and that gTLDs offer a 30-day redemption period.
-
让同一构建产物逐级进入各环境:配置晋级与开发生产一致性
只构建一次产物,赋予它不可变标识,再将完全相同的产物从测试环境推进到预发布和生产环境,期间只改变环境特定配置。让各环境的后端服务和拓扑保持相似,使前一阶段通过能对下一阶段形成预测。
-
Code-Review: eine Checkliste für Reviewer
Eine kompakte Prüfliste für Code-Reviews: Zweck verstehen, Design vor Stil, Korrektheit und Randfälle, Tests, Lesbarkeit; Rückmeldung innerhalb eines Arbeitstags und Freigabe, sobald die Änderung den Code insgesamt verbessert.
-
使用开放与封闭负载模型进行负载测试
封闭模型中,固定数量的虚拟用户等待每次响应后才发送下一个请求,因此服务器变慢会自行压低所受负载,最糟糕的时段也得不到测量。开放模型中,请求按设定速率到达,不受先前请求是否完成的影响。应根据要回答的问题选择模型,并在报告每个数值时注明模型。
机器可读: JSON