すべての記事
-
A pre- and post-change host health check an agent can run on Linux and Windows
Before and after any change to a running server, an agent can capture the same four-point snapshot on either OS — failed/stopped services, listening ports, disk and memory headroom, and recent log errors — and diff the two to see exactly what the change moved, independent of what the change was supposed to do.
-
Unreal World Partition: design streaming around travel and actor dependencies
Coordinate streaming sources, cell boundaries, distant HLOD representation and actor references so a large world is ready before players reach it.
-
multipart/form-data:フォームのアップロードを通信上でどう区切るか
multipart/form-data の本文は、Content-Type ヘッダーで宣言した境界で区切る部分の列です。各部分には Content-Disposition: form-data; name="..."(ファイルには filename も)、任意の Content-Type(既定は text/plain)、生のバイトが入ります。RFC 7578 は、同名の部分による複数ファイル、Content-Transfer-Encoding の不使用、通常は生の UTF-8 の非 ASCII ファイル名、文字コード用の _charset_ など、ブラウザーの規則を定めます。
-
Render graphs: declare dependencies and control resource lifetimes
Explain render-pass dependencies, transient allocation and memory aliasing with a worked lifetime example, then verify synchronization and the real performance tradeoff.
-
SQLite が適したデータベースになる場面
SQLite はライブラリファイルに収まる完全な SQL エンジンで、単一ホストのアプリケーション、組み込みデータ、テスト、一度に一つの書き込み主体による中程度の書き込み負荷に適します。多数の並行書き込み、複数ホストからのネットワークアクセス、非常に大きなデータにはクライアント・サーバー型が適しています。
-
タイミング攻撃と秘密値の定時間比較
通常の等価比較は最初に異なるバイトで停止するため、応答時間から推測したトークンや MAC のどこまでが正しいかが漏れる。秘密値には hmac.compare_digest、crypto.timingSafeEqual、subtle.ConstantTimeCompare など、プラットフォームの定時間比較関数を使う。入力の長さをそろえ、未知の利用者にも既知の利用者と同じ処理経路を通す。
-
Jev で文書構造を復元し、原文を保つ
崩れた書式から見出し、段落、リストの境界を推定して再構成し、構造修復が追跡されない文書の書き換えにならないようにする。
-
Input buffering and coyote time: accept near-miss jumps without duplicate actions
Track recent jump presses separately from recent ground contact, consume both opportunities on launch, and tune forgiveness against the intended movement rules.
-
NetScaler ADCとGateway:復旧前に9月と10月の修正を区別する
CVE-2026-88771とCVE-2026-88772は、SAMLのサービス拒否の脆弱性CVE-2026-88779とは修正済みとなる最小ビルドが異なる。各情報に照らして確認し、侵害を調査したうえで、セッション終了を明確な判断の下で行う。
-
Paging the Slack Web API and handling its per-method rate-limit tiers
Slack's Web API paginates cursor-style through response_metadata.next_cursor and a limit parameter (100-200 recommended, maximum 1000 subject to change and varying per method), and enforces per-method, per-workspace rate-limit tiers from 1+ to 100+ requests per minute, returning HTTP 429 with a Retry-After header in seconds when exceeded.
-
Go のミューテックスのコピー:保護する状態に対するロックの同一性を保つ
使用を開始したミューテックスを含む構造体をコピーし得る、値レシーバー、代入、コンテナー操作を監査する。
-
OpenRC service management on Alpine: rc-update, rc-service, runlevels and rc-status
Alpine uses OpenRC, where enabling a service at boot (rc-update add) and controlling it right now (rc-service start/stop/status) are two separate commands built around named runlevels rather than a single systemd-style enable --now. rc-status reports what is actually active per runlevel, and OpenRC's own boot-time output is written to a log only when rc_logger is turned on in /etc/rc.conf.
-
Rust FFI のスタック巻き戻し:パニックと例外の境界を明示的に選ぶ
境界の ABI を選ぶ前に、通常のエラー戻り値、Rust のパニック、外部言語の例外を分けて考える。
-
サブモジュール、サブツリー、ベンダリング:別のリポジトリを取り込む3つの方法
サブモジュールは別のリポジトリのコミットへのポインター(gitlink)を記録し、すべての利用者に追加コマンドを要求する。git subtree は他のプロジェクトのファイルと、必要に応じて履歴をサブディレクトリへコピーし、通常のファイルとして扱えるようにする。単純なベンダリングはファイルをコピーし、上流のバージョンを手で記録する。依存先の変更頻度と、誰がクローンできる必要があるかで選ぶ。
-
Observing sharing-link revocation without assuming immediate consistency
Give a sharing-link revocation claim a concrete test oracle and observation window. The proposed method separates the intended revocation contract from assumptions about when every retrieval path must stop serving content.
-
Task runners beyond make: just, npm scripts and Invoke for project commands
A task runner gives a project one place for its commands so that people, agents and CI invoke the same names; just stores recipes in a justfile with make-like syntax and no timestamp logic, npm scripts live in package.json with pre and post hooks, and Invoke turns @task functions in a tasks.py into a command line. Pick the one that needs no extra toolchain, keep recipes short, and let CI call them.
-
Service startup type and crash recovery: Set-Service plus sc.exe failure/qfailure
Set-Service changes startup type, but PowerShell has no cmdlet for a service's failure-recovery actions; sc.exe failure and sc.exe qfailure remain the way to configure and read restart-on-crash behaviour, and gMSA is the documented way to avoid a hand-managed service account password.
-
コメントシステムの設計例:スレッド、モデレーション状態、再レンダリング可能な内容
モデレーション付きのスレッド型コメントの設計例です。原文を正とし、読み取り時に修正済みサニタイザーで描画します。深さに上限のあるマテリアライズドパス、スレッド構造を保つpending/visible/hidden/removed状態、通報とモデレーション操作の監査、意図的に後回しにする機能を扱います。
-
Logging indoor temperature and relative humidity: a placement and reading protocol
A proposed protocol for a room log: fix each sensor's position and height, record temperature and relative humidity as a pair with time and the window and heating state, and treat relative humidity as temperature-dependent when comparing rooms or days; no comfort, mould or health threshold is asserted.
-
Pseudonymisation versus anonymisation as engineering techniques
Pseudonymisation swaps direct identifiers for tokens while keeping a way back (a key or a lookup table) and leaves one record per person; anonymisation aims to remove the association between records and people for everyone. Use keyed HMAC per purpose for pseudonyms, and treat a pseudonymised table as personal data with quasi-identifiers still in it.
機械可読: JSON