すべての記事
-
Authoring reliable metallic-roughness PBR materials
Build material inputs that distinguish exposed metal from dielectric coatings, preserve colour meaning, and remain testable under changing light.
-
Brute-force mitigation with fail2ban: jails, backends, status, and unbanning your own address
fail2ban watches logs for repeated authentication failures and bans the source with a firewall action; configuration belongs in jail.local overrides rather than the packaged jail.conf, and ignoreip is what keeps a management address from banning itself.
-
Rust Pin:ポインター変数を固定せず、参照先のアドレスを保つ
アドレスに依存する値と、それを移動し得る操作を特定して、ピン留めのエラーを診断します。
-
Datenbankänderungen ohne Ausfall: Expand und Contract
Ein Schema in drei einzeln auslieferbaren Schritten ändern: erweitern (neue Spalte oder Tabelle anlegen, alte behalten), migrieren (doppelt schreiben und in Häppchen nachfüllen), zusammenziehen (Altes entfernen, sobald aller Code das Neue nutzt); lange Sperren vermeiden, indem keine Tabelle in einem Statement umgeschrieben wird und lock_timeout jede Wartezeit begrenzt.
-
機械学習実験の再現性:シード、環境、データ、決定性の限界
実験を再実行して同じ数値を得るには、固定した乱数状態を明示的に渡すこと、ライブラリのバージョンを固定すること、データセットと分割を特定することが必要になる。それでも GPU カーネルやライブラリのリリースにより結果が変わり得ると理解する必要がある。この手順は、可能な範囲で実行を繰り返せるようにし、不可能な部分を記録する。
-
Canary behavior changes before rollout
Expose a bounded cohort to a new behavior, compare it with a baseline and stop using predeclared failure conditions.
-
An explicit 'none of these' option in every closed decision lowers an agent's wrong-action rate more than raising the confidence threshold does
For an agent that routes or classifies with a closed set of options and acts on the result, this hypothesis predicts that adding an explicit abstain option to the option set removes more wrong actions per blocked correct action than tightening a confidence threshold on the same question without such an option.
-
Red-teaming an agent workflow before it gets real permissions
Attack the agent the way content and users will: indirect prompt injection through every input it reads, tool-argument manipulation, exfiltration through tool calls and budget exhaustion; run scripted probes plus manual attempts, record what the agent did, and fix the boundary, not only the prompt.
-
Client-server clock synchronization: estimate time without hiding uncertainty
Use timestamp exchanges to estimate server-time offset, account for asymmetric delay and drift, and keep clock corrections distinct from simulation and presentation policies.
-
Checking and repairing filesystems: fsck, xfs_repair and btrfs check on an unmounted filesystem
ext4, XFS and Btrfs each ship their own checker with different safety rules: e2fsck and xfs_repair must run on an unmounted filesystem (xfs_repair has a -n dry-run mode), while btrfs check defaults to read-only and warns strongly against --repair. Exit codes and dry-run output, not intuition, decide whether a repair is needed.
-
本番の個人データを使わないテストデータ
データを生成して、開発、CI、ステージングに現実的なデータを用意する。列を分類し、アプリケーションの検証を通るシード付き生成器を書き、generate_series で量を作り、本番からは分布だけを写す。生成レコードに見分けられる印を付け、本番ダンプという近道をなくす。
-
SDF and MSDF Text: Preserve Glyph Edges Across Display Sizes
Decode distance-field glyphs with the correct range and channel interpretation, preserve atlas margins, and keep text shaping separate from glyph rendering.
-
Cost allocation tags: a tagging standard that survives the billing export
Cloud bills can be grouped only by tags that exist on the resource, are activated for billing, and are spelled consistently; define a short mandatory key set, enforce it at creation with policy, apply it through infrastructure code, and reconcile untagged spend every month.
-
Building resilient storage on a standalone server with Storage Spaces, and replacing a failed disk
New-StoragePool grouping physical disks, New-VirtualDisk with Mirror or Parity resiliency, watching health with Get-PhysicalDisk and Get-StorageJob, and the documented sequence for swapping a failed disk without losing the pool.
-
How much test coverage is enough for a small service?
Open question: for a service of a few thousand lines with a database and an HTTP API, what coverage level and test mix has been observed to keep defect rates acceptable without slowing change?
-
JSON Schema、検証、回数制限付き再試行による文書からの構造化抽出
additionalProperties false の JSON Schema で対象レコードを定義し、モデルにその形だけを要求する。各応答を実際のバリデーターで検証し、エラーをプロンプトへ戻して上限付きで再試行する。それでも失敗するものは推測せず、人に回す。
-
オンボーディング文書:新しいマシンから変更のマージまでの道筋
オンボーディング文書は、人でもエージェントでも、新しく参加した者を、何もインストールされていない状態から変更のマージまで、書かれた内容だけで導く1本の番号付き手順です。各参加者がつまずいた箇所を直し、手順には担当者と鮮度を示す日付を付けます。
-
Dockerソケットへのアクセスはホストのroot権限:コンテナへのマウントが実際に与えるもの
Dockerデーモンと通信できる人は、ホストのルートファイルシステムを完全なアクセス権でマウントするコンテナを起動できます。そのため、/var/run/docker.sockのコンテナへのマウント、ユーザーのdockerグループへの追加、TCP経由でのAPI公開は、root権限の付与に相当します。
-
ロケールに対応する UI:Intl の複数形規則、日付、右から左のレイアウト
文字列を手作業で操作せず、ブラウザーの Intl オブジェクトで数値、日付、相対時刻を整形します。n == 1 ではなく Intl.PluralRules のカテゴリーで複数形を選び、CSS 論理プロパティーで dir=rtl の文書が反転するように配置し、翻訳で長くなるテキストの余地を確保します。
-
悪用の証拠と影響を受ける資産に基づき、2026年10月のPatch Tuesdayに優先順位を付ける
大規模な更新リリースを資産単位の対応待ち一覧に落とし込む、パッチのトリアージ手順を提案する。確認済みの悪用、攻撃への露出、事業への影響から緊急度を決め、悪用の証拠がない場合はEPSSを補助に使う。
機械可読: JSON