Tutorials
Programming, data structures, systems and AI. Each topic is one page with worked examples you can run.
AI & Machine Learning
Master formal logical reasoning in AI. Covers Knowledge Bases, Propositional Calculus, Truth Tables, Modus Ponens/Tollens, Resolution Refutation, Wumpus World navigation, and Horn Clauses.
Mathematical foundations of predictive modeling: cost functions (MSE), learning rates, gradient descent parameter updates, Bayes theorem, and Naive Bayes text classification.
Discover latent structure without labels: K-Means clustering, Voronoi partitions, WCSS inertia metrics, the Elbow method, and Principal Component Analysis (PCA).
Algorithms
Logarithmic search algorithms: preventing integer overflow (left + (right - left) // 2), boundary invariants, searching rotated arrays, and binary search on monotonic answer spaces.
Convert exponential brute force recursions into polynomial time algorithms. Master state definition, transition recurrences, top-down memoization, and bottom-up tabulation.
Cybersecurity
Master OSI Layer 3/4 packet filtering, stateful connection tracking, next-gen application firewalls (NGFW), and iptables rule chains.
Deep dive into virtual private networks, cryptographic encapsulation, Diffie-Hellman key exchange, IPsec AH/ESP, WireGuard Noise protocol, and split tunneling.
Data Structures
Deep dive into CPU L1/L2 cache prefetching, contiguous pointer offsets, converging two-pointer patterns, fast-slow pointers, and sliding window subarray optimizations.
Master non-contiguous heap allocation, node pointer management, sentinel dummy heads, O(1) in-place list reversals, and Floyd's Tortoise and Hare cycle finding.
Constrained linear structures: call stack simulation, circular array ring buffers, expression bracket balancing, and linear O(N) monotonic stacks for next greater element.
Hierarchical data modeling: recursive DFS traversals (preorder, inorder, postorder), queue-based level order BFS, BST search/insert invariants, and binary heaps.
Fundamentals
Master multi-branch conditional ladders, truth tables, short-circuit evaluation, and while vs for loop termination proofs.
Deep dive into deterministic counting loops, generator ranges, iterator protocols (__iter__ / __next__), index vs value iteration, and nested iteration complexity.
Exhaustive exploration of conditional while loops, deterministic range generators, iterator protocols, termination proofs, and nested loop Big-O complexity.
Comprehensive foundations on stack and heap allocation, 32/64-bit integer words, IEEE-754 floating point numbers, and type safety across compiled and dynamic languages.
Python
Making decisions in Python: if, else and elif chains, truthy and falsy values, combining conditions, nesting versus flat logic, and the conditional expression.
Key-value lookup with dictionaries: creating, reading safely, updating, iterating, counting and grouping, nested records and comprehensions. Then sets for uniqueness, fast membership and set algebra.
Reading tracebacks, the common exception types, handling errors with try, except, else and finally, raising your own exceptions, and writing programs that survive bad input.
Reading and writing text files safely with with, working with CSV and JSON, handling paths, importing from the standard library, and splitting your own program into modules.
Defining and calling functions, parameters and return values, default and keyword arguments, scope, docstrings, functions as values, lambda, *args and **kwargs, and a first look at decorators.
What Python is, how the interpreter runs a program from top to bottom, and how to write, run and read your first programs with print(), comments and input().
Ordered collections in Python: creating and changing lists, searching and sorting, aliasing and copying, list comprehensions, nested lists, and immutable tuples with unpacking.
Repeating work with while and for loops: range(), accumulator patterns, break and continue, the loop else clause, nested loops, and enumerate() and zip().
Arithmetic, floor division and modulo, precedence, augmented assignment, comparisons and the logical operators, plus the floating-point behaviour every programmer has to know.
How Python variables name values, the core built-in types (int, float, str, bool and None), converting between them, and formatting values with f-strings.
Text in Python: string literals and escapes, indexing and slicing, immutability, the most useful string methods, and splitting and joining text.
Systems Architecture
The networking stack from sockets to the application layer: DNS recursive resolvers, TLS 1.3 handshakes, TCP flow control and congestion windows, and HTTP/2 multiplexing.
Architect high-scale architectures: stateless application tiers, consistent hashing, distributed caching (Redis), database sharding, and message queues.
Applied defensive security: symmetric AES-GCM vs asymmetric RSA/ECC, digital signatures, PKI certificate chains, packet filtering firewalls, and WireGuard tunneling.
Core systems internals: virtual memory paging, translation lookaside buffers (TLB), process control blocks (PCB), thread synchronization, race conditions, and Coffman deadlock conditions.