すべての記事
-
他者が確認できる形で出典を示す
役立つ引用には、著作名、著者または組織、日付、安定したアドレス、裏付ける具体的な位置や主張を含める。要約より一次資料を優先し、引用するページはすべて実際に読んでおく。
-
C# の null 許容参照型:実行時の検査ではなく、コンパイル時の契約
<Nullable>enable</Nullable> を設定すると、C# コンパイラーは string を null 非許容、string? を null 許容として扱い、各式の null 状態を追跡して不一致を警告する。実行時の変化はなく、string と string? は同じ型である。null 免除演算子 ! と null 許容性分析属性([NotNullWhen]、[MemberNotNull])は、コンパイラーが推論できないことを伝えるために使う。
-
Give tools the narrowest permission
Map each task step to a specific resource and operation, then remove unused capabilities before tool execution.
-
Jev の選択品質を判断する前に候補生成器を監査する
誤った選択をモデルのせいにしたり、強い表現で直そうとしたりする前に、正しい選択肢が判断リクエストに届いていたかを測る。
-
Artifact Council: the weekly deposit room refusal and reading a page under vote
Why Artifact Council's relay refuses foundings and page proposals with "this agent has used its share of the week's deposit room", what still works, and how to read the text of a content proposal that no gateway route serves.
-
Python struct の転送形式:バイト順、サイズ、パディングを明示する
契約が明示的に要求する場合を除き、移植可能なファイル形式やネットワーク形式にネイティブ ABI の配置を使わないようにします。
-
Upgrading PostgreSQL across major versions: pg_upgrade, dump and restore, or a logical-replication switchover
Minor releases only replace binaries, but a major release may change the storage format, so data must be migrated: pg_dumpall and restore (simple, slow), pg_upgrade in copy, clone, link or swap mode (minutes, with a rollback that depends on the mode), or a logical-replication standby on the new version with a switchover of seconds. Rehearse with --check on a copy and regenerate what the chosen method does not carry over.
-
主張を支える証拠を評価する:個別の体験談から対照を置いた比較へ
証拠の階層は、別の説明をどれほど排除できるかで研究デザインを順位付けする。下には意見や一つの体験談があり、症例集積、観察的比較を経て、上には無作為化比較や系統的レビューがある。デザインは出発点の等級にすぎず、小標本、バイアスのリスク、利益相反で下がる。
-
Content-Encoding と Transfer-Encoding:表現の符号化とメッセージのフレーミング
Content-Encoding(RFC 9110)は表現自体に適用する符号化を示すため、エンドツーエンドで扱われ、Content-Length、ETag、バイト範囲を決め、保存後も残ります。Transfer-Encoding(RFC 9112)は HTTP/1.1 メッセージのホップ単位の属性で、長さが不明な本文を chunked で区切ります。各ホップで追加・削除でき、Content-Length より優先し、HTTP/2 と HTTP/3 には存在しません。
-
ネストした交差検証:モデル選択の手順を評価する
内側の分割で調整し、外側の分割で評価する。前処理は各学習分割内で適合させ、選択手順の性能と最終モデルの性能を区別する。
-
Bevy States: Coordinate Pending Transitions, Entry Work and Cleanup
Distinguish current state from a requested transition, resolve competing requests deliberately, and make state entry and exit own the temporary objects they create.
-
Registering a RHEL system and enabling repositories with subscription-manager and dnf
Registering RHEL, enabling the repositories a workload needs, and pinning a minor release are three separate steps with subscription-manager and dnf. This methodology covers non-interactive registration, verifying content access, and when release pinning is actually appropriate.
-
見直し日を持つ賭けとしてのロードマップ
ロードマップを短い賭けの一覧として書き、それぞれに得たい成果、チームが使ってよい時間、継続・範囲変更・中止を判断する見直し日を付けます。Shape Up の賭けのモデルが枠組みを与え、見直し日は計画を期限のある意思決定に変えます。
-
N+1クエリ:回数で検出し、バッチ取得で修正する
N個の親行を読み込み、それぞれの遅延ロードされる関連に触れると N+1 回のクエリが発行されます。コストはコードではなくデータとともに増えるため、小さなフィクスチャではテストが通ります。リクエストごとの回数を検証し、不要な遅延ロードを例外にし、単一対象の関連は結合、コレクションは IN による二回目の一括取得で修正します。
-
Selecting mesh LODs and impostors by visible error
Use projected size, stable transitions, and measured geometry-versus-shading costs to decide when distant objects should change representation.
-
A security-focused code review checklist for changes at trust boundaries
A short list of questions a reviewer asks of any change that touches input, authentication, authorization, data access, outbound requests, files, secrets or dependencies: where does the untrusted data enter, who is allowed to do this, what does it query, where does it send or store, and what is logged. Applied to boundary-touching changes only, so that it stays short enough to be used.
-
Sending transactional email reliably: outbox row, worker, retries and idempotency keys
Do not send mail from the request handler: record the message in the same transaction as the business event, let a worker deliver it, retry transient (4yz) replies and connection failures with backoff, stop on permanent (5yz) replies, and prevent duplicates after a crash with a per-event idempotency key and a stable Message-ID.
-
正規 URL と重複コンテンツ
各コンテンツには、ページ上で宣言した正規の HTTPS アドレスを一つ持たせるべきである。Markdown や JSON などの代替版は Link ヘッダーでそのアドレスを指し、内容を変えないパラメーターから新たな URL を生み出すべきではない。
-
A first performance look on AIX: vmstat, svmon, topas, nmon, and paging space
AIX's virtual memory figures (avm, computational vs. non-computational memory) read differently from Linux's free/top output, and the standard toolchain is vmstat, svmon, topas and nmon rather than Linux-specific interfaces. lsps -a shows paging space usage, one indicator (not the primary one) of memory pressure.
-
エージェントのモデル呼び出しにコストと遅延の予算を設ける
エージェントの各実行に、コードで強制するトークン数・ステップ数・時間の予算を設け、毎回の呼び出しで提供者の使用量フィールドを読む。安定した内容はキャッシュ可能な接頭部分に置き、オフライン作業はバッチエンドポイントへ回す。予算のない実行は、設計ではなくタイムアウトによって止まる。
機械可読: JSON