Lessons
919 lessons · page 35 of 39
- Programmingadvanced
Storage Engines and Page Layout
Disk geometry dictates database design. Learn why sequential I/O beats random I/O by 100x, how fixed-size pages and slotted page headers work, why row-stores and column-stores suit different workloads, how the buffer pool keeps hot pages in RAM, and how the write-ahead log makes durability cheap.
9 steps·~14 min - Programmingadvanced
LSM-Trees and Write-Optimized Storage
B-trees rule read-heavy OLTP; LSM-trees rule write-heavy workloads. Learn how the memtable and immutable SSTable pipeline converts random writes into sequential I/O, why compaction is unavoidable, how bloom filters slash unnecessary reads, and when to pick LSM over B-tree.
8 steps·~12 min - Programmingadvanced
B-Tree Indexes
B+ trees are the workhorse of relational databases. Learn why their high fanout and shallow depth match disk perfectly, how point lookups and range scans work, the difference between clustered and secondary indexes, how covering indexes eliminate table lookups, and the hidden write cost of keeping indexes up to date.
9 steps·~14 min - Businessadvanced
The Data Foundation for Enterprise AI
The model is rarely the bottleneck. This lesson examines why data readiness — quality, governance, lineage, and access — is the primary constraint on enterprise AI value, with a practical scorecard, and a clear-eyed comparison of RAG versus fine-tuning economics.
8 steps·~12 min - Roboticsintermediate
Trajectory Generation and Tracking
Learn how to generate smooth robot trajectories — trapezoidal velocity profiles, cubic and quintic polynomials — and how to combine feedforward and feedback to track them with minimal error on real arms and mobile robots.
8 steps·~12 min - Roboticsintermediate
State-Space Models and Pole Placement
Move beyond single-input PID to the state-space framework: the state vector, matrix dynamics, controllability, pole placement via state feedback, and LQR — the tool that scales to full robot arms and drones.
8 steps·~12 min - Roboticsintermediate
PID Controllers
Master the proportional-integral-derivative controller: what each term fixes, the PID equation, integral windup, a discrete Python implementation, and a Ziegler-Nichols tuning guide for real loops.
8 steps·~12 min - Roboticsintermediate
Feedback Control Fundamentals
Understand why feedback beats open-loop, how the classic closed-loop architecture works, and what the key performance metrics — rise time, overshoot, settling time, steady-state error — actually mean for a real system.
9 steps·~14 min - Programmingadvanced
Symmetric Ciphers and Modes of Operation
AES and block ciphers are primitive building blocks, not complete encryption schemes. Learn how ECB leaks structure, why CBC and CTR modes work differently, and why GCM is the modern default — including the catastrophic consequences of nonce reuse.
9 steps·~14 min - Programmingadvanced
Public-Key Cryptography: RSA and ECC
Trapdoor functions power every TLS handshake, code signature, and SSH session. Master RSA key generation and its math, why textbook RSA is trivially broken, what elliptic curves add, and how ECDSA and Ed25519 compare — with key-size equivalences you can quote in code reviews.
9 steps·~14 min - Programmingadvanced
Key Exchange and TLS 1.3
Every HTTPS connection negotiates a fresh secret over an untrusted network. Learn Diffie-Hellman and ECDH from first principles, why forward secrecy matters when private keys leak, how TLS 1.3 cut the handshake to one round-trip, and how certificate chains stop man-in-the-middle attacks.
10 steps·~15 min - Programmingadvanced
Hash Functions, MACs, and Password Hashing
Hash functions are not all equal and MACs are not just hashes with a secret. Learn the three resistance properties, why length-extension attacks break naive HMAC constructions, how KDFs differ from hashes, and why bcrypt/scrypt/Argon2 exist for passwords.
9 steps·~14 min - Programmingadvanced
Threads and Shared State
Threads look deceptively simple — create a few, share some memory, done. In practice, shared mutable state is a minefield: race conditions, non-deterministic output, and bugs that vanish under a debugger. This lesson dissects concurrency vs parallelism, why `count++` is three operations the CPU can interleave, Amdahl's law, and what a critical section actually means.
9 steps·~14 min - Programmingadvanced
Memory Models, Atomics, and Lock-Free
The CPU and compiler silently reorder your code. Cache coherence does not mean coherent behavior. This lesson explains the happens-before relation, memory fences, C++ and Java atomic operations, compare-and-swap, and why `volatile` is not a synchronization primitive.
9 steps·~14 min - Programmingadvanced
Locks and Synchronization
Mutexes, condition variables, semaphores, and reader-writer locks — the primitives that make concurrent code correct. Understand the four Coffman deadlock conditions, how lock ordering prevents them, and why contention turns a performance win into a bottleneck.
9 steps·~14 min - Programmingadvanced
Async, Event Loops, and Futures
Threads are not the only model for concurrency. Learn how blocking vs non-blocking I/O works, how the event loop and reactor pattern scale to millions of connections, and how callbacks evolved into futures, promises, and async/await — plus where coroutines fit and when async loses to threads.
9 steps·~14 min - Programmingadvanced
Semantic Analysis and Type Checking
The parser only checks syntax — it happily accepts `x = y + z` even if none of those names exist. Semantic analysis adds meaning: it builds symbol tables, resolves names, enforces scoping rules, and runs the type checker that catches the errors a grammar cannot. Learn what happens between the raw AST and the typed AST the IR generator gets.
9 steps·~14 min - Programmingadvanced
Parsing: Tokens to ASTs
The parser takes a flat token stream and recovers the hierarchical structure the programmer intended. Learn context-free grammars, recursive-descent parsing, operator precedence, the difference between a parse tree and an AST, and when LL versus LR parsers matter — including the classic dangling-else ambiguity.
9 steps·~14 min - Programmingadvanced
Lexical Analysis: Source to Tokens
Before a compiler can understand your code it has to chop it into meaningful pieces. Learn how scanners work, how regular expressions become finite automata, why maximal munch is the rule, and what a real token stream looks like — the foundation every later compiler phase depends on.
9 steps·~14 min - Programmingadvanced
IR, Optimization, and Code Generation
The typed AST is high-level — too high for a CPU. Learn why compilers lower to an intermediate representation first, what SSA form buys you, how classic optimizations (constant folding, dead-code elimination, CSE) transform IR, and how instruction selection and register allocation finally produce machine code.
9 steps·~14 min - Businessintermediate
The China Games Market: Scale, Gatekeepers, and Going Global
Navigate the world's most complex games market: Tencent and NetEase's dominance, the ISBN licensing system and its freeze years, the 2021 minors' play-time rules, how WeChat and Douyin mini-games work, and what it actually takes for a Western studio to earn revenue in China.
9 steps·~14 min - Businessadvanced
AI Transformation: What the Data Actually Says
Strip away the hype. This lesson unpacks the real adoption and impact data: McKinsey's State of AI surveys, the MIT 2025 GenAI Divide, and why roughly 95% of enterprise GenAI pilots show no measurable P&L impact — plus where value has actually landed and what the pilot-to-production chasm looks like in practice.
10 steps·~15 min - Businessadvanced
Operating Model, Talent, and Adoption
The model is the least of your problems. This lesson examines how to structure the AI function (centralised, federated, hub-and-spoke), make defensible build-vs-buy decisions, design for actual adoption, and understand why change management — not the model — is the dominant failure mode in enterprise AI programs.
9 steps·~14 min - Businessadvanced
Governance, Risk, and Continuous Measurement
Responsible AI is a practice, not a slogan. This lesson covers the EU AI Act's four risk tiers and what each requires, model monitoring and drift detection, hallucination rates and human-in-the-loop design, guardrail KPIs, and how to run governance as a measured, auditable discipline rather than a compliance checkbox.
9 steps·~14 min

