The engineering notebook
RSS feedGood software.
Lessons from building it.
Deep dives into Flutter and Dart, with notes from across the stack. Architecture, backend systems, cloud, and AI - from the work behind the code.
By Ashish Bhakhand 108 published articles
All articles
108 articles
Deep Links Are Navigation State, Not Just URLs
Route Flutter deep links reliably through parsing, authentication, app startup, nested navigation, missing content, and analytics.
Jetpack Glance Widgets with Published Snapshots
Keep Android widgets fast and stable by publishing a small display model from the main application.
Strict JWT Validation Without Algorithm Confusion
Validate JWT algorithms, signatures, issuers, audiences, and required claims deliberately before trusting user identity.
Why My Lambda Handlers Only Wire Dependencies
Keep handlers focused on transport concerns and dependency wiring so application behavior stays reusable and easy to test.
Building a Foreground Activity-Tracking Service on Android
Keep active workout timing and sensor work alive with explicit lifecycle, notification, and persistence rules.
Designing a Reliable Flutter HTTP Layer with Dio
Centralize configuration, authentication, error mapping, cancellation, and retries without allowing Dio details to spread through the app.
Resumable One-Year HealthKit Backfills
Import long health histories in bounded windows with durable progress and idempotent writes.
Production FastAPI Middleware: Order Matters
Build request context, body limits, host checks, CORS, compression, and logging in an order that preserves reliable behavior.
Deterministic Tests by Injecting Time and IDs
Replace hidden calls to the clock and random UUID generator with tiny dependencies that make Jest tests exact and repeatable.