Lessons
324 lessons · advanced · page 11 of 14
- Programmingadvanced
Dynamic analysis and debuggers
Reverse engineering by running the binary. Why dynamic analysis sees what static cannot, how debuggers and breakpoints actually work (INT3 vs hardware vs page-fault), tracing (strace, ltrace, dtrace, eBPF), dynamic binary instrumentation with Frida and PIN, the common anti-debug tricks, sandboxing with Unicorn and Qiling, and the static-dynamic loop that does the real work.
8 steps·~12 min - Programmingadvanced
Disassembly and decompilation
Reading machine code back into something a human can reason about. Instruction decoding (linear sweep vs recursive descent), x86-64 calling conventions, stack frames, control-flow graph recovery, what decompilers actually do and what they fundamentally cannot recover, and the practical tool landscape (IDA, Ghidra, Binary Ninja, radare2).
8 steps·~12 min - Programmingadvanced
Binary formats and what the loader does
The first layer of reverse engineering — the file format on disk and the loader that maps it into memory. ELF, PE, and Mach-O as variants of the same idea; sections vs segments; symbol tables and what stripping actually removes; PLT/GOT/IAT and dynamic linking; packers like UPX; and the triage you do before opening a disassembler.
8 steps·~12 min - Programmingadvanced
SQLAlchemy 2.0 async ORM in production
SQLAlchemy 2.0 from the production angle. The engine/session/transaction layering, the typed declarative, the identity map, the N+1 query problem, async-only gotchas (no lazy loading), savepoint nesting, and the connection-pool knobs that decide whether the backend survives load.
8 steps·~12 min - Programmingadvanced
FastAPI dependency injection and the request lifecycle
Dependency injection as a pattern, FastAPI's Depends as one concrete implementation. Sub-dependencies and per-request caching, yield-based cleanup, where Pydantic v2 validation runs, lifespan-scoped resources, BackgroundTasks vs real queues, and the override trick that makes the whole thing testable.
8 steps·~12 min - Programmingadvanced
Advanced Python typing for backend
Python's type system has two audiences — static checkers and runtime frameworks. Generics, Protocol, TypedDict, ParamSpec, type narrowing, and runtime introspection, framed as the spec that Pydantic, FastAPI, and SQLAlchemy actually execute.
8 steps·~12 min - Programmingadvanced
Async Python and asyncio
Async Python from the bytecode up. Coroutines vs return values, how the event loop schedules tasks, when async beats threading or multiprocessing, structured concurrency with TaskGroup, and the cancellation rules that production backends live or die by.
8 steps·~12 min - Scienceadvanced
Post-quantum cryptography: lattices, codes, and the migration
What cryptographic schemes Shor's algorithm threatens, what post-quantum schemes replace them, the math behind lattice-based cryptography, the NIST standardization process and its outputs, and the operational mechanics of a real-world cryptographic migration.
8 steps·~12 min - Scienceadvanced
Algorithms where quantum beats classical (and where it doesn't)
Shor, Grover, Hamiltonian simulation, HHL — the catalog of known quantum-algorithmic speedups, what 'speedup' precisely means in each case, and the structural reasons most problems do not gain exponential advantage.
8 steps·~12 min - Scienceadvanced
Errors, syndromes, and the surface code
Why classical error correction does not directly transfer to qubits, how stabilizer codes and syndrome measurement work around the no-cloning constraint, the surface code as the leading approach, and the math of physical-to-logical qubit overhead.
8 steps·~12 min - Scienceadvanced
Hardware approaches: superconducting, ion, photonic, atomic, spin
Six families of physical qubit implementations and the engineering trade-offs that distinguish them — coherence time, gate time and fidelity, scalability, and control complexity. The numbers behind 'which is best' depend on which metric you care about.
8 steps·~12 min - Scienceadvanced
Entanglement, gates, and the circuit model
What entanglement is mathematically, how Bell states are built from Hadamard and CNOT, how quantum circuits compose, and why measurement on entangled subsystems looks correlated regardless of separation.
8 steps·~12 min - Scienceadvanced
Superposition and the qubit
The mathematical object behind a qubit — a complex unit vector in a two-dimensional Hilbert space — and why measurement collapses superposition. The structural difference between a quantum state and a classical bit, expressed in math.
8 steps·~12 min - Historyadvanced
Concentration and risk: single points of failure
The geographic and corporate concentration of the chip supply chain expressed as engineering risk — single points of failure, the cost of redundancy, hedging strategies, and the customer-side concentration that mirrors the supply side. Structural analysis, not prediction.
8 steps·~12 min - Historyadvanced
Catchup: what closing a node gap actually requires
The structural ingredients required to move a national or corporate semiconductor capability up the node ladder — capital, equipment access, process know-how, and talent — and the historical examples (Korea, Taiwan) of how earlier catchup campaigns played out.
8 steps·~12 min - Historyadvanced
Export controls as policy: instruments and mechanics
How the US, Dutch, and Japanese export-control regimes for advanced semiconductors actually function — the legal instruments, the parameter thresholds in published regulations, the extraterritorial Foreign Direct Product Rule, and the licensing-and-enforcement mechanics.
8 steps·~12 min - Historyadvanced
Equipment and materials: the secondary chokepoints
Beyond lithography, a fab depends on etch, deposition, implantation, metrology, photoresist, wafers, and specialty gases. Each of these markets concentrated independently, and most show the same compounding-R&D pattern as lithography at smaller scale.
8 steps·~12 min - Historyadvanced
Lithography as a choke point: DUV, EUV, and the R&D stack
Why chip resolution is bounded by light wavelength, how the industry moved from 193 nm DUV to 13.5 nm EUV, and what makes lithography one of the most concentrated single-vendor markets in modern manufacturing.
8 steps·~12 min - Scienceadvanced
Scaling and the end of Moore's law
Why Dennard scaling died in 2005, how the industry kept Moore's law alive through FinFET, gate-all-around, and chiplet packaging, and why modern chips look like zoos of specialized accelerators sitting half-dark. The constraints that produced the modern SoC and the frontiers that come next.
8 steps·~12 min - AIadvanced
Loop engineering: verification, orchestration, and anti-patterns
Make loops trustworthy. Adversarial verification panels, sub-agent orchestration, loop-until-dry for unbounded discovery, loop-until-budget for paid depth, multi-modal sweeps with diverse prompts, eval-driven cap selection, and the five anti-patterns — silent caps, infinite plans, drift, premature termination, thrashing — that ship to prod more than they should.
9 steps·~14 min - AIadvanced
RL in Reasoning Models: How o1, DeepSeek-R1, and Friends Think
A deep look at how reinforcement learning on chains-of-thought powers o1, DeepSeek-R1, Claude reasoning, and Gemini Thinking — covering GRPO, MCTS-style search, test-time compute scaling, and distillation into smaller models.
13 steps·~20 min - AIadvanced
RLVR and GRPO: Training LLMs with Verifiable Rewards
How Group Relative Policy Optimization turns unit tests and theorem provers into training signals — the technique behind DeepSeek-R1's leap in math and code reasoning without a reward model.
12 steps·~18 min - AIadvanced
Direct Preference Optimization: DPO, IPO, KTO, and SimPO
A deep dive into DPO (Rafailov et al. 2023) and its successors — how they reformulate RLHF as a classification problem, the math behind the implicit reward, and where each variant wins or loses against PPO-based pipelines.
12 steps·~18 min - AIadvanced
RLHF: From Christiano 2017 to InstructGPT to the Offline Era
Trace the full arc of Reinforcement Learning from Human Feedback — preference data, Bradley-Terry reward models, PPO with KL penalty, reward hacking, and why most labs have moved to offline alternatives like DPO and RAFT.
12 steps·~18 min

