<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>deep dives by maxkoretskyi</title><description>Applied AI engineering. In-depth explorations of software engineering, deep learning, and the technologies that power modern systems.</description><link>https://indepth.dev/</link><item><title>Connecting the dots: where hard work and dreams can lead you</title><link>https://indepth.dev/posts/2045/en/connecting-the-dots-where-hard-work-and-dreams-can-lead-you/</link><guid isPermaLink="true">https://indepth.dev/posts/2045/en/connecting-the-dots-where-hard-work-and-dreams-can-lead-you/</guid><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 — in two years of focused, relentless work.</description><pubDate>Tue, 08 Jan 2019 00:00:00 GMT</pubDate></item><item><title>Floats, bfloat, and how bits shape model memory</title><link>https://indepth.dev/posts/2025/en/floats-and-model-memory/</link><guid isPermaLink="true">https://indepth.dev/posts/2025/en/floats-and-model-memory/</guid><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.</description><pubDate>Fri, 08 May 2026 00:00:00 GMT</pubDate></item><item><title>Negative sampling and contrastive learning — from word2vec to CLIP</title><link>https://indepth.dev/posts/2055/en/negative-sampling-contrastive-learning/</link><guid isPermaLink="true">https://indepth.dev/posts/2055/en/negative-sampling-contrastive-learning/</guid><description>word2vec introduced negative sampling to make a million-class softmax tractable, but the same trick — pull paired things together, push random things apart — turned out to underpin CLIP, sentence encoders, RAG retrievers, recommendation systems, and RLHF reward models. We walk through how negative sampling actually works, why it works, and where it shows up across modern ML.</description><pubDate>Fri, 29 May 2026 00:00:00 GMT</pubDate></item><item><title>Word embeddings — word2vec and vectors that mean something</title><link>https://indepth.dev/posts/2043/en/word-embeddings-word2vec/</link><guid isPermaLink="true">https://indepth.dev/posts/2043/en/word-embeddings-word2vec/</guid><description>Before BERT, the breakthrough idea in NLP was that words could be represented as dense vectors where geometric relationships encode meaning. king − man + woman lands near queen. We walk through the distributional hypothesis, the inner workings of skip-gram and CBOW, explore the famous king–queen analogy, and see exactly where static word embeddings break — which is what motivates contextual models like BERT in the first place.</description><pubDate>Mon, 18 May 2026 00:00:00 GMT</pubDate></item><item><title>Anatomy of a developer-targeted supply chain attack</title><link>https://indepth.dev/posts/1017/en/anatomy-of-a-developer-targeted-supply-chain-attack/</link><guid isPermaLink="true">https://indepth.dev/posts/1017/en/anatomy-of-a-developer-targeted-supply-chain-attack/</guid><description>A technical breakdown of a real malicious project sent to a developer — five attack vectors hidden behind a polished Web3 codebase, triggered by npm install or opening the folder in VSCode.</description><pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Become a GIT pro by learning GIT architecture in 15 minutes</title><link>https://indepth.dev/posts/1002/en/become-a-git-pro-by-learning-git-architecture/</link><guid isPermaLink="true">https://indepth.dev/posts/1002/en/become-a-git-pro-by-learning-git-architecture/</guid><description>A step-by-step practical exercises that explore git internals</description><pubDate>Thu, 10 Apr 2025 00:00:00 GMT</pubDate></item><item><title>How binary arithmetic works: two&apos;s complement integers and IEEE-754 floats</title><link>https://indepth.dev/posts/2029/en/binary-arithmetic-integers-and-floats/</link><guid isPermaLink="true">https://indepth.dev/posts/2029/en/binary-arithmetic-integers-and-floats/</guid><description>How computers actually add, subtract, and multiply numbers at the bit level — the clean modular arithmetic of two&apos;s complement and the exponent-aligning, mantissa-rounding dance of IEEE-754 floats.</description><pubDate>Tue, 20 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Building Model Armor: multi-layer safety filtering for LLMs</title><link>https://indepth.dev/posts/2013/en/building-model-armor-multi-layer-llm-safety-filtering/</link><guid isPermaLink="true">https://indepth.dev/posts/2013/en/building-model-armor-multi-layer-llm-safety-filtering/</guid><description>A hands-on guide to building a multi-layer LLM safety system inspired by Google Model Armor — combining rule-based filters, classifiers, LLM judges, prompt rewriting, and output moderation into a single pipeline.</description><pubDate>Wed, 29 Apr 2026 00:00:00 GMT</pubDate></item><item><title>A deep-dive on how to assemble context for an LLM agent</title><link>https://indepth.dev/posts/2030/en/context-assembly-strategies/</link><guid isPermaLink="true">https://indepth.dev/posts/2030/en/context-assembly-strategies/</guid><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 — an agent framework that exposes those decisions as code.</description><pubDate>Tue, 05 May 2026 00:00:00 GMT</pubDate></item><item><title>The simple math behind decimal-binary conversion algorithms</title><link>https://indepth.dev/posts/1005/en/decimal-binary-conversion-algorithms/</link><guid isPermaLink="true">https://indepth.dev/posts/1005/en/decimal-binary-conversion-algorithms/</guid><description>How to convert from binary to decimal and back, and the math that explains why the algorithms work</description><pubDate>Sat, 20 Oct 2018 00:00:00 GMT</pubDate></item><item><title>Dijkstra was right — recursion should not be difficult</title><link>https://indepth.dev/posts/1003/en/dijkstra-was-right-recursion-should-not-be-difficult/</link><guid isPermaLink="true">https://indepth.dev/posts/1003/en/dijkstra-was-right-recursion-should-not-be-difficult/</guid><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.</description><pubDate>Wed, 12 Nov 2025 00:00:00 GMT</pubDate></item><item><title>The effect of hyperparameters on training</title><link>https://indepth.dev/posts/1012/en/effect-of-hyperparameters-on-training/</link><guid isPermaLink="true">https://indepth.dev/posts/1012/en/effect-of-hyperparameters-on-training/</guid><description>Changing one thing at a time — learning rate, batch size, network depth, activation functions — and seeing exactly how each piece affects training.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Offset binary vs two&apos;s complement: two ways to represent signed numbers</title><link>https://indepth.dev/posts/1007/en/exponent-bias-floating-point/</link><guid isPermaLink="true">https://indepth.dev/posts/1007/en/exponent-bias-floating-point/</guid><description>Understanding how offset binary (biased exponent) works, how it differs from two&apos;s complement, and why IEEE-754 uses it for floating-point exponents</description><pubDate>Tue, 25 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Gentle introduction into compilers. Part 1: Lexical analysis and Scanner</title><link>https://indepth.dev/posts/1023/en/gentle-introduction-into-compilers-lexical-analysis-scanner/</link><guid isPermaLink="true">https://indepth.dev/posts/1023/en/gentle-introduction-into-compilers-lexical-analysis-scanner/</guid><description>A guide to understanding ECMAScript (JavaScript) spec lexical grammar and TypeScript scanner</description><pubDate>Thu, 05 Sep 2024 00:00:00 GMT</pubDate></item><item><title>GPU overhead: why our MNIST model trains faster on CPU</title><link>https://indepth.dev/posts/2006/en/gpu-overhead-why-mnist-trains-faster-on-cpu/</link><guid isPermaLink="true">https://indepth.dev/posts/2006/en/gpu-overhead-why-mnist-trains-faster-on-cpu/</guid><description>We profiled our MNIST training and found the GPU spends 99% of its time on overhead. Here is why small models can not saturate modern GPUs, and how we got a 45x speedup by reducing overhead instead of upgrading hardware.</description><pubDate>Sun, 05 Apr 2026 00:00:00 GMT</pubDate></item><item><title>How JavaScript&apos;s Number and Python&apos;s float store numbers</title><link>https://indepth.dev/posts/2026/en/how-floats-work-javascript-and-python/</link><guid isPermaLink="true">https://indepth.dev/posts/2026/en/how-floats-work-javascript-and-python/</guid><description>Same 64 bits, same quirks: why 0.1 + 0.2 isn&apos;t 0.3 in either language, where the safe-integer boundary comes from, and how language wrappers diverge on top of an identical float.</description><pubDate>Sat, 15 Feb 2025 00:00:00 GMT</pubDate></item><item><title>How neural networks learn: deep dive into backpropagation and gradient descent</title><link>https://indepth.dev/posts/1001/en/how-neural-networks-learn-backpropagation-gradient-descent/</link><guid isPermaLink="true">https://indepth.dev/posts/1001/en/how-neural-networks-learn-backpropagation-gradient-descent/</guid><description>A hands-on guide to understanding gradient descent and backpropagation — the core algorithms behind training neural networks.</description><pubDate>Wed, 18 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Async/await for containers: how Trigger.dev suspends and resumes running tasks</title><link>https://indepth.dev/posts/1020/en/how-trigger-dev-checkpoints-containers/</link><guid isPermaLink="true">https://indepth.dev/posts/1020/en/how-trigger-dev-checkpoints-containers/</guid><description>A deep dive into how Trigger.dev uses CRIU, Docker, and Buildah to snapshot running containers at await points — suspending compute billing and resuming execution hours later from the exact same memory state.</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Level Up Your Reverse Engineering Skills</title><link>https://indepth.dev/posts/1022/en/level-up-reverse-engineering-skills/</link><guid isPermaLink="true">https://indepth.dev/posts/1022/en/level-up-reverse-engineering-skills/</guid><description>Guidelines and principles from a developer who reverse-engineered modern web frameworks</description><pubDate>Fri, 20 Jun 2025 00:00:00 GMT</pubDate></item><item><title>How to round binary numbers</title><link>https://indepth.dev/posts/1006/en/rounding-binary-numbers/</link><guid isPermaLink="true">https://indepth.dev/posts/1006/en/rounding-binary-numbers/</guid><description>Understanding the rules behind rounding binary fractions, explained with visual number line diagrams</description><pubDate>Mon, 12 Nov 2018 00:00:00 GMT</pubDate></item><item><title>Securing a web app you don&apos;t fully understand</title><link>https://indepth.dev/posts/2028/en/securing-a-web-app-you-dont-fully-understand/</link><guid isPermaLink="true">https://indepth.dev/posts/2028/en/securing-a-web-app-you-dont-fully-understand/</guid><description>A layered, practical playbook for hardening a web app whose internals you cannot or will not fully audit — covering secret scanning, edge filtering with a WAF, bot protection, dependency scanning with OSV-Scanner, SAST, and DAST.</description><pubDate>Mon, 27 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Signals in Angular: deep dive for busy developers</title><link>https://indepth.dev/posts/1004/en/signals-in-angular-deep-dive-for-busy-developers/</link><guid isPermaLink="true">https://indepth.dev/posts/1004/en/signals-in-angular-deep-dive-for-busy-developers/</guid><description>A comprehensive deep dive into Angular signals internals: reactive context, dependency graph, two-phase updates, change detection integration, and effects</description><pubDate>Tue, 06 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Training a real network on MNIST</title><link>https://indepth.dev/posts/1008/en/training-and-experimenting-with-mnist/</link><guid isPermaLink="true">https://indepth.dev/posts/1008/en/training-and-experimenting-with-mnist/</guid><description>Putting backpropagation, gradient descent, and every concept from the previous article into practice — building and training a real neural network on handwritten digits.</description><pubDate>Thu, 26 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Understanding CNNs — convolutions, feature maps, and pooling</title><link>https://indepth.dev/posts/2007/en/understanding-cnns-convolutions-feature-maps-pooling/</link><guid isPermaLink="true">https://indepth.dev/posts/2007/en/understanding-cnns-convolutions-feature-maps-pooling/</guid><description>What convolutions actually compute, how feature maps capture patterns, and why pooling shrinks the representation — explained visually with interactive demos.</description><pubDate>Tue, 14 Apr 2026 00:00:00 GMT</pubDate></item></channel></rss>