Archive

1290 posts · Page 77 of 108. ← Blog

Pratik Dhanave · ·7 min read

Engineering Treasury Liquidity: Automated Cash Sweeps

How to aggregate balances, compute target-vs-actual, and fire cutoff-aware sweeps that keep settlement accounts solvent without stranding idle cash.

Teaches how to engineer treasury liquidity: multi-account balance aggregation, target-balance and zero-balance sweep rules, cutoff-aware transfers, and intraday funding checks to keep settlement accounts solvent.

Pratik Dhanave · ·7 min read

Designing a Deterministic Order-Book Matching Engine

How price-time priority, a single-threaded sequencer, and gap-free event streaming combine into an exchange core you can replay byte-for-byte.

Teaches how to build a deterministic matching engine: price-time priority order book, limit/market/IOC/FOK order types, single-threaded sequencer for determinism, and gap-free trade/execution event streaming.

Pratik Dhanave · ·8 min read

Building Custody: Hot, Warm, and Cold Wallets Without a Single Point of Compromise

How to architect wallet tiers, HD-derived deposit addresses, HSM/MPC signing quorums, and sweep flows so no one key, and no one person, can move funds.

Teaches how to architect custody: hot/warm/cold wallet tiers, HSM or MPC key custody, withdrawal approval quorum, address derivation (HD wallets), and sweep flows from deposit to cold storage.

Pratik Dhanave · ·4 min read

Orchestration Patterns — Microsoft Agent Framework in Python

Five prebuilt multi-agent shapes — Sequential, Concurrent, Group Chat, Handoff, Magentic — and when each beats hand-wiring a graph.

Sequential, Concurrent, Group Chat, Handoff, Magentic — the five prebuilt Microsoft Agent Framework orchestrations in Python and when each beats hand-wiring a graph.

Pratik Dhanave · ·6 min read

What Makes Time Series Special

Forecasting the future from the past is one of the oldest and most valuable things data can do — predict demand, traffic, revenue, load, prices. But time-series data breaks the assumptions most machine learning is built on, and treating it like ordinary data is the fastest way to build a forecaster that looks great in testing and fails in production. This series builds forecasting from first principles, starting with why time is different.

Forecasting the future from the past is one of data's oldest, most valuable jobs — but time-series data breaks ML's i.i.d. assumption (order matters, observations are dependent, the data is non-stationary). Why that dependence makes forecasting both possible and hard, and the vocabulary (trend, seasonality, noise, stationarity, horizon).

Pratik Dhanave · ·8 min read

Solution and Consultative Selling

Everything in this series has been building toward a single approach to sales — one that finally makes selling something an honest engineer can respect and do well. It goes by names like consultative selling and solution selling, and its premise is simple: stop selling products and start solving problems. The salesperson becomes less a pitchman and more a trusted advisor who understands the customer's problem and helps solve it. This isn't just nicer; it's more effective, and it's the modern standard for anything beyond a simple transaction.

Everything in this series builds toward a single approach to sales — one an honest engineer can respect. It goes by names like consultative and solution selling, and its premise is simple: stop selling products and start solving problems. The salesperson becomes a trusted advisor, and this isn't just nicer — it's more effective.

Pratik Dhanave · ·11 min read

Functions: Arguments, *args, **kwargs, and Defaults

A working guide to Python's function signatures — positional and keyword arguments, default values and the mutable-default trap, arbitrary-argument packing and call-site unpacking, keyword-only and positional-only parameters, and treating functions as first-class values.

A working guide to Python's function signatures — positional and keyword arguments, default values and the mutable-default trap, packing with *args/**kwargs, unpacking at call sites, keyword-only and...

Pratik Dhanave · ·11 min read

Pointers and Addressability

What a Go pointer actually is, why there's no pointer arithmetic, `new(T)` versus `&T{}`, the addressability rules that decide what `&` will even compile against, and when reaching for a pointer helps versus when it just adds indirection and GC pressure.

What a Go pointer actually is, why there's no pointer arithmetic, `new(T)` versus `&T{}`, the addressability rules that decide what `&` will even compile against, and when reaching for a pointer helps...