Every article, all in one place.
Compression
From Run-Length Encoding to Zstandard — how we find patterns in data and represent them more efficiently.
Run-Length Encoding (RLE)
The simplest compression algorithm
Huffman Coding
Use fewer bits for common symbols
LZ77
Remember what you've seen before
LZ78 & LZW
Build a dictionary as you go
DEFLATE
The engine behind gzip, zip, and PNG
Burrows-Wheeler Transform
A magical rearrangement
Arithmetic Coding
Encoding with fractional bits
ANS & Zstandard
Modern compression: fast and optimal
Information Theory & Entropy
Measuring the true information content of data
Kolmogorov Complexity
The shortest possible description of anything
Lossy Compression
Throwing away what you can't perceive
DCT & Image Compression
The mathematical trick at the heart of JPEG
JPEG: End to End
How DCT, quantization, and Huffman combine to compress photos
Delta & Predictive Coding
Store differences instead of values
Video Compression
Motion estimation, I/P/B frames, and why video files are so small
LZSS & LZMA
From LZ77 refinements to the engine behind 7-Zip
Zstandard Deep Dive
Inside the frame format, FSE tables, and dictionary training
Encryption
From the Caesar cipher to elliptic curves — how we scramble data so only the right person can read it.
Caesar Cipher & Substitution
The oldest encryption algorithms
XOR & One-Time Pad
The only provably unbreakable cipher
Block Ciphers & DES
Scrambling data in fixed-size chunks
AES
The world's most widely used cipher
Block Cipher Modes
How to safely encrypt more than one block
Stream Ciphers
Generating an endless river of pseudorandom keystream
Authenticated Encryption
Confidentiality and integrity in a single pass
RSA & Public-Key Cryptography
Encrypt with one key, decrypt with another
Diffie-Hellman Key Exchange
Agreeing on a secret over a public channel
Elliptic Curve Cryptography
The same security with far smaller keys
Hash Functions & MACs
One-way fingerprints for data integrity
Digital Signatures
Proving authorship without sharing secrets
The TLS Handshake
Every piece snapping together
Key Derivation & Password Hashing
Turning human passwords into strong keys
The Signal Protocol
End-to-end encryption with forward and future secrecy
Web Authentication
Sessions, tokens, cookies, and keeping logins safe in the browser
Hardening Web Auth
JWT internals, OAuth/OIDC, revocation, and token binding
Padding Oracle Attacks
How a single leaked bit can break encryption
Birthday Attacks & Hash Collisions
When mathematical inevitability meets cryptographic assumptions
Error Correction
From parity bits to polar codes — how data survives noise, scratches, and cosmic rays.
Repetition & Parity
The simplest error detection and correction
Checksums & CRC
Compact fingerprints that catch errors
Hamming Codes
Find and fix exactly which bit flipped
Reed-Solomon Codes
Polynomial magic for burst error recovery
Interleaving & Burst Errors
Scatter data so burst errors become single errors
Convolutional Codes & Viterbi
Codes with memory, decoded by finding the best path
Turbo & LDPC Codes
Iterative decoding that approaches Shannon's limit
Polar & Fountain Codes
The cutting edge of error correction
QR Codes: How They Work and How They're Generated
From HELLO WORLD to a scannable symbol by hand: encoding modes, Reed-Solomon over GF(256), the zigzag, the eight masks and the format bits
Wave Function Collapse
A procedural-generation algorithm borrowed from quantum mechanics — five playable demos, from pixel maps to music.
The 2D Simple Tiled Model
Observe, collapse, propagate -- the canonical Wave Function Collapse loop, running on a 2D grid you can watch.
3D Isometric WFC
Six neighbours instead of four -- the same algorithm, one dimension up, rendered with an isometric camera.
WFC for Music
A one-dimensional WFC where the tiles are chords, the adjacency rules come from music theory, and everything plays through Web Audio.
WFC for Text
A 1D WFC where the tiles are syllables, words, and sentence fragments -- and adjacency encodes linguistic structure.
The Overlapping Model
Instead of hand-authored tiles, learn adjacency rules from a sample image -- then grow a bigger image that is locally similar everywhere.
Constraints & Backtracking
What happens when WFC paints itself into a corner -- failure recovery, constraint propagation strategies, and how to make collapse more robust.
Performance & Entropy Heuristics
Making WFC fast -- smarter cell selection, acceleration structures, and techniques for real-time generation.
Git
From zero to hero — the object store, the DAG, and why your "lost" commits are almost never lost.
The Object Store
Blobs, trees, and commits — the whole repository in three shapes
Content-Addressed Storage
Why every object is named by the hash of its contents
Refs, HEAD & the DAG
Branches are text files. HEAD is a text file. That's most of Git.
Pack Files & the Reflog
How Git keeps a million tiny objects from melting your disk — and how it remembers every ref you've ever touched
Rewriting History
Amend, rebase, cherry-pick, squash — all the same primitive in disguise
Recovering the Lost
Reflog spelunking, fsck --lost-found, and why your "lost" commit is almost never actually lost
JavaScript & TypeScript
From Observable streams to NgRx — how Angular uses RxJS to build reactive, scalable applications.
RxJS Observables & Streams
Think in streams — the building block of reactive Angular
RxJS Operators Deep Dive
map, switchMap, mergeMap, concatMap — the operators that do the real work
Combining Streams
merge, combineLatest, forkJoin, zip — coordinating multiple Observables
Angular Services & Dependency Injection
Encapsulate logic, share state, and wire everything together with DI
Reactive Patterns in Angular
Subjects, async pipe, OnPush, and fully reactive component architecture
NgRx: Store, Actions, Reducers, Selectors & Effects
Predictable state management for Angular applications
Change Detection Deep Dive
Zone.js, OnPush, markForCheck, detectChanges, and how Angular decides what to re-render
Angular Signals
signal(), computed(), effect(), and the bridge between synchronous reactivity and RxJS
RxJS + Signals: When to Use Which and How to Migrate
Decision framework, interop patterns, and a practical migration playbook
Angular Material Theming
Design tokens, custom palettes, dark mode, and dynamic theme switching
CDK Virtual Scrolling
Rendering 100,000 items without breaking a sweat
CDK Overlay & Portal
How Angular positions tooltips, dialogs, menus, and every floating element
Regular Expressions
From literal matching to lookaround — how to read, write, and debug regex patterns with confidence.
Regular Expressions: The Basics
Literals, metacharacters, and the dot
Character Classes
Matching specific sets of characters
Quantifiers
Controlling repetition — greedy, lazy, and possessive
Anchors & Boundaries
Matching positions, not characters
Groups & Alternation
Capturing, structuring, and reusing parts of a match
Lookaround Assertions
Checking context without consuming characters
How Regex Engines Work
NFA, DFA, backtracking, and performance
Regex Examples
A cookbook of real-world patterns
Rendering
From perspective division to quaternions — how to project, rotate, and animate 3D worlds using nothing but math.
Bresenham's Line Algorithm
Drawing straight lines on a pixel grid using only integer arithmetic
3D Projection
How to flatten a 3D world onto a 2D screen using nothing but division
Rotation Matrices
Package rotation, scaling, and translation into one composable transform
Quaternions
The mathematically elegant way to rotate in 3D — no gimbal lock, smooth interpolation, constant speed
View & Projection Matrices
The model/view/projection pipeline that turns world coordinates into pixels on screen
Rasterization
How triangles become pixels — scanline traversal, barycentric interpolation, and the depth buffer
Lighting & Shading
Phong, Blinn-Phong, and the math that makes flat triangles look three-dimensional
Texture Mapping
UV coordinates, filtering, and mipmaps — how flat images wrap onto 3D surfaces
Ray Tracing Basics
Casting rays, intersecting spheres, and producing shadows and reflections from first principles
Shadow Mapping
Rendering shadows in real time by seeing the scene through the light's eyes
Bloom
Making bright things glow — thresholding, blur, and HDR post-processing
Global Illumination
How light bounces — path tracing, radiosity, and the real-time approximations that fake it
Screen-Space Ambient Occlusion
Darkening creases and crevices using only the depth buffer
The Mandelbrot Set
Infinite complexity from one simple equation — rendered pixel by pixel
Julia Sets
The Mandelbrot set's infinite family of fractal siblings
Perlin & Simplex Noise
Controlled randomness — the foundation of procedural textures, terrain, and organic motion
L-Systems
Growing fractal trees and plants from string-rewriting rules
Strange Attractors
Chaos made visible — millions of iterations tracing beauty from simple equations
Reaction-Diffusion
Spots, stripes, and labyrinths from two interacting chemicals
Cellular Automata
Complex worlds from simple rules — Conway's Game of Life and beyond
Voronoi Diagrams & Delaunay Triangulation
Partitioning space by proximity — the geometry behind giraffe skin, soap bubbles, and mesh generation
SDF Ray Marching
Rendering smooth, infinite-detail shapes by marching rays through distance fields
Parsing & Interpreters
From tokenizers to bytecode VMs — how programming languages turn text into something a machine can run.
Tokenizers & Lexers
Breaking source text into tokens
Recursive Descent Parsing
Top-down parsing by hand
Pratt Parsing
Operator precedence made simple
AST Construction
Building and traversing syntax trees
Tree-Walking Interpreters
Evaluating an AST directly
Bytecode Virtual Machines
Compiling to and executing bytecode
Scope & Environments
How variables find their values
Closures & Upvalues
Capturing variables across scope boundaries
Type Checking
Catching errors before runtime
Garbage Collection
Automatic memory management for language runtimes
Error Recovery
Parsing past mistakes
Parser Combinators
Building parsers from small composable functions
PEG Grammars
Ordered choice and unlimited lookahead
LR & LALR Parsing
Bottom-up parsing with a state machine
Precedence Climbing
An alternative to Pratt parsing
Register Allocation
Mapping variables to finite registers
Optimization Passes
Making compiled code faster
JIT Compilation
From bytecode to native code at runtime
Building a REPL
Interactive programming, one line at a time
Source Maps & Debugging
Mapping compiled code back to source
S-Expressions & Lisp
When the syntax tree is the syntax
Data Formats
From JSON to Protobuf — the formats we use to move structured data between programs, and the trade-offs baked into each one.
Number Representation
From binary integers to interval arithmetic — how computers represent numbers, why floating-point is tricky, and what to do about it.
Binary Integers
How computers count with ones and zeros
Number Bases & Encodings
From hexadecimal to Base64 — representing values in any radix
Fixed-Point Numbers
Fractions without floating point
IEEE 754 Floating Point
The standard that rules every number in your program
Floating-Point Arithmetic
What really happens when you add two floats
Precision Pitfalls
Where floating-point math goes wrong — and how to fight back
Arbitrary Precision
When 64 bits aren't enough
Interval Arithmetic
Every answer comes with a guarantee
Signal Processing & FFT
From sampling theory to spectrograms — how we decompose signals into frequencies and why the FFT changed the world.
Signals & Sampling
From continuous waves to discrete numbers
The Discrete Fourier Transform
Decomposing signals into their frequency components
The Fast Fourier Transform
The algorithm that changed the world
Windowing & Spectral Leakage
Why your spectrum looks wrong — and how to fix it
Filtering
Sculpting signals in time and frequency
Spectrograms & the STFT
Seeing sound — frequency over time
Applications of Signal Processing
From equalizers to JPEG — where frequency analysis meets the real world
Oscillators & Waveforms
The raw materials of sound synthesis
Subtractive Synthesis
Start bright, sculpt with filters
Envelopes & Modulation
Making sound move over time
Filter Design for Audio
Poles, zeros, and why filters sound different
Additive & FM Synthesis
Building complex spectra from simple oscillators
Wavetable & Granular Synthesis
Modern techniques for evolving, textural sound
MinBLEP Anti-Aliasing
Building sawtooths and squares that don't alias
Large Language Models
From tokenization to alignment — how large language models turn text into predictions, one layer at a time.
Tokenization & BPE
How text becomes numbers
Embeddings & Vector Spaces
How meaning lives in geometry
The Attention Mechanism
How models learn what to focus on
Multi-Head Attention
Why one attention head isn't enough
The Transformer Block
The building block of modern AI
The GPT Architecture
Decoder-only transformers and next-token prediction
Training: Loss & Backpropagation
How models learn from mistakes
Training in Practice
From theory to GPU clusters
Sampling & Generation
From probabilities to prose
RLHF & Alignment
Making models helpful, harmless, and honest
LLM Engineering
Prompt design, tool use, context management, and agentic loops — the techniques behind tools like Cursor, Opencode, and Claude Code.
Prompt Engineering
The art of asking LLMs the right question
Structured Output
Getting machines to parse what models produce
Tool Use & Function Calling
Giving language models hands
Context Management
Fitting a world into a window
Retrieval-Augmented Generation
Teaching models to look things up
Agentic Loops
Observe, think, act, repeat
Code Agents
How AI coding assistants actually work
The Command Line
From sed to jq — the Unix tools that have been solving problems for decades and show no signs of stopping.
SED and the Power of Replacement
The stream editor that rewrites text on the fly
The Anatomy of a Makefile
Build automation that has stood the test of time
AWK and the Art of Column Processing
The pattern-action language that turns text into data
Pipes, Redirection, and the Shell's Plumbing
How data flows between programs at the kernel level
Find, Xargs, and the Art of File Discovery
Locate files by any attribute and act on them at scale
Curl and the Language of HTTP
The Swiss army knife for talking to servers
JQ and the World of Structured Data
Query, filter, and reshape JSON from the command line
Network Tools and the Art of Troubleshooting
The classic command-line toolkit for diagnosing broken networks
Networking
From Ethernet frames to BGP — how packets find their way across a room, a building, and the planet.
Layers & Encapsulation
How a few bytes of HTTP become a frame on the wire
Ethernet & Switching
Frames, MAC addresses, and how a switch learns where everyone lives
ARP: From IP to MAC
How a host finds out who is behind an IP address on its own network
IPv4 Addressing & Subnets
Thirty-two bits, one line drawn through them, and everything that follows from where you draw it
IPv6: The 128-Bit Internet
Four times the bits, a /64 for every LAN, and hosts that pick their own addresses
VLANs
One physical switch, several separate networks, and the four bytes that keep them apart
Spanning Tree
How switches find the loops in a network, switch them off, and switch them back on when a cable dies
Routing Basics
How a router reads one address, picks the most specific route, and passes your packet one hop closer to the other side of the world
Distance-Vector Routing
How routers fill in their tables by telling their neighbours how far away everything is, and why bad news makes them count to infinity
Link-State Routing & OSPF
How routers flood a description of their own links until every one of them holds the same map, then each works out its own shortest paths with Dijkstra
BGP: Routing Between Networks
How tens of thousands of independent networks tell each other which addresses they can reach, choose between routes by business policy rather than distance, and occasionally get it spectacularly wrong
UDP: Datagrams Between Programs
The thinnest possible transport: ports to find the right program, a length, a checksum, and nothing else, and why DNS, games, voice calls and QUIC want exactly that
TCP: A Reliable Byte Stream
How sequence numbers, acknowledgements, timers and a sliding window turn IP's unreliable packets into an ordered stream of bytes, from the three-way handshake to TIME-WAIT
Congestion Control: Protecting the Network
How a TCP sender that can only see ACKs, losses and delays works out how fast to send, from the 1986 collapses through slow start, AIMD and fast recovery to CUBIC, BBR, bufferbloat and ECN
DHCP: Getting an Address Without Asking a Human
How a laptop with no address, no router and no idea where it is ends up with all three, in four broadcast-friendly UDP messages, and what keeps the arrangement going for days
NAT: One Public Address for the Whole House
How R1 lets a dozen private devices share 198.51.100.23, rewriting addresses, ports and checksums on every packet, and what that sharing quietly breaks
DNS: How a Name Becomes an Address
How the laptop's 29-byte question about example.com travels from R1 to the root, .com and example.com's own servers, and how caches, compression pointers, EDNS, DNS64 and DNSSEC fit around it
HTTP: What the Browser Actually Says
The laptop's 37-byte request and the server's 1,256-byte answer decoded byte by byte, then the same exchange carried as HTTP/2 frames with HPACK and as HTTP/3 over QUIC, with caching, HTTPS and head-of-line blocking along the way
Retro Tech
From the C64 to the GBA — the CPUs, graphics chips, and memory maps of classic systems, with enough detail to program them in assembly.
Commodore 64
The best-selling home computer of all time
Nintendo Entertainment System (NES)
The console that saved the video game industry
Sega Master System
The NES's 8-bit rival from Sega
Game Boy
The handheld that conquered the world
Commodore Amiga
The multimedia computer ahead of its time
Sega Mega Drive / Genesis
16-bit does what Nintendon't
Super Nintendo (SNES)
Nintendo's 16-bit masterpiece
Game Boy Advance
A SNES in your pocket
NixOS
Configure an entire Linux system declaratively with flakes — then learn to package software, explore nixpkgs in the repl, and debug builds when they go wrong.
The NixOS Mental Model
Why a whole Linux system can be a single, rebuildable description
The Nix Language
The small functional language behind every NixOS config and flake
Your First Flake-Based Configuration
Build a real, minimal NixOS system from two small files
The Module System
How a pile of small files becomes one coherent Linux system
Generations, the Store & Rollbacks
The commands and symlinks behind atomic upgrades and one-reboot recovery
Managing Your User with Home Manager
Bring the same declarative, rollbackable discipline to your dotfiles, shell, and user packages
Exploring nixpkgs with the REPL
Turn nixpkgs from an opaque monolith into something you can poke at, one expression at a time
Overlays & Overrides
Bend nixpkgs to your needs without forking a 100,000-package repo
Writing Your Own Derivations
From the builtins.derivation primitive up to stdenv.mkDerivation and the language builders
Packaging Software That Isn't in Nixpkgs
Write a local package and wire it into your NixOS configuration
Reproducible Dev Environments
Pin a project's exact toolchain in its flake — and enter it automatically
Handling Secrets with SOPS
Keep passwords, keys, and tokens out of the world-readable Nix store
Troubleshooting & Debugging
A systematic way to read Nix errors, tell eval failures from build failures, and reach for the right tool
Flakes: Tips, Tricks & Gotchas
A practical grab-bag for people already living in flakes
Algorithms
From edit distance to graph traversal — classic algorithms explained with worked examples and interactive demos.
Levenshtein Distance
The edit distance that powers spell checkers, DNA alignment, and fuzzy search
Binary Search
Cut the search space in half with every comparison
Merge Sort
Divide, conquer, merge — the gateway to recursive thinking
Quicksort & Partitioning
Pick a pivot, partition, recurse — the fastest sort in practice
Radix Sort
Sort without comparing — process one digit at a time
KMP & Boyer-Moore
Pattern matching with the skip insight
Aho-Corasick
Search for many patterns at once with a trie automaton
Suffix Arrays
Sort every suffix, then answer substring queries in logarithmic time
Longest Common Subsequence
The algorithm behind diff and git diff
Knapsack Problem
Pack the most value into a fixed-capacity bag
Dijkstra's Shortest Path
The algorithm that powers every map application
A* Search
Dijkstra plus a heuristic — find the shortest path by looking in the right direction
Union-Find / Disjoint Sets
Track connected components in near-constant time
Trie (Prefix Tree)
The data structure behind autocomplete
B-Trees
The wide, shallow tree that databases and filesystems actually use
Hash Tables & Collision Resolution
Map keys to slots — and what happens when two keys want the same one
Bloom Filters
A probabilistic set — fast, compact, and only wrong in one direction
Consistent Hashing
Distribute keys across servers so adding or removing a node barely shuffles anything
Quadtrees & K-D Trees
Recursively subdivide space to find nearby points without checking every one
Shunting Yard Algorithm
Parse infix expressions into postfix using an operator stack
Minimum Spanning Trees
Connect everything at the lowest total cost
Convex Hull
Find the tightest boundary around a set of points
Topological Sort
Put things in the right order when order matters
Red-Black Trees
Self-balancing BSTs that power your standard library
Rabin-Karp String Search
Rolling hashes for fast pattern matching
Easing Functions
The math behind smooth animations and natural motion
Malware Analysis
From a safe lab to unpacking and YARA rules — how analysts take hostile Windows and Linux programs apart to understand, detect and defend against them.
Building a Safe Malware Analysis Lab
Virtual machines, fake internets, snapshots and sample handling: the glovebox you build before you open anything hostile, for both Windows and Linux samples
Static Triage: Sizing Up a Sample Without Running It
Hashes, magic bytes, strings, entropy and packer tells: the ten-minute first look that tells you what a Windows or Linux file is, and how much of your time it deserves
The PE Format: Reading a Windows Executable Like an Analyst
DOS stub to overlay: the headers, sections, imports, exports, resources, signatures and TLS callbacks of a Windows program, and what each one gives away about a suspicious file
The ELF Format: Reading a Linux Executable Like an Analyst
ELF header to section table: the segments, sections, symbols, dynamic linking, PLT/GOT and constructors of a Linux program, and what each one gives away about a suspicious file
Disassembly: Reading Machine Code Like an Analyst
From raw bytes to readable functions: how disassemblers decode x86-64, the instructions and calling conventions you need to follow Windows and Linux code, and a workflow for finding what matters in a sample
Dynamic Analysis: Watching a Sample Run
Debuggers, breakpoints, single-stepping and call tracing on Windows and Linux: how analysts run a suspicious program under control inside the lab, what to watch while it runs, and how to make sense of what it does