Post 19 Computer science
How a Weather Forecast Explains Markov Chains
Use a two-state weather model to calculate a two-day forecast, then see how Markov chains describe patterns in Pushkin’s verse and links on the web.
Read more
An ongoing series by Attila Kulik
The people behind the ideas.
The everyday stories that make them clear.
Post 19 Computer science
Use a two-state weather model to calculate a two-day forecast, then see how Markov chains describe patterns in Pushkin’s verse and links on the web.
Read more
Post 18 / Networking
See how two senders share one link, how three pieces of a message take two routes, and how TCP restores byte order.
Post 17 / Information theory
A seven-signal message shows how Hamming codes use extra bits to locate a transmission error, how the method arose, and what it cannot repair.
Post 16 / Data structures
Use a fictional transit map to build a directed, weighted graph and an adjacency list, compare routes, and understand three graph algorithms.
Post 15 / Data structures
A fictional airport queue shows how a priority queue selects the smallest score, how a binary heap maintains that choice, and why route-finding algorithms use it.
Post 14 / Web security
Follow a café tab from its first order to its final bill to see how a browser cookie and a server-side session maintain continuity across requests.
Post 13 / Neural networks
Follow a small mixing-desk example to see how a neural network measures error, calculates gradients and updates weights by backpropagation.
Post 12 / Algorithms
Double a concert guest list from 10 to 20 to 40 names and count the checks behind logarithmic, linear and quadratic growth.
Post 11 / Algorithms
Use a printed dictionary to see how binary search finds a word in a sorted list, why the search takes so few checks, and where the analogy breaks down.
Post 10 / Algorithms
Explore a branching museum to see how DFS and BFS visit a tree, why a stack and a queue produce different orders, and when each approach helps.
Post 09 / Operating systems
A shared telescope and a six-turn example explain how an operating system gives programs turns on one CPU, saves their place, and makes shared computing interactive.
Post 08 / Neural networks
A wildlife photo archive makes the generator, discriminator, training loop and limits of generative adversarial networks easier to see.
Post 07 / Algorithms
Follow a five-stop route to see how A* uses an optimistic estimate to find a shortest path, why it can stop searching, and when its guarantee holds.
Post 06 / Neural networks
A sliding stencil and a worked 4 × 4 image explain CNN filters, feature maps, training, and uses in classification, detection, and segmentation.
Post 05 / Neural networks
A starship bridge makes neural networks, perceptron training, XOR and backpropagation understandable through worked examples.
Post 04 / Web security
From passwords and passkeys to sessions, bearer tokens and single sign-on, follow what happens after you log in.
Post 03 / Algorithms
A nine-course degree shows how Kahn's algorithm orders prerequisites, detects cycles, and finds the fewest semesters without a course cap.
Post 02 / Algorithms
A seven-town Dutch road atlas explains Dijkstra’s shortest-path algorithm, its 1956 origin, and why negative costs can break it.
Post 01 / Data structures
The 1950s IBM idea behind fast lookups, and why a crowded parking lot slows it down