Lessons
919 lessons · page 33 of 39
- AIadvanced
Hybrid Retrieval for RAG: BM25, Dense Vectors, and Cross-Encoder Reranking
Build a production-grade retrieval pipeline combining BM25 keyword search with dense vector search, then sharpen precision with cross-encoder rerankers (Cohere Rerank, Voyage rerank-2, BGE). Learn when each layer matters and how to wire them together.
12 steps·~18 min - AIadvanced
RAG Chunking Strategies: From Fixed-Size to Late Chunking
A deep dive into how you split documents for retrieval-augmented generation — fixed-size, recursive, semantic, hierarchical, and late chunking — with concrete trade-offs and code for each approach.
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 - Roboticsbeginner
Closing the Loop: Microcontrollers and Feedback
Open-loop control is a guess; closed-loop control is a conversation. Learn why feedback transforms an unreliable robot into a reliable one, how the read-compute-actuate cycle works, what microcontrollers and single-board computers each do best, and why loop timing is just as critical as the algorithm running inside it.
10 steps·~15 min - Roboticsbeginner
Sensors: How Robots Perceive
A robot is only as good as what it can measure. Explore the full sensor toolkit — encoders, IMUs, ultrasonic rangefinders, LiDAR, cameras, and force/torque sensors — and learn the four metrics that determine whether a sensor is fit for purpose: resolution, range, noise, and sampling rate.
10 steps·~15 min - Roboticsbeginner
What Is a Robot? Anatomy and the Sense-Plan-Act Loop
Strip any robot to its bones and you find three things: sensors that gather data, a controller that thinks, and actuators that move. Learn how these pieces fit together through the Sense-Plan-Act paradigm, why reactive control sometimes beats planning, and what makes a Roomba and a welding arm both qualify as robots.
10 steps·~15 min - Roboticsbeginner
Actuators: How Robots Move
Every robot motion — spinning a wheel, bending a joint, squeezing a gripper — starts with an actuator. Learn the key differences between DC, stepper, and servo motors; how gears trade speed for torque; how PWM lets a microcontroller dial motor power; and where hydraulics and pneumatics step in when electricity isn't enough.
10 steps·~15 min - AIadvanced
Policy Gradients and Deep RL
Tabular methods break down when the state space is continuous or astronomical in size. Learn how neural networks extend RL via DQN, how the policy gradient theorem makes it possible to differentiate through stochastic policies, and where actor-critic, PPO, and the deadly triad fit into the picture.
10 steps·~15 min - AIadvanced
Monte Carlo, TD, and Q-Learning
Leave the model behind. Monte Carlo methods wait for a full episode to update; TD methods bootstrap from the very next step. See exactly where SARSA and Q-learning diverge on the on-policy/off-policy axis, and why that single difference changes everything about convergence guarantees.
10 steps·~15 min - AIadvanced
Markov Decision Processes
Master the mathematical skeleton of reinforcement learning. Learn how the agent-environment loop formalizes decision-making, why the Markov property is the key assumption, and how Bellman expectation equations link policies to value functions.
10 steps·~15 min - AIadvanced
Dynamic Programming: Value and Policy Iteration
When you know the full MDP model, dynamic programming finds the optimal policy exactly. Learn the Bellman optimality equation, the contraction argument that guarantees convergence, and the concrete difference between policy iteration and value iteration — with a value-iteration code walkthrough.
10 steps·~15 min - Roboticsadvanced
Sampling-Based Planning: RRT and PRM
When grids fail in high dimensions, random sampling saves you. Understand why PRM builds reusable roadmaps, how RRT grows a tree toward the goal, what probabilistic completeness really means, and how RRT* achieves asymptotic optimality.
8 steps·~12 min - Roboticsadvanced
Graph Search: Dijkstra and A*
Discretise C-space into a grid, then search it intelligently. Understand Dijkstra's optimality guarantee, how A* accelerates it with admissible heuristics ($f=g+h$), why consistency matters, and where greedy search goes wrong.
8 steps·~12 min - Roboticsadvanced
Configuration Space and the Planning Problem
Understand why every motion planner secretly works in configuration space: how robots become points, obstacles inflate, and why high-dimensional C-spaces make naive search intractable.
8 steps·~12 min - Roboticsadvanced
Autonomous Navigation and the ROS Nav Stack
Trace the full perceive-plan-act loop on a mobile robot: AMCL localization feeds a global costmap, a global planner (A*/NavFn) sets the course, and DWA or TEB local planners execute it — with recovery behaviors when things go wrong.
9 steps·~14 min - Roboticsadvanced
SLAM: Simultaneous Localization and Mapping
The chicken-and-egg problem of robot autonomy: to localise you need a map; to build a map you need a pose. Covers front-end matching, back-end pose-graph optimisation, loop closure, and visual vs LiDAR SLAM systems.
9 steps·~14 min

