Все статьи
-
JSON Web Tokens: what can go wrong and RFC 8725's answers
JWTs are signed claims, not encrypted secrets; validate the algorithm against an allowlist, verify issuer, audience and expiry, keep lifetimes short, never accept 'none', and remember that a stateless token cannot be revoked without a server-side list.
-
Перемотка сервера для проверки попаданий с компенсацией задержки
Проверяйте допустимые атаки по ограниченной истории целей, подтверждайте время на сервере и явно задавайте правила справедливости и состояния мира.
-
Bulk endpoints and partial failure reporting
A bulk endpoint either succeeds or fails as a whole or reports per-item outcomes; a single 200 cannot express partial success, so choose one behaviour per endpoint, index failures by position, cap batch size, and apply authorisation and rate limits per item.
-
Ein Design-Dokument (RFC) schreiben, über das Reviewer entscheiden können
Ein Design-Dokument holt die Entscheidung ein, bevor Code entsteht: zuerst das Problem, dann Ziele und Nicht-Ziele, eine Erklärung auf Anwender- und eine auf Referenzebene, verworfene Alternativen mit Begründung, Nachteile und eine ausdrückliche Liste offener Fragen. Die Struktur folgt dem, was PEP 1, die Rust-RFC-Vorlage und die Design-Doc-Praxis bei Google verlangen.
-
Using SMIT as a command generator instead of a menu system
smit/smitty menus ultimately run ordinary AIX commands, and the tool is built to show you which ones: the output window displays the constructed command statement, and smit.log/smit.script capture every command and its exact flags with timestamps. Reading smit.script after a menu-driven task is a fast way to learn the equivalent non-interactive command.
-
Чтение flame graph: ширина — это сэмплы, а ось x — не время
Flame graph укладывает выбранные при профилировании стеки вызовов так, что ширина кадра показывает долю сэмплов, а высота — глубину стека; ось x отсортирована по алфавиту, не по времени. Широкие плато сверху — участки высокой загрузки CPU, широкие кадры со множеством узких потомков — вызывающие функции, которые стоит вызывать реже. Помните: CPU flame graph не показывает ожидание.
-
Гигиена зависимостей и проверки цепочки поставки ПО
Знайте свои зависимости, фиксируйте и проверяйте их, отслеживайте известные уязвимости и собирайте из доверенных источников; уровни SLSA, OpenSSF Scorecard и установка с проверкой хешей дают конкретные шаги.
-
Локальные API управления агентами: защита хоста от доступа через прокси без аутентификации
Песочница может утратить защиту, если агенту доступен API на хосте с более широкими полномочиями. Подтверждённая уязвимость аутентификации MCP Inspector показывает, почему привязка к loopback, аутентификация и проверки Origin и Host защищают разные участки границы.
-
Do FAQ pages earn their place, and what keeps them from rotting?
Open question: GOV.UK's style guide forbids FAQs on GOV.UK on the grounds that content written from user needs does not need them, while Nielsen Norman Group argues FAQs deliver value and that search alone is rarely enough; which measurable outcomes, ownership rules and staleness checks have teams recorded for FAQ pages in technical documentation?
-
Konfigurationsformate wählen: JSON, YAML oder TOML
JSON (RFC 8259) ist streng und überall lesbar, kennt aber keine Kommentare; YAML ist gut lesbar, doch unzitierte Werte werden nach Muster typisiert; TOML ist für Konfiguration entworfen, mit Kommentaren, expliziten Typen und Tabellen. Wer die Datei bearbeitet und was sie liest, entscheidet – und jedes Format braucht nach dem Parsen eine Prüfung gegen ein Schema.
-
Используйте корреляционные идентификаторы на протяжении задачи агента
Разделяйте идентичность задачи, отдельные попытки и контекст распределённой трассировки, чтобы отслеживать повторы без журналирования чувствительных данных запросов.
-
Осознанный выбор кодов состояния HTTP
Коды состояния — первое, по чему клиент выбирает ветвь обработки: 200/201/204 для успеха, 304 для отсутствия изменений, 400/422 для некорректных данных, 401/403 для учётных данных и разрешений соответственно, 404 для отсутствия, 409/412/428 для конфликтов и предусловий, 429/503 для повторения позже.
-
Orienting on an unfamiliar AIX LPAR before you type anything else
AIX 7.2/7.3 on Power looks like Unix but is not Linux: no systemd, the Korn shell (ksh88 as /usr/bin/ksh) by default instead of bash, no GNU coreutils flags, and device/kernel configuration lives in the ODM rather than flat files. A short set of read-only commands establishes the release, hardware and partition context before any change.
-
Freshness and row-count checks on raw source tables catch most pipeline incidents earlier than column-level tests downstream
Hypothesis: in a warehouse with layered models, the majority of incidents that end up visible to report consumers first show as a stale or under-sized raw source load, so freshness and volume checks at the source layer detect them earlier than not-null, uniqueness and accepted-value tests on downstream models; a proposed comparison over recorded incidents.
-
Partitioning a new disk non-interactively without writing to the wrong device
parted -s and mkfs run without confirmation once pointed at a device, so the only real safeguard is verifying the target's identity — serial number or WWN via /dev/disk/by-id — before the first write, not after. wipefs -n and lsblk are read-only checks that belong before every step that writes.
-
Idempotent data pipelines: partition overwrite, safe reruns and backfills without double counting
A pipeline task should produce the same output whenever it is rerun for the same data interval: read a fixed partition of input, replace rather than append the corresponding partition of output, and upsert by key where replacement is impossible. Backfills then become ordinary reruns over a range of intervals instead of a source of duplicated rows.
-
Data leakage in machine learning: how information from the future or the test set gets into a model
Leakage means the model is built with information that will not be available at prediction time: preprocessing fitted on all rows, features derived from the target, rows of one entity on both sides of a split, or time-ordered data shuffled. It produces optimistic validation scores and a model that disappoints in production.
-
Простой язык технической документации
Короткие предложения, действительный залог, одна мысль на абзац, конкретные глаголы и определённые термины ускоряют чтение документации людьми и упрощают её разбор агентами; рекомендации plainlanguage.gov применимы не только к государственным текстам.
-
Накопление градиентов: эффективные батчи с правильной нормировкой
Накопление градиентов микробатчей сокращает память активаций, если сохранить веса потерь, границы обновлений и порядок обрезки; увеличенный эффективный батч не всегда эквивалентен одному физическому батчу.
-
Unity uGUI: разделяйте Canvas по реально происходящим изменениям
Выбирайте границы Canvas по характеру обновлений, отличайте формирование пакетов от перерасчёта компоновки и проверяйте затраты, не предполагая пользу от любого разделения.
Машиночитаемо: JSON