{"@attributes":{"version":"2.0"},"channel":{"title":"deep dives by maxkoretskyi","description":"Applied AI engineering. In-depth explorations of software engineering, deep learning, and the technologies that power modern systems.","link":"https:\/\/indepth.dev\/","item":[{"title":"How to build a decision tree classifier from scratch","link":"https:\/\/indepth.dev\/posts\/2098\/en\/build-a-decision-tree-classifier-from-scratch\/","guid":"https:\/\/indepth.dev\/posts\/2098\/en\/build-a-decision-tree-classifier-from-scratch\/","description":"Build a decision tree classifier in pure Python. Work through Gini impurity, split scoring, recursion, and leaf predictions on five rows, then examine overfitting and implementation limits.","pubDate":"Mon, 03 Aug 2026 00:00:00 GMT"},{"title":"How to build a decision tree regressor from scratch","link":"https:\/\/indepth.dev\/posts\/2107\/en\/build-a-decision-tree-regressor-from-scratch\/","guid":"https:\/\/indepth.dev\/posts\/2107\/en\/build-a-decision-tree-regressor-from-scratch\/","description":"We adapt our CART classifier into a regression tree, score every possible split on five baseball players, and see why tree-based models struggle to extrapolate beyond their training data.","pubDate":"Fri, 04 Sep 2026 00:00:00 GMT"},{"title":"Connecting the dots: where hard work and dreams can lead you","link":"https:\/\/indepth.dev\/posts\/2045\/en\/connecting-the-dots-where-hard-work-and-dreams-can-lead-you\/","guid":"https:\/\/indepth.dev\/posts\/2045\/en\/connecting-the-dots-where-hard-work-and-dreams-can-lead-you\/","description":"How I went from being ready to quit tech to becoming a developer advocate, conference speaker, and founder of the largest Angular publication online \u2014 in two years of focused, relentless work.","pubDate":"Tue, 08 Jan 2019 00:00:00 GMT"},{"title":"Feature detectors: how neurons read and write","link":"https:\/\/indepth.dev\/posts\/2130\/en\/feature-detectors-how-neurons-read-and-write\/","guid":"https:\/\/indepth.dev\/posts\/2130\/en\/feature-detectors-how-neurons-read-and-write\/","description":"Follow a small classifier from word counts to feature detectors, layer activations, and a classification score, and see how incoming and outgoing weights shape each neuron\u2019s role.","pubDate":"Thu, 12 Nov 2026 00:00:00 GMT"},{"title":"Floats, bfloat, and how bits shape model memory","link":"https:\/\/indepth.dev\/posts\/2025\/en\/floats-and-model-memory\/","guid":"https:\/\/indepth.dev\/posts\/2025\/en\/floats-and-model-memory\/","description":"How IEEE-754 bit layouts decide what a model weighs in VRAM, why fp16 and bf16 are not the same format at half the size, and where quantization continues the same idea.","pubDate":"Fri, 08 May 2026 00:00:00 GMT"},{"title":"From derivatives to backpropagation: the theory behind Micrograd","link":"https:\/\/indepth.dev\/posts\/2124\/en\/from-derivatives-to-backpropagation\/","guid":"https:\/\/indepth.dev\/posts\/2124\/en\/from-derivatives-to-backpropagation\/","description":"Understand derivatives, partial derivatives, and gradients, then follow how the chain rule becomes backpropagation through a computation graph.","pubDate":"Thu, 15 Oct 2026 00:00:00 GMT"},{"title":"How neurons became linear algebra","link":"https:\/\/indepth.dev\/posts\/2119\/en\/how-neurons-became-linear-algebra\/","guid":"https:\/\/indepth.dev\/posts\/2119\/en\/how-neurons-became-linear-algebra\/","description":"How neural networks moved from logic to statistics and geometry, and how linear algebra became their shared language in research, textbooks, and software.","pubDate":"Mon, 05 Oct 2026 00:00:00 GMT"},{"title":"Inside an attention head: from embeddings to next-token predictions","link":"https:\/\/indepth.dev\/posts\/2142\/en\/inside-an-attention-head-from-embeddings-to-next-token-predictions\/","guid":"https:\/\/indepth.dev\/posts\/2142\/en\/inside-an-attention-head-from-embeddings-to-next-token-predictions\/","description":"A worked skip-trigram example showing how queries, keys, and values let an attention head contribute to a prediction.","pubDate":"Thu, 26 Nov 2026 00:00:00 GMT"},{"title":"Negative sampling and contrastive learning \u2014 from word2vec to CLIP","link":"https:\/\/indepth.dev\/posts\/2055\/en\/negative-sampling-contrastive-learning\/","guid":"https:\/\/indepth.dev\/posts\/2055\/en\/negative-sampling-contrastive-learning\/","description":"How word2vec negative sampling changes the training objective, how to implement its gradients correctly, and how it differs from in-batch softmax contrastive learning in CLIP.","pubDate":"Fri, 29 May 2026 00:00:00 GMT"},{"title":"Understanding residual connections: identity and learned updates","link":"https:\/\/indepth.dev\/posts\/2145\/en\/understanding-residual-connections-identity-and-learned-updates\/","guid":"https:\/\/indepth.dev\/posts\/2145\/en\/understanding-residual-connections-identity-and-learned-updates\/","description":"A fresh exploration of residual connections, identity mappings, and learned updates.","pubDate":"Thu, 19 Nov 2026 00:00:00 GMT"},{"title":"What a weight matrix does and why we need nonlinearity","link":"https:\/\/indepth.dev\/posts\/2109\/en\/what-a-weight-matrix-actually-does\/","guid":"https:\/\/indepth.dev\/posts\/2109\/en\/what-a-weight-matrix-actually-does\/","description":"See how weight matrices transform vectors, why stacking linear layers cannot solve XOR, and how ReLU creates a representation a linear classifier can separate.","pubDate":"Thu, 17 Sep 2026 00:00:00 GMT"},{"title":"Vector decomposition and subspaces: what a matrix reads and erases","link":"https:\/\/indepth.dev\/posts\/2113\/en\/where-subspaces-live-in-deep-learning\/","guid":"https:\/\/indepth.dev\/posts\/2113\/en\/where-subspaces-live-in-deep-learning\/","description":"Explore null space, row space, column space, and left null space with interactive diagrams. Understand vector decomposition and the directions a matrix reads and erases.","pubDate":"Thu, 08 Oct 2026 00:00:00 GMT"},{"title":"Word embeddings \u2014 word2vec and vectors that mean something","link":"https:\/\/indepth.dev\/posts\/2043\/en\/word-embeddings-word2vec\/","guid":"https:\/\/indepth.dev\/posts\/2043\/en\/word-embeddings-word2vec\/","description":"From shared word contexts and co-occurrence vectors to word2vec: embedding lookups, dot-product scores, softmax gradients, and CBOW. Includes interactive examples and the limits of distributional similarity and static embeddings.","pubDate":"Mon, 18 May 2026 00:00:00 GMT"},{"title":"Anatomy of a developer-targeted supply chain attack","link":"https:\/\/indepth.dev\/posts\/1017\/en\/anatomy-of-a-developer-targeted-supply-chain-attack\/","guid":"https:\/\/indepth.dev\/posts\/1017\/en\/anatomy-of-a-developer-targeted-supply-chain-attack\/","description":"A technical analysis of malicious editor tasks and npm hooks in a Web3 project, used to exfiltrate environment variables and execute remote code.","pubDate":"Tue, 24 Mar 2026 00:00:00 GMT"},{"title":"Become a GIT pro by learning GIT architecture in 15 minutes","link":"https:\/\/indepth.dev\/posts\/1002\/en\/become-a-git-pro-by-learning-git-architecture\/","guid":"https:\/\/indepth.dev\/posts\/1002\/en\/become-a-git-pro-by-learning-git-architecture\/","description":"Step-by-step practical exercises that explore git internals","pubDate":"Thu, 10 Apr 2025 00:00:00 GMT"},{"title":"How binary arithmetic works: two's complement integers and IEEE-754 floats","link":"https:\/\/indepth.dev\/posts\/2029\/en\/binary-arithmetic-integers-and-floats\/","guid":"https:\/\/indepth.dev\/posts\/2029\/en\/binary-arithmetic-integers-and-floats\/","description":"How computers actually add, subtract, and multiply numbers at the bit level \u2014 the clean modular arithmetic of two's complement and the exponent-aligning, mantissa-rounding dance of IEEE-754 floats.","pubDate":"Tue, 20 Jan 2026 00:00:00 GMT"},{"title":"Building Model Armor: multi-layer safety filtering for LLMs","link":"https:\/\/indepth.dev\/posts\/2013\/en\/building-model-armor-multi-layer-llm-safety-filtering\/","guid":"https:\/\/indepth.dev\/posts\/2013\/en\/building-model-armor-multi-layer-llm-safety-filtering\/","description":"A hands-on guide to building a multi-layer LLM safety system inspired by Google Model Armor \u2014 combining rule-based filters, classifiers, LLM judges, prompt rewriting, and output moderation into a single pipeline.","pubDate":"Wed, 29 Apr 2026 00:00:00 GMT"},{"title":"A deep-dive on how to assemble context for an LLM agent","link":"https:\/\/indepth.dev\/posts\/2030\/en\/context-assembly-strategies\/","guid":"https:\/\/indepth.dev\/posts\/2030\/en\/context-assembly-strategies\/","description":"Every LLM agent makes invisible decisions about what to send the model each turn. We compare context-assembly strategies on a real bug-fix task, using pi \u2014 an agent framework that exposes those decisions as code.","pubDate":"Tue, 05 May 2026 00:00:00 GMT"},{"title":"The simple math behind decimal-binary conversion algorithms","link":"https:\/\/indepth.dev\/posts\/1005\/en\/decimal-binary-conversion-algorithms\/","guid":"https:\/\/indepth.dev\/posts\/1005\/en\/decimal-binary-conversion-algorithms\/","description":"How to convert from binary to decimal and back, and the math that explains why the algorithms work","pubDate":"Sat, 20 Oct 2018 00:00:00 GMT"},{"title":"Dijkstra was right \u2014 recursion should not be difficult","link":"https:\/\/indepth.dev\/posts\/1003\/en\/dijkstra-was-right-recursion-should-not-be-difficult\/","guid":"https:\/\/indepth.dev\/posts\/1003\/en\/dijkstra-was-right-recursion-should-not-be-difficult\/","description":"Recursion is one of the most important ideas in computer science. This article introduces topics and ideas that will help you when practicing recursive problems.","pubDate":"Wed, 12 Nov 2025 00:00:00 GMT"},{"title":"The effect of hyperparameters on training","link":"https:\/\/indepth.dev\/posts\/1012\/en\/effect-of-hyperparameters-on-training\/","guid":"https:\/\/indepth.dev\/posts\/1012\/en\/effect-of-hyperparameters-on-training\/","description":"Changing one thing at a time \u2014 learning rate, batch size, network depth, activation functions \u2014 and seeing exactly how each piece affects training.","pubDate":"Thu, 02 Apr 2026 00:00:00 GMT"},{"title":"Offset binary vs two's complement: two ways to represent signed numbers","link":"https:\/\/indepth.dev\/posts\/1007\/en\/exponent-bias-floating-point\/","guid":"https:\/\/indepth.dev\/posts\/1007\/en\/exponent-bias-floating-point\/","description":"Understanding how offset binary (biased exponent) works, how it differs from two's complement, and why IEEE-754 uses it for floating-point exponents","pubDate":"Tue, 25 Nov 2025 00:00:00 GMT"},{"title":"Gentle introduction into compilers. Part 1: Lexical analysis and Scanner","link":"https:\/\/indepth.dev\/posts\/1023\/en\/gentle-introduction-into-compilers-lexical-analysis-scanner\/","guid":"https:\/\/indepth.dev\/posts\/1023\/en\/gentle-introduction-into-compilers-lexical-analysis-scanner\/","description":"A guide to understanding ECMAScript (JavaScript) spec lexical grammar and TypeScript scanner","pubDate":"Thu, 05 Sep 2024 00:00:00 GMT"},{"title":"GPU overhead: why our MNIST model trains faster on CPU","link":"https:\/\/indepth.dev\/posts\/2006\/en\/gpu-overhead-why-mnist-trains-faster-on-cpu\/","guid":"https:\/\/indepth.dev\/posts\/2006\/en\/gpu-overhead-why-mnist-trains-faster-on-cpu\/","description":"Comparing CPU and GPU training for a small MNIST model: dispatch overhead, batch size, compiled loops, and the limits of our benchmark results.","pubDate":"Sun, 05 Apr 2026 00:00:00 GMT"},{"title":"How JavaScript's Number and Python's float store numbers","link":"https:\/\/indepth.dev\/posts\/2026\/en\/how-floats-work-javascript-and-python\/","guid":"https:\/\/indepth.dev\/posts\/2026\/en\/how-floats-work-javascript-and-python\/","description":"Same 64 bits, same quirks: why 0.1 + 0.2 isn't 0.3 in either language, where the safe-integer boundary comes from, and how language wrappers diverge on top of an identical float.","pubDate":"Sat, 15 Feb 2025 00:00:00 GMT"},{"title":"How neural networks learn: backpropagation and gradient descent","link":"https:\/\/indepth.dev\/posts\/1001\/en\/how-neural-networks-learn-backpropagation-gradient-descent\/","guid":"https:\/\/indepth.dev\/posts\/1001\/en\/how-neural-networks-learn-backpropagation-gradient-descent\/","description":"A hands-on guide to understanding gradient descent and backpropagation \u2014 the core algorithms behind training neural networks.","pubDate":"Wed, 18 Mar 2026 00:00:00 GMT"},{"title":"Async\/await for containers: how Trigger.dev suspends and resumes running tasks","link":"https:\/\/indepth.dev\/posts\/1020\/en\/how-trigger-dev-checkpoints-containers\/","guid":"https:\/\/indepth.dev\/posts\/1020\/en\/how-trigger-dev-checkpoints-containers\/","description":"A deep dive into how Trigger.dev uses CRIU, Docker, and Buildah to snapshot running containers at await points \u2014 suspending compute billing and resuming execution hours later from the exact same memory state.","pubDate":"Sat, 28 Mar 2026 00:00:00 GMT"},{"title":"Level up your reverse engineering skills","link":"https:\/\/indepth.dev\/posts\/1022\/en\/level-up-reverse-engineering-skills\/","guid":"https:\/\/indepth.dev\/posts\/1022\/en\/level-up-reverse-engineering-skills\/","description":"Guidelines and principles from a developer who reverse-engineered modern web frameworks","pubDate":"Fri, 20 Jun 2025 00:00:00 GMT"},{"title":"How to round binary numbers","link":"https:\/\/indepth.dev\/posts\/1006\/en\/rounding-binary-numbers\/","guid":"https:\/\/indepth.dev\/posts\/1006\/en\/rounding-binary-numbers\/","description":"Understanding the rules behind rounding binary fractions, explained with visual number line diagrams","pubDate":"Mon, 12 Nov 2018 00:00:00 GMT"},{"title":"Securing a web app you don't fully understand","link":"https:\/\/indepth.dev\/posts\/2028\/en\/securing-a-web-app-you-dont-fully-understand\/","guid":"https:\/\/indepth.dev\/posts\/2028\/en\/securing-a-web-app-you-dont-fully-understand\/","description":"A layered, practical playbook for hardening a web app whose internals you cannot or will not fully audit \u2014 covering secret scanning, edge filtering with a WAF, bot protection, dependency scanning with OSV-Scanner, SAST, and DAST.","pubDate":"Mon, 27 Apr 2026 00:00:00 GMT"},{"title":"Signals in Angular: deep dive for busy developers","link":"https:\/\/indepth.dev\/posts\/1004\/en\/signals-in-angular-deep-dive-for-busy-developers\/","guid":"https:\/\/indepth.dev\/posts\/1004\/en\/signals-in-angular-deep-dive-for-busy-developers\/","description":"A comprehensive deep dive into Angular signals internals: reactive context, dependency graph, two-phase updates, change detection integration, and effects","pubDate":"Tue, 06 Aug 2024 00:00:00 GMT"},{"title":"Training a real network on MNIST","link":"https:\/\/indepth.dev\/posts\/1008\/en\/training-and-experimenting-with-mnist\/","guid":"https:\/\/indepth.dev\/posts\/1008\/en\/training-and-experimenting-with-mnist\/","description":"Putting backpropagation, gradient descent, and every concept from the previous article into practice \u2014 building and training a real neural network on handwritten digits.","pubDate":"Thu, 26 Mar 2026 00:00:00 GMT"},{"title":"Understanding CNNs \u2014 convolutions, feature maps, and pooling","link":"https:\/\/indepth.dev\/posts\/2007\/en\/understanding-cnns-convolutions-feature-maps-pooling\/","guid":"https:\/\/indepth.dev\/posts\/2007\/en\/understanding-cnns-convolutions-feature-maps-pooling\/","description":"What convolutions actually compute, how feature maps capture patterns, and why pooling shrinks the representation \u2014 explained visually with interactive demos.","pubDate":"Tue, 14 Apr 2026 00:00:00 GMT"}]}}