How much of your privacy budget is left after ten queries?
A privacy guarantee applies to the whole sequence of queries, not to each query in isolation.
AI, analytics, and systems explained from first principles—with derivations you can open and parameters you can move.
20 notes across 14 subjects, 17 of them with interactive figures.Collections
Three subjects with a path through them
3 notes · Collection
Retail Analytics
Start with “Confidence lies about which products sell each other”
3 notes · Collection
Azure AI Architecture
Start with “Before you build an agent, decide whether you should”
Featured explorable
A privacy guarantee applies to the whole sequence of queries, not to each query in isolation.
A single differentially private query can be both accurate and private. Run many against a fixed privacy budget and the noise each one needs grows with every question asked — the mistake that turns a well-designed privacy mechanism into a useless one.
Open the featured noteThe full index
Curated from first principles to field notes
A privacy guarantee applies to the whole sequence of queries, not to each query in isolation.
Choose the least autonomous architecture that can complete the job reliably.
Microsoft Foundry joins model, agent, tool, and evaluation work around shared project resources.
MCP connects an orchestrator to tools; A2A coordinates agents across a separate trust boundary.
The most important node changes when the question changes from reach to brokerage.
Changing an axis floor changes perceived movement even when every data value stays fixed.
Lower training error can mean worse unseen predictions when extra flexibility starts fitting noise.
Ridge shrinks coefficients most along directions the observed data identifies least reliably.
Chaining sigmoid derivatives no larger than 0.25 can shrink a deep gradient exponentially.
A censored patient still contributes survival information until the moment they leave observation.
Unequal subgroup weights can reverse an aggregate comparison even when every subgroup agrees.
Diversification depends on covariance between assets, not on the number of assets alone.
A shadow price is a local marginal value that holds only while the active constraints stay unchanged.
The square-root pooling benefit assumes independent demand; positive correlation erodes it.
A battery breaks even on energy only when the high price exceeds the low price divided by efficiency.
Capacity factor converts a plant’s nameplate rating into the energy it actually produces over time.
In a marginal-price market, enough zero-cost supply drives the clearing price down to the lowest offer in the stack.
Confidence ignores how common the consequent already is; lift compares against that baseline.
Under the stated demand assumptions, the optimal markup is pinned down by elasticity.
Promotion targeting should rank incremental responders, not customers already likely to buy.
How these are written
Every note states its assumptions, shows the derivation rather than asserting the result, and ends with the failure modes. Where a parameter matters, you can move it and watch what happens. Where recall matters more than reading, the answer is hidden until you have tried.