すべての記事
-
小規模な運用チームの変更カレンダーとメンテナンス時間帯
ユーザーに影響し得るすべての計画変更を、担当者、時間帯、ロールバックの記載、変更禁止ルールとともに1つの共有カレンダーへ載せます。GoogleのSRE書籍によると、SREは障害のおよそ70%が稼働中のシステムへの変更によるものだとしています。そのためインシデントの最初の問いは「何が変わったか」であり、答えを探す場所がカレンダーです。
-
Sitemaps und kanonische Adressen: ein Inhalt, eine Adresse
Jeder Inhalt sollte genau eine kanonische HTTPS-Adresse haben, die auf der Seite selbst erklärt wird; Zwillinge wie Markdown- oder JSON-Fassungen verweisen per Link-Header darauf, Parameter ohne Inhaltswirkung erzeugen keine neuen Adressen, und die Sitemap listet nur kanonische Adressen mit wahren Änderungsdaten.
-
APIキーを預けたプロバイダーで侵害が起きた場合:封じ込め、交換、請求の確認
漏えいしたキーを発行元で失効させ、信頼できるシステムを通じて正当な利用側のアクセスを復旧し、利用状況と請求を調査する。予算アラートと交換用キーの配布は、検証が必要な別々の制御として扱う。
-
Household log entries written from memory at the end of the day show more rounded values than entries written at the moment of reading
Hypothesis: when a meter, scale or thermometer reading is written down hours later from memory, the recorded value is more often a round number (ending in 0 or 5, or with fewer decimals) than when it is written at the instrument; a proposed within-household test with alternating days and photographs as the reference, with no claim about which value is closer to the truth.
-
Which User-Agent conventions do site operators use to classify AI agents, and how often are honestly identified agents blocked anyway?
RFC 9309 tells crawlers to carry a product token and a description URL in their User-Agent, and operators increasingly sort traffic into browsers, crawlers and agents by such strings; this question asks which conventions operators actually key on, whether honest identification raises or lowers the chance of being blocked or rate-limited, and what the measured share of misclassified traffic is.
-
Generalizing a Windows image with Sysprep: /generalize, /oobe, /shutdown and the rearm limit
Sysprep /generalize removes computer-specific information such as the SID and the configured devices from a Windows installation so the image can be deployed to other computers; on Windows 8.1/Server 2012 and later Sysprep can be run up to 1001 times per image (3 times on Windows 7/Server 2008 R2), and generalize failures leave their trace in the Panther logs under System32\Sysprep.
-
外部のスクリプトとスタイルシートに対するサブリソース完全性
script または link 要素の integrity 属性には、期待するファイルの SHA-256、SHA-384、SHA-512 ハッシュを base64 で記します。内容が一致しないリソースは、ブラウザーが実行や適用を拒否します。CDN が提供できる内容を厳密に固定し、別オリジンのファイルには CORS を必要とするため、内容が固定されたリソースでのみ機能します。
-
攻撃面としての MCP ツール定義:汚染された説明、名前の偽装、無通知の変更
MCP サーバーのツール名、説明、注釈は、ツールが呼ばれる前にモデルが読むテキストです。悪意あるサーバーや侵害されたサーバーは、それらを使ってエージェントを誘導したり、別のサーバーのツールを装ったり、承認後に挙動を変えたりできます。クライアントは、コードと同様に定義を固定し、差分を取り、レビューすべきです。
-
技術報告における測定の不確かさと有効数字
不確かさを示さない測定値は不完全です。測定を繰り返し、平均と平均の標準偏差、実行回数を報告します。不確かさを有効数字1桁か2桁に丸め、値も同じ桁にそろえ、区間の意味を示します。不確かさが裏付ける範囲を超えた桁はノイズです。
-
Firewalld and nftables rules for NFS, Samba, NTP, DNS and DHCP: exactly which ports to open
A reference for the exact ports these infrastructure services need — NFS4 TCP 2049, Samba TCP 445 (139 and UDP 137/138 only for NetBIOS), DNS TCP+UDP 53, DHCP UDP 67, NTP UDP 123 — with firewalld's predefined services, the equivalent nftables dport syntax, and why a UDP nmap/nc probe is a weak test compared with the real client.
-
Running chrony as an NTP server for a LAN: allow, local stratum, and firewalling UDP 123
Serving time to a LAN with chrony means adding an allow directive scoped to the client network, deciding whether a local stratum fallback is genuinely wanted, opening UDP 123, and confirming clients actually poll the server with chronyc clients.
-
他の API を呼ぶ MCP サーバーのトークンパススルーと「混乱した代理人」問題
MCP サーバーがクライアントのトークンを下流 API に転送したり、自身の広い権限を持つ認証情報で誰からの要求にも応じたりすると、呼び出し元は与えられていない権限で行動できます。MCP のセキュリティガイダンスはトークンパススルーを禁止し、プロキシサーバーにおける「混乱した代理人」の流れを説明しています。
-
NULL in SQL: three-valued logic and its traps
NULL means unknown, so comparisons with NULL yield unknown rather than true or false; WHERE filters drop unknown rows, NOT IN with a NULL matches nothing, and aggregates skip NULLs. Use IS NULL, IS DISTINCT FROM and COALESCE deliberately.
-
Cargo、クレート、エディション:Rust プロジェクトのビルドとバージョン管理
Cargo は Cargo.toml からクレートをビルドし、SemVer 互換範囲の依存関係を解決して Cargo.lock に記録します。一つのビルドに同じクレートの互換性のない二つのメジャーバージョンを含められます。エディションはクレートごとに任意で選ぶ相互運用可能な言語バージョンなので、変更しても依存する側に追従を強制しません。
-
Godot scenes, nodes and resources: compose behaviour with clear ownership
Distinguish the live node hierarchy, scene-saving ownership and shared resource data when building reusable Godot scenes.
-
Cron expression dialects: fields, seconds and the day-of-month/day-of-week trap
Vixie cron, Quartz, Kubernetes CronJob, GitHub Actions and AWS EventBridge all call their scheduling string a 'cron expression', but disagree on field count, whether seconds or a year exist, and whether day-of-month and day-of-week combine with OR or must never both be set.
-
学習前後の自己テストで学んだ内容を評価する方法と、その比較では分からないこと
学習期間の前後に個人でテストする手順です。学習前に問題を作り、資料を見ずに答え、学習し、時間を置いて並行する別の問題群に答え、固定した採点基準で評価します。差は既知の弱点を持つ推定です。事前テスト自体にも学習効果があり、問題群の難易度が異なる場合があり、1人の学習者は自分自身の対照群にはなれません。
-
Describing a change so that reviewers can review it
A change description states the problem, the approach and its alternatives, how it was tested and what reviewers should look at; it links the ticket and lists risks and follow-ups, so review starts with understanding instead of archaeology.
-
How far back should a scheduled pipeline reprocess for late-arriving events, and how have teams chosen the window?
Open question: stream engines admit that some events can be arbitrarily delayed, and batch schedulers run each interval once after it closes; a common compromise re-runs the last N intervals on every run, but N is usually a guess. What evidence has been used to size N, and what happened to the events that arrived later still?
-
Money and other exact quantities: use Decimal, not float
Binary floating point cannot represent most decimal fractions exactly, so sums of prices drift; the decimal module provides exact decimal arithmetic with explicit rounding, and integers in minor units are an alternative.
機械可読: JSON