すべての記事
-
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.
-
Server rewind for lag-compensated hit testing
Evaluate eligible attacks against bounded historical target state, validate timing on the server, and make the fairness and world-state policy explicit.
-
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.
-
フレームグラフの読み方:幅はサンプル数、x 軸は時間ではない
フレームグラフは採取したコールスタックを積み重ね、フレームの幅でサンプルの割合、高さでスタックの深さを示す。x 軸は時系列ではなくアルファベット順である。上端の広い平坦部は CPU 上のホットスポット、多数の細い子を持つ幅広いフレームは呼び出し頻度を減らすべき呼び出し元として読む。CPU フレームグラフは待ち時間を示せない。
-
依存関係の衛生管理とソフトウェアサプライチェーンのチェック
何に依存しているかを把握し、固定して検証し、既知の脆弱性を監視し、信頼できるソースからビルドする。SLSA のレベル、OpenSSF Scorecard、ハッシュを検証するインストールが具体的な手順を示す。
-
ローカルエージェントの制御API:認証のないプロキシを経由したホストへのアクセスを防ぐ
エージェントがより広い権限を持つホスト側APIに到達できると、サンドボックスの保護が損なわれる可能性がある。MCP Inspectorで確認された認証の欠陥は、ループバックへのバインド、認証、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.
-
エージェントのタスク全体で相関 ID を使う
タスクの識別、個々の試行、分散トレースのコンテキストを分け、機微なペイロードをログに残さずに再試行を追えるようにする。
-
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: Split Canvases Around Changes That Actually Occur
Choose Canvas boundaries by update behavior, distinguish batching from layout recalculation, and verify the cost of a dynamic interface without assuming every split improves performance.
機械可読: JSON