Archive

1290 posts · Page 71 of 108. ← Blog

Pratik Dhanave · ·6 min read

Deploying an ADK Agent: One Command to Cloud Run and Agent Engine

How `adk deploy` builds, pushes, and ships an agent in a single step — and the ack-after-invocation rule that keeps event-driven agents reliable.

Deploying an agent: adk deploy with its cloud_run and agent_engine subcommands, containerizing the app, and reliability rules like ack-after-invocation so failures are redelivered, not dropped.

Pratik Dhanave · ·6 min read

LangGraph Is a Pregel Program: Shared State vs Message Passing

The foundational mental model — why "the graph" is a Pregel program, and how shared state differs from message passing.

LangGraph is shared-state, not message-passing, and both models descend from Google's Pregel/BSP: work advances in supersteps that end at a synchronization barrier. Get this mental model first and the whole API stops being magic.

Pratik Dhanave · ·7 min read

Forecasting in Practice — Choosing Methods and Shipping Forecasts

Knowing the methods is the easy part; building a forecasting system that's accurate, honest, and maintainable is the real job. This closing post assembles the series into practical judgment — how to choose a method, how to ship forecasts that keep working, and the hard-won lessons (start simple, respect baselines, monitor for drift) that no single technique teaches. It turns the series into something you can actually run.

Knowing the methods is easy; shipping accurate, honest, maintainable forecasts is the job. The complexity ladder (naive → classical → ML → deep, stopping when complexity stops helping), the production realities (honest backtesting, calibrated uncertainty, monitoring for drift and shocks), and the hard-won lessons: start simple, respect baselines, stay humble.

Pratik Dhanave · ·8 min read

Developer Marketing

Marketing to developers is a special case with its own rules, because developers are the audience most hostile to traditional marketing and most capable of ignoring it. They block ads, skip the sales pitch, distrust claims, and ask other developers instead. Yet developer-focused products get adopted constantly — through a completely different playbook built on substance, authenticity, and respect. If your product's buyers or users are engineers (and if you're reading this, they might be), developer marketing is the discipline that actually works on them.

Marketing to developers is a special case with its own rules, because developers are the audience most hostile to traditional marketing and most capable of ignoring it. Yet developer products get adopted constantly — through a completely different playbook built on substance, authenticity, and respect.

Pratik Dhanave · ·11 min read

Type Assertions, Type Switches, and Interface Internals

How Go recovers a concrete type from an interface value, why the comma-ok form exists, and the two-word memory layout that explains the single most surprising bug in the language — the non-nil interface holding a nil pointer.

How Go recovers a concrete type from an interface value, why the comma-ok form exists, and the two-word memory layout that explains the single most surprising bug in the language — the non-nil interface...