Lessons
324 lessons · advanced · page 6 of 14
- Computer Scienceadvanced
Adding a Stack, Then a Tape
Finite memory fails on anything that must be counted, so add memory and watch what each purchase buys. A stack buys nesting and nothing more. An unbounded tape buys everything, and two entirely different formalisms invented in the same year turn out to buy exactly the same thing.
9 steps·~14 min - Computer Scienceadvanced
Which Technique Applies, and How to Tell
A procedure for deciding between greedy, dynamic programming, and neither. Write the recurrence, count the states, attempt the greedy proof, and read the failure. Includes the instance where greedy is optimal and off by a third depending on one word in the problem statement.
9 steps·~14 min - Computer Scienceadvanced
Greedy: Proving a Local Choice Is Globally Right
A greedy algorithm is three lines of code and a proof. This lesson covers the proof techniques that make it an algorithm rather than a heuristic: the exchange argument, greedy-stays-ahead, Huffman's merge, and the matroid theorem that says exactly when greedy is guaranteed.
9 steps·~14 min - Computer Scienceadvanced
Designing a Dynamic Program: State, Transition, Order
Writing a dynamic program is three decisions, not a recurrence to memorise. This lesson works through choosing the state, deriving the running time from it, fixing the evaluation order, recovering the answer rather than its value, and why an O(nW) knapsack is not polynomial.
9 steps·~14 min - Businessadvanced
Costs, Capacity, and a Protocol You Can Trust
The edge that survives statistics still has to survive trading. Spread, market impact and the square-root law, why every strategy has a capital ceiling, and the research protocol that makes a backtest worth believing.
9 steps·~14 min - Businessadvanced
Selection Bias and the Deflated Sharpe Ratio
The statistical core of backtest overfitting: why the best of many trials is inflated even when nothing works, how much to discount it, and why finance needs a far higher significance bar than the usual one.
8 steps·~12 min - Businessadvanced
The Biases That Break It Before Statistics
Look-ahead bias, survivorship bias, and point-in-time data. The errors that make a backtest wrong as a simulation, independent of any statistical question about whether the edge is real.
8 steps·~12 min - Businessadvanced
What a Backtest Actually Claims
A backtest is not a measurement of the past, it is a counterfactual about a world that never happened. Getting precise about that claim explains every way backtests mislead.
8 steps·~12 min - AIadvanced
Causality in Modern Machine Learning
Why prediction systems fail when deployed, how invariance across environments becomes a training signal, and where causal reasoning enters bandits, reinforcement learning, and language models.
8 steps·~12 min - AIadvanced
Causal Discovery: Learning the Graph
If the graph is an assumption, can you learn it from data instead? Conditional independence testing, the equivalence classes that limit what is knowable, and what changes when unmeasured confounders are allowed.
8 steps·~12 min - AIadvanced
Identification: When Observational Data Is Enough
The central question of causal inference has a precise answer. The backdoor criterion, the front-door criterion, instrumental variables, and what to do when no identification strategy exists.
8 steps·~12 min - AIadvanced
Why Correlation Is Not Enough
The formal machinery that makes causal questions answerable: structural causal models, graphs as assumptions you can inspect, the three ways variables become associated, and why prediction and intervention are different problems.
8 steps·~12 min - Roboticsadvanced
Feedback, Movement Primitives, and Modern Practice
Where the pure feedforward story breaks: sensory entrainment, dynamic movement primitives for non-rhythmic motion, how CPGs combine with reinforcement learning in current legged robots, and the exoskeleton applications.
8 steps·~12 min - Roboticsadvanced
The Salamander Robot
The experiment that put a spinal cord model in an amphibious machine: how one drive signal switches a robot from swimming to walking, and what that says about how vertebrate locomotion evolved.
8 steps·~12 min - Roboticsadvanced
The Mathematics of Coupled Oscillators
How a handful of phase oscillators produce coordinated gaits: limit cycles and why they resist disturbance, phase coupling that locks oscillators into fixed relationships, and the travelling waves that swim a robot.
8 steps·~12 min - Roboticsadvanced
Why Locomotion Is Not a Planning Problem
Walking is rhythmic, fast, and must survive disturbances no planner anticipated. The biological answer is a spinal circuit that generates rhythm without the brain, and it suggests a fundamentally different control architecture.
7 steps·~11 min - Computer Scienceadvanced
Inverse Rendering in Practice
What differentiable rendering is actually used for, how it relates to NeRF and Gaussian splatting, and the four failure modes that make inverse rendering harder than the optimisation loop suggests.
8 steps·~12 min - Computer Scienceadvanced
Making Differentiable Rendering Affordable
Correct gradients are useless if computing them exhausts memory. Radiative backpropagation, path replay backpropagation's constant-memory trick, and why differentiable renderers needed their own compiler.
7 steps·~11 min - Computer Scienceadvanced
The Discontinuity Problem
Differentiating a renderer is easy until geometry moves. Why silhouettes break naive automatic differentiation, and the three families of solutions: edge sampling, reparameterization, and warped-area methods.
8 steps·~12 min - Computer Scienceadvanced
Rendering as an Integral
Before you can differentiate a renderer you have to see it as mathematics: the rendering equation, why it has no closed-form solution, and how Monte Carlo path tracing turns light transport into an estimation problem.
8 steps·~12 min - Roboticsadvanced
Robustness and Deployment
What happens when a prediction model leaves the benchmark: adversarial fragility, distribution shift, the feedback loop where your own robot changes the behaviour it predicts, and how planners consume uncertainty safely.
8 steps·~12 min - Roboticsadvanced
Why the Standard Metrics Mislead
Displacement error is the field's default metric and it rewards the wrong behaviour: hedged average predictions, physically impossible trajectories, and best-of-many reporting that flatters diverse nonsense. What to measure instead.
8 steps·~12 min - Roboticsadvanced
Modelling Interaction: From Social Forces to Social Pooling
How the field learned to represent people influencing each other: the physics-inspired force model, the Social LSTM pooling layer that replaced hand-designed rules with learned ones, and the attention and graph architectures that followed.
8 steps·~12 min - Roboticsadvanced
Predicting Where People Will Walk
Why forecasting human motion is not a physics problem: the multimodality that makes a single correct answer impossible, the social conventions people navigate by, and the joint prediction problem where everyone is predicting everyone else.
8 steps·~12 min

