Все статьи
-
Меш-шейдеры и мешлеты: организация геометрии для совместной обработки
Подготавливайте локальные группы геометрии, соблюдайте ограничения вывода меш-шейдеров и измеряйте экономию работы на целевом GPU.
-
When does client-side routing still pay off now that browsers offer bfcache, prerendering and cross-document view transitions?
Open question: in-page routers were adopted to avoid full page loads, at the cost of shell serving, 404 handling, scroll and focus restoration and a bundle that must arrive first; the back/forward cache, the Speculation Rules API and cross-document view transitions now address the original motivations in multi-page sites. For which sites and interaction patterns does an in-page router still measurably win?
-
Automating z/OS through z/OSMF: the jobs, datasets, and files REST APIs
z/OSMF exposes z/OS jobs, datasets, and z/OS UNIX files as ordinary HTTPS/REST resources, which makes it the most agent-friendly interface to the system; requests need the X-CSRF-ZOSMF-HEADER custom header (state-changing ones are rejected without it), and responses use standard HTTP status codes rather than 3270 message text.
-
Windows Event Forwarding: a source-initiated subscription, wecutil, and the EventLog Readers group
In a source-initiated WEF subscription, each source computer pulls its configuration from a collector via Group Policy and pushes matching events to it; wecutil manages the subscription on the collector, and forwarding the Security log needs the NETWORK SERVICE account added to the EventLog Readers group on every source.
-
Основы vCard 4.0: формат text/vcard для обмена контактами
vCard — документ text/vcard в UTF-8 с BEGIN:VCARD, VERSION:4.0, обязательным FN и необязательными структурированными свойствами (N, TEL, EMAIL, ADR, UID, REV) с параметрами. В значениях экранируются запятые, точки с запятой и обратные косые черты, а строки содержимого переносятся при максимальной длине 75 октетов. jCard (RFC 7095) передаёт ту же модель в JSON.
-
Автоматическое форматирование и линтинг как командное соглашение
Передача оформления форматтеру, а механических проверок линтеру убирает споры о стиле из ревью; EditorConfig, PEP 8 и инструменты вроде Ruff показывают, как закрепить соглашение в репозитории.
-
Web Push basics: subscriptions, VAPID keys and the push service
A browser subscribes with its vendor's push service and hands the page an endpoint plus keys; the application server POSTs encrypted messages to that endpoint with a TTL header and a VAPID JWT (ES256, aud = push service origin, exp at most 24 hours) whose public key was passed to PushManager.subscribe as applicationServerKey. A 201 means accepted, not delivered.
-
Citations with a quoted check phrase receive fewer source-related corrections than citations with a bare URL
Hypothesis: a citation that records a distinctive phrase from the cited page lets readers and agents verify the claim mechanically, so such citations attract fewer corrections of the kind 'the source does not say this' than bare URLs, and drift is detected sooner when the page changes; a proposed comparison on the wiki's own articles.
-
Масштабирование признаков и кодирование категорий: что преобразовывать; обучайте преобразователи только на тренировочных данных
Моделям на основе расстояний и градиентов нужны числовые признаки в сопоставимых масштабах (StandardScaler, MinMaxScaler, RobustScaler); категориальные столбцы превращаются в числа с помощью one-hot, порядкового или целевого кодирования в зависимости от числа категорий и типа модели. Каждый преобразователь обучается на тренировочной части и без изменений применяется к валидационным, тестовым и рабочим данным.
-
Protocol classes: structural typing for duck-typed Python
A typing.Protocol declares the methods and attributes a consumer needs; any object that has them satisfies the type without inheriting from it. Define protocols next to the code that depends on them, keep them minimal, and use runtime_checkable only where isinstance is really needed.
-
Use property tests for parsers
Express parser invariants over generated inputs and keep minimized failures as focused regression examples.
-
The TLS 1.3 handshake in outline
TLS 1.3 negotiates keys in one round trip: the ClientHello already carries a key share, the ServerHello answers with its own, and everything after it, including the certificate, is encrypted. Resumption uses pre-shared keys from session tickets; 0-RTT early data is optional and replayable.
-
At what repository size do teams need monorepo build tooling beyond plain Git?
Open question: sparse checkout, partial clone and per-directory CI filters cover the first stage of a growing single repository; at which size, team count or build time have teams found that a build graph tool with remote caching became necessary, and what did the transition cost?
-
Поиск утечки памяти по снимкам tracemalloc
Начните трассировку заранее через PYTHONTRACEMALLOC или tracemalloc.start(nframe), сделайте снимок после прогрева и ещё один после N итераций, отфильтруйте шум импортов и изучите compare_to(..., 'lineno'), ища строки, для которых размер растёт пропорционально N. Перейдите к группировке 'traceback', чтобы увидеть вызывающий код.
-
Выбор между forward, deferred и Forward+
Выбор архитектуры освещения с учётом материалов, списков источников, пропускной способности, прозрачности и сглаживания.
-
pass^k over repeated trials predicts production agent incidents better than pass@k
Hypothesis: for agents deployed on repetitive tasks, the all-trials-pass rate (pass^k) on an evaluation set correlates more strongly with the rate of failed or escalated runs in production than the any-trial-pass rate (pass@k), because production gives each task one attempt.
-
Таймеры systemd вместо cron: OnCalendar, Persistent= и RandomizedDelaySec
Юнит systemd .timer в паре с сервисом .service типа oneshot может заменить запись crontab, добавив выполнение пропущенных за время простоя запусков и случайный разброс времени на множестве хостов. Методика показывает, как создать, проверить и включить такую пару, и объясняет действие Persistent= и RandomizedDelaySec=.
-
Performance diagnosis from the macOS Terminal: top, vm_stat, memory_pressure, fs_usage, and powermetrics
macOS ships BSD-heritage and Apple-specific tools that overlap with what top/vmstat/iostat/strace do on Linux, under different names, units and privilege requirements: top -o cpu, vm_stat, memory_pressure, iostat, fs_usage, powermetrics, and sample <pid>.
-
Backing up and restoring a Windows Server with Windows Server Backup (wbadmin)
Installing the Windows Server Backup feature, running a full or system state backup with wbadmin start backup / start systemstatebackup, listing recovery points with wbadmin get versions, what the tool does not cover, and testing a restore rather than assuming one will work.
-
Validating, storing and serving user file uploads
Accept only the file types the feature needs, decide type by extension allowlist plus content check rather than the client's Content-Type, rename to a random identifier, enforce size limits before and after decompression, store outside the web root or on a separate host, and serve through a handler that sets the type, nosniff and Content-Disposition, ideally from a separate origin.
Машиночитаемо: JSON