Lessons
496 lessons · intermediate · page 18 of 21
- AIintermediate
LLM Pretraining: Data, Loss, and What Actually Happens
A deep dive into how large language models learn from raw text: the next-token prediction objective, cross-entropy loss, the messy reality of web data curation (Common Crawl, dedup, quality filters), and the lineage from The Pile to FineWeb.
12 steps·~18 min - AIintermediate
LLM Tokenization in Depth: BPE, Byte-Level BPE, and SentencePiece
A rigorous tour of how modern LLMs split text into tokens — covering byte-pair encoding, GPT-2/Llama's byte-level variant, SentencePiece, vocabulary design trade-offs, and why your tokenizer silently determines multilingual fairness, code quality, and arithmetic ability.
12 steps·~18 min - Businessintermediate
Steam and PC Distribution: Dominance, Discovery, and the 30% Fight
Understand how Valve's Steam became the default PC storefront, how its tiered revenue splits work, why wishlists and reviews govern discovery, and whether the Epic Games Store's 12% cut has actually threatened Steam's position.
10 steps·~15 min - Mathintermediate
Random Variables and Distributions
Build the vocabulary that underlies all of ML: sample spaces, discrete and continuous random variables, PMFs, PDFs, and CDFs. Then tour the key distributions — Bernoulli, Binomial, Categorical, Gaussian, Poisson, Exponential, Uniform — with their parameters, mean, variance, and exactly when each appears in practice.
10 steps·~15 min - Mathintermediate
Expectation, Variance, and the CLT
Master the three numbers that summarize any distribution: mean, variance, and standard deviation. Derive linearity of expectation, understand covariance and correlation, then see why the Central Limit Theorem makes the Gaussian unavoidable — with a worked numeric example from scratch.
10 steps·~15 min - Mathintermediate
Estimation and Hypothesis Testing
From raw data to defensible conclusions: derive Maximum Likelihood Estimators for Bernoulli and Gaussian, understand bias-variance in estimation, construct confidence intervals, and learn what p-values actually say — and don't say — including the most common misinterpretation that has corrupted thousands of papers.
9 steps·~14 min - Mathintermediate
Bayesian Inference
Understand what it really means to update beliefs with data. Derive Bayes' theorem from first principles, dissect the roles of prior, likelihood, posterior, and evidence, work through a complete Beta-Binomial conjugate example numerically, and see why the base-rate fallacy trips up even experts.
9 steps·~14 min - Programmingintermediate
Database Sharding and Replication
Go beyond a single database: learn how read replicas offload query load, how range and hash sharding partition data, why consistent hashing makes rebalancing tractable, and how to pick a shard key that avoids the celebrity problem and cross-shard pain.
8 steps·~12 min - Programmingintermediate
Scaling and Load Balancing
Master the mechanics of scaling distributed systems: when to scale up versus out, why statelessness is the prerequisite for horizontal scale, how L4 and L7 load balancers differ, which balancing algorithm fits which workload, and how to avoid turning your load balancer into the next single point of failure.
8 steps·~12 min - Programmingintermediate
Queues, Async, and Microservices
Learn how message queues and pub/sub decouple services, why at-least-once delivery demands idempotent consumers, how backpressure and dead-letter queues protect the system, and when microservices are worth the complexity — with a sequenceDiagram of async order processing.
8 steps·~12 min - Programmingintermediate
Caching Strategies
Understand where caches live, how cache-aside, read-through, write-through, and write-back differ, how to choose eviction policies, and how to prevent cache stampedes — with hit ratio math and a concrete cache-aside code snippet.
8 steps·~12 min - Businessintermediate
Mobile Gaming and Free-to-Play: The UA Math That Runs the Industry
Decode the economics of the world's largest games segment: why mobile is half the market, how the F2P funnel converts attention into revenue, and the LTV > CPI math every mobile studio lives and dies by — including what Apple's 2021 privacy shift broke.
9 steps·~14 min - Mathintermediate
Vectors, Spans, and Subspaces
Vectors are more than arrows — they're the atoms of every ML model, physics engine, and signal processor alive. Build rock-solid intuition for linear combinations, span, independence, basis, and orthogonality, then verify it all in NumPy.
9 steps·~14 min - Mathintermediate
SVD and Least Squares
When there's no exact solution, project. When data is high-dimensional, compress. The SVD is the Swiss Army knife that does both — and more. Master orthogonal projection, the normal equations, the Singular Value Decomposition, low-rank approximation, and the pseudoinverse.
10 steps·~15 min - Mathintermediate
Matrices as Linear Transformations
A matrix doesn't just hold numbers — it reshapes space. Master the geometric view of matrix-vector multiplication, the four fundamental subspaces, rank, the determinant as a volume-scaling factor, and invertibility — all grounded in NumPy.
10 steps·~15 min - Mathintermediate
Eigenvalues and Eigenvectors
Some vectors only get scaled by a matrix — they don't rotate at all. These eigenvectors reveal the skeleton of a linear transformation. Master the eigen-equation, the characteristic polynomial, diagonalization, and why eigenstructure powers PCA, PageRank, and stability analysis.
9 steps·~14 min - Roboticsintermediate
The Jacobian and Velocity Kinematics
Connect joint velocities to end-effector velocity through the Jacobian matrix. Learn how to build J, spot singularities where det J = 0, invert J with the pseudoinverse for velocity control, and measure manipulability — with NumPy code for the 2-link arm.
8 steps·~12 min - Roboticsintermediate
Inverse Kinematics: From Pose to Joint Angles
Flip the FK problem: given a desired end-effector pose, find the joint angles that achieve it. Master analytical closed-form IK for the 2-link arm, the elbow-up/elbow-down duality, atan2 arithmetic, and the basics of numerical IK via the Jacobian.
9 steps·~14 min - Roboticsintermediate
Forward Kinematics and DH Parameters
Translate a list of joint angles into an end-effector pose. Learn the four Denavit-Hartenberg parameters, build per-link transforms, multiply them into T_0^n, and implement FK for a 2-link planar arm in NumPy.
8 steps·~12 min - Roboticsintermediate
Coordinate Frames and Homogeneous Transforms
Master how roboticists describe rigid-body pose. Build rotation matrices from scratch, pack them into 4x4 homogeneous transforms, and compose multiple frames with NumPy to track every link in a robot arm.
8 steps·~12 min - Businessintermediate
Instant, Cloud, and Browser Games: Distribution Without Downloads
Understand no-download game distribution: how HTML5 and instant games work, why WeChat and Douyin mini-games dominate in China, how Xbox Cloud Gaming and GeForce Now operate, and what Google Stadia's 2023 shutdown taught the industry about cloud gaming unit economics.
10 steps·~15 min - Businessintermediate
The Game Industry: Money, Models, and the Market Map
Understand where the $180B+ games market actually sits — mobile vs console vs PC — who skims the value chain, how the major revenue models compare, and why a tiny fraction of players drives most F2P revenue.
10 steps·~15 min - AIintermediate
Training: Optimization and Regularization
Go from a raw neural network to one that actually generalizes. Covers loss functions (MSE, cross-entropy), gradient descent variants (SGD, momentum, Adam), learning-rate effects, overfitting vs underfitting, and the regularization toolkit (L2/dropout/early stopping/batch norm).
9 steps·~14 min - AIintermediate
Neural Networks and Backpropagation
Build intuition for how artificial neurons stack into layers, why nonlinear activations are non-negotiable, and how the chain rule turns a forward pass into exact gradients — illustrated with a tiny numpy forward+backward walk-through.
10 steps·~15 min

