Notes

Notes Section

Short, practical references I keep for myself: setup steps, code snippets, and the sharp edges I hit so I don’t hit them twice.

Notes · Jul 28, 2026 · 28 min
Predicting the Next Word with a PyTorch LSTM
Build a small causal next-word model, inspect every LSTM state and tensor shape, train it in PyTorch, and understand why bidirectional LSTMs do not fit this training objective.
Notes · Jul 28, 2026 · 22 min
Classifying English Sentences with a PyTorch RNN
Build a small positive-or-negative sentence classifier, follow every tensor through tokenization, embeddings, recurrent memory, and the classifier, then train and evaluate it in PyTorch.
Notes · Jul 26, 2026 · 14 min
Classifying Sine Waves with a Simple RNN from Scratch in PyTorch
A small, visual introduction to recurrent neural networks: generate slow and fast sine waves, follow every tensor shape through a hand-built RNN, train it with backpropagation through time, and evaluate it.
Notes · Jul 21, 2026 · 11 min
Configuration in Docker and Kubernetes: Environment Variables, ConfigMaps, and Secrets
How Docker and Kubernetes keep configuration out of the image, the two ways config and secrets reach a container, why files update live but environment variables do not, and how to actually secure Secrets.
Notes · Jul 20, 2026 · 13 min
Storage in Docker and Kubernetes: Volumes, Persistent Storage, and Distributed Systems
How Docker keeps container data on one machine, how Kubernetes provides persistent and distributed storage across a cluster, and how to choose the right option for databases and machine learning.
Notes · Jul 20, 2026 · 18 min
Docker and Kubernetes Under the Hood: Architecture, Networking, and How They Compare
How Docker builds containers from Linux features, how Kubernetes runs them across many machines, and how the two fit together.
Notes · Jul 19, 2026 · 11 min
Raft: The Consensus Algorithm Behind etcd and Kubernetes
How Raft keeps a group of computers in agreement: leader election, log replication, and its role inside etcd and Kubernetes.
Notes · Sep 9, 2025 · 7 min
FastAPI: Building Modern APIs with Python
FastAPI essentials: routing, validation, and building a clean modern API in Python.
Notes · Aug 24, 2025 · 6 min
ChromaDB: Open-Source Vector Database
A working reference for ChromaDB: collections, queries, filters, and persistence.
Notes · Aug 19, 2025 · 10 min
Faiss: Efficient Vector Similarity Search
A working reference for Faiss: index types, trade-offs, and the code to use them.