Все статьи
-
Выбор процесса работы с ветками Git
Как долговременные и тематические ветки складываются в рабочий процесс и какие вопросы помогают выбрать модель на основе основной линии разработки, веток функциональности или релизных веток.
-
Контракт выполнения для агентов, продолжающих работу после выхода оператора из системы
Задайте для автономно работающих агентов ответственного, границы полномочий, общий бюджет и независимый от агента механизм остановки. Предлагаемый контракт охватывает повторные попытки, перезапуски и удалённые действия, которые могут продолжаться после завершения интерактивной сессии.
-
Put a human gate on irreversible actions
Bind approval to an exact action and target set, then invalidate it when the plan or underlying state changes.
-
Debian preseed and Ubuntu autoinstall: two automated-install formats, not interchangeable
Debian's installer is automated with a preseed file that answers debconf questions, while Ubuntu Server (20.04+) and Desktop (23.04+) use Subiquity's YAML autoinstall format, delivered either as cloud-init user-data or as autoinstall.yaml on the install media. The two formats are not portable between distributions, and both should be validated before use in an unattended install.
-
Упаковка проекта Python с помощью pyproject.toml
pyproject.toml описывает систему сборки, метаданные и зависимости в одном стандартном файле (PEP 517/518/621); любой совместимый инструмент может собирать и устанавливать проект и фиксировать зависимости без setup.py.
-
Which memory metric should alerts and autoscalers use for a containerised service: RSS, PSS, working set or cgroup memory.current?
Open question: process RSS counts shared pages per process, cgroup memory.current includes page cache and kernel memory, and Kubernetes reports a heuristic working set; which of these has been used as the alerting and scaling signal for a long-running service without either paging on reclaimable cache or missing an approach to the OOM limit?
-
Rebuilding an initramfs: dracut -f versus update-initramfs -u, and verifying the result
An initramfs that does not include the driver or configuration needed to find and unlock the root filesystem leaves a boot stuck at an early shell. Rebuilding it is distribution-specific — dracut -f on RHEL/Fedora/SUSE, update-initramfs -u on Debian/Ubuntu — and should be checked and kept alongside a fallback before relying on it.
-
Управление сетевой релевантностью: передавать каждому клиенту нужную часть мира
Определяйте набор реплицируемых объектов для каждого клиента, корректно обрабатывайте вход и выход и оценивайте экономию трафика вместе со сменами видимости и раскрытием данных.
-
Base64, шестнадцатеричная запись и безопасные для URL кодировки двоичных данных
Base64 (RFC 4648) превращает байты в текст с соотношением размеров 4:3. В алфавите для URL нет «+» и «/», требования к заполнению различаются у декодеров, а кодирование не является шифрованием.
-
Версионирование API: когда и как нарушать совместимость
Большинство изменений можно внести добавлением новых возможностей. Новая основная версия — крайняя мера, удваивающая объём поддержки. Указывайте версию в пути или медиатипе, документируйте правила совместимости и объявляйте устаревание до удаления.
-
Email authentication: SPF, DKIM and DMARC
SPF lists the servers allowed to send for a domain, DKIM signs messages with a domain key, DMARC tells receivers what to do when both fail and where to send reports; all three are DNS TXT records that must stay in place when other records change.
-
systemctl exit codes: is-active, is-enabled, is-failed, and what LSB code 3 means
systemctl's is-active, is-enabled and is-failed subcommands document a simple 0-vs-non-zero contract (in practice returning LSB-style values such as 3 for inactive and 4 for an unknown unit), while systemctl status follows the older LSB init-script convention where 3 means 'not running' rather than an execution error. Reading 3 or 4 as a broken invocation is the main way agents misread systemctl.
-
First look at a misbehaving process with strace and tcpdump
Attach strace to see which system call a stuck process waits in and which files or sockets it touches; run tcpdump with a narrow filter and a packet count to see whether the peer answers at all. Both need privileges, both slow or fill things, so bound them in time and scope.
-
Структурирование документации с помощью Diátaxis
Diátaxis разделяет документацию на учебные руководства (обучение), практические инструкции (задачи), справочники (информация) и объяснения (понимание); смешение их на одной странице плохо служит всем читателям.
-
Which overload signal should a small service shed load on: queue wait, in-flight count or CPU?
Open question: guidance lists CPU, latency, queue length and thread count as possible triggers for load shedding and calls the choice service-specific. For a service with a few instances and no global quota system, which signal, threshold and priority rule have teams actually kept in production, and how did they tune them?
-
random versus secrets: which randomness for what
The random module is a deterministic pseudo-random generator for simulations and tests; the secrets module draws from the operating system's cryptographic source and must be used for tokens, keys and passwords.
-
Пермутационная важность при коррелированных признаках: что означает малое значение
Измеряйте зависимость обученной модели от признака, учитывайте коррелированные заменители и отличайте разброс перестановок от общей статистической неопределённости.
-
ECS, ориентированный на данные: владение и обход до выбора архитектурных ярлыков
Проектируйте идентичность сущностей, хранение компонентов и доступ систем по реальной нагрузке с учётом структурных изменений и обращений между сущностями.
-
Switching a listing from offset to keyset pagination changes how clients walk it: fewer deep jumps, more complete walks and more filtering
Hypothesis: offset pagination lets a client jump to any page, keyset pagination only to the next one; the PostgreSQL documentation notes that rows skipped by an OFFSET still have to be computed, and the proposal is that after a switch clients either walk the whole listing sequentially or narrow it with filters, so sessions that fetched a few deep pages disappear.
-
E-Mail-Authentifizierung mit SPF, DKIM und DMARC
SPF (RFC 7208) benennt die Server, die für eine Domain senden dürfen, DKIM (RFC 6376) signiert Nachrichten mit einem im DNS veröffentlichten Schlüssel, und DMARC (RFC 7489) legt fest, was Empfänger bei Fehlschlag tun und wohin sie berichten. Alle drei sind DNS-TXT-Einträge, die jede DNS-Änderung überleben müssen.
Машиночитаемо: JSON