Archive
1046 posts · Page 58 of 88. ← Blog
How to coordinate a multi-step payment as an orchestrated saga: compensating actions for partial failures, idempotent steps, and a guarantee that money is never left stranded.
Teaches how to coordinate a multi-step payment across services without distributed transactions: orchestrated saga steps, compensating actions for partial failures, and guaranteeing money is never stranded.
How to safely credit on-chain deposits and finalize settlement: confirmation-depth thresholds, mempool tracking, chain-reorg detection with balance rollback, and idempotent handling of replaced transactions.
Teaches how to safely credit crypto deposits and finalize settlement: confirmation-depth thresholds, mempool/pending tracking, chain-reorg detection and balance rollback, and idempotent handling of replaced transactions.
How to engineer a fiat-backed stablecoin: mint-on-deposit and burn-on-redeem flows tied to a reserve ledger, a 1:1 reserve invariant, and continuous reconciliation between on-chain supply and off-chain custody balances.
Teaches how to engineer a fiat-backed stablecoin: mint-on-deposit / burn-on-redeem flows tied to a reserve ledger, 1:1 reserve invariant checks, and reconciliation between on-chain supply and off-chain custody balances.
Session state is for small text and JSON. When your agent produces a PNG, a PDF, or a WAV, it belongs in the artifact store — binary-native, versioned, and out of the session record.
Artifacts are binary/file data agents produce or consume: ArtifactService saves and versions named artifacts, loaded and saved via context, keeping large blobs out of session state.
How a graph workflow forks: a predicate on each edge decides whether a message may pass, turning the graph into an if/else expressed as data flow.
The first 03-workflows lesson: AddDirectEdge attaches a func(any) bool to each edge so a spam-detection graph forks into send vs. handle-spam branches, offline.
Durable workflows in Python: checkpoint and resume, pause for a human with request_info, and package a workflow as an agent.
Durable Microsoft Agent Framework workflows in Python: checkpoint and resume every superstep, suspend on request_info for a human decision, and package a workflow as an agent.
The most valuable thing sales produces isn't revenue — it's understanding. Every sales conversation is a direct line to what customers actually want, struggle with, and will pay for, and a company that treats sales as merely a revenue function while ignoring that understanding is throwing away its best source of truth. This closing post zooms out: how sales connects to product and the whole business, why the sales-product feedback loop matters, what founder-led selling teaches, and how the series' honest, understanding-based view of sales fits into building something real.
The most valuable thing sales produces isn't revenue — it's understanding. Every sales conversation is a direct line to what customers actually want, and a company that ignores that is throwing away its best source of truth. How sales connects to product, the whole business, and founder-led selling.
How Python decides what a name means — the LEGB lookup rule, what a closure actually captures, the late-binding loop trap and its fixes, and when you genuinely need `nonlocal` or `global`.
How Python decides what a name means — the LEGB lookup rule, what a closure actually captures, the late-binding loop trap and its fixes, and when you genuinely need `nonlocal` or `global`.
What a Go string actually is under the hood — an immutable read-only slice of bytes, not a sequence of characters — and how bytes, runes, and code points relate, so you stop shipping the classic multibyte bugs.
What a Go string actually is under the hood — an immutable read-only slice of bytes, not a sequence of characters — and how bytes, runes, and code points relate, so you stop shipping the classic multibyte bugs.
Designing a closed-loop wallet from the ledger up: double-entry balances, the money lifecycle, safeguarding client funds 1:1, and the engineering that keeps top-ups, holds, and reconciliation honest.
Designing a closed-loop wallet: top-up, hold, spend, refund, safeguarding of e-money, and the double-entry ledger behind a balance.
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.
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.