本番環境のDBから手元の開発環境やデバッグ用のサブセットを抽出したSQLを作れるCLIツール。例えばorders.id=12345と指定すると外部キーなどを辿って関連するテーブルとレコードを抽出。匿名化も対応。Python実装
---
GitHub - nabroleonx/dbslice: Extract a slice of your production database to reproduce bugs locally. Point dbslice at a record, it follows foreign keys and gives you a complete, importable subset
https://github.com/nabroleonx/dbslice
#bookmarks
About
AIエージェント時代のCLIツールはflagではなくjsonで渡すようにするべき?うーんいやぁそれは人に優しくないから個人的には好きじゃないねぇ。
---
You Need to Rewrite Your CLI for AI Agents
https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-agents/
#bookmarks
物理コンソールで生きる。KMSCONで日本語表示が可能。日本語入力は難しいのでemacs、なるほどですね。
---
【Ubuntu日和】 メモリ消費800MB以下。脱GUIで省メモリな日本語環境の可能性を探る
https://pc.watch.impress.co.jp/docs/column/ubuntu/2091326.html
#bookmarks
AWS Copilot CLIが2026年6月12日でサポート終了。まじかー。移行先はECS Express Mode、AWS CDKなど。
---
Announcing the end-of-support for the AWS Copilot CLI | Amazon Web Services
https://aws.amazon.com/blogs/containers/announcing-the-end-of-support-for-the-aws-copilot-cli/
#bookmarks
Claude CodeとLSP連携のススメ。デフォルトは無効、有効にするとデバッグなどが高速になるらしい。
---
The 2-Minute Claude Code Upgrade You're Probably Missing: LSP
https://karanbansal.in/blog/claude-code-lsp/
#bookmarks
SQLiteをRustで再実装したものらしい。MVCC対応で複数同時コミットができると謳う。 MITベースだがOpenAI/Anthropic関係者の利用を制限しているライセンス。でもClaude Codeは使うのね。
---
GitHub - Dicklesworthstone/frankensqlite: Independent ground-up Rust reimplementation of SQLite with concurrent writers and information-theoretic durability
https://github.com/Dicklesworthstone/frankensqlite
#bookmarks
人の手によるプログラミングがApe codingと呼ばれる未来。猿の惑星かな。フィクションだが今の流れのままいくとフィクションじゃなくなりそうではある。
---
Ape coding | Rômulo Saksida
https://rsaksida.com/blog/ape-coding/
#bookmarks
PostgreSQLでSSD搭載環境ではrandom_page_costを下げるべしとされているが、本当にそうなのか?実験してみるとSSDでもランダムI/Oはコストが大きい。実際に設定変更前後で効果を確認しましょう。自分何も考えず下げてたわ反省
---
The real cost of random I/O
https://vondra.me/posts/the-real-cost-of-random-io/
#bookmarks
libxml2のRust代替。zero unsafe実装。C/C++でも利用できるようヘッダファイルが用意されてる。libxml2と互換性はないので実装変更は必要。
---
GitHub - jonwiggins/xmloxide: A pure Rust reimplementation of libxml2
https://github.com/jonwiggins/xmloxide
#bookmarks
「${{ }} はテンプレート置換であり、展開先のコード実行コンテキストでは注入リスクになる」わかりました
---
GitHub Actions の式構文はスクリプトインジェクションの温床になる
https://zenn.dev/135yshr/articles/7c5d99d5f45ed7
#bookmarks