1316 articles
Java の ProcessBuilder:デッドロック、ゾンビプロセス,そして 64KB の壁
Java ProcessBuilder: Deadlocks, Zombies, and the 64KB Wall
元々は Level Up Coding で公開されました。原著はここで読むことができます。最近、IBM ソフトウェアラボで仕事をしていて、多くの Java 開発者が考えることのないことに直面しました——Java が OS とどのように相互作用するか。私たちの大半の日常業務は JVM の内、安全に行われます。メモリ管理、スレッド、ファイル処理——JVM はこれらを優雅に隠蔽します。でもたまには外に出...
Original: Originally published in Level Up Coding. You can read the original version here. Recently at IBM Software Labs, I worked on a task that forced me to understand something many Java developers rarely th...
Distributed Tracing with OpenTelemetry: A Practical Guide for Go Services
ログがあります。メトリクスもあります。リクエストが API ゲーテウェイを通じてシステムに到達し、5 つのサービスを横断して、注文処理パイプラインのどこかで見事に失敗します。Kibanaを開き、数千のログ行を検索して、手動でタイムスタンプを照合するために 40 分も費やします。 分散追跡は、その苦痛を解消します。追跡により、リクエストがアーキテクチャの各サービスを通じてどのように流れるかの、单一な...
Original: You have logs. You have metrics. A request enters your system through the API gateway, hops across five services, and fails somewhere deep in the order processing pipeline. You open Kibana, grep throu...
Agent Diagnostics Mode — 反復的なプロンプトチューニングのための構造化された技法
Agent Diagnostics Mode — A Structured Technique for Iterative Prompt Tuning
プロンプトは静的な設定ではありません。LLM 駆動のエージェントを実プロジェクトで数ヶ月以上運用してきたなら、誰でも分かっているはずです。 Quarter が終わって完璧に機能していたプロンプトも、モデル更新後にその性能が低下します。また、Cursor などのエージェントに対して確実な動作を生み出していたシステム指示であっても、Gemini や Claude といった別のプラットフォームに移植する...
Original: Prompts are not static configuration. If you have been running LLM-powered agents on real projects for more than a few months, you already know this. A prompt that worked perfectly last quarter drifts...
2026 年最值得运行的 15 个轻量级语言模型
15 Best Lightweight Language Models Worth Running in 2026
多くのチームは 70B パラメータの大型モデルを必要としない。単一 GPU で動作し、ミリ秒で応答するモデルを必要としている。それこそが実際のワークロードを処理し、クラウドクレジットを無駄にするのを防ぎながら機能するものでなければならない。 軽量言語モデルはその隙間を満たす。概ね 10B パラメータ以下で、低計算リソース、高速推論、エッジデバイス、ノート PC、および中規模サーバーハードウェアでの...
Original: Most teams don't need a 70B parameter model. They need something that fits on a single GPU, responds in milliseconds, and handles the actual workload without burning through cloud credits. Lightweight...
TypeScript API の入力検証:Zod, Joi, Class-Validator の比較
Input Validation in TypeScript APIs: Zod vs Joi vs Class-Validator
TypeScript API の入力検証:Zod, Joi, Class-Validator の比較 API は POST リクエストの本文を受け入れます。それを信じています。ユーザーが { "age": "not a number" } を送信すると、データベースクエリが失敗します。あるいは、より悪質な形で成功して悪データが保存されてしまいます。TypeScript の型が-runtime に消...
Original: Input Validation in TypeScript APIs: Zod vs Joi vs Class-Validator Your API accepts a POST body. You trust it. A user sends { "age": "not a number" }. Your database query fails. Or worse, it succeeds ...
€2,000/月のマーケティングスタックを 10 つの無料 n8n ワークフローに置き換えました
I Replaced a €2000/month Marketing Stack with 10 Free n8n Workflows
クライアントが支払っていた費用: Mailchimp: ユーロ 299/月 HubSpot: ユーロ 890/月 Zapier: ユーロ 199/月 Buffer: ユーロ 120/月 Hotjar: ユーロ 79/月 さまざまなオンデマンドツール: ユーロ 400/月 合計: マーケティングオートメーション用 ユーロ 1,987/月 私はそれをすべて、自己ホスト n8n + フェアな API 数...
Original: My client was paying: Mailchimp: €299/month HubSpot: €890/month Zapier: €199/month Buffer: €120/month Hotjar: €79/month Various one-off tools: ~€400/month Total: ~€1,987/month for marketing automation...
Node.js のロールベースアクセス制御 (RBAC):単純な管理者チェックを超えて
Role-Based Access Control (RBAC) in Node.js: Beyond Simple Admin Checks
ロールベースアクセス制御 (RBAC) は Node.js で不可欠です。 多くのアプリケーションは最初、if (user.role === "admin") を使い始めます。しかし、編集者には公開権限はあるが削除権限はない、モデレーターにはBAN 権限はあるが決済管理編集権限はない、ビューアには閲覧権限はあるが_export 権限はないといった複雑なケースが必要になってくると、それが機能しなく...
Original: Role-Based Access Control (RBAC) in Node.js: Beyond Simple Admin Checks Most apps start with if (user.role === "admin"). That works until you need editors who can publish but not delete, moderators wh...
🚀 レジュメフィードバックを作るのは簡単ですが、コンテキストを認識させようとすると話は別です
🚀 Resume Feedback Is Easy — Until You Try Making It Context-Aware
私の AI キャリアアドバイザーを構築する際、最初にレジュメフィードバックは最も単純な機能の一つだと思っていました。 レジュメをアップロード → 分析 → 提案を出す。 すでにこれを行うツールがいくつもあるため、直感的に簡単そうに見えました。 しかし、メモリーとユーザーのコンテキストを導入した瞬間に、事情は大きく変わりました。 🧠 システムが実際に必要な動作 基本的には、以下の機能が必要とされ...
Original: While building my AI Career Advisor, I initially assumed resume feedback would be one of the simplest features. Upload resume → analyze → give suggestions. There are already dozens of tools doing this...
BullMQ ジョブキュー: 適切に実装された Node.js のバックグラウンド処理
BullMQ Job Queues: Background Processing in Node.js Done Right
あなたの API エンドポイントがメールを送信、PDF を生成、画像サイズを変更する場合、レスポンス時間は 8 秒です。ユーザーは怒って離脱します。重荷な作業をバックグラウンドキューへ移します。 import { Queue, Worker } from "bullmq"; import IORedis from "ioredis"; const connection = new IORedis(...
Original: Your API endpoint sends an email, generates a PDF, and resizes an image. Response time: 8 seconds. Users rage-quit. Move heavy work to a background queue. import { Queue, Worker } from "bullmq"; impor...
タイポグラフィシステムガイド
Typography System Guide
今年、iOS と Android 用のモバイルアプリにおいて、アクセシブルなタイポグラフィを設計および実装するための理解を深めるために、オープンソースのインタラクティブな視覚的な参照プロジェクトを開発しました。最新の iOS 18、Android 14、および最新 W3C Web アクセシビリティイニシアチブ(WAI)からのアクセシビリティおよびタイポグラフィのガイドラインを更新しました。 htt...
Original: Last year, I developed an open-source interactive visual reference project to help designers and developers understand and implement accessible typography for mobile apps on iOS and Android. I've push...
Node.js のエレガントなシャutdown: リクエストを捨てるのをやめる
Graceful Shutdown in Node.js: Stop Dropping Requests
サーバーに SIGTERM が来ても、ただちに死ぬとリクエストは 502 エラーで終わります。これはどうやって適切にシャutdownを完了するかを示します。 ```javascript import http from "http"; let isShuttingDown = false; const server = http.createServer(app); async functio...
Original: Graceful Shutdown in Node.js: Stop Dropping Requests Your server gets a SIGTERM. It dies immediately. In-flight requests get 502s. Here is how to shut down properly. import http from "http"; let isS...
電車で Claude と文通した—マックで完結したスライドデックに帰ってきた
I Texted Claude From the Subway — Came Back to a Finished Slide Deck on My Mac
混雑した地下鉄のプラットホームに立ち、スマホを取り出し、「昨日の議事録を取ってスライドデックにまとめて」と入力して、ポケットに収めた。20分後、オフィスに入り、MacBookを開くとスライドが完成していた。草稿も要約もなし。ローカルファイルから構築された完成したデックが、デスクトップにそっと置かれている。 これが Claude Dispatch である。 Dispatch は Anthropic ...
Original: I was standing on a crowded subway platform when I pulled out my phone, typed "take yesterday's meeting notes and turn them into a slide deck," and put my phone back in my pocket. Twenty minutes later...
Production で本当に機能する 5 つの CLAUDE.md パターン
5 CLAUDE.md Patterns That Actually Work in Production
AI コーディングエージェントについて everyone は語っていますが、多くの人がまだこのような CLAUDE.md ファイルを作成しています。 TypeScript を使用し、ベストプラクティスを遵守し、助けてください。 これはスタイルガイドであり、システムプロンプトではありません。ここに、エージェントの振る舞いを実際に変えるために本番環境でテストした 5 つのパターンを紹介します。 最大の...
Original: Everyone's talking about AI coding agents. Most people are still writing CLAUDE.md files that look like this: Use TypeScript. Follow best practices. Be helpful. That's a style guide, not a system pro...
エッジでのリクエスト検証:Zod スキーマ、OpenAPI、Type-Safe API へ
Request Validation at the Edge: Zod Schemas, OpenAPI, and Type-Safe APIs
TypeScript の型は実行時に消滅します。すべての req.body は仮装した any です。TypeScript はコンパイル時の安全性を与えます。しかし、HTTP リクエストはあなたのコンパイラーから来るのではなく、インターネットから来ます。{ name: string; email: string } と定義された POST /users エンドポイントが、実行時に { name: ...
Original: Your TypeScript types vanish at runtime. Every req.body is any wearing a costume. TypeScript gives you compile-time safety. But HTTP requests don't come from your compiler — they come from the interne...
歴史を現代のウェブに:JavaScript および React 用の moment-shahanshahi を紹介 👑
Bringing History to the Modern Web: Introducing moment-shahanshahi for JavaScript & React 👑
開発者として、私たちはタイムゾーンとカレンダーによく対面します。グリごリ暦がグローバルの標準であるにも関わらず、多くの文化は独自の伝統的なシステムを使用しています。イランの文脈では、太陽暦ヒジャリ(ジャラリ暦)が広く使用されていますが、アハムネニ朝のキュルシャス大王によって建国され、ヒジャリ暦から 1,180 年前に遡るイラニアン・インペリアル(シャハンシャーヒー)暦のシステムも存在します。なぜ新...
Original: As developers, we often deal with timezones and calendars. While the Gregorian calendar is the global standard, many cultures use their own traditional systems. In the Iranian context, while the Solar...
オンラインで任意の MCP サーバーをテストする方法——セットアップは不要
How to Test Any MCP Server Online — No Setup Required
TL;DR: MCP Playground に進む → MCP サーバーをテスト——無料、登録不要 サーバー URL を貼り付け、必要に応じて Bearer トークンを追加し、[Connect] をクリックします。 ツール、プロンプト、リソースを参照し、カスタム引数以外でツールを実行できます。 プロトコルレベルの问题进行を JSON-RPC ログでデバッグ可能です。 HTTP + SSE および ...
Original: TL;DR Go to MCP Playground → Test MCP Server — free, no sign-up Paste your server URL, add a Bearer token if required, click Connect Browse tools, prompts, and resources; execute tools with custom arg...
Node.js におけるロールベースアクセス制御:単純なミドルウェアを超えて
Role-Based Access Control in Node.js: Beyond Simple Middleware
認証は完成しました。ログインは機能し、JWT トークンが飛び飛びに。突然、「編集者は公開できても削除はできない」などと誰かが尋ねて、あなたが作った `if (user.role === 'admin')` の城は崩れてしまいます。 実際にスケールする RBAC を構築しましょう。 ## ロールチェックの課題 これは多くのチュートリアルが教えることです: typescript 三ヶ月後には...
Original: Here's the article body markdown: You've shipped your auth. Login works. JWT tokens fly around. Then someone asks: "Can editors publish but not delete?" and your beautiful `if (user.role === 'admin')`...
Claude Code と Goose:なぜこの無料 AI コーディングエージェントが開発者の $200/月のオプションを再考させるのか
Claude Code vs Goose: Why This Free AI Coding Agent is Making Developers Rethink the $200/Month Option
最近の AI コーディング領域を注目しているなら、奇妙なことが起きていることに気づいていることでしょう。開発者は、Block が Goose を無料でオープンソース化した今、Claude Code を月額 $200 支払う必要があるかどうかを疑問に持ちはじめました。 正直に言えば、これは正当な疑問です。 この分野の実際の状況はどのようなもので、どの選択肢があなたのワークフローにとって最適なのか、整...
Original: If you have been watching the AI coding space lately, you have probably noticed something interesting happening. Developers are starting to question whether they need to pay $200 a month for Claude Co...
Hey Dev.to! 時間の浪費を防ぐための可視化スタックビルダーを構築しました
Hey Dev.to! I built a visual stack builder to stop wasting hours on stack decisions
👋 私は Rahul です。インディーハッカー向けの可視化スタックビルダー「StageVia」を新しく構築しました。 毎回新しい MVP を始めると、実際の構築に費やすべき時間を、スタックの選択、見た目、またはフィット感の想像に費やしてしまうことがあります。 この可視化ツールでは、以下のことを示します: - 必須機能とオプションの区別 - 誠実なサービス比較 - フリーティアスト最初の推奨 - ...
Original: 👋 I'm Rahul, and I just built StageVia - a visual stack builder for indie hackers. Every time I start a new MVP, I waste hours on deciding stack or imagine how it looks like or how it fits instead of...
VS Code で AI スキルを改善する際、Skill Creator v2 の活用方法
I Used Skill Creator v2 to Improve One of My Agent Skills in VS Code
私が VS Code 内の既存の AI スキルを改善するために Skill Creator v2 をどのように使用したかを示す動画を公開しました。正直に言えば、その機能の広範さに真に驚きました。 私が最も感銘を受けた点は、単に指示を書き換えるだけでなく、以下のような高度な機能を備えていることです。 - 既存のスキルをレビューする - ターゲットを絞った改善案を提案する - ベースラインに対して ...
Original: I just published a video showing how I used Skill Creator v2 to improve an existing AI skill inside VS Code, and honestly, I was seriously surprised at how much this thing does. What impressed me most...