すべての記事
-
Windows exit codes beyond pass/fail: robocopy's bitmask, msiexec's installer codes, and $LASTEXITCODE
robocopy encodes several independent facts (files copied, extra files, mismatches, failures) into one number below 8 that must be read as a bitmask, not compared to zero; msiexec returns specific Windows Installer codes where 3010 and 1641 mean success with a pending reboot, not failure; and PowerShell's $LASTEXITCODE is the only reliable way to see a native program's real code, with different rules depending on how the script was invoked.
-
f-strings and the format specification mini-language: the details that bite
An f-string formats each expression through the spec [[fill]align][sign][z][#][0][width][grouping][.precision][type]; precision truncates strings, a leading 0 pads numbers only, negative zero survives rounding unless z is given, and quote reuse inside braces needs Python 3.12. The = specifier prints expression and value for debugging.
-
Repositories whose setup runs as one verified command receive more first-time contributions than repositories with a manual setup list
Hypothesis: GitHub's scripts-to-rule-them-all README claims that lowering setup friction is key to faster and happier contributions; the proposal restates this measurably, predicting that repositories with a single self-checking setup command show more first-time contributor pull requests, more of them green on first push, and fewer setup issues than matched repositories with manual README steps.
-
ビルドの来歴証明:SLSA が記録する内容と検証方法
SLSA の Build トラックは、成果物の来歴の信頼性を「来歴が存在する」(L1)から強化されたビルド基盤(L3)まで評価します。来歴は、成果物のダイジェスト、ビルダー、ビルドタイプとその外部パラメーターを示す in-toto アテステーションです。利用側は使用前に、信頼の起点と期待値に照らして検証します。
-
コンテナイメージのタグとダイジェスト:可変の名前と内容アドレス
タグは人が読めるポインターで、いつでも別のマニフェストへ移せる。ダイジェストはマニフェストのバイト列のハッシュであり、永久に正確に1つのイメージを識別する。ビルドとテストにはタグ、デプロイと固定にはダイジェストを使い、すべてのリリースノートにダイジェストを記録する。
-
ACPによる販売者側の連携:チェックアウトセッション、委任トークン、安全な再試行
ACPの2026-04-17版は、販売者のチェックアウト状態と委任された支払い資格情報を分離する。販売者には、バージョン管理されたセッションエンドポイント、互換性のある支払いハンドラー、冪等な完了処理、認証された注文更新が必要となる。
-
SNMPv3 on Linux with net-snmp: a SHA/AES user with the priv security level, communities retired
net-snmp's snmpd supports SNMPv3's User-based Security Model with per-user authentication and encryption, configured with createUser and checked with the priv security level on rouser/rwuser. Removing every rocommunity/rwcommunity line, and any com2sec mapping, closes the SNMPv1/v2c plaintext-community path that USM is meant to replace.
-
CSS custom properties for theming: inheritance, fallbacks and @property
Custom properties (--name) cascade and inherit like other properties and are read with var(--name, fallback); an invalid substitution does not discard the rule but falls back to the initial or inherited value, and @property adds a type, an initial value and animation support. Structure them as raw tokens plus semantic roles and override roles per scope to theme.
-
耐量子移行に向けた暗号資産台帳の作成と維持
暗号がどこでデータを保護しているか、各依存関係の責任者は誰か、記録の根拠は何かを整理する。CycloneDX CBOM は技術資産の情報交換に使い、それだけで移行計画が完成すると考えない。
-
MCP STDIOのコマンドインジェクション:Langflowの修正とFayの影響
LangflowとFayの脆弱性は、MCPの起動設定にコード実行の認可が必要な理由を示している。Langflow 1.10.3では、フローに埋め込まれた設定も含めて実行時の検証を強制することで修正を完了しているが、確認したFayの記録には修正済みバージョンが示されていない。
-
家庭の水使用量を観察するための再現可能な手順
提案段階の観察手順。メーター、読み取り時刻、家庭の状況、単位を定め、タイムスタンプ付きで生の指示値を記録し、そのときの条件とともに使用量を範囲で報告する。ここでは使用量の測定結果を主張しない。
-
Preparing a Linux golden image for cloning: host keys, machine-id, logs and net rules
A Linux image meant to be cloned many times must not carry a populated /etc/machine-id (or a stale /var/lib/dbus/machine-id), existing SSH host keys, MAC-pinned network configuration or cloud-init state. Otherwise every clone boots with the same identifiers as its siblings, and removing the host keys without a first-boot regeneration path leaves clones without SSH.
-
リストで終わらず、変更を生むふりかえりを行う
ふりかえりは、担当者、期限、実施を確認する方法がある1〜2件の変更で終わるとき、時間に見合うものになる。Scrum Guide は最も効果の大きい改善にできるだけ早く取り組むよう求め、プライム・ディレクティブは実際の問題を挙げられる雰囲気をつくる。
-
Game patches: package byte locality, delivery chunks and manifests
Control update size by understanding changed package bytes, separating logical content chunks from transfer chunks, and measuring download traffic independently from installation work.
-
Running IBM i CL commands from an SSH/PASE shell: system, qsh, and CCSID pitfalls
From an SSH session into IBM i PASE, the PASE-for-i system utility and the QSH/Qshell environment are the two supported ways to run CL commands and capture their output. Both convert between the job's CCSID and PASE's own encoding, which is where most first-time integration bugs come from.
-
Schriftlich widersprechen, ohne zu verletzen: Zitat, Kernpunkt, Alternative
Ein schriftlicher Widerspruch, der eine Entscheidung ändern kann, gibt die Gegenposition zuerst in ihrer stärksten Form wieder, zitiert die strittige Stelle, greift den Kernpunkt an statt Ton oder Person, stuft die eigene Evidenz ehrlich ein und schlägt eine Alternative vor. Paul Grahams Hierarchie des Widersprechens und Googles Leitfaden für Reviewer liefern die Massstäbe.
-
Environment Importance Sampling: Match Directions, Probabilities and Lighting Weights
Reduce environment-light sampling noise without biasing brightness by tracking the correct probability measure and validating prefiltered lighting separately.
-
Long-running and idle-in-transaction sessions in PostgreSQL: what they block and how to bound them
An open transaction holds its locks and pins the xmin horizon, so VACUUM cannot remove rows deleted after it began and DDL queues behind it; the worst case is a session idle in transaction because a client never committed. Find them in pg_stat_activity by xact_start and state, and bound them per role with idle_in_transaction_session_timeout, transaction_timeout and statement_timeout.
-
Unity Terrain Authoring: Coordinate Shape, Surface Layers and Openings
Build a terrain blockout around its heightfield representation, reuse surface layers intentionally, and review adjoining tiles and cave openings as separate authoring responsibilities.
-
YaST versus direct configuration on SUSE: what still runs from the command line, and the wicked/NetworkManager split
YaST modules can be listed and run individually from a non-graphical session with the yast command, but not every module has command-line support, and SUSE explicitly reserves NetworkManager for desktop and mobile workloads while keeping wicked as the network service every server certification is done against. An agent editing /etc/sysconfig/network files directly should check which service actually owns the interface first.
機械可読: JSON