全部文章
-
PostgreSQL backups: logical dumps versus point-in-time recovery
pg_dump produces a consistent logical copy that is easy to restore elsewhere; continuous archiving with base backups and WAL enables point-in-time recovery. Either is only a backup once a restore has been rehearsed.
-
在 Jev 决策之后、产生副作用之前重新验证状态
防止在相关记录、权限或策略已改变后,仍盲目应用针对应用先前状态作出的决策。
-
提示注入与越狱:两类不同问题,责任主体也不同
越狱是用户试图让模型生成其提供方不允许的内容;提示注入是不可信输入覆盖基于模型构建的应用指令。这一区别决定谁受到伤害、谁必须负责防御,以及哪些缓解措施适用。
-
At what share of negative lookups does a Bloom filter in front of a store pay off?
Open question: Bloom filters are recommended for skipping lookups of absent keys, but the break-even depends on the miss share, the false-positive rate, memory, rebuild cost and the price of the lookup saved; which measured thresholds have teams found for databases, caches and object stores?
-
Protocol Buffers 枚举:按运行时行为处理未知数值
根据所选模式和语言实现,规划向前兼容的枚举处理。
-
Quellen so zitieren, dass man sie prüfen kann
Eine prüfbare Quellenangabe nennt Werk, Urheber oder Organisation, Datum oder Version, eine stabile Adresse und die Stelle, die genau diese Aussage stützt; Primärquellen vor Zusammenfassungen, jede zitierte Seite selbst gelesen, flüchtige Webseiten archiviert. «Die Quelle sagt X» ist etwas anderes als «X ist wahr».
-
Verifying a Time Machine backup exists before a risky change: tmutil and local APFS snapshots
tmutil reports the backup destination, the timestamp of the last completed backup, and can trigger and block on a new one; local APFS snapshots are a same-disk convenience only and never substitute for confirming an off-disk backup before a destructive operation.
-
Working through a technical book with exercises: a chapter-by-chapter protocol
A proposed protocol for a book that has exercises: decide the coverage in advance, read a chapter once without note-taking, do the exercises before looking at solutions, keep a dated exercise log with attempts and errors, and write a half-page chapter summary from memory; the log, not the page count, shows what was learned.
-
Configuring Remote Desktop access on a server without locking yourself out
Turning on RDP via the fDenyTSConnections registry value and the firewall's Remote Desktop rule group, why Network Level Authentication matters, granting non-admin sign-in through the Remote Desktop Users group, session-limit settings, and checking who is connected with quser before disconnecting anyone with logoff.
-
What makes a recipe substitution experiment comparable?
Open question about documenting conditions and comparisons in a recipe experiment.
-
What idle timeouts do common NAT gateways and load balancers actually enforce, and what keep-alive interval survives them?
Open question: RFC 4787 and RFC 5382 set minimum NAT idle timeouts of two minutes for UDP and 2 hours 4 minutes for established TCP, but cloud NAT gateways, load balancers and mobile carriers are commonly reported to enforce much shorter values; which intervals have been observed, and what keep-alive settings keep long-lived connections alive across them?
-
Debugging HTTP with curl: verbose output, timing breakdown and forcing the connection
Use curl -v or --trace-ascii to see the exact request and response, --write-out with time_namelookup, time_connect, time_appconnect, time_starttransfer and time_total to locate where the time goes, and --resolve or --connect-to to send a request to one specific server while keeping the Host header and TLS name intact.
-
静态库链接顺序:追踪是谁引入了未解析符号
沿实际链接器命令追踪符号引用,诊断归档文件顺序引起的失败。
-
Podman rootless versus rootful on RHEL-family hosts: storage, subuid, and lingering
Podman runs containers as an ordinary user (rootless) or as root (rootful), with different storage locations and privilege boundaries. This methodology covers inspecting running containers, finding storage paths, setting up subordinate UID/GID ranges, and keeping rootless services alive without a login session.
-
Mutation score predicts a test suite's ability to catch defects
Hypothesis: the share of injected code mutations that a test suite detects is a better predictor of its defect-detection ability than line coverage; a proposed comparison against real escaped defects.
-
Vier-Augen-Prinzip beim Deployment: Freigaben technisch erzwingen
Kein Stand erreicht die Produktion, ohne dass eine zweite Person ihn gesehen und freigegeben hat – und zwar so, dass das Werkzeug es erzwingt statt die Disziplin: geschützte Zweige mit Pflicht-Review, Freigabepflicht für die Produktionsumgebung, keine Umgehung für Administratoren, und ein Notweg, der protokolliert statt verboten wird.
-
用 Jev 准备可撤销的实体关联提案
通过实体比较准备可供评审的关联提案,在应用接受合并之前,始终让原始记录和冲突字段保持可见。
-
Keeping a notebook for small experiments: a generic protocol
Every benchmark run, configuration trial or A/B test gets a dated, append-only entry written before and after the run: question, expected outcome, exact setup with versions and checksums, raw outputs, and an interpretation kept apart from the observation, so that any quoted number can be traced and rerun.
-
一种系统化调试方法
把调试看作观察、假设、预测和实验的循环:先复现问题,通过二分缩小搜索范围,每次只改变一件事,并记录已经排除的可能性。
-
Detect duplicate pages in cursor feeds
Stop pagination loops using repeated-cursor detection while deduplicating records by stable identity and revision.
机器可读: JSON