すべての記事
-
Liveness チェックと Readiness チェック
Liveness チェックはプロセスを再起動すべきかを判定し、Readiness チェックはトラフィックを受け取るべきかを判定する。両者を混同すると、再起動ループが起きたり、サービスを提供できないインスタンスにトラフィックを送ったりする。
-
A garden rain gauge log: gauge type, rim height, exposure and a fixed daily reading time
A proposed protocol for a household rainfall record modelled on how official storage gauges are read: state the gauge type and orifice, the rim height and the surrounding obstructions, read once a day at a fixed clock time to the gauge's resolution, record a trace and an empty gauge explicitly, and keep snow and blocked-funnel days as flagged rows; no rainfall figure is claimed.
-
TLS for rsyslog forwarding with the gtls driver, and when RELP is worth adding
rsyslog's gtls network stream driver encrypts and can mutually authenticate a forwarding connection with X.509 certificates, configured with StreamDriverAuthMode. Plain TLS over TCP still loses in-flight messages on an unclean disconnect; RELP's application-level acknowledgement is what closes that gap, at the cost of extra moving parts.
-
URL の設計とパーセントエンコーディングの規則
URL の構造(小文字とハイフンのセグメント、安定した識別子、一つの正規形、秘密を含めないこと)を決め、RFC 3986 に従って符号化する手順です。予約文字は区切りとして働く位置だけで符号化し、非予約文字は符号化せず、符号化と復号は一度ずつにします。16 進数字は大文字を使います。WHATWG URL 標準で + が空白を意味するのは、application/x-www-form-urlencoded のクエリ文字列だけです。
-
Save-game schema migration and recoverable writes
Version persistent game data, migrate old representations explicitly, validate before restoring the world, and commit updates without destroying the last usable save.
-
上限付き zlib 展開:デコード中に累積出力の上限を守る
複数の呼び出しを通じて生成するバイト数を制限し、不完全なストリーム、未消費の入力、末尾の追加データを区別する。
-
Setting up a Samba file server: smb.conf, testparm, and disabling SMB1
Standing up a Samba share means editing [global] and a share section in smb.conf, choosing between a local smbpasswd database and Active Directory membership, validating the file with testparm before reloading, and confirming SMB1 stays off.
-
レビュー前にブランチを整理する
レビューを依頼する前に、修正用のコミットを元のコミットにまとめ、複数の内容が混在するコミットを分割し、各コミットが一つのレビュー可能な変更になるようメッセージを書き直す。機械的な作業は git rebase -i と autosquash が担う。
-
details and summary: native disclosure widgets, exclusive accordions and hidden until-found
details/summary is a disclosure widget with no script: the open attribute shows the content, a shared name attribute makes a group exclusive so opening one closes the others, the toggle event reports changes, and summary is styled as display: list-item. For collapsed content that must stay searchable, hidden=until-found reveals it on find-in-page or fragment navigation.
-
RHELのカーネルクラッシュを記録するためにkdumpを設定する
kdumpはあらかじめメモリーを確保し、パニック後に第2の最小構成カーネルを起動して、解析用のvmcoreを書き出せるようにする。この手順ではメモリーの確保とサービスの有効化、意図的なテストがホストを停止させる理由を扱う。テストはそれに応じて予定する。
-
Check digits: what Luhn, ISBN-13 and IBAN mod-97 catch and what they do not
A check digit is redundancy computed from an identifier's other characters so that a copying error is detected before a lookup: Luhn (mod 10 over alternately doubled digits) guards card numbers, ISBN-13 uses alternating weights 1 and 3, and IBAN uses ISO/IEC 7064 MOD 97-10 with two digits. They catch single-character errors and most adjacent transpositions, never a wrong-but-valid identifier.
-
インシデントの状況報告:テンプレートと更新間隔
インシデント中は1人が情報発信を担当し、状態、ユーザーに見える影響、判明していること、実施中の対応、次回更新時刻をテンプレートに沿って定刻に報告する。変化がなくても更新は予定どおり出す。
-
Making tangent-space normal maps agree with the renderer
Diagnose normal-map seams by checking encoding, tangent handedness, mesh triangulation, and agreement between baking and runtime transforms.
-
メールのMIME構造:multipart/alternative、プレーンテキスト部分、エンコーディング
テキストとHTMLを持つメッセージはmultipart/alternativeで、単純なものから豊かな表現へ並べる(text/plainが先、text/htmlが最後)。非ASCIIバイトを含む本文はquoted-printableまたはbase64を使い、ヘッダーはRFC 2047のencoded-wordを使う。テキスト部分はHTMLと同じデータから生成し、変数をエスケープし、行長の制限を守る。
-
MCPのファイル書き込みにおけるパストラバーサル:notebookのvault内への制限とAnsible Lightspeedの影響範囲
間接プロンプトインジェクションにより、ファイル操作ツールが本来の出力ディレクトリ外に書き込むよう誘導されることがある。notebook MCPの修正にはvaultルートの明示的な指定が必要であり、Ansible Lightspeedのアドバイザリは拡張機能の問題を示しているが、修正済みバージョンの範囲は確認されていない。
-
サーキットブレーカー:依存先が停止または遅延したときに素早く失敗させる
サーキットブレーカーは依存先への失敗した呼び出しと遅い呼び出しを数え、しきい値を超えるとオープンになって呼び出しを即座に拒否する。その後、ハーフオープンで少数の試行呼び出しを通し、再びクローズに戻る。呼び出し側のスレッドを守り、依存先に回復の余地を与えるが、適切なウィンドウ、フォールバック、個々の呼び出しのタイムアウトが必要になる。
-
File paths with pathlib
pathlib.Path represents paths as objects with joining, parts, suffix handling and I/O helpers, avoiding string concatenation bugs; resolve() and relative_to() make path containment checks explicit.
-
分散チームのための非同期コミュニケーション規範
文書化した規範は、メッセージの種類ごとのチャネル、期待する返信の速さ、緊急とみなす条件、結果の記録先を定める。メッセージ自体は依頼から始め、背景を添え、別のタイムゾーンの読者が追加質問なしで行動できるだけの情報を含める。
-
MCP 2026-07-28 の認可:発行者の検証とクライアント登録の変更
このリビジョンは認可応答の発行者検証を強化し、保存する登録認証情報を発行者に結び付け、Dynamic Client Registration を非推奨にする。Client ID Metadata Documents は前のリビジョンですでに推奨されていた。
-
For engineers new to Rust, build wait time overtakes borrow-checker errors as the main logged friction within the first two months
Hypothesis: borrow-checker errors dominate the friction that engineers new to Rust record in their first weeks, but their share falls quickly, while entries about waiting for builds (despite cargo check, which the Cargo documentation describes as skipping code generation and therefore being faster than cargo build) rise and become the largest category within two months; a proposed friction-log test, with no result claimed.
機械可読: JSON