Lessons
324 lessons · advanced · page 10 of 14
- AIadvanced
Contrastive Learning
The first family to make joint-embedding self-supervised learning work: pull together two views of the same image, push apart different images. This lesson covers the InfoNCE loss, SimCLR and its reliance on large batches, MoCo's momentum encoder and queue, why negatives block collapse, and the practical costs that motivated negative-free methods.
7 steps·~11 min - Roboticsadvanced
Vision-Language-Action Models
How a vision-language model becomes a robot brain. This lesson covers the VLA recipe: take a pretrained VLM, add an action output, train on robot demonstrations. It walks through RT-2 (actions as tokens, web-knowledge transfer), OpenVLA (an open 7B model), and pi0 (flow-matching action experts), plus cross-embodiment, what generalization buys, and the real limits.
8 steps·~12 min - Roboticsadvanced
Action Chunking and Diffusion Policies
Two ideas that made imitation learning work: predicting a chunk of future actions instead of one step (ACT, from the ALOHA system) to blunt compounding error, and generating actions by denoising (Diffusion Policy) to capture the many valid ways to do a task. Plus the pooled multi-robot datasets, like Open X-Embodiment, that set up generalist policies.
8 steps·~12 min - AIadvanced
From I-JEPA to V-JEPA: World Models and Planning
The JEPA idea becomes concrete in I-JEPA on images and V-JEPA 2 on video. This lesson covers the multi-block masking that makes I-JEPA work, how an action-conditioned video model becomes a world model, and how predicting representations enables planning by model-predictive control instead of a fixed policy.
8 steps·~12 min - AIadvanced
Inside a JEPA: Encoders, Predictors, and Collapse
Predicting a learned representation invites a trivial cheat: represent nothing. This lesson opens the JEPA machine, the context encoder, target encoder, and predictor, shows the training loop in code, explains why representation collapse is the central danger, and how asymmetry, stop-gradient, and an EMA target defeat it without negatives.
8 steps·~12 min - AIadvanced
Why Predict Representations, Not Pixels
Self-supervised learning has three families: reconstruct the input, contrast augmented views, or predict in a learned embedding space. This lesson explains why the third, the joint-embedding predictive approach behind JEPA, sidesteps both wasted capacity on unpredictable pixels and hand-crafted augmentation biases.
8 steps·~12 min - Computer Scienceadvanced
Building systems that resist attack
No single wall stops a determined attacker, so real security is built in layers on one assumption: a breach will eventually happen. Learn the practical defender's playbook, least privilege, network segmentation and zero trust, patching, encryption done right, and the detection and incident response that limit the damage when prevention fails, each mapped to the attack stages it defeats.
8 steps·~12 min - Computer Scienceadvanced
How web applications actually get hacked
Most technical breaches trace to one root cause: an application trusting input it should not. Walk through the real vulnerabilities with concrete code, SQL injection, cross-site scripting, broken access control, and vulnerable dependencies, seeing exactly how each is exploited and, just as concretely, how each is fixed. Practical, example-driven, and defense-focused throughout.
8 steps·~12 min - Programmingadvanced
CPython: the GIL and free-threading
Why CPython has a Global Interpreter Lock, what it does and does not protect, and how the three concurrency models differ. Then how PEP 703 free-threading removes the GIL using per-object locks and biased, deferred, and immortal reference counting, plus the tradeoffs that keep it opt-in.
9 steps·~14 min - Programmingadvanced
CPython: reference counting and the cyclic GC
How CPython reclaims memory: immediate reference counting for the common case, plus a generational cyclic garbage collector that catches the reference cycles counting cannot. Covers what changes a refcount, generations and thresholds, the gc module, __del__ and weakref, and why a process's memory does not always shrink.
9 steps·~14 min - Programmingadvanced
CPython: bytecode and the interpreter loop
What actually runs when you run Python: the compiler turns source into a code object of bytecode, and a single C evaluation loop executes it on a stack machine, one frame per call. Covers code objects, the dis module, the value stack, frames, and the adaptive specializing interpreter.
9 steps·~14 min - Programmingadvanced
CPython: the object and data model
How Python values really work under the hood: every value is a heap object with a type and a reference count, names are references not boxes, and behavior comes from the data model's dunder methods. Covers identity versus equality, attribute lookup order, descriptors, and __slots__.
9 steps·~14 min - AIadvanced
Diffusion language models: generating text all at once
How diffusion was rebuilt for discrete text: masked diffusion instead of Gaussian noise, parallel refinement instead of token-by-token decoding, the speed economics that make it attractive, and the honest trade-offs against autoregressive transformers.
8 steps·~12 min - AIadvanced
Flow matching: straightening the path from noise to data
The reframing that took over frontier image generation: learn a velocity field that transports noise to data along direct paths. Conditional flow matching, rectified flow, why straight trajectories mean fewer sampling steps, and how diffusion becomes a special case.
7 steps·~11 min - AIadvanced
Guidance and samplers: steering diffusion and making it fast
How raw denoisers become text-to-image systems: conditioning, classifier-free guidance and the CFG scale, latent diffusion, the sampler zoo from DDPM to DDIM and beyond, and the distillation techniques that cut a thousand steps down to a few.
7 steps·~11 min - AIadvanced
Diffusion models: learning to create by learning to denoise
How diffusion models generate images and more: the forward process that destroys data with noise, the reverse process that learns to undo it, the surprisingly simple training objective, and the network backbones (U-Net, DiT) that make it work.
8 steps·~12 min - Scienceadvanced
Quantum algorithms: where the speedups actually are
What Shor, Grover, and Hamiltonian simulation really promise, how big each speedup is once error-correction overhead is paid, why post-quantum cryptography exists regardless of timelines, and how to evaluate any claimed quantum application.
9 steps·~14 min - Scienceadvanced
Quantum error correction: from noisy qubits to logical qubits
Why quantum errors are uniquely hard, how stabilizer codes detect them without destroying the data, what the surface code and code distance mean, and why crossing the threshold turned error correction from theory into the field's central engineering race.
9 steps·~14 min - Scienceadvanced
Quantum hardware: how qubits are actually built
The four leading ways to build a qubit, superconducting circuits, trapped ions, neutral atoms, and photons, and the engineering trade-offs between speed, fidelity, connectivity, and scale that define each platform.
8 steps·~12 min - AIadvanced
Sparse autoencoders: reading the features hidden inside a neural network
Why neurons are polysemantic, how the superposition hypothesis explains it, and how sparse autoencoders use dictionary learning to pull a model's activations apart into monosemantic, steerable features, plus the failure modes and the top-k and gated fixes.
12 steps·~18 min - Roboticsadvanced
The Kalman filter: optimal state estimation from noisy measurements
How the Kalman filter fuses a motion model with noisy measurements by carrying a Gaussian belief, growing uncertainty on predict and shrinking it on update, weighting the two by the Kalman gain, plus the EKF and UKF for nonlinear systems.
12 steps·~18 min - AIadvanced
Speculative decoding: making LLM inference faster without changing the output
How draft-then-verify decoding gets multiple tokens per forward pass of a large model, why rejection sampling makes it provably lossless, and where the draft comes from (small models, Medusa heads, self-speculation, EAGLE trees).
12 steps·~18 min - Law & Complianceadvanced
DORA and Swiss Banking Secrecy: Two Regimes, Two Jobs
The EU Digital Operational Resilience Act governs how financial entities withstand ICT disruptions, while Article 47 of the Swiss Banking Act is a criminal confidentiality duty over client data. This advanced lesson dissects both mechanisms, their exceptions, and why an institution can fall under both at once.
11 steps·~17 min - Law & Complianceadvanced
The EU AI Act and NIS2: Risk Tiers and Cyber Baselines
Map how the EU AI Act sorts systems into four risk tiers with matching duties, and how NIS2 sets a horizontal cybersecurity baseline with strict reporting clocks. Learn who each rule binds and how compliance is structured.
12 steps·~18 min

