<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Yevelations 17:38]]></title><description><![CDATA[A Delightfully Deranged Diary™ focusing on original thoughts about ML (AI) from a 3x (successful) founder and ex-E9 / Distinguished Engineer with 15+ years spent on ML research and engineering. Latest startup -> https://yev.ai]]></description><link>https://www.yevelations.com</link><image><url>https://substackcdn.com/image/fetch/$s_!PzDV!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff64ef406-26e7-4acb-aa80-c819b106c089_815x815.png</url><title>Yevelations 17:38</title><link>https://www.yevelations.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 20 May 2026 04:17:42 GMT</lastBuildDate><atom:link href="https://www.yevelations.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Yevgen Reztsov]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[yevelations@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[yevelations@substack.com]]></itunes:email><itunes:name><![CDATA[Yevgen Reztsov]]></itunes:name></itunes:owner><itunes:author><![CDATA[Yevgen Reztsov]]></itunes:author><googleplay:owner><![CDATA[yevelations@substack.com]]></googleplay:owner><googleplay:email><![CDATA[yevelations@substack.com]]></googleplay:email><googleplay:author><![CDATA[Yevgen Reztsov]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Dev From Scratch: 9/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-9n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-9n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Sun, 03 May 2026 11:29:37 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Qjd3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As of 04/25/2026, Qwen 3.6 is the best 20B+ param LM code harness model runnable on a 5090 by such a wide margin that we will skip the rest. Courtesy of yours truly, this gets you aggregate ~750 <em>(180+ single request)</em> TPS and a 720K* token context window.</p><p><em>* AGGREGATE. </em>You can extend single windows past 262K native via <a href="https://arxiv.org/pdf/2309.00071">YaRN</a> but don&#8217;t. If this is your first time not using APIs, hi! 750 TPS is about 500-600 words per second.</p><p><a href="https://www.yevelations.com/p/dev-from-scratch-8n">Link to previous chapter</a> | Link to next chapter (WIP) | <a href="https://github.com/NotYevvie/OnlyLocals">Link to companion GitHub repo</a>.</p><p><em>Your env/hardware should reflect what&#8217;s been set up in the series, <a href="https://www.yevelations.com/p/dev-from-scratch-5n">especially Chapter 5</a>.</em></p><h1>Definition: &#8220;such a wide margin&#8221;</h1><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NcKu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NcKu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 424w, https://substackcdn.com/image/fetch/$s_!NcKu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 848w, https://substackcdn.com/image/fetch/$s_!NcKu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 1272w, https://substackcdn.com/image/fetch/$s_!NcKu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NcKu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png" width="1456" height="289" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:289,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:149244,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NcKu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 424w, https://substackcdn.com/image/fetch/$s_!NcKu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 848w, https://substackcdn.com/image/fetch/$s_!NcKu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 1272w, https://substackcdn.com/image/fetch/$s_!NcKu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F687cd95c-876b-492a-af9e-6391ce3a79d6_1681x334.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>If you told someone in Q4 2025 that a model with the below specs would be open sourced in the next 6 months, they&#8217;d laugh at you. If you told them that it would also be under 300B parameters they&#8217;d cry for you. <em>More on time machines in later sections.</em></p><p>Qwen 3.6 27B dense TL;DR:</p><ul><li><p>Destroys the Qwen 3.5 <strong>397B</strong>-A17B, which was no slouch, on most benchmarks.</p></li><li><p>262k native context with a KV cache memory footprint smaller than your car keys.</p></li><li><p>SWE-bench Pro: <strong>53.5</strong> vs Google&#8217;s recent &#8220;SoTA&#8221; Gemma 4&#8217;s <strong>35.7</strong></p></li><li><p>SWE-bench Verified: <strong>77.2</strong> vs Google&#8217;s recent &#8220;SoTA&#8221; Gemma 4&#8217;s <strong>52.0</strong></p></li><li><p>Terminal-Bench 2.0: <strong>59.3</strong> vs Google&#8217;s recent &#8220;SoTA&#8221; Gemma 4&#8217;s <strong>42.9</strong></p></li><li><p>Claw-Eval (lmao) Avg: <strong>72.4</strong> vs Google&#8217;s recent &#8220;SoTA&#8221; Gemma 4&#8217;s <strong>48.5</strong></p></li></ul><p><em>And</em> it&#8217;s 12% smaller than Gemma 4 31B, which does matter when you&#8217;re VRAM poor.</p><p>35B-A3B TL;DR: is a 3B active <strong>sparse model</strong> that beats Gemma 4 31B dense on coding benchmarks <strong>while also being around 6-9x faster</strong> for inference on a 5090. The 3.6 27B dense absolutely destroys the Gemma 4 31B dense, which is a fairer comparison.</p><p>If you&#8217;re on a 5090 and have other models in /hub/, rm -rf that because the 35-A3B beats Opus 4.7 &#8230;is what you&#8217;d read on LinkedIn &#129313;. Okay it does, <a href="https://news.ycombinator.com/item?id=47796830">but A FLAMINGO</a>? Nah. It <em><strong>unironically trades blows with Sonnet 4.5</strong> </em>though. Lots of threads like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Qjd3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Qjd3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 424w, https://substackcdn.com/image/fetch/$s_!Qjd3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 848w, https://substackcdn.com/image/fetch/$s_!Qjd3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 1272w, https://substackcdn.com/image/fetch/$s_!Qjd3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Qjd3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png" width="1112" height="729" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:729,&quot;width&quot;:1112,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:97407,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Qjd3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 424w, https://substackcdn.com/image/fetch/$s_!Qjd3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 848w, https://substackcdn.com/image/fetch/$s_!Qjd3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 1272w, https://substackcdn.com/image/fetch/$s_!Qjd3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db9a4b-c7ef-4855-8ca6-f0da6ba7ca7b_1112x729.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And we&#8217;re about a spin up a cracked version of it on a cracked vLLM image. Strap in.</p><h1>Prerequisites</h1><p>Install <a href="https://www.nvidia.com/en-us/drivers/details/267256/">596.36+ Nvidia drivers</a> or higher <strong>on the host</strong> and CUDA 13.2+ <strong>in WSL</strong>. Run:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;shell&quot;,&quot;nodeId&quot;:null}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-shell"># Before anything, kick this off in a separate terminal window because it takes a while:
docker pull yevai/local-inference-qwen36:sm120-cu132-v4
# - Bleeding edge(lord) private fork of torch@2.13.0.dev20260502+cu132 with extra goodies
# - My startup's vllm@0.0.0+sm120.custom.cu132 private fork with a few goodies left out
# - I didn't do anything for this except build from main: llmcompressor@0.10.1.dev127+g76b28ce7
# - flashinfer@0.6.10rc1 with a few bug fixes / perf improvements. Their code is getting good.

# Also kick these off in separate terminal window(s):
hf download sakamakismile/Huihui-Qwen3.6-35B-A3B-Claude-4.7-Opus-abliterated-NVFP4
hf download sakamakismile/Qwen3.6-27B-Text-NVFP4-MTP
# * PREVIOUS CHAPTERS! hf is aliased to huggingface-cli

# Pull down the latest version of the companion repo and check that all is well:
cd docs/chapter-09
chmod +x wsl-cuda-upgrade.sh
./wsl-cuda-upgrade.sh #Idempotent #FYP

# The explanation to this one is that I love you and you're awesome.
mkdir -p "${HOME}/.cache/vllm"</code></pre></div><h1>Configurations</h1><p>Swarm vs hive use cases have been beaten to death to such an extent that even some of the <strong>LinkedIn</strong> <strong>A</strong><s>rmchair</s><strong>I</strong> <strong>Experts&#8482;</strong> are starting to get it right so we&#8217;ll let that one sit.</p><p>If the 35B-A3B can&#8217;t cut it, swap in the 27B. I decided to post this before I unf*cked my <a href="https://arxiv.org/pdf/2602.06036">DFlash speculative decoder</a> for the 27B so it&#8217;s quality but much slower. My speculative decoder game is rusty. The last time I was good at autoregressive drafters was <a href="https://www.sully.ai/">Sully AI</a> and that got them 1,000+ TPS per user on a 400B model for ~30x cheaper than APIs. Last time I was good at block/parallel drafters was never so it&#8217;s a learning experience.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zxP8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zxP8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 424w, https://substackcdn.com/image/fetch/$s_!zxP8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 848w, https://substackcdn.com/image/fetch/$s_!zxP8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 1272w, https://substackcdn.com/image/fetch/$s_!zxP8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zxP8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png" width="599" height="104" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:104,&quot;width&quot;:599,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22168,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zxP8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 424w, https://substackcdn.com/image/fetch/$s_!zxP8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 848w, https://substackcdn.com/image/fetch/$s_!zxP8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 1272w, https://substackcdn.com/image/fetch/$s_!zxP8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59821b9e-ed16-42d2-a99d-9d2651ec4152_599x104.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>When these start up, try &#8220;./docs/chapter-09/fluffer.sh&#8221;<em> </em>to get them in the mood. If you don&#8217;t have the .env file, see <a href="https://www.yevelations.com/i/184396615/getting-started">&#8220;Getting Started&#8221; / setup.sh in Chapter 5.</a> If you noticed vLLM spinning up with, say, ~300K more context capacity than you&#8217;d expect a model of this size and KV cache arch to have on 32GB of VRAM, no that is not a coincidence.</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:null}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext"># DX QOL utils
cd docs/chapter-09
chmod +x run.sh

# See available options
./run.sh

# Tail inference container logs
./run.sh logs

# Get container status as JSON
./run.sh status

# Open interactive GPU perf monitor
./run.sh perf

# Stop + remove all shared containers
./run.sh purge</code></pre></div><h2>Qwen 3.6 A3B Swarm</h2><p>700+ TPS across five 131k windows for you! Swarms are a crowd favorite for codebase modernization, package upgrades, wide-sweep refactors, and most other daily tasks.</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;f3a646f6-9f20-4eea-96cc-7f118be8d182&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">cd docs/chapter-09 &amp;&amp; ./run.sh start:swarm-only
# Tail logs
cd docs/chapter-09 &amp;&amp; ./run.sh logs
# Inference AND indexing. The only way you'll have the VRAM for this is if you implemented
# the previous chapter and your only video output is from the motherboard's thunderbolt.
cd docs/chapter-09 &amp;&amp; ./run.sh start:swarm</code></pre></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wg90!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wg90!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 424w, https://substackcdn.com/image/fetch/$s_!wg90!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 848w, https://substackcdn.com/image/fetch/$s_!wg90!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 1272w, https://substackcdn.com/image/fetch/$s_!wg90!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wg90!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png" width="1363" height="526" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:526,&quot;width&quot;:1363,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:91693,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wg90!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 424w, https://substackcdn.com/image/fetch/$s_!wg90!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 848w, https://substackcdn.com/image/fetch/$s_!wg90!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 1272w, https://substackcdn.com/image/fetch/$s_!wg90!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2ca9a100-54bf-42a6-a4b0-f000f65c2d72_1363x526.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Aggregate: 650k context window, 700+ TPS, ~105ms TTFT, and ~5.5ms TTSF</figcaption></figure></div><p>0.89 only allows for a KV cache of 566k tokens, which is a maximum of 4.32x requests, but LM code harness swarms are guaranteed to have extensive shared caching (initial system prompts, etc). The odds of all 5 requesting unique 131k contexts are <em><strong>very </strong></em>low.</p><h2>Qwen 3.6 A3B Hive</h2><p>450+ TPS across three 262k windows on this one. Most hive use cases are slightly above this model&#8217;s weight class so I didn&#8217;t spend much time optimizing this one.</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;93cdffee-5788-418e-a243-acdd0bf77d14&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash">cd docs/chapter-09 &amp;&amp; ./run.sh start:hive-only
# Tail logs
cd docs/chapter-09 &amp;&amp; ./run.sh logs
# Inference AND indexing. The only way you'll have the VRAM for this is if you implemented
# the previous chapter and your only video output is from the motherboard's thunderbolt.
cd docs/chapter-09 &amp;&amp; ./run.sh start:hive</code></pre></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9urq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9urq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 424w, https://substackcdn.com/image/fetch/$s_!9urq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 848w, https://substackcdn.com/image/fetch/$s_!9urq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 1272w, https://substackcdn.com/image/fetch/$s_!9urq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!9urq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png" width="1356" height="526" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:526,&quot;width&quot;:1356,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:92212,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!9urq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 424w, https://substackcdn.com/image/fetch/$s_!9urq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 848w, https://substackcdn.com/image/fetch/$s_!9urq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 1272w, https://substackcdn.com/image/fetch/$s_!9urq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff6ed3823-9006-4393-bed4-10fb05eb851e_1356x526.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">455 TPS, ~95ms TTFT, ~7ms TTSF, and 6.7ms ITL with reasonable jitter</figcaption></figure></div><p>0.93 only allows for a KV cache of 723k tokens, which is a maximum of 2.76x requests, but LM code harness hives where 1 hub drives &gt;3 spokes while thread-swapping with one tend to have even higher shared cache guarantees than most swarm topologies.</p><h2>Qwen 3.6 A3B Assistant</h2><p>185+ TPS with 90ms TTFT single request. Use this if you downloaded the prerequisites above, went back to 2023 in your time machine, and wiped your memory of the future.</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:&quot;a858325e-8891-429f-b15e-ced52bff8a4c&quot;}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash"># Not recommended unless you're bringing your own code indexing!
cd docs/chapter-09 &amp;&amp; ./run.sh start:assistant-only
# Tail logs
cd docs/chapter-09 &amp;&amp; ./run.sh logs
# You have enough VRAM for this and then some! I recommend this one.
cd docs/chapter-09 &amp;&amp; ./run.sh start:assistant</code></pre></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Vf7l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Vf7l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 424w, https://substackcdn.com/image/fetch/$s_!Vf7l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 848w, https://substackcdn.com/image/fetch/$s_!Vf7l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 1272w, https://substackcdn.com/image/fetch/$s_!Vf7l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Vf7l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png" width="1334" height="485" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:485,&quot;width&quot;:1334,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:85822,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!Vf7l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 424w, https://substackcdn.com/image/fetch/$s_!Vf7l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 848w, https://substackcdn.com/image/fetch/$s_!Vf7l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 1272w, https://substackcdn.com/image/fetch/$s_!Vf7l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc92ea476-51e8-4b03-88d3-d044db6a5ab2_1334x485.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">185+ single-request TPS with a &lt;90ms TTFT, and a near-zero jitter 5.4ms ITL</figcaption></figure></div><h1>Up Next (still)</h1><p>We&#8217;ll be covering the following <strong>for a specific (your own) codebase</strong>:</p><ol><li><p>Step outside and touch grass. Yes, for <em>your </em>codebase.</p></li><li><p>Lay the groundwork for profiling and evals.</p></li><li><p>Evals for a direct model-vs-model comparison.</p></li><li><p>Evals for coding harness comparisons.</p></li><li><p>The delta between, and interaction of, key metrics on #2 and #3.</p></li><li><p>Understand why optimizing for #2 often hurts #3 and how to fix it.</p></li><li><p>Define target performance metrics and improve a harness to reach them.</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qVWJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qVWJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 424w, https://substackcdn.com/image/fetch/$s_!qVWJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 848w, https://substackcdn.com/image/fetch/$s_!qVWJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 1272w, https://substackcdn.com/image/fetch/$s_!qVWJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qVWJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png" width="620" height="700.2754820936639" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:820,&quot;width&quot;:726,&quot;resizeWidth&quot;:620,&quot;bytes&quot;:697912,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/187792411?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qVWJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 424w, https://substackcdn.com/image/fetch/$s_!qVWJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 848w, https://substackcdn.com/image/fetch/$s_!qVWJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 1272w, https://substackcdn.com/image/fetch/$s_!qVWJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F287d9fc7-846e-40f5-a668-ffb8ac2647e4_726x820.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>I don&#8217;t know why you&#8217;re still scrolling but if you&#8217;re this lonely:</p><ol><li><p>Refer to item #1 in &#8220;Up Next (still)&#8221;.</p></li><li><p>Use your time machine better.</p></li><li><p>Last resort: <code>./run.sh chat</code></p></li></ol>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 8/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-8n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-8n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Sat, 11 Apr 2026 17:50:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!P_6S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote><p><em><strong>[IMPORTANT] - I&#8217;m working on updated images and docker compose for Part 9, which you can expect today or tomorrow. Part 9 implements TurboQuant, Qwen3.5, Gemma4, and three other new papers I found highly useful. The new advances also make this post optional. Feel free to skip it unless:</strong></em></p><ul><li><p>You want to free up that last 2GB of VRAM for something else</p></li><li><p>You want pixel-perfect, &lt;1ms desktop extension to a MacBook Pro</p><ul><li><p><em>This includes 48kHz sound so you can use it as a speaker for your PC!</em></p></li></ul></li><li><p><em> You&#8217;re curious, bored, and/or easily amused</em></p></li></ul></blockquote><p>This chapter is for anyone with an M4 MacBook Pro. It lays the groundwork for taking full advantage of all of our local compute and treating our PC as a true headless bare metal cloud node. This is useful for the casual crowd because it lets you extend your PC desktop to any number of MacBooks, iPads, or iPhones for free, locally, with little to no visual quality loss and 1-3 ms latency (it forwards audio too!).</p><p><a href="https://www.yevelations.com/p/dev-from-scratch-7n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-9n">Link to next chapter</a> | <a href="https://github.com/NotYevvie/OnlyLocals">Link to companion GitHub repo</a>.</p><h1>What are we doing?</h1><ol><li><p><strong>Side Quest:</strong> Add a PC &#8592;&#8594; MacBook 2.5G Ethernet connection</p><ol><li><p><strong>Why (casual):</strong> <em><strong>extend your PC desktop to the MacBook&#8217;s 16&#8221; XDR display</strong></em></p><p>&#8230;for free, without internet, at full resolution, with 120Hz, and ~3ms latency.</p></li><li><p><strong>Why (actually):</strong> dedicated GPU resource lock and IPMI control like WOL. We&#8217;ll use the iGPU to render / encode / stream our screens and free up those USB4/DP ports for direct 40Gbps interconnects with our MacBook so we can:</p><ol><li><p>Remote KV cache offload from our PC to our MBP&#8217;s massive 128Gb.</p></li><li><p><strong>Cross-arch (CUDA/MPS) model + KV cache partitioning with <a href="https://github.com/exo-explore/exo">Exo</a>.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a></strong></p></li></ol></li></ol></li></ol><p>No compute left behind, ladies and gents: we take the PC and MBP we are given. </p><h1>Side Quest: Casual</h1><p>We&#8217;re gonna do this simple, fast, free (software-wise), and dirty. If you already know networking and distributed GPU compute, I apologize in advance for what follows.</p><p><em>Disclaimer: Amazon Affiliate links. I don&#8217;t shill stuff and genuinely recommend them.</em></p><p>Required items: <a href="https://amzn.to/4koxvK0">USB-C to 2.5G Ethernet</a> ($30)<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a> and a <a href="https://amzn.to/4bCm0MW">Cat 8 RJ45 cable</a> ($10)<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-3" href="#footnote-3" target="_self">3</a>. Next, connect your devices: MBP USB-C &#8594; TPLink Adapter &#8594; Cat 8 &#8594; PC 2.5G RJ45 Port.</p><h2>PC Network Setup</h2><p>Open up PowerShell as Admin and run &#8221;<code>Get-NetConnectionProfile</code>&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7R--!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7R--!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 424w, https://substackcdn.com/image/fetch/$s_!7R--!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 848w, https://substackcdn.com/image/fetch/$s_!7R--!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 1272w, https://substackcdn.com/image/fetch/$s_!7R--!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7R--!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png" width="898" height="297" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:297,&quot;width&quot;:898,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:22248,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7R--!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 424w, https://substackcdn.com/image/fetch/$s_!7R--!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 848w, https://substackcdn.com/image/fetch/$s_!7R--!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 1272w, https://substackcdn.com/image/fetch/$s_!7R--!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd959174-d759-40d0-a5eb-8010704f0aa3_898x297.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Find the entry with <em>Ethernet</em> in its <em>InterfaceAlias</em> and the lowest <em>InterfaceIndex. </em>For us, that entry&#8217;s Name is &#8220;Unidentified Network&#8221; and its Alias is &#8220;Ethernet 3&#8221;. In PowerShell:</p><pre><code># Make the network private
Set-NetConnectionProfile -Name "Unidentified Network" -NetworkCategory Private

# Allow incoming ping requests
New-NetFirewallRule -DisplayName "Allow Ping" -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -Action Allow

# Set your Ethernet IP and subnet mask (hardcoding for simplicity)
New-NetIPAddress -InterfaceAlias "Ethernet 3" -IPAddress 192.168.205.1 -PrefixLength 24

# Set manual DNS - we have to use netsh directly for this to work
netsh interface ip set dns "Ethernet 3" static none

# You'll see a "There are no DNS servers ...blah blah" message - this is expected.</code></pre><h2>Mac Network Setup</h2><p>In terminal:</p><pre><code># Get the LAN network device name
networksetup -listallhardwareports | grep " LAN" | awk -F': ' '{print $2}'

# You'll see something like "USB 10/100/1000 LAN" - substitute the below as applicable

# Set IP and subnet (hardcoding to keep it simple)
sudo networksetup -setmanual "USB 10/100/1000 LAN" 192.168.205.2 255.255.255.0 ""

# Set manual DNS
sudo networksetup -setdnsservers "USB 10/100/1000 LAN" "Empty"

# Confirm you can ping your PC, should be sub-millisecond
ping 192.168.205.1</code></pre><p>This works since a 255.255.255.0 (/24 CIDR) subnet mask is basically &#8220;any IP starting with the same first three numbers as yours is a local neighbor&#8221;. CIDR /24 means:</p><p>192 (8 bits) . 168 (8 bits) . 205 (8 bits) . [Any 0-255 number here is a local neighbor]</p><p>8 + 8 + 8 = 24! We went with 205 because&#8230; I&#8217;ll spare you the painful stories. Basically, consumer networking hardware hogs the low numbers (.0, .1, .10, etc), VPNs love .50, a lot of management interfaces sit at .100, and enterprise hardware LOVES 210+. The goal here was to <em>not</em> inadvertently break your &#128169; if you have a work VPN, router, etc.</p><h2>PC Software Setup</h2><h3>Virtual Display</h3><p>First up, we need <a href="https://github.com/VirtualDrivers/Virtual-Display-Driver/releases">VDD</a>. Here is a <a href="https://github.com/VirtualDrivers/Virtual-Display-Driver/releases/download/25.7.23/VDD.Control.25.7.23.zip">direct download link</a> for the VDC 25.7.23 Beta. Extract the ZIP contents to <code>C:\VirtualDisplayDriver</code> and run the executable. Hit &#8220;Install Driver&#8221; and &#8220;Restart Driver&#8221;. <em><strong>Your OS will be unstable until reboot.</strong></em> You should see:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!P_6S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!P_6S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 424w, https://substackcdn.com/image/fetch/$s_!P_6S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 848w, https://substackcdn.com/image/fetch/$s_!P_6S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 1272w, https://substackcdn.com/image/fetch/$s_!P_6S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!P_6S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png" width="825" height="499" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:499,&quot;width&quot;:825,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:51161,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!P_6S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 424w, https://substackcdn.com/image/fetch/$s_!P_6S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 848w, https://substackcdn.com/image/fetch/$s_!P_6S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 1272w, https://substackcdn.com/image/fetch/$s_!P_6S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7d4e8635-6fa2-4e76-a013-fa413f735ad0_825x499.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Close the GUI. Open <code>C:\VirtualDisplayDriver\vdd_settings.xml </code>in Notepad or another editor of your choice. We want to add the native MBP 16&#8221; Retina display spec (ProMotion is variable 120Hz) to the tail end of &#8220;resolutions&#8221;, which would be:</p><pre><code>    &lt;resolution&gt;
      &lt;width&gt;3456&lt;/width&gt;
      &lt;height&gt;2234&lt;/height&gt;
      &lt;refresh_rate&gt;120&lt;/refresh_rate&gt;
    &lt;/resolution&gt;</code></pre><p>The end of that XML <em>(cue Java/Maven flashbacks)</em> should look like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YBGR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YBGR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 424w, https://substackcdn.com/image/fetch/$s_!YBGR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 848w, https://substackcdn.com/image/fetch/$s_!YBGR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 1272w, https://substackcdn.com/image/fetch/$s_!YBGR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YBGR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png" width="397" height="333" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:333,&quot;width&quot;:397,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:25769,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YBGR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 424w, https://substackcdn.com/image/fetch/$s_!YBGR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 848w, https://substackcdn.com/image/fetch/$s_!YBGR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 1272w, https://substackcdn.com/image/fetch/$s_!YBGR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7fe2959a-d104-4a85-9781-7a768af4aa44_397x333.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Restart your PC, right-click on the Desktop, select &#8220;Display Settings&#8221;. Click on the new virtual display so it&#8217;s highlighted in blue, hit the dropdown and make sure it&#8217;s set to &#8220;Extend desktop to this display&#8221;. Hit &#8220;Apply&#8221;. It should look similar to this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3I6D!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3I6D!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 424w, https://substackcdn.com/image/fetch/$s_!3I6D!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 848w, https://substackcdn.com/image/fetch/$s_!3I6D!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 1272w, https://substackcdn.com/image/fetch/$s_!3I6D!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3I6D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png" width="702" height="462" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/df0e75b7-76bd-4a6f-831c-053090339443_702x462.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:462,&quot;width&quot;:702,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:68805,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3I6D!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 424w, https://substackcdn.com/image/fetch/$s_!3I6D!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 848w, https://substackcdn.com/image/fetch/$s_!3I6D!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 1272w, https://substackcdn.com/image/fetch/$s_!3I6D!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdf0e75b7-76bd-4a6f-831c-053090339443_702x462.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Scroll down, set the &#8220;Display resolution&#8221; to 3456 x 2234. Scroll down some more, click &#8220;Advanced display&#8221; and set the refresh rate to 120Hz. Apply &#8594; Keep changes.</p><h3>Casting Host</h3><p>Next up, we need <a href="https://github.com/LizardByte/Sunshine/releases">Sunshine</a> - and no, not <em>actual </em>sunshine you lunatic. We don&#8217;t touch grass out here and our only tan comes from the monitors &#8594; <a href="https://github.com/LizardByte/Sunshine/releases/download/v2026.209.34151/Sunshine-Windows-AMD64-installer.exe">direct download link</a>. DL and install it. When everything is up and running, you&#8217;ll be able to <a href="https://localhost:47990/">access the UI here</a>.</p><p>Do your first-time login, set the username and password, restart sunshine, re-log in.</p><p>Select &#8220;Network&#8221;, set &#8220;Address Family&#8221; to IPV4 Only and &#8220;Origin Web UI Allowed&#8221; to &#8220;Only localhost may access Web UI&#8221; &#8592; <em><strong>Never use sunshine without this.</strong></em> Like so:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xIBN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xIBN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 424w, https://substackcdn.com/image/fetch/$s_!xIBN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 848w, https://substackcdn.com/image/fetch/$s_!xIBN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 1272w, https://substackcdn.com/image/fetch/$s_!xIBN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xIBN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png" width="1390" height="549" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:549,&quot;width&quot;:1390,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:53394,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xIBN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 424w, https://substackcdn.com/image/fetch/$s_!xIBN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 848w, https://substackcdn.com/image/fetch/$s_!xIBN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 1272w, https://substackcdn.com/image/fetch/$s_!xIBN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe0514b87-c5f5-4947-80e4-5f94d7c7f3dc_1390x549.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Remember:</p><ul><li><p>The UI lets you accept device pairing requests.</p></li><li><p>Paired devices may view, or control, your PC.</p></li><li><p>Maintain security best practices on paired devices.</p></li></ul><h4>If all you want is screen extension:</h4><ol><li><p>Select &#8220;Input&#8221; in the top menu</p></li><li><p>Uncheck &#8220;Enable Gamepad Input&#8221;</p></li><li><p>Uncheck &#8220;Enable Keyboard Input&#8221;</p></li><li><p>Uncheck &#8220;Enable Mouse Input&#8221;.</p></li><li><p>Click &#8220;Save&#8221; and &#8220;Apply&#8221;.</p></li></ol><h2>Mac Software Setup</h2><p>Is simple! <em><a href="https://github.com/moonlight-stream/moonlight-qt/releases">Moonlight</a> Is All You Need</em>; here&#8217;s the <a href="https://github.com/moonlight-stream/moonlight-qt/releases/download/v6.1.0/Moonlight-6.1.0.dmg">direct download link</a> for what you want.</p><p>Download &#8594; Install &#8594; Grant Permissions &#8594; Launch &#8594; Click the gear icon in top right:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CbdP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CbdP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 424w, https://substackcdn.com/image/fetch/$s_!CbdP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 848w, https://substackcdn.com/image/fetch/$s_!CbdP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 1272w, https://substackcdn.com/image/fetch/$s_!CbdP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CbdP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png" width="1456" height="1344" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1344,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:714757,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CbdP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 424w, https://substackcdn.com/image/fetch/$s_!CbdP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 848w, https://substackcdn.com/image/fetch/$s_!CbdP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 1272w, https://substackcdn.com/image/fetch/$s_!CbdP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38ebe8ca-ec45-4f9c-bfda-4e5cc6083401_2554x2358.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Use the above settings. Go back to the main screen, click the &#8220;+&#8221; sign in the top right.</p><p>The IP address we want is &#8220;192.168.205.1&#8221; - this will forces our stream to only use the Ethernet connection we set up earlier. Click on it, you&#8217;ll get a &#8220;PIN&#8221; popup on the MBP.</p><p><a href="https://localhost:47990/pin">Go here on your PC</a>, put in the PIN and &#8220;Mac&#8221; for the Device Name. Like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e0aT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e0aT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 424w, https://substackcdn.com/image/fetch/$s_!e0aT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 848w, https://substackcdn.com/image/fetch/$s_!e0aT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 1272w, https://substackcdn.com/image/fetch/$s_!e0aT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e0aT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png" width="1267" height="432" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:432,&quot;width&quot;:1267,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:23909,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/186537818?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!e0aT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 424w, https://substackcdn.com/image/fetch/$s_!e0aT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 848w, https://substackcdn.com/image/fetch/$s_!e0aT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 1272w, https://substackcdn.com/image/fetch/$s_!e0aT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F61263921-362d-45a2-99bd-1240b90e13fe_1267x432.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Back on your Mac, open a terminal and run &#8220;<code>ping 192.168.205.1&#8221;</code> in it for three reasons: (1) keepalive, (2) confirm it&#8217;s sub-millisecond, and (3) so you can tab out.</p><p><strong>Open this article anywhere but your MBP (Phone, PC, etc) before proceeding.</strong></p><p>On the Mac, in Moonlight, click on the PC icon, and click the play button that appears when you mouse over the &#8220;Desktop&#8221; application. You&#8217;re going into the screen share!</p><p>To switch <em>which</em> screen you&#8217;re casting, use <em>Fn + Ctrl + Option + Shift + F1/2/3/4</em>. Go ahead and switch to the virtual screen now. Next up, toggle Moonshine statistics on by pressing <em>Ctrl + Option + Shift + S. </em>To exit Moonshine, use <em>Ctrl + Option + Shift + Q.</em></p><p>Or use Command + Tab to that terminal to toggle between MacOS and Moonshine!</p><p>That&#8217;s it. As a <a href="https://www.urbandictionary.com/define.php?term=filthy+casual">filthy casual</a>, you can rinse/repeat this process to extend any number of virtual PC displays to any number of iOS (or other PC) devices, audio included.</p><h1>Side Quest: Actually</h1><p>The point is to preserve our convenient daily driver workflow while fully offloading our 5090 and leaving both USB4 ports free for 40Gbps connections. For now, we just need one - but it <em>does</em> have to be a dedicated one. We can&#8217;t have other stuff going over it.</p><p>And we might as well abuse our useful daily driver solution (extend to MBP) for it!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>Exo is currently primarily for MPS/M-chips; we&#8217;ll fix that by splicing in llama.cpp on the PC.</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>Why this: it has the upgraded Realtek RTL8156BG chip that runs cooler and fixes instability at higher bandwidth usage, comes with an aluminum casing (which we&#8217;ll need to dump the heat this puts out from us hammering it), and has a convenient cable tuck-in for travel. The 8156 has <a href="https://developer.apple.com/documentation/DriverKit">native DriverKit support</a> on MacOS and is known for stability with the M3/4 chips.</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-3" href="#footnote-anchor-3" class="footnote-number" contenteditable="false" target="_self">3</a><div class="footnote-content"><p>Why this: UGREEN is on the reliable and trustworthy side of off-brands and Cat 8 is rated for 40Gbps (so are two back ports on our X870 mobo, hint hint - this is for MUCH later).</p></div></div>]]></content:encoded></item><item><title><![CDATA[Smart Home Networking]]></title><description><![CDATA[A networking primer for beginners]]></description><link>https://www.yevelations.com/p/sh-net</link><guid isPermaLink="false">https://www.yevelations.com/p/sh-net</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Sun, 05 Apr 2026 22:36:53 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!2Dmj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This article is <strong>meant for beginners</strong> and will cover basic definitions, layers, and how they relate to each other. Networking is not hard, most people suck at explaining it.</p><p>We&#8217;ll lay the groundwork for setting up an enterprise WiFi network in a residential property. I&#8217;m installing Ubiquiti at one of my properties (IoT prep) and will detail the wiring, wall runs, terminations, AP positioning, and Ubiquiti wired / wireless setup.</p><p>I always do home automation myself because brands like Crestron, Savant, Control4, Lutron, etc are extremely limited in their options / capabilities and the vast majority of installers for them do not know a single f*cking thing about <strong>networking security</strong>.</p><h1>Analogy: The Water Pipe</h1><p>&#8220;Throughput" is how many liters or gallons per minute can flow through a water pipe.</p><p>&#8220;Latency&#8221; is the time delay (not speed) for water to go between two ends of the pipe.</p><p>&#8220;Reliability&#8221; is how much water leaks out of the pipe along the way.</p><p>&#8220;Robustness&#8221; is the water pipe&#8217;s ability to maintain pressure and flow rate under stress.</p><p>&#8220;Congestion&#8221; your water main struggling to simultaneously supply a garden hose and 3 showers. For us, this relationship will be one to many, not many to many (switches).</p><h1>Analogy: Mail and Packages</h1><p><strong>To make this easier, read the real-world example first:</strong></p><p>When you walk into FedEx, you give them <strong>an address to send something to</strong>. Next, you declare <strong>if the package has batteries</strong> and if you want it shipped via Overnight Air, Ground, etc. Whether you decide to use UPS instead of FedEx, you still <strong>choose if the recipient should know details</strong>, like box dimensions, about the package.</p><p><strong>Tracking numbers</strong> let you know where the packages are delivered, lost, returned, etc. If delivery requires a signature the tracking number shows &#8220;delivered&#8221; slower, but we know they got it. If it doesn&#8217;t, the &#8220;delivery&#8221; is faster but we don&#8217;t know if they got it.</p><p><strong>Delivery is optimized</strong>: Amazon delivers multiple packages at once under the same tracking number. One of the best ways to deliver something is a briefcase with a PIN code, shipped without requesting signature, that fires a signal when it&#8217;s been opened.</p><p>You have to leave your <strong>suite or floor</strong> to send a package. <strong>Buildings</strong> are grouped by zip code or city. Let&#8217;s say each <strong>company</strong> in a building has its own floor. A floor has <strong>desks</strong>. </p><p>In an office with bad security, what someone with a given name can access would be governed by what <strong>desk </strong>they sit at. We say &#8220;<strong>given name</strong>&#8221; because someone can walk up and tell you whatever name they want, like writing your own nametag. This is why office buildings use Employee ID badges that security guards check with HR to make sure they&#8217;re valid.</p><p><strong>Now let&#8217;s add the networking explanation. If you lose track, refer to the plain real-world example above to reinforce how each concept relates to the others:</strong></p><p>When you walk into FedEx, you give them an address to send something to. This is <strong><a href="https://www.cloudflare.com/learning/ddos/glossary/open-systems-interconnection-model-osi/">OSI Layer 7</a></strong> (<a href="https://www.cloudflare.com/learning/dns/what-is-dns/">DNS</a>, <a href="https://www.cloudflare.com/learning/ddos/glossary/hypertext-transfer-protocol-http/">HTTP</a>, <a href="https://developers.cloudflare.com/speed/optimization/protocol/http3/">HTTP/3</a>, etc): the human and software friendly &#8220;where&#8221;.</p><p>Next, you declare if the package has batteries and if you want it shipped via Ground, Overnight Air, etc. The<strong> </strong>&#8220;how&#8221; details of delivery are <strong>Layer 6</strong>. They include encryption (<a href="https://www.cloudflare.com/learning/ssl/what-is-ssl/">SSL</a> / <a href="https://www.cloudflare.com/learning/ssl/transport-layer-security-tls/">TLS</a>), <a href="https://developers.cloudflare.com/speed/optimization/content/compression/">compression</a> (GZIP, Brotli), formatting (<a href="https://grpc.io/blog/grpc-with-json/">JSON, Protobuf, gRPC</a>), etc.</p><p>If you decided to use UPS instead of FedEx, that&#8217;s <a href="https://blog.cloudflare.com/announcing-grpc/#what-is-grpc">gRPC</a>: a different Layer 7 framework. UPS and Fedex both let you choose whether the recipient should know details, like the dimensions and contents (<a href="https://en.wikipedia.org/wiki/Metadata">metadata</a>), about the package (<a href="https://protobuf.dev/overview/">Protobuf</a>). If you&#8217;re shipping to high-volume a warehouse, those details help process it faster. Residential? Meh.</p><p><strong>Layer 5</strong> is the state and management of repeated package deliveries. Sessions are like tracking numbers: you know whether the packages are delivered, lost, returned, etc.</p><p><strong>Layer 4</strong> is shipping &#8220;logistics&#8221;. If delivery requires a signature, that&#8217;s <a href="https://developers.cloudflare.com/fundamentals/reference/tcp-connections/">TCP</a>: the tracking number is <em>sometimes</em> slower to show &#8220;delivered&#8221;, but we know they got it. <a href="https://www.cloudflare.com/learning/ddos/glossary/user-datagram-protocol-udp/">UDP</a> is dropping it off at an address: it went there, but we don&#8217;t know if a recipient got it. </p><p>Amazon delivering multiple packages under the same tracking number is <a href="https://developer.mozilla.org/en-US/docs/Glossary/SCTP">SCTP</a>. A briefcase shipped without &#8220;signature requested&#8221; (<a href="https://www.cloudflare.com/learning/ddos/glossary/user-datagram-protocol-udp/">UDP</a>) with a PIN code (<a href="https://www.cloudflare.com/learning/ssl/what-is-ssl/">SSL</a> / <a href="https://www.cloudflare.com/learning/ssl/transport-layer-security-tls/">TLS</a>) to open it that sends a signal when it&#8217;s been opened (ACK) is <a href="https://blog.cloudflare.com/the-road-to-quic/">QUIC</a> (HTTP/3 uses it).</p><p><em>Note: floors and suites is used interchangeably. Assume each floor only has one suite.</em></p><p>You have to leave your suite or floor (<strong>Layer 4, </strong><a href="https://www.cloudflare.com/learning/network-layer/what-is-a-computer-port/">logical ports</a>) to send a package, which is more relevant to &#8220;did someone get a package&#8221; than the building&#8217;s physical location (<a href="https://www.cloudflare.com/learning/dns/glossary/what-is-my-ip-address/">IP address</a>, <strong>Layer 3</strong>). Buildings are grouped by city or zip code (<strong>Layer 3</strong>, <a href="https://www.cloudflare.com/learning/network-layer/what-is-a-subnet/">subnet</a> mask).</p><p><em>The procedures for shipping between zip codes (<a href="https://www.cloudflare.com/learning/security/glossary/what-is-bgp/">BGP</a>) are an advanced concept we&#8217;ll skip.</em></p><p>Let&#8217;s say that each company (<a href="https://www.cloudflare.com/learning/network-layer/what-is-a-subnet/">Subnet</a>, <strong>Layer 3</strong> IP range) in a building has its own floor (<a href="https://www.solarwinds.com/resources/it-glossary/vlan">VLAN</a>, <strong>Layer 2 </strong>broadcast domain). Just like sharing a floor between companies is complex and painful, <a href="https://www.cloudflare.com/learning/network-layer/what-is-a-subnet/">subnets</a> and <a href="https://www.solarwinds.com/resources/it-glossary/vlan">VLANs</a> usually have a 1:1 relationship in practice.</p><p>A floor has desks (<strong>Layer 1</strong>, <a href="https://www.geeksforgeeks.org/computer-networks/physical-layer-in-osi-model/">physical port</a> - let&#8217;s assume this is RJ45 and not SFP+). In an office with bad security, what someone with a given name (<strong>Layer 2, </strong><a href="https://www.cloudns.net/blog/mac-address-everything-you-need-to-know/">MAC address</a>) can access would be governed by what desk they sit at. This is what the vast majority of home automation installers do: assign specific physical ports to specific <a href="https://www.solarwinds.com/resources/it-glossary/vlan">VLANs</a>.</p><p>We say &#8220;given name&#8221; because someone can walk up and tell you whatever name they want. Apple devices will do this (rotate their <a href="https://www.cloudns.net/blog/mac-address-everything-you-need-to-know/">MAC addresses</a>) for privacy by default. That&#8217;s like if anyone wrote up name tag saying &#8220;John Doe&#8221; had his permissions.</p><p>This is why office buildings use Employee ID badges (<a href="https://www.fortinet.com/resources/cyberglossary/802-1x-authentication">802.1X digital certificates</a>) that security guards (switches) check with HR (<a href="https://www.fortinet.com/resources/cyberglossary/radius-protocol">RADIUS</a> server) to make sure they&#8217;re valid.</p><h1>Additional Terminology</h1><p><em><strong>Many of these definitions are not accurate outside of the context of this article.</strong></em></p><ul><li><p>&#8220;IoT&#8221;: Internet of Things (temperature, humidity, occupancy sensors, etc).</p></li><li><p>See <a href="https://www.insidetheiot.com/allocating-the-airwaves/">this concise article</a> for &#8220;Airwave&#8221; and &#8220;Frequency&#8221; (WiFi, RF, Zigbee, ZWLR)</p></li><li><p>&#8220;Interference&#8221; (NOT congestion): <a href="https://learn.microsoft.com/en-us/azure/architecture/antipatterns/noisy-neighbor/noisy-neighbor">noisy neighbor</a> with airwaves and frequencies.</p></li><li><p>&#8220;Smart Home&#8221;: a residential property with airwave-based (wireless) IoT devices.</p></li><li><p>&#8220;Wired Connections&#8221;: <a href="https://www.sabrepc.com/blog/computer-hardware/sfp-vs-rj45">RJ45 or SFP+ form factor</a> Ethernet (<a href="https://www.cloudflare.com/vi-vn/learning/network-layer/what-is-a-lan/">LAN</a>) Connections.</p><ul><li><p>Residential RJ45 connections are classified as <a href="https://www.cablesandkits.com/learning-center/choosing-the-right-ethernet-cable-category/">Cat5e, Cat6, Cat6a, or Cat8</a>.</p></li></ul></li><li><p>&#8220;Gateway&#8221; / &#8220;Router&#8221;: physical (wired) device interconnecting our <a href="https://aws.amazon.com/compare/the-difference-between-lan-and-wan/">LAN and WAN.</a></p></li><li><p>&#8220;AP&#8221; / &#8220;Access Point&#8221;: a physical airwave broadcaster that connects to a Router with a wired connection. We will not be covering wireless mesh networking.</p></li><li><p>&#8220;PoE&#8221;: <a href="https://www.cisco.com/site/us/en/learn/topics/networking/what-is-power-over-ethernet.html">Power over ethernet</a>. This wired connection also powers a device (AP, etc).</p></li><li><p>&#8220;Backhaul&#8221;: Connection between an AP and a Router. For us, that&#8217;s PoE RJ45.</p></li><li><p>&#8220;Handover&#8221; / &#8220;Roaming&#8221;: a wireless device changing which AP it&#8217;s connected to.</p></li><li><p>&#8220;Band Steering&#8221;: a wireless device changing which frequency it uses with an AP.</p></li><li><p>&#8220;Switch&#8221;: for us, a <a href="https://www.cisco.com/site/us/en/learn/topics/networking/what-is-a-managed-switch.html">managed</a> switch that interconnects devices in the same <a href="https://www.cloudflare.com/learning/network-layer/what-is-a-subnet/">subnet</a>.</p><ul><li><p>In smart homes, switches are used to inject PoE into RJ45 connections.</p></li><li><p>PoE RJ45 connections out of this can also <a href="https://amzn.to/3O7srOG">go over Coaxial Cable with MoCA</a>.</p></li></ul></li><li><p>&#8220;OSI&#8221;: <a href="https://www.cloudflare.com/learning/ddos/glossary/open-systems-interconnection-model-osi/">Open Systems Interconnection</a>. This is an open standard for how devices communicate with each other. It can be implemented in many different ways.</p></li></ul><h1>Pics or It Didn&#8217;t Happen</h1><p><em>RG59/RG6 Cable, RF, Material, Zigbee, Z-Wave, ZWLR, and IoT hardware isn&#8217;t here yet :(</em></p><h2>Networking Hardware</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2Dmj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2Dmj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 424w, https://substackcdn.com/image/fetch/$s_!2Dmj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 848w, https://substackcdn.com/image/fetch/$s_!2Dmj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 1272w, https://substackcdn.com/image/fetch/$s_!2Dmj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2Dmj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png" width="1456" height="551" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:551,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:4159086,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/193259943?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!2Dmj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 424w, https://substackcdn.com/image/fetch/$s_!2Dmj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 848w, https://substackcdn.com/image/fetch/$s_!2Dmj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 1272w, https://substackcdn.com/image/fetch/$s_!2Dmj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9bd7a1aa-9215-4731-83d6-a54f6acc3f8d_2767x1048.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>Media Box We&#8217;ll Be Replacing</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!09Nm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!09Nm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 424w, https://substackcdn.com/image/fetch/$s_!09Nm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 848w, https://substackcdn.com/image/fetch/$s_!09Nm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!09Nm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!09Nm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg" width="484" height="645.2225274725274" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1941,&quot;width&quot;:1456,&quot;resizeWidth&quot;:484,&quot;bytes&quot;:1957296,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/193259943?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!09Nm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 424w, https://substackcdn.com/image/fetch/$s_!09Nm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 848w, https://substackcdn.com/image/fetch/$s_!09Nm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!09Nm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F84129e41-6cbe-434b-bfc3-12b5d2d48d9c_3024x4032.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>Tools, Terminations, and Wiring</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DB9P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DB9P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 424w, https://substackcdn.com/image/fetch/$s_!DB9P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 848w, https://substackcdn.com/image/fetch/$s_!DB9P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 1272w, https://substackcdn.com/image/fetch/$s_!DB9P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DB9P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png" width="1456" height="1291" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1291,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13314709,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/193259943?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DB9P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 424w, https://substackcdn.com/image/fetch/$s_!DB9P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 848w, https://substackcdn.com/image/fetch/$s_!DB9P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 1272w, https://substackcdn.com/image/fetch/$s_!DB9P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65a527d7-2365-43ba-83a4-d85daefdea17_2784x2468.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The downstream articles will be relevant to you if you are curious, easily amused, or:</p><ul><li><p>Care about WiFi throughput, latency, reliability, and robustness.</p></li><li><p>Have a large (4000sqft+) property and neighbors with WiFi.</p></li><li><p>Have multiple floors, the flooring is wood, LVP, or carpet.</p></li><li><p>The walls are drywall, rock-wool filled or otherwise (not brick).</p></li><li><p>The property is pre-wired with a <a href="https://primex.com/why-you-should-be-installing-a-plastic-media-panel-over-metal/">Media Panel</a> with a 120V outlet.</p></li></ul><p>I wrote two previous (not so beginner) networking articles for cloud: <a href="https://www.yevelations.com/p/ntwrk-pt1">Part 1</a> and <a href="https://www.yevelations.com/p/ntwrk-pt2">Part 2</a>.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Sell Me This Pen: It's AI-Powered]]></title><description><![CDATA[A tale of unf*cking the Asus GT-BE19000AI]]></description><link>https://www.yevelations.com/p/sell-me-this-pen-its-ai-powered</link><guid isPermaLink="false">https://www.yevelations.com/p/sell-me-this-pen-its-ai-powered</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Tue, 17 Mar 2026 11:12:28 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!cGuF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>And apparently, <a href="https://amzn.to/41a2ctL">so is Asus&#8217;s new GT-BE19000AI router.</a> We&#8217;re here because this is so stupid I got one to just see if it could be made useful. I wrote this as I dug through the bugs Asus shipped with it, one fix at a time. <strong>TL;DR: enabling USB SSDs + Docker.</strong></p><p><em>WHY? WHY DO WE NEED AI IN A ROUTER? Spoiler: We don&#8217;t. But now that it&#8217;s here like most of the subpar use cases for AI/ML being shoved down everyone&#8217;s throat&#8230;</em></p><p>This abomination has two SoCs. The first is a 4-core 2.6GHz Broadcom BCM4916 and this does <strong>what you&#8217;d expect a router to do</strong>. The second is &#8230;a Synaptics SL1680 with 4GB RAM, 32GB EMMC, and a 7.9 TOPS Neural Processing Unit. Hilariously enough, Asus put an embedding model on it with HF and python behind the scenes for fully local &#8220;LM&#8221; setup assistance. This was neat in that they didn&#8217;t use a transformer LM at all (SL1680s ASICs are CNN-optimized), but it worked. Here&#8217;s where stuff gets weird:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!z4c8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!z4c8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 424w, https://substackcdn.com/image/fetch/$s_!z4c8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 848w, https://substackcdn.com/image/fetch/$s_!z4c8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 1272w, https://substackcdn.com/image/fetch/$s_!z4c8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!z4c8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png" width="658" height="239.51923076923077" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:530,&quot;width&quot;:1456,&quot;resizeWidth&quot;:658,&quot;bytes&quot;:532675,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!z4c8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 424w, https://substackcdn.com/image/fetch/$s_!z4c8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 848w, https://substackcdn.com/image/fetch/$s_!z4c8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 1272w, https://substackcdn.com/image/fetch/$s_!z4c8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F884bb333-6b61-4ab1-9911-4f8c419f4bb0_1486x541.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a></figure></div><p>The secondary SoC is &#8230;updated by the primary SoC that&#8217;s also the admin network interface? Naturally, the first question is: <strong>how are these things connected?</strong> As I&#8217;m digging around these menus, in Settings &#8594; Administration &#8594; System &#8230;enable SSH:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!A3K-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!A3K-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 424w, https://substackcdn.com/image/fetch/$s_!A3K-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 848w, https://substackcdn.com/image/fetch/$s_!A3K-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 1272w, https://substackcdn.com/image/fetch/$s_!A3K-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!A3K-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png" width="669" height="162.47142857142856" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:272,&quot;width&quot;:1120,&quot;resizeWidth&quot;:669,&quot;bytes&quot;:47888,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!A3K-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 424w, https://substackcdn.com/image/fetch/$s_!A3K-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 848w, https://substackcdn.com/image/fetch/$s_!A3K-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 1272w, https://substackcdn.com/image/fetch/$s_!A3K-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ba70948-738d-4fdc-afe4-b366c5004a32_1120x272.png 1456w" sizes="100vw"></picture><div></div></div></a></figure></div><p>Three minutes later&#8230;</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!coZj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!coZj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 424w, https://substackcdn.com/image/fetch/$s_!coZj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 848w, https://substackcdn.com/image/fetch/$s_!coZj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 1272w, https://substackcdn.com/image/fetch/$s_!coZj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!coZj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png" width="636" height="429.98671096345515" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/af8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:1204,&quot;resizeWidth&quot;:636,&quot;bytes&quot;:281829,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!coZj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 424w, https://substackcdn.com/image/fetch/$s_!coZj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 848w, https://substackcdn.com/image/fetch/$s_!coZj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 1272w, https://substackcdn.com/image/fetch/$s_!coZj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf8965c3-c913-412b-b6ff-02034aa0323b_1204x814.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Ok, so this is definitely the primary Broadcom SOC (aes, crc32). Why isn&#8217;t it updating?</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ffce!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ffce!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 424w, https://substackcdn.com/image/fetch/$s_!ffce!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 848w, https://substackcdn.com/image/fetch/$s_!ffce!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 1272w, https://substackcdn.com/image/fetch/$s_!ffce!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ffce!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png" width="640" height="169.6829971181556" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:368,&quot;width&quot;:1388,&quot;resizeWidth&quot;:640,&quot;bytes&quot;:181999,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ffce!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 424w, https://substackcdn.com/image/fetch/$s_!ffce!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 848w, https://substackcdn.com/image/fetch/$s_!ffce!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 1272w, https://substackcdn.com/image/fetch/$s_!ffce!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3b8cbc65-2857-445a-be18-8fa9d363b844_1388x368.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>^ That&#8217;s what&#8217;s in the syslog when the Web UI is busy failing at life. So &#8230;what&#8217;s rc?</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!OSHs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!OSHs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 424w, https://substackcdn.com/image/fetch/$s_!OSHs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 848w, https://substackcdn.com/image/fetch/$s_!OSHs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 1272w, https://substackcdn.com/image/fetch/$s_!OSHs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!OSHs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png" width="527" height="143.61070559610707" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:224,&quot;width&quot;:822,&quot;resizeWidth&quot;:527,&quot;bytes&quot;:70937,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!OSHs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 424w, https://substackcdn.com/image/fetch/$s_!OSHs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 848w, https://substackcdn.com/image/fetch/$s_!OSHs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 1272w, https://substackcdn.com/image/fetch/$s_!OSHs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90ec75cf-59a3-4ba0-9323-f53dda0d55d1_822x224.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><em>&#8220;What?&#8221;</em> indeed. Let&#8217;s heed this cue and try infil from the other SoC&#8217;s side. A few minutes of digging around later, I found the main reason I got this thing: the secondary SoC can run docker containers via <a href="https://www.portainer.io/">Portainer</a> under &#8220;AI Board&#8221;.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wYEu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wYEu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 424w, https://substackcdn.com/image/fetch/$s_!wYEu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 848w, https://substackcdn.com/image/fetch/$s_!wYEu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 1272w, https://substackcdn.com/image/fetch/$s_!wYEu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wYEu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png" width="567" height="305.96603773584906" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:572,&quot;width&quot;:1060,&quot;resizeWidth&quot;:567,&quot;bytes&quot;:358991,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wYEu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 424w, https://substackcdn.com/image/fetch/$s_!wYEu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 848w, https://substackcdn.com/image/fetch/$s_!wYEu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 1272w, https://substackcdn.com/image/fetch/$s_!wYEu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc2c7d30-4cb9-4a23-a287-58cfad3fe1e4_1060x572.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Cool, let&#8217;s install that and open it up:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cGuF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cGuF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 424w, https://substackcdn.com/image/fetch/$s_!cGuF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 848w, https://substackcdn.com/image/fetch/$s_!cGuF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 1272w, https://substackcdn.com/image/fetch/$s_!cGuF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cGuF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png" width="578" height="220.89171974522293" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:540,&quot;width&quot;:1413,&quot;resizeWidth&quot;:578,&quot;bytes&quot;:118704,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cGuF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 424w, https://substackcdn.com/image/fetch/$s_!cGuF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 848w, https://substackcdn.com/image/fetch/$s_!cGuF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 1272w, https://substackcdn.com/image/fetch/$s_!cGuF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1f0f9dda-46ad-40ae-862a-05091a9831e2_1413x540.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Literally not even a minute later &#8230;Asus dun goofed:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X-4F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X-4F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 424w, https://substackcdn.com/image/fetch/$s_!X-4F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 848w, https://substackcdn.com/image/fetch/$s_!X-4F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 1272w, https://substackcdn.com/image/fetch/$s_!X-4F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!X-4F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png" width="564" height="291.0834553440703" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:705,&quot;width&quot;:1366,&quot;resizeWidth&quot;:564,&quot;bytes&quot;:112307,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!X-4F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 424w, https://substackcdn.com/image/fetch/$s_!X-4F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 848w, https://substackcdn.com/image/fetch/$s_!X-4F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 1272w, https://substackcdn.com/image/fetch/$s_!X-4F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5ffa90-d31a-4058-9b72-cf0b7abfe2e7_1366x705.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Aight, bet. Basic privilege hijacking 101: run root, priv, host net, and elevated mounts:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GNTs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GNTs!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 424w, https://substackcdn.com/image/fetch/$s_!GNTs!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 848w, https://substackcdn.com/image/fetch/$s_!GNTs!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 1272w, https://substackcdn.com/image/fetch/$s_!GNTs!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GNTs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png" width="568" height="224.38811881188118" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:399,&quot;width&quot;:1010,&quot;resizeWidth&quot;:568,&quot;bytes&quot;:47442,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GNTs!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 424w, https://substackcdn.com/image/fetch/$s_!GNTs!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 848w, https://substackcdn.com/image/fetch/$s_!GNTs!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 1272w, https://substackcdn.com/image/fetch/$s_!GNTs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F011e540a-66b6-44eb-9468-3cd55be2bc64_1010x399.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>And SSH in via the <a href="https://www.portainer.io/">Portainer</a> UI. And just like that, boom, we&#8217;ve got host OS root:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!k2YY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!k2YY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 424w, https://substackcdn.com/image/fetch/$s_!k2YY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 848w, https://substackcdn.com/image/fetch/$s_!k2YY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 1272w, https://substackcdn.com/image/fetch/$s_!k2YY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!k2YY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png" width="570" height="240.78341013824885" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:550,&quot;width&quot;:1302,&quot;resizeWidth&quot;:570,&quot;bytes&quot;:142419,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!k2YY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 424w, https://substackcdn.com/image/fetch/$s_!k2YY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 848w, https://substackcdn.com/image/fetch/$s_!k2YY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 1272w, https://substackcdn.com/image/fetch/$s_!k2YY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25e7ed75-2396-4d06-b86e-9f1d34a1e190_1302x550.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:null}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext">ls /host_root
chroot /host_root /bin/sh
ls /usr/bin
cat /usr/bin/fwupdate</code></pre></div><p>Here, we find that there is definitely some kind of IPC bridge between the two:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zapL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zapL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 424w, https://substackcdn.com/image/fetch/$s_!zapL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 848w, https://substackcdn.com/image/fetch/$s_!zapL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 1272w, https://substackcdn.com/image/fetch/$s_!zapL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zapL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png" width="558" height="349.97039030955585" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d32857c9-5271-4c92-94cc-e9463ce90091_743x466.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:466,&quot;width&quot;:743,&quot;resizeWidth&quot;:558,&quot;bytes&quot;:68849,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zapL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 424w, https://substackcdn.com/image/fetch/$s_!zapL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 848w, https://substackcdn.com/image/fetch/$s_!zapL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 1272w, https://substackcdn.com/image/fetch/$s_!zapL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd32857c9-5271-4c92-94cc-e9463ce90091_743x466.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This thing is remotely triggered by the host SOC, and monitored via IPC. Like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!j4yk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!j4yk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 424w, https://substackcdn.com/image/fetch/$s_!j4yk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 848w, https://substackcdn.com/image/fetch/$s_!j4yk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 1272w, https://substackcdn.com/image/fetch/$s_!j4yk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!j4yk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png" width="983" height="585" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:585,&quot;width&quot;:983,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:262358,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!j4yk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 424w, https://substackcdn.com/image/fetch/$s_!j4yk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 848w, https://substackcdn.com/image/fetch/$s_!j4yk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 1272w, https://substackcdn.com/image/fetch/$s_!j4yk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe95a7e28-c013-4e22-b8a3-6a225502fc39_983x585.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>What. The. Actual. Fuqq? Yep, that&#8217;s the other SoC:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YawI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YawI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 424w, https://substackcdn.com/image/fetch/$s_!YawI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 848w, https://substackcdn.com/image/fetch/$s_!YawI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 1272w, https://substackcdn.com/image/fetch/$s_!YawI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YawI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png" width="1088" height="523" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:523,&quot;width&quot;:1088,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:300827,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YawI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 424w, https://substackcdn.com/image/fetch/$s_!YawI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 848w, https://substackcdn.com/image/fetch/$s_!YawI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 1272w, https://substackcdn.com/image/fetch/$s_!YawI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6d9312e-b63e-4a70-850d-6036361f4fd4_1088x523.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We fix the checksum, pull the firmware, update the &#8220;AI Board&#8221; from within, and follow that up with an RPC trigger from the primary SoC (that weird script up above looped into standby until we wrote to /dev/shm/reboot_flag) on the secondary SoC. Web UI:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eNYJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eNYJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 424w, https://substackcdn.com/image/fetch/$s_!eNYJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 848w, https://substackcdn.com/image/fetch/$s_!eNYJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 1272w, https://substackcdn.com/image/fetch/$s_!eNYJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eNYJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png" width="1456" height="888" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:888,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1597125,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eNYJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 424w, https://substackcdn.com/image/fetch/$s_!eNYJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 848w, https://substackcdn.com/image/fetch/$s_!eNYJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 1272w, https://substackcdn.com/image/fetch/$s_!eNYJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe31cd66a-d1dc-47d4-9373-2582b5feacb9_3246x1980.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>It&#8217;s not exactly a rescue &#8230;or is it? Yep, we can update the firmware on the secondary SoC by triggering factory reset with a new recovery image. It&#8217;s written to isolated dual-boot partitions so what&#8217;s on the primary EMMC also survives this, uh, &#8220;recovery&#8221; &#129313;.</p><p>Surely now I can spin up the containers I want and mount my USB dri&#8212; NOPE. <strong>The secondary SoC, the one with docker on it, can&#8217;t even access the USB ports. &#129318;&#8205;&#9794;&#65039;</strong></p><p>Let&#8217;s fix that. Question is, how? Asus managed to strip fuse/samba kernels out of the secondary SoC, and NFS kernels out of the primary. This was likely intentional &#8230;but that 700MB+ firmware file downloaded <em>FAAAST</em>. Way too fast for RS232 or anything of the sort. Some iptable and ndig later, we find that the secondary SoC has a local loopback (169.254* namespace) to the primary. Where there&#8217;s a will, there&#8217;s a way:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!h2vn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!h2vn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 424w, https://substackcdn.com/image/fetch/$s_!h2vn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 848w, https://substackcdn.com/image/fetch/$s_!h2vn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 1272w, https://substackcdn.com/image/fetch/$s_!h2vn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!h2vn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png" width="1199" height="689" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:689,&quot;width&quot;:1199,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:223516,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!h2vn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 424w, https://substackcdn.com/image/fetch/$s_!h2vn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 848w, https://substackcdn.com/image/fetch/$s_!h2vn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 1272w, https://substackcdn.com/image/fetch/$s_!h2vn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f91ffb3-8fb8-42da-af3f-ba7e7888437c_1199x689.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Ok, we have a viable pipe. Luckily, there was <a href="https://sourceforge.net/projects/asuswrt-merlin/files/GT-BE19000AI/Release/GT-BE19000AI_3006_102.7_0.zip/download">a BE19000 Merlin release 2 weeks ago</a> so I didn&#8217;t have to splice cdc_acm, cp210x, and god knows what other kernels into it.</p><p>Entware it is, I suppose. Nuke a drive, format ext 4 + journal + bin, install it. AsusWRT is locked down with a read-only file system &#8230;so we&#8217;ll just bind-mount on top of it &#128514;</p><p><em>Note: Substack blocked me posting this as a code snippet - I literally couldn&#8217;t save or publish the draft. I&#8217;m guessing they think we boutta do bad thangz. They&#8217;re right.</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jM9C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jM9C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 424w, https://substackcdn.com/image/fetch/$s_!jM9C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 848w, https://substackcdn.com/image/fetch/$s_!jM9C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 1272w, https://substackcdn.com/image/fetch/$s_!jM9C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jM9C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png" width="829" height="601" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:601,&quot;width&quot;:829,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:103875,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jM9C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 424w, https://substackcdn.com/image/fetch/$s_!jM9C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 848w, https://substackcdn.com/image/fetch/$s_!jM9C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 1272w, https://substackcdn.com/image/fetch/$s_!jM9C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb7fcc897-0157-4cb7-b4b0-02cf77fbe7a7_829x601.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Boom! <strong>Our secondary SOC can now mount USB SSDs to Docker at native speeds:</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fPEC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fPEC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 424w, https://substackcdn.com/image/fetch/$s_!fPEC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 848w, https://substackcdn.com/image/fetch/$s_!fPEC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 1272w, https://substackcdn.com/image/fetch/$s_!fPEC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fPEC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png" width="1456" height="791" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:791,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:457284,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fPEC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 424w, https://substackcdn.com/image/fetch/$s_!fPEC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 848w, https://substackcdn.com/image/fetch/$s_!fPEC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 1272w, https://substackcdn.com/image/fetch/$s_!fPEC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20634130-e3dc-4b75-a32a-552d0c3168fb_2068x1123.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And wollah, the router is jailbroken. You can bypass RSA checks on the &#8220;factory reset&#8221; script and write whatever you want to the secondary SoC&#8217;s OS partitions while bind-mounting over the primary SoC&#8217;s FS. The best part? <em>both SoCs can use the USB3.2 SSDs simultaneously. </em>So why did I do this (outside of the fact that this is what I do)?</p><ol><li><p>Attach a 4TB SSD on here and run Plex. On your router. With zero other hardware.</p></li><li><p>Your router is now also your local security camera recorder and viewer.</p></li><li><p>#2 lets you start using the SL1680 SoC for things it can be useful for, like running real-time local object detection and classification with Frigate - no more sending your home&#8217;s camera footage to Google Home, Amazon, or god knows who else.</p></li><li><p>You&#8217;re in charge of your data, it doesn&#8217;t leave your house. I plan to build on top of this with a PoE-based whole house automation system. 4GB RAM and 4 cores is more than enough to run hundreds of IoT devices, Home Assistant, HomeKit, etc.</p></li><li><p>From here, you can <em><strong>socat one of the ports to make USB devices accessible to the SoC running docker containers.</strong></em> That means we can plug in a hub and get:</p><ol><li><p>6000ft+ range on ZigBee, ZigBee2MQTT with the <a href="https://www.amazon.com/SMLIGHT-SLZB-06-Coordinator-Zigbee2MQTT-Assistant/dp/B0F8Z7X2N3?th=1">SMLIGHT-SLZB-MR1</a>.</p></li><li><p>Full home RF spectrum remote coverage with the <a href="https://bondhome.io/product/bond-bridge-pro/">Bond Bridge Pro</a>.</p></li><li><p>Full home Z-Wave and ZWLR coverage with the <a href="https://ameridroid.com/products/home-assistant-connect-zwa-2?variant=50685758963991&amp;country=US&amp;currency=USD">HAC ZWA-2</a>.</p></li><li><p>And bridge that mesh to also control Bluetooth with <a href="https://us.shelly.com/products/shelly-dimmer-gen4">Shelly Gen4s</a>.</p></li></ol></li></ol><p>That even covers Matter/Thread protocol, giving you everything you need to build a pleasant and convenient home that makes your life easy with just a router (which you need anyways) and some thingies plugged into it along with a tiny 400-500W UPS. <strong>No bulky servers.</strong> That $900 price tag, for a router, is partially justifiable <em>&#8230;maybe.</em></p><p><em>Final verdict: Now that it&#8217;s fixed I actually quite like this thing, and it&#8217;s not necessarily because of the tech. This lets me create automation that makes my life easier and is reasonably transferrable to renters or buyers - I&#8217;d just be handing off a secure local enclave in the form of a house with really good, albeit minimal, networking equipment.</em></p><h1>Bonus: Updating Portainer</h1><p>Is a bit tricky (not really, not if you do DevOps) because <a href="https://www.portainer.io/">Portainer</a> is what&#8217;s running the admin container that lets us SSH into the host. As always, it&#8217;s <strong>good practice to keep our admin container stateless and ephemeral</strong> (like all containers). Steps:</p><ol><li><p>Log into router Web UI &#8594; AI Board &#8594; Control &amp; Deploy &#8594; Open</p></li><li><p>click &#8220;&gt;_&#8221; sign to open a web SSH session in the jailbreak container via /bin/ash:</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Bbyk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Bbyk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 424w, https://substackcdn.com/image/fetch/$s_!Bbyk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 848w, https://substackcdn.com/image/fetch/$s_!Bbyk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 1272w, https://substackcdn.com/image/fetch/$s_!Bbyk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Bbyk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png" width="1456" height="407" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:407,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:79537,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Bbyk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 424w, https://substackcdn.com/image/fetch/$s_!Bbyk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 848w, https://substackcdn.com/image/fetch/$s_!Bbyk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 1272w, https://substackcdn.com/image/fetch/$s_!Bbyk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25d0069d-c0a1-4d51-8e6a-a5ce024d1bc5_1535x429.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here&#8217;s a summary of how many things I&#8217;ve seen go sideways over 15 years of DevOps:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;bash&quot;,&quot;nodeId&quot;:null}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-bash"># Run this inside your Alpine admin container via the Portainer web console
apk update &amp;&amp; apk add docker-cli
export DOCKER_API_VERSION="1.41"
docker ps # Sanity check

# Pick a tag here (never use latest): https://hub.docker.com/r/portainer/portainer-ce/tags
export PORTAINER_TAG="portainer/portainer-ce:2.39.0"
export PORTAINER_NAME="$(docker ps --format '{{.Names}}|{{.Image}}' | grep "portainer" | cut -d '|' -f 1)"
export PORTAINER_MOUNT="$(docker inspect $PORTAINER_NAME -f '{{ range .Mounts }}{{ if eq .Destination "/data" }}{{ .Name }}:{{ .Destination }}{{ end }}{{ end }}')"
export PORTAINER_EXPOSE="$(docker inspect $PORTAINER_NAME --format '{{json .Config.ExposedPorts}}' | grep -oE '[0-9]+' | awk '{print "-p "$1":"$1}' | xargs)"
export DOCKER_SOCKET="$(docker context inspect $(docker context show) --format '{{.Endpoints.docker.Host}}' | sed 's|unix://||' | awk '{print $1":"$1}')"

# Confirm things look right
cat &lt;&lt; EOF
Container: $PORTAINER_NAME
New Tag: $PORTAINER_TAG
Mount: $PORTAINER_MOUNT
Ports: $PORTAINER_EXPOSE
Socket: $DOCKER_SOCKET
EOF

# Once again, weird things happen on SOCs. You should see "Image pulled successfully"
docker pull "$PORTAINER_TAG" &amp;&amp; docker image ls | grep -q "$PORTAINER_TAG" &amp;&amp; echo "Image pulled successfully."

# Update portainer
docker run -d --rm \
  -v $DOCKER_SOCKET \
  alpine:latest \
  sh -c "apk add --no-cache docker-cli &amp;&amp; export DOCKER_API_VERSION=$DOCKER_API_VERSION &amp;&amp; sleep 15 &amp;&amp; docker stop $PORTAINER_NAME &amp;&amp; docker rm $PORTAINER_NAME &amp;&amp; docker run -d $PORTAINER_EXPOSE --name $PORTAINER_NAME --restart=always -v $DOCKER_SOCKET -v $PORTAINER_MOUNT $PORTAINER_TAG"</code></pre></div><p>After update (might take 1-3 minutes, that&#8217;s normal), go back to admin container and:</p><div class="highlighted_code_block" data-attrs="{&quot;language&quot;:&quot;plaintext&quot;,&quot;nodeId&quot;:null}" data-component-name="HighlightedCodeBlockToDOM"><pre class="shiki"><code class="language-plaintext"># Space is precious here (we haven't installed an SSD yet) so do cleanup:
docker system prune -f

# This nukes *ALL* images that aren't attached to a running container. Should be OK:
docker image prune -a -f

# Don't touch volumes for now. That's gonna come in a later article for home automation.</code></pre></div><p>Next up, we&#8217;ll learn how to:</p><ul><li><p>Permanently mount a <a href="https://amzn.to/4bwpcIa">1TB WD NVMe SSD</a> with a <a href="https://amzn.to/472hzIb">trendy matching enclosure</a>.</p></li><li><p>Then we&#8217;ll start connecting the secondary SOC to IoT frequencies/networks.</p></li><li><p>Find out what, if any, useful embedded models we can run. We will train a tiny RL model to balance a home&#8217;s twin HVAC system (one on each floor) including gable vents, blowoff, UV control, humidifier and dehumidifier cycling. I wonder if I can get efficiency and comfort by using occupancy sensors and tracking sun position.</p></li></ul><p><em>Disclaimer: Amazon affiliate links - consider using them if this was valuable to you.</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UMXk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UMXk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 424w, https://substackcdn.com/image/fetch/$s_!UMXk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 848w, https://substackcdn.com/image/fetch/$s_!UMXk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 1272w, https://substackcdn.com/image/fetch/$s_!UMXk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UMXk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png" width="686" height="718" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/12e1c233-2441-466b-a597-1344d0557356_686x718.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:718,&quot;width&quot;:686,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:644577,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/191215814?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UMXk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 424w, https://substackcdn.com/image/fetch/$s_!UMXk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 848w, https://substackcdn.com/image/fetch/$s_!UMXk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 1272w, https://substackcdn.com/image/fetch/$s_!UMXk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F12e1c233-2441-466b-a597-1344d0557356_686x718.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 7/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-7n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-7n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 21 Jan 2026 06:56:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!mFos!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 7 of &#8220;development from scratch&#8221;, where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>In this chapter we take a detour due to the large amount of feedback I got from folks that have a 5000 series (not a 5090) and <strong>want codebase indexing but not inference.</strong></p><p><a href="https://www.yevelations.com/p/dev-from-scratch-6n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-8n">Link to next chapter</a> | <a href="https://github.com/NotYevvie/OnlyLocals">Link to companion GitHub repo</a>.</p><h1>Getting Started</h1><p>This setup is runnable on most Blackwell GPUs, including laptops. The defaults are 100% stable on 16GB+ VRAM. 8GB is a no-go but if you&#8217;re at 12GB just add lower:</p><ul><li><p><code>MAX_CLIENT_BATCH_SIZE</code></p></li><li><p><code>MAX_BATCH_TOKENS</code></p></li></ul><p>To the <code>./codebase-indexing/.env</code> file generated in the steps below.</p><p>I set aside a few hours to polish up the containers and do a better implementation of <a href="https://jina.ai/news/jina-reranker-v3-0-6b-listwise-reranker-for-sota-multilingual-retrieval/">Jina AI&#8217;s listwise re-ranker architecture</a> in the <a href="https://github.com/NotYevvie/OnlyLocals/blob/master/codebase-indexing/assets/manager.py">manager. Hardcoded</a>, filthy, but<em><strong> it works!</strong></em></p><pre><code># Pull down latest repo version
git fetch --all &amp;&amp; git pull

# Download the larger 1.5B code embedding model
hf download jinaai/jina-code-embeddings-1.5b

# Navigate from repo root to ./codebase-indexing
cd codebase-indexing

# Delete the previous .env file for regeneration
rm .env

# Run setup with a non-default (for us) embedding model
EMBEDDING_MODEL="model/jinaai/jina-code-embeddings-1.5b" ./setup.sh

# Start the new containers
docker compose --profile dedicated-codebase-indexing up</code></pre><p>Going forward in this series, we&#8217;ll be using the Roo Code Nightly build. Download and install it, making sure to <strong>delete the existing main release</strong> branch. Make sure that you have the repo root open in VS Code before proceeding to the rest of the article:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YzTz!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YzTz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 424w, https://substackcdn.com/image/fetch/$s_!YzTz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 848w, https://substackcdn.com/image/fetch/$s_!YzTz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 1272w, https://substackcdn.com/image/fetch/$s_!YzTz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YzTz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png" width="674" height="242" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:242,&quot;width&quot;:674,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:28889,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YzTz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 424w, https://substackcdn.com/image/fetch/$s_!YzTz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 848w, https://substackcdn.com/image/fetch/$s_!YzTz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 1272w, https://substackcdn.com/image/fetch/$s_!YzTz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff111331d-7e65-467b-a8be-f1fde85ecea9_674x242.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Your new Roo Code indexing settings (database-looking icon in the bottom right) are:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mFos!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mFos!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 424w, https://substackcdn.com/image/fetch/$s_!mFos!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 848w, https://substackcdn.com/image/fetch/$s_!mFos!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 1272w, https://substackcdn.com/image/fetch/$s_!mFos!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mFos!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png" width="700" height="571" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:571,&quot;width&quot;:700,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:38938,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!mFos!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 424w, https://substackcdn.com/image/fetch/$s_!mFos!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 848w, https://substackcdn.com/image/fetch/$s_!mFos!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 1272w, https://substackcdn.com/image/fetch/$s_!mFos!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc3fa07e1-7604-46b3-a4de-f7c0897c105f_700x571.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Uncheck indexing, click save, then re-check it, click save, and click Start Indexing.</p><h1>Direct Test</h1><pre><code># In ./codebase-indexing, launch the tester:
chmod +x qdrant.sh
./qdrant.sh</code></pre><p>Select the proper collection (should be index 0). Select a number of results (5-15 works best). When you&#8217;re at <em><strong>&#8220;Enter search query (or quit or exit):&#8220;</strong></em>, try these out:</p><ul><li><p><em><strong>&#8220;Where do we configure the runtime between Node, Deno, and Bun?&#8221; </strong></em>should return exactly what you&#8217;re expecting to be there, with scores around 0.55 to 0.75.</p></li><li><p><em><strong>&#8220;Where is the runtime-agnostic script shell entry point and setup?&#8221;</strong></em>: works.</p></li><li><p>FS liveliness check: <em><strong>&#8220;Where are LRU caches and API proxies implemented?&#8221;</strong></em></p><ul><li><p>If this doesn&#8217;t return results from <code>manager.py</code> open the file, add a space, and save it. Retry the query and you should see it now. Your FS listeners are funky.</p></li></ul></li></ul><h1>Let&#8217;s Blow It Up</h1><p>We are going to be intentionally dealing with a 2-3GB+ (compressed) Qdrant vector database so fully expect VS Code to crash several times during this indexing process:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KweL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KweL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 424w, https://substackcdn.com/image/fetch/$s_!KweL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 848w, https://substackcdn.com/image/fetch/$s_!KweL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 1272w, https://substackcdn.com/image/fetch/$s_!KweL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KweL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png" width="711" height="114" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:114,&quot;width&quot;:711,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16352,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KweL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 424w, https://substackcdn.com/image/fetch/$s_!KweL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 848w, https://substackcdn.com/image/fetch/$s_!KweL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 1272w, https://substackcdn.com/image/fetch/$s_!KweL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c148039-e50e-4bd4-a289-9eeb8ca977af_711x114.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Wait for the indexer to finish between each <code>git clone</code> command. Seeing some batch size and concurrency errors is perfectly normal - Roo Code retries these automatically.</p><pre><code># Run in project root - NOT ./codebase-indexing

git clone https://github.com/RooCodeInc/Roo-Code
git clone https://github.com/langchain-ai/langchain
git clone https://github.com/langchain-ai/langgraph
git clone https://github.com/langfuse/langfuse
git clone https://github.com/n8n-io/n8n
git clone https://github.com/pytorch/pytorch
git clone https://github.com/vllm-project/vllm

# And in case any normal people are reading this...
git clone https://github.com/vercel/next.js</code></pre><p><em>Note: I used my daily driver <a href="https://github.com/NotYevvie/OnlyLocals/blob/master/.rooignore">.rooignore template</a>; consider adopting it for your own use.</em></p><p>If you open <code>nvitop</code> you will see 95%+ spikes pulling 550W+. This means the code and optimizations are pipelining efficiently enough to bandwidth cap the GPU (good):</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hsaQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hsaQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 424w, https://substackcdn.com/image/fetch/$s_!hsaQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 848w, https://substackcdn.com/image/fetch/$s_!hsaQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 1272w, https://substackcdn.com/image/fetch/$s_!hsaQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hsaQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png" width="1265" height="522" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:522,&quot;width&quot;:1265,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:73971,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!hsaQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 424w, https://substackcdn.com/image/fetch/$s_!hsaQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 848w, https://substackcdn.com/image/fetch/$s_!hsaQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 1272w, https://substackcdn.com/image/fetch/$s_!hsaQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b6a481d-e4a3-41d9-bdf7-b4c11a2ef1d1_1265x522.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>There is a practical reason for why we just did this. Context7 is nice but it&#8217;s also slow, remote, and has rate caps. You can use this approach with additional .rooignore magic to <em><strong>maintain a robust and up-to-date index of the tools / libraries your code uses.</strong></em></p><p>Once the indexing is done go to your <a href="http://localhost:6333/dashboard#/collections">local Qdrant dashboard</a>:</p><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;5cf27e81-5466-4faf-9762-fc36c341a530&quot;,&quot;duration&quot;:null}"></div><h1>Trial By Fire</h1><p>Open up Roo Code Nightly with a smaller model like haiku 4.5 or gemini 3 flash so the model itself can&#8217;t brute-force despite a poor environment, close all open files because they&#8217;re sent in the context and can skew our checks, switch to &#8220;Ask&#8221; mode, and try:</p><p><em>&#8220;How does the torch dynamo symbolic tracing graph compilation work in this project?&#8221;</em></p><p>At some point in the task, you&#8217;ll see embedding searches that look like this (it&#8217;s a hit):</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_hD9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_hD9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 424w, https://substackcdn.com/image/fetch/$s_!_hD9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 848w, https://substackcdn.com/image/fetch/$s_!_hD9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 1272w, https://substackcdn.com/image/fetch/$s_!_hD9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_hD9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png" width="1149" height="460" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:460,&quot;width&quot;:1149,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:72669,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_hD9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 424w, https://substackcdn.com/image/fetch/$s_!_hD9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 848w, https://substackcdn.com/image/fetch/$s_!_hD9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 1272w, https://substackcdn.com/image/fetch/$s_!_hD9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8eee5b24-ae0c-4fbc-b3c4-3abed78cad44_1149x460.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Next task: <em>&#8220;Tell me about the LangGraph agent state graph node edges in this project.&#8221;</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tfwc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tfwc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 424w, https://substackcdn.com/image/fetch/$s_!tfwc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 848w, https://substackcdn.com/image/fetch/$s_!tfwc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 1272w, https://substackcdn.com/image/fetch/$s_!tfwc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tfwc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png" width="1158" height="450" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/aa053b13-b17a-4e07-bf08-63300084777e_1158x450.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:450,&quot;width&quot;:1158,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:73473,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tfwc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 424w, https://substackcdn.com/image/fetch/$s_!tfwc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 848w, https://substackcdn.com/image/fetch/$s_!tfwc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 1272w, https://substackcdn.com/image/fetch/$s_!tfwc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faa053b13-b17a-4e07-bf08-63300084777e_1158x450.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Next up: <em>&#8220;How does the Next.js middleware request rewrite redirect work in this project?&#8221;</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-3qZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-3qZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 424w, https://substackcdn.com/image/fetch/$s_!-3qZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 848w, https://substackcdn.com/image/fetch/$s_!-3qZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 1272w, https://substackcdn.com/image/fetch/$s_!-3qZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-3qZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png" width="1154" height="449" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:449,&quot;width&quot;:1154,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:86662,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-3qZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 424w, https://substackcdn.com/image/fetch/$s_!-3qZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 848w, https://substackcdn.com/image/fetch/$s_!-3qZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 1272w, https://substackcdn.com/image/fetch/$s_!-3qZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc17cfad-8d8e-44c3-a046-32cc525e8b53_1154x449.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I encourage you to compare the code search quality of this setup and custom proxy against what you get out of the box with Visual Studio Code, Cursor, and Windsurf.</p><h1>Next Up</h1><p>Given the pivot we&#8217;re taking, now that we have high quality codebase indexing and embedding search, the next logical step is to get under the hood and see exactly what these LM code assist tools are actually sending to the model and how to improve it.</p><p>We&#8217;ll be doing that with a <a href="https://www.litellm.ai/">LiteLLM</a> (which we&#8217;ll use for many other things) proxy: </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WIuZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WIuZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 424w, https://substackcdn.com/image/fetch/$s_!WIuZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 848w, https://substackcdn.com/image/fetch/$s_!WIuZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 1272w, https://substackcdn.com/image/fetch/$s_!WIuZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WIuZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png" width="1456" height="1055" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1055,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:298721,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WIuZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 424w, https://substackcdn.com/image/fetch/$s_!WIuZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 848w, https://substackcdn.com/image/fetch/$s_!WIuZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 1272w, https://substackcdn.com/image/fetch/$s_!WIuZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80cfcfe9-afc7-45a9-99c5-fb79b45a9766_1790x1297.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>That ties our IDEs and LM code assist tools into <a href="https://langfuse.com/">LangFuse&#8217;</a>s tracing and observability:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Iroy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Iroy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 424w, https://substackcdn.com/image/fetch/$s_!Iroy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 848w, https://substackcdn.com/image/fetch/$s_!Iroy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 1272w, https://substackcdn.com/image/fetch/$s_!Iroy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Iroy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png" width="1456" height="1002" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1002,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:333780,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185129364?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Iroy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 424w, https://substackcdn.com/image/fetch/$s_!Iroy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 848w, https://substackcdn.com/image/fetch/$s_!Iroy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 1272w, https://substackcdn.com/image/fetch/$s_!Iroy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ab5a8d1-7a61-44b4-88ce-391bc74f2bd2_1801x1239.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We will cover how to create a data set and use it with <a href="https://langfuse.com/docs/evaluation/evaluation-methods/llm-as-a-judge">LLM-as-a-judge</a> auto-evals to profile and improve Roo Code performance for your specific workflow and codebase.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>If you&#8217;d like to jump ahead, I made a <a href="https://github.com/NotYevvie/OnlyLocals/blob/master/dev-auxiliaries/docker-compose.yaml">docker-compose that includes both</a>.</p>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 6/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-6n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-6n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Mon, 19 Jan 2026 10:47:48 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/8722e9b8-70a1-4be6-afce-e3528a1c890d_781x425.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 6 of &#8220;development from scratch&#8221;, where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>In this chapter we combine inference, codebase indexing, and optimizations to fit both, alongside the host OS, on a 5090 for a fully local baseline SWE environment.</p><p><a href="https://www.yevelations.com/p/dev-from-scratch-5n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-7n">Link to next chapter</a> | <a href="https://github.com/NotYevvie/OnlyLocals">Link to companion GitHub repo</a>.</p><h1>Getting Started</h1><pre><code># Pull down the latest version of the companion repo:
git fetch --all &amp;&amp; git pull

# Pull down the inference container (may take 15-30+ minutes):
docker pull yevai/local-inference-qwen3:sm120-cu131-v1</code></pre><p>If you <a href="https://www.yevelations.com/i/183747151/host-setup">set up WSL correctly</a>, you should see the below when you run &#8220;<code>lscpu -e</code>&#8221;:</p><pre><code><code>CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE
  0    0      0    0 0:0:0:0          yes
  1    0      0    0 0:0:0:0          yes
...
 27    0      0   13 13:13:13:0       yes</code></code></pre><p>If you see less than 27 vCPUs in WSL, adjust the &#8220;<code>cpuset</code>&#8220; in &#8220;<code>docker-compose.yaml</code>&#8221;. </p><p>Next up, make sure that whatever you&#8217;re running on the host is consuming less than 2.5GB VRAM by running <code>nvitop</code>. If you don&#8217;t have ten billion tabs of 4K videos open because it&#8217;s 5am and you ended up in the weird part of YouTube, you should be good.</p><pre><code># Run this in root (requires going through previous chapters):
docker compose --profile dev --env-file codebase-indexing/.env up</code></pre><p>Roo Code profile settings for this configuration:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ni66!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ni66!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 424w, https://substackcdn.com/image/fetch/$s_!Ni66!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 848w, https://substackcdn.com/image/fetch/$s_!Ni66!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 1272w, https://substackcdn.com/image/fetch/$s_!Ni66!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ni66!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png" width="547" height="526.2096985583224" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:734,&quot;width&quot;:763,&quot;resizeWidth&quot;:547,&quot;bytes&quot;:68575,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185040023?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ni66!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 424w, https://substackcdn.com/image/fetch/$s_!Ni66!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 848w, https://substackcdn.com/image/fetch/$s_!Ni66!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 1272w, https://substackcdn.com/image/fetch/$s_!Ni66!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd59c65e8-2535-4771-9841-7ff7cffae6c5_763x734.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>You&#8217;re now able to use <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a> just like in this video:</p><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;ba1916f8-cb35-4384-b7c8-d87f023dae16&quot;,&quot;duration&quot;:null}"></div><p>That&#8217;s it! Runs fast, right? We&#8217;ll be taking advantage of that. In the next Chapter, we&#8217;ll:</p><ul><li><p>Set up observability for our LM, embedder, and re-ranker.</p></li><li><p>Run benchmarks to evaluate the performance of <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a>.</p></li><li><p>Create <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a> settings for good quality with these models.</p></li></ul><p>You can skip the below info if you&#8217;d prefer to wait for the next hands-on chapter.</p><h1>Docker: inference-model</h1><p>The <code>yevai/local-inference-qwen3</code> image adds single-GPU SM120 optimizations and patches stability and performance bugs in the <a href="https://docs.vllm.ai/en/stable/usage/v1_guide/">new version of the vLLM engine</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!AF87!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!AF87!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 424w, https://substackcdn.com/image/fetch/$s_!AF87!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 848w, https://substackcdn.com/image/fetch/$s_!AF87!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 1272w, https://substackcdn.com/image/fetch/$s_!AF87!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!AF87!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png" width="495" height="496.3769123783032" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:721,&quot;width&quot;:719,&quot;resizeWidth&quot;:495,&quot;bytes&quot;:744393,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185040023?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!AF87!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 424w, https://substackcdn.com/image/fetch/$s_!AF87!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 848w, https://substackcdn.com/image/fetch/$s_!AF87!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 1272w, https://substackcdn.com/image/fetch/$s_!AF87!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fddcd6d1f-ecca-4515-8c12-a61b28cde6f4_719x721.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Now let&#8217;s go over why we did (most) of what we did in <a href="https://github.com/NotYevvie/OnlyLocals/blob/b2286f6be7cfc65c98e13d1c382c7e3e3aadde30/docker-compose.yaml">the new docker-compose.yaml</a>!</em></p><p><code>runtime: nvidia</code> tells docker to use the <a href="https://developer.nvidia.com/container-runtime">NVIDIA Container Runtime</a> instead of <a href="https://www.docker.com/blog/runc/">runc</a>. This allows injection of the proprietary driver files and CUDA libraries from the host.</p><h2>CPU Settings</h2><p><code>cpuset: &#8220;0-15&#8221;</code> pins the inference container to CCD1 on the 9950X. CCD stands for <em>&#8220;Core Complex Die&#8221;</em>, a single physical <a href="https://www.amd.com/content/dam/amd/en/documents/solutions/technologies/chiplet-architecture-white-paper.pdf">chiplet</a> on the CPU die. This gives vLLM a private 32MB cache, avoids <a href="https://learn.microsoft.com/en-us/azure/architecture/antipatterns/noisy-neighbor/noisy-neighbor">Noisy Neighbor</a> problems, and ensures we don&#8217;t grind CPU pre-processing to a halt by sending traffic across the (relatively) slow <a href="https://www.amd.com/en/blogs/2025/engineering-the-future-of-ai.html">Infinity Fabric.</a></p><p>If you want to see inference grind to a halt, try removing the <code>cpuset</code> attributes from the first three containers - they will thrash each other and you&#8217;ll get ~20-30TPS.</p><p><code>pid: host</code> lets the container use the host&#8217;s Process ID namespace. This removes PID translation overhead and lets preprocessing run with proper CPU-GPU signal handling.</p><p><code>ipc: host</code> lets PyTorch access the host&#8217;s IPC namespace (shared memory). We want this because PyTorch relies on <code>/dev/shm</code> to move data between CPU worker threads.</p><p><code>memlock: -1</code> lets NVIDIA drivers <a href="https://giahuy04.medium.com/pinned-memory-5d408b72241d">pin memory pages</a> to RAM, which lets it use <a href="https://en.wikipedia.org/wiki/Direct_memory_access">Direct Memory Access</a> because it knows the memory is (1) reserved and (2) not in a page file.</p><p><code>stack: 67108864</code> gives us a <a href="https://courses.grainger.illinois.edu/cs225/sp2023/resources/stack-heap/">64MB stack</a> instead of the default 2-8MB, without which Python itself might get lost in the sauce of recursive matrix operations and fail silently.</p><h2>Environment Variables</h2><p><code>TORCH_CUDA_ARCH_LIST=12.0</code> tells PyTorch to compile JIT kernels for Blackwell.</p><p><code>NCCL_P2P_DISABLE=1</code> explicitly disables the <a href="https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/overview.html">NCCL bridge</a> since we&#8217;re using 1 GPU.</p><p><code>VLLM_USE_V1=1</code> tells vLLM to use all the fancy stuff we fixed for SM120/Blackwell.</p><p><code>VLLM_NO_USAGE_STATS=1</code> disables (internal) observability for a performance boost.</p><p><code>VLLM_FLASH_ATTN_VERSION=3</code> could be its own article. At a high level, it enables:  </p><ul><li><p><a href="https://docs.nvidia.com/cuda/parallel-thread-execution/#asynchronous-warpgroup-level-matrix-instructions">WGMMA</a>, which lets thread groups collaborate on matrix math much faster.</p></li><li><p><a href="https://research.colfax-intl.com/tutorial-hopper-tma/">TMA</a>, which is a specialized asynchronous hardware unit on Hopper+ GPUs.</p></li><li><p>A bunch of <a href="https://developer.nvidia.com/blog/introducing-nvfp4-for-efficient-and-accurate-low-precision-inference/">FP4/8 specialized goodies</a> that we want but won&#8217;t go into here.</p></li></ul><p>You might be thinking <em>&#8220;But Yevgen, we&#8217;re using <a href="https://github.com/flashinfer-ai/flashinfer">FlashInfer</a> anyways?&#8221;</em> <em><strong>Not quite :)</strong></em></p><p><code>[OPM/MKL]_NUM_THREADS=16</code> explicitly uses the same number of threads we <code>cpuset</code>.</p><p><code>CUDA_DEVICE_MAX_CONNECTIONS=1</code> prevents CUDA from creating multiple streams at the hardware level. All software queues are streamed into a single hardware command queue, which prevents thrashing, massive serialization jitter, and other bad things.</p><p><code>TORCH_CUDNN_V8_API_ENABLED=1</code> enables the <a href="https://docs.nvidia.com/deeplearning/cudnn/backend/latest/developer/graph-api.html">cuDNN v8 Graph API</a>, which enables Blackwell-native Kernel Fusion mechanisms. A sequence like <code>Conv &#8594; Bias &#8594; ReLU</code>, which is usually 3 separate launches and memory round-trips, is fused into one GPU operation. This massively helps throughput by keeping data resident in the L2 cache.</p><h2>vLLM Launch Args</h2><p><code>&#8212;quantization modelopt_fp4</code> tells vLLM to use <a href="https://github.com/NVIDIA/Model-Optimizer">NVIDIA ModelOpt</a>, <a href="https://github.com/NVIDIA/TensorRT-LLM">TensorRT-LLM</a>s quantization engine. It&#8217;s the only reason this model fits on a 5090 with room to spare. Older 4-bit formats required software unpacking. This feeds directly into the Blackwell FP4 Tensor Cores, effectively doubling memory bandwidth and compute throughput.</p><p><code>--enable-prefix-caching</code> should be a default for all LM code assist tools.</p><p><code>&#8212;max-num-batched-tokens &#8220;2048&#8221;</code> is there because we also had to fit the re-ranker and embedding model into VRAM. The <a href="https://docs.vllm.ai/en/stable/design/cuda_graphs/">CUDA Graph</a> config offsets the performance hit from this while conserving precious VRAM, which we don&#8217;t have that much of:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ebTi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ebTi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 424w, https://substackcdn.com/image/fetch/$s_!ebTi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 848w, https://substackcdn.com/image/fetch/$s_!ebTi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 1272w, https://substackcdn.com/image/fetch/$s_!ebTi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ebTi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png" width="874" height="204" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:204,&quot;width&quot;:874,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:68736,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/185040023?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ebTi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 424w, https://substackcdn.com/image/fetch/$s_!ebTi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 848w, https://substackcdn.com/image/fetch/$s_!ebTi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 1272w, https://substackcdn.com/image/fetch/$s_!ebTi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a06f9ad-754b-4925-8aaf-bb7453c11212_874x204.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Thanks to that, we can use <code>--max_model_len &#8220;131072&#8221;</code>: a 131k context window. Our version of Qwen3 has 262k context natively but we&#8217;d have to turn off the embedding and re-ranker to afford VRAM for a<strong> 262k <a href="https://huggingface.co/blog/not-lain/kv-caching">KV Cache</a> - which you can! </strong>That&#8217;d put our very own local model context window up there with a good chunk of SoTA models.</p><p><code>--kv-cache-dtype fp8_e4m3</code> is the other piece of magic that makes this possible by <a href="https://huggingface.co/docs/optimum/en/concept_guides/quantization">quantizing</a> our <a href="https://huggingface.co/blog/not-lain/kv-caching">KV Cache</a>. A 131k FP16 cache would nuke VRAM. In our<em> very specific</em> case the accuracy loss from quantization is &lt;0.05%. 3 mantissa bits distinguish subtle attention signals from noise by trading dynamic range to buy back inference accuracy.</p><p><code>&#8212;max-num-seqs &#8220;1&#8221;</code> is not great for agent swarms. In fact, it sucks. But it&#8217;s what we can afford in VRAM poverty. Combined with <code>&#8212;gpu-memory-utilization &#8220;0.75&#8221;</code>, this gives us a <strong>1.07x token buffer</strong> which is enough for PyTorch&#8217;s memory shuffling.</p><p>These things are what let LM code assist tools like <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a> properly use the model:</p><ul><li><p><code>&#8212;enable-auto-tool-choice</code></p></li><li><p><code>&#8212;tool-call-parser qwen3_coder</code></p></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>And that&#8217;s it! With a relatively simple setup, we&#8217;re off to the races with SoTA codebase indexing capabilities and a capable primary model boasting a 131k context window. I might try to find a <a href="https://huggingface.co/docs/hub/en/gguf">GGUF-able</a> embedding and re-ranker and try that out to see if we can flex a full setup with 262k context even though we will almost never need it.</p><p></p>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 5/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-5n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-5n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Tue, 13 Jan 2026 03:23:27 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!1Ox4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 5 of &#8220;development from scratch&#8221;, where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>In previous chapters, we set up local inference. Today, we tackle one of the primary hurdles of LLM-assisted coding: context.<strong> </strong>Most RAG setups fail because they are too eager. They flood the context window with "kinda relevant".<em> Let&#8217;s go ahead &amp; fix that.</em></p><p><a href="https://www.yevelations.com/p/dev-from-scratch-4n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-6n">Link to next chapter</a> | <a href="https://github.com/NotYevvie/OnlyLocals">Link to companion GitHub repo</a></p><p>This setup passes <a href="https://github.com/CoIR-team/coir">CoIR</a>, the de-facto benchmark for these things, <a href="https://github.com/yev-ai/personal-yev-substack/tree/main/docs/004_basic_dev_env">with flying colors</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1Ox4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1Ox4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 424w, https://substackcdn.com/image/fetch/$s_!1Ox4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 848w, https://substackcdn.com/image/fetch/$s_!1Ox4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 1272w, https://substackcdn.com/image/fetch/$s_!1Ox4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1Ox4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png" width="1456" height="726" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:726,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:138263,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/184396615?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!1Ox4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 424w, https://substackcdn.com/image/fetch/$s_!1Ox4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 848w, https://substackcdn.com/image/fetch/$s_!1Ox4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 1272w, https://substackcdn.com/image/fetch/$s_!1Ox4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d7d83eb-99b9-417a-bafc-fbc5fe0cee8d_1533x764.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The <a href="https://github.com/NotYevvie/OnlyLocals">companion repo</a> contains high-performance local codebase indexing &amp; retrieval for <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a>. This this is (inference) model-agnostic and API-compatible with any LM-based code assistance tool that relies on <a href="https://qdrant.tech/">Qdrant</a> since that&#8217;s the API we are overriding.</p><p>This setup enforces a &#8220;pseudo-CoT&#8221; (Chain of Thought) by applying strict reranking filters. If an initial search lacks high relevance, the system returns narrow or empty results. This compels your AI coding assistant of choice to refine its query, ensuring only high-quality context enters the context window. The result is superior steering and a significantly more productive developer experience.</p><h1><strong>Requirements</strong></h1><p>Please see <a href="https://www.yevelations.com/p/dev-from-scratch-1n">Chapter 1</a> for compatible hardware - will expand the docker images to cover a more broad set of hardware later on if this series resonates with people.</p><ul><li><p>Unix-like environment</p></li><li><p>HuggingFace CLI</p></li><li><p>NVIDIA Blackwell GPU with 6GB+ available VRAM</p><ul><li><p>The consumer versions are RTX 50 series</p></li><li><p>The workstation version is <a href="https://www.nvidia.com/en-us/products/workstations/professional-desktop-gpus/rtx-pro-6000/">RTX PRO 6000</a></p></li></ul></li><li><p>AMD Ryzen 9000 series CPU (LTO / other compiler optimizations)</p></li><li><p>590+ drivers with CUDA 13.1 (check <code>nvidia-smi</code>)</p></li><li><p>Docker and a logged in <a href="https://formulae.brew.sh/formula/huggingface-cli">huggingface-cli</a></p></li></ul><h1><strong>Getting Started</strong></h1><pre><code><code># Pull down the companion repo
gh repo clone https://github.com/NotYevvie/OnlyLocals

# Navigate to the module for this article
cd OnlyLocals/codebase-indexing

# Download the 1.0GB embedding model
hf download jinaai/jina-code-embeddings-0.5b

# Download the 1.2GB reranker model
hf download jinaai/jina-reranker-v3

# The below setup script is idempotent (safe to run multiple times)
# This checks a lot; fix the messages 1 by 1 and keep re-running it
chmod +x setup.sh
./setup.sh

# Download the embedding container (these are 9-14GB)
# This may take 15-30min+ depending on your connection
docker pull yevai/codebase-index-embed:sm120-cu131-v1

# Download the retrieval container (these are 9-14GB)
# This may take 15-30min+ depending on your connection
docker pull yevai/codebase-index-rerank:sm120-cu131-v1

# Start it up!
docker compose --profile codebase-indexing up</code></code></pre><p>Connecting it to <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a> and other IDEs that rely on qdrant:</p><ul><li><p>Enable Codebase Indexing</p></li><li><p>Any string works for API key</p></li><li><p>Use the below settings</p></li><li><p>Click &#8220;Start Indexing&#8221;</p></li></ul><p>When you open <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a>, click on the database-looking icon in the bottom right:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ju6P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ju6P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 424w, https://substackcdn.com/image/fetch/$s_!ju6P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 848w, https://substackcdn.com/image/fetch/$s_!ju6P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 1272w, https://substackcdn.com/image/fetch/$s_!ju6P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ju6P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png" width="684" height="1127" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1127,&quot;width&quot;:684,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:79588,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/184396615?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ju6P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 424w, https://substackcdn.com/image/fetch/$s_!ju6P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 848w, https://substackcdn.com/image/fetch/$s_!ju6P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 1272w, https://substackcdn.com/image/fetch/$s_!ju6P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffbf164fe-7824-401c-8606-ba892a85e5c6_684x1127.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1><strong>Try It Out</strong></h1><p>This setup shines primarily in large, complex code-bases where the dependencies are also checked out as git sub-modules so that their contents are available in retrieval.</p><h2>Negative Test Use Case</h2><p>Once indexed, try it out with (in &#8220;Ask&#8221; mode if using <a href="https://github.com/RooCodeInc/Roo-Code">Roo Code</a>):  &#8220;<code>Search your embeddings about this codebase to find what it knows about CoIRS and if it has any interesting innovations about reranking / RAG&#8221;</code></p><p>If ran in this repo, little to no results outside of this mention get returned - this means our re-ranker is filtering properly.</p><h2>Positive Test Use Case</h2><p>Next up, try: &#8220;<code>Search your embeddings about this codebase and give me the highlights.</code>&#8220;</p><p>This should result in narrow returns. A few queries later you should see a high-quality overview of what this repo is.</p><h1>Direct Query Utility</h1><pre><code><code># With the docker compose container running
chmod +x qdrant.sh
./qdrant.sh</code></code></pre><p>This is a simple utility similar to Roo Code&#8217;s search that lets you <strong>run queries*</strong> directly against collections locally viewable <a href="http://localhost:6333/dashboard#/collections">here</a>. Disclaimer: this is untested and unpolished.</p><p>* This is a <a href="https://qdrant.tech/documentation/beginner-tutorials/search-beginners/">semantic search query</a>, not an LM prompt or Google search. Some tips:</p><ul><li><p>Search for behavior, not keywords. </p><ul><li><p>&#8220;DB connection&#8221; &#8594; &#8220;How does this application connect to the database?&#8221;</p></li></ul></li><li><p>Use standard industry terms even if your code or implementation are weird</p><ul><li><p>&#8220;makeDataGoBrrt() =&#8221; &#8594; &#8220;Data processing pipeline triggers&#8221;</p></li></ul></li></ul><p>TL;DR: Is it a full sentence? Does it describe an action that the code performs? Good.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wz5E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wz5E!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 424w, https://substackcdn.com/image/fetch/$s_!wz5E!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 848w, https://substackcdn.com/image/fetch/$s_!wz5E!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 1272w, https://substackcdn.com/image/fetch/$s_!wz5E!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wz5E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png" width="982" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:982,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:104876,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/184396615?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wz5E!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 424w, https://substackcdn.com/image/fetch/$s_!wz5E!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 848w, https://substackcdn.com/image/fetch/$s_!wz5E!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 1272w, https://substackcdn.com/image/fetch/$s_!wz5E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcba41ea0-2a46-4806-8257-bcc7f29c5064_982x768.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1><strong>Embedding Container</strong></h1><p>This is a version of HuggingFace&#8217;s <a href="https://github.com/huggingface/text-embeddings-inference">text-embeddings-inference</a> with <a href="https://github.com/huggingface/candle-extensions/compare/main...NotYevvie:candle-ext-cu-13010:main">CUDA 13.1 support and performance enhancements</a>.</p><ul><li><p>I&#8217;ve upgraded the following libraries to support SM120 (blackwell) and CUDA 13.1:</p><ul><li><p><code>huggingface/candle</code> <a href="https://github.com/huggingface/candle">Source Repository</a> | <a href="https://github.com/NotYevvie/candle-cu-13010">Upgraded Link</a></p></li><li><p><code>huggingface/candle-extensions</code> <a href="https://github.com/huggingface/candle-extensions">Source Repository</a> | <a href="https://github.com/NotYevvie/candle-ext-cu-13010">Upgraded Link</a></p></li><li><p><code>huggingface/candle-index-select-cu</code> <a href="https://github.com/michaelfeil/candle-index-select-cu">Source Repository</a> | <a href="https://github.com/NotYevvie/candle-select-cu-13010">Upgraded Link</a></p></li></ul></li><li><p>Performance-optimized Flash Attention and LTO as well as CPU optimizations.</p></li><li><p>A sprinkle of extra low-level magic with a focus on single-GPU performance.</p></li></ul><h1><strong>Reranker Container</strong></h1><p>This is a Qdrant retrieval proxy built from <a href="https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch?version=25.12-py3">NGC PyTorch 25.12-py3</a> that includes:</p><ul><li><p>Highly customized version of FBGEMM tuned for SM120 performance.</p></li><li><p>Flash Attention 2 and TorchAO int4 quantization for Blackwell.</p></li></ul><p>TL;DR: Pull top 100, rerank with extreme prejudice, track latest query for context.</p><h1><strong>Vector DB Container</strong></h1><p>Standard Qdrant image. Once up, browse collections: <a href="http://localhost:6333/dashboard">http://localhost:6333/dashboard</a></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_2ZZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 424w, https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 848w, https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 1272w, https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png" width="1456" height="724" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:724,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:115847,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/184396615?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 424w, https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 848w, https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 1272w, https://substackcdn.com/image/fetch/$s_!_2ZZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59b8f3cb-9863-4d2b-bbb7-812b3072ffaf_1707x849.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1><strong>Having Trouble?</strong></h1><p>I put some effort into making the setup script comprehensive and user-friendly but I fully expect this to not work out-of-the-box on all applicable machine types. <a href="https://www.linkedin.com/in/yevgen-reztsov-5646346b/">DM me on LinkedIn</a> if you run into issues!</p><h1><strong>What&#8217;s Next</strong></h1><p>If this gets any traction, I&#8217;ll create containers optimized for:</p><ul><li><p>ABM (Apple baremetal, the M-series chips)</p></li><li><p>Older NVIDIA GPUs (be warned - bad perf)</p></li></ul><p>And test on / expand compatibility for Cursor, Windsurf, etc</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Beyond that, I&#8217;d like to slowly distill more of my secret sauce into the public docker image of the re-ranker without <a href="https://www.yev.ai/">my latest startup&#8217;s</a> lawyers and technical due diligence team having an aneurysm. This includes stuff like temporal context linkage and some rudimentary linear algebra dark magic for the vectors themselves.</p>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 4/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-4n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-4n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 07 Jan 2026 11:20:06 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/f1fde50d-5297-4821-b7ea-e245305d73ca_840x468.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 4 of &#8220;development from scratch&#8221;, where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>This chapter covers optimizing a general-purpose Qwen3 model to run at 150+ TPS. </p><p><a href="https://www.yevelations.com/p/dev-from-scratch-3n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-5n">Link to next chapter</a> | <a href="https://github.com/yev-ai/personal-yev-substack">Link to companion GitHub repo</a></p><p>The following clip, which you&#8217;ll replicate in this post, is in real-time and not sped up:</p><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;943f8fba-2c57-4534-bc03-235a08ccbec6&quot;,&quot;duration&quot;:null}"></div><h1>Benchmarking</h1><h2>Unoptimized</h2><pre><code># Install aiperf
pipx install aiperf

# Start with previous unoptimized vLLM in a separate terminal window
"$(git root)/docs/002_inference/run-model.sh"

# Warm up vLLM
curl http://localhost:1337/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer EMPTY" \
  -d '{
    "model": "nvidia/Qwen3-30B-A3B-NVFP4",
    "messages": [{"role": "user", "content": "hi"}],
    "max_tokens": 10
  }'

# Run a basic perf test
aiperf profile \
  --url http://localhost:1337 \
  --model "nvidia/Qwen3-30B-A3B-NVFP4" \
  --endpoint-type chat \
  --streaming \
  --concurrency 1 \
  --num-requests 10</code></pre><p>If running on similar hardware to that in Chapter 1, you should see something like:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1aSN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1aSN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 424w, https://substackcdn.com/image/fetch/$s_!1aSN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 848w, https://substackcdn.com/image/fetch/$s_!1aSN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 1272w, https://substackcdn.com/image/fetch/$s_!1aSN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1aSN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png" width="1350" height="439" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:439,&quot;width&quot;:1350,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:73857,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/183749922?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1aSN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 424w, https://substackcdn.com/image/fetch/$s_!1aSN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 848w, https://substackcdn.com/image/fetch/$s_!1aSN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 1272w, https://substackcdn.com/image/fetch/$s_!1aSN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F30180704-33fb-4679-b950-f05ee3a99fac_1350x439.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now stop the vLLM container. 113.51 TPS is already faster than a Vertex, Bedrock, OpenAI or GitHub Copilot API. But why stop here? Let&#8217;s do some sketchy stuff.</p><h2>Let&#8217;s Get Weird</h2><p><em>Pull down the latest version of the GitHub repo if you&#8217;ve been following along.</em></p><p>What&#8217;s better than pulling sus nightly builds? Nothing. Nothing could be better. If that wasn&#8217;t enough, there&#8217;s even a /sed/ patch &#8230;in the Dockerfile. We&#8217;re living the wild life.</p><pre><code># Build container from sketchy nightly wheels and shady locker room trolls
# chmod +x "$(git root)/docs/003_optimization/build.sh"
# "$(git root)/docs/003_optimization/build.sh"

# Run with newly added optimizations in a separate terminal window
chmod +x "$(git root)/docs/003_optimization/run-model.sh"
"$(git root)/docs/003_optimization/run-model.sh"

# Warm up vLLM
curl http://localhost:1337/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer EMPTY" \
  -d '{
    "model": "nvidia/Qwen3-30B-A3B-NVFP4",
    "messages": [{"role": "user", "content": "hi"}],
    "max_tokens": 10
  }'

# Run the same perf test
aiperf profile \
  --url http://localhost:1337 \
  --model "nvidia/Qwen3-30B-A3B-NVFP4" \
  --endpoint-type chat \
  --streaming \
  --concurrency 1 \
  --num-requests 10</code></pre><p>You should see ~172TPS, a roughly 51% increase. Spin up the UI and try how fast it is:</p><pre><code>"$(git root)/docs/002_inference/run-ui.sh"</code></pre><p><a href="http://localhost:1338/">Link to local UI.</a> This is where <em>&#8220;Effective AI-assisted development using local resources&#8221;</em> is going: Modern LMs are plenty capable <em><strong>and this is notably faster than API calls.</strong></em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Most folks don&#8217;t fully appreciate how heavily they&#8217;re guilty of model overkill. With the right setup you&#8217;ll have LM code assist that <em>works ~90% as well but is 400-700% faster.</em></p><p><em><strong>Next up: Setting up coding-specialized models and connecting them to VS Code.</strong></em></p><p></p>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 3/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-3n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-3n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 07 Jan 2026 02:53:43 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ZtbR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 3 of &#8220;development from scratch&#8221;, where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>This chapter covers running a 30B Qwen3 model at 60-90TPS (we&#8217;ll optimize this later).</p><p><a href="https://www.yevelations.com/p/dev-from-scratch-2n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-4n">Link to next chapter</a> | <a href="https://github.com/yev-ai/personal-yev-substack">Link to companion GitHub repo</a></p><h1><strong>WSL Docker Setup</strong></h1><p>We should <strong>install Docker Engine inside WSL</strong> so that <code>nvidia-container-toolkit</code> can interface directly with the WSL Linux kernel via <a href="https://learn.microsoft.com/en-us/windows-hardware/drivers/display/directx-graphics-kernel-subsystem">dxgkrnl</a>. This lets WSL sub in for a native host OS by directly managing the GPU resources.</p><pre><code><code># Install Docker
curl -fsSL https://get.docker.com | sh

# Add user to group
sudo usermod -aG docker $USER &amp;&amp; newgrp docker

# Reload
newgrp docker

# Confirm socket (should show CONTAINER ID in red)
docker ps | grep "CONTAINER ID"

# Add Nvidia repositories
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
  &amp;&amp; curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
    sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
    sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

# Update sources and install
sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit

# Configure NVidia runtime
sudo nvidia-ctk runtime configure --runtime=docker

# Restart docker
sudo systemctl restart docker</code></code></pre><h1><strong>Downloading a 30B Model</strong></h1><p>The casual favorite. Make an account on <a href="https://huggingface.co/">HuggingFace</a> and <a href="https://huggingface.co/settings/tokens">get an access token here</a>.</p><pre><code><code># Install the HuggingFace CLI
brew install huggingface-cli

# Enable Git credential store
git config --global credential.helper store

# Log In (also store as git credential)
hf auth login

# Confirm you're logged in
hf auth whoami

# Save your auth token - replace YOUR_HF_TOKEN with your actual token.
echo 'export HF_TOKEN="YOUR_HF_TOKEN"' &gt;&gt; "$HOME/.zshrc-pre.sh" &amp;&amp; source

# Create a folder for HuggingFace models
mkdir "$HOME/HF_Models"

# Add it to the pre-zshrc hook from Chapter 2
echo 'export HF_HOME="$HOME/HF_Models"' &gt;&gt; "$HOME/.zshrc-pre.sh" &amp;&amp; source "$HOME/.zshrc"

# Confirm it's available. Your models will download here.
echo $HF_HOME</code></code></pre><p><a href="https://huggingface.co/nvidia/Qwen3-30B-A3B-NVFP4">Qwen3-30B-A3B-NVFP4</a> is a solid Blackwell &#8220;Hello World&#8221; model. While it&#8217;s <em>technically</em> a 30B model, it uses only ~3.3B active parameters per token, giving it decent throughput on a 5090. It&#8217;s not particularly great (even compared to other single-GPU 5090 options) at anything, but it is one of the rare cases where <strong><a href="https://huggingface.co/nvidia/Qwen3-30B-A3B-NVFP4">NVFP4 quantization resulted in higher scores</a></strong> on some of the benchmarks we care about.</p><pre><code><code>hf download nvidia/Qwen3-30B-A3B-NVFP4</code></code></pre><h1><strong>Running it with vLLM</strong></h1><p>Blackwell GPUs support <a href="https://developer.nvidia.com/blog/introducing-nvfp4-for-efficient-and-accurate-low-precision-inference/">NVFP4</a> (1 sign, 2 exponent, and 1 mantissa bit) models and we&#8217;re going to be heavily abusing this. This groups weights into blocks of 16, each of which shares a high-precision 8-bit (E4M3) scale factor and allows the 4-bit quantized coefficients to handle the finer details.</p><p>They also come with the <a href="https://github.com/NVIDIA/TransformerEngine">2nd Gen Transformer Engine</a>, which which has Tensor Core instructions that operate directly on the compressed 4-bit blocks. The result of this is much more efficient use of VRAM that lets us run much larger models with only ~28GB of available VRAM (4GB for host OS).</p><p><a href="https://github.com/vllm-project/vllm">vLLM</a> recently added experimental support for NVFP4 so we don&#8217;t have to build <a href="https://github.com/NVIDIA/TensorRT-LLM">TensorRT-LLM</a> from source and <a href="https://github.com/NVIDIA/Model-Optimizer">compile our models for TRT-LLM</a> to get reasonable <a href="https://docs.nvidia.com/nim/benchmarking/llm/latest/metrics.html">TTFT (time to first token) and TPS (tokens per second)</a>.</p><p>vLLM also comes with a number of optimizations like <a href="https://arxiv.org/abs/2309.06180">PagedAttention</a> for the <a href="https://huggingface.co/blog/not-lain/kv-caching">KV cache</a>.</p><pre><code><code># Build the vLLM container.
chmod +x "$(git root)/docs/002_inference/build.sh"
"$(git root)/docs/002_inference/build.sh"

# Start the vLLM container. This takes A WHILE (8-10 minutes) for precompute.
chmod +x "$(git root)/docs/002_inference/run-model.sh"
"$(git root)/docs/002_inference/run-model.sh"</code></code></pre><h1><strong>Chatting with it</strong></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZtbR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZtbR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 424w, https://substackcdn.com/image/fetch/$s_!ZtbR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 848w, https://substackcdn.com/image/fetch/$s_!ZtbR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 1272w, https://substackcdn.com/image/fetch/$s_!ZtbR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZtbR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png" width="1456" height="1163" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1163,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:526309,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/183748065?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZtbR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 424w, https://substackcdn.com/image/fetch/$s_!ZtbR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 848w, https://substackcdn.com/image/fetch/$s_!ZtbR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 1272w, https://substackcdn.com/image/fetch/$s_!ZtbR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41db90cf-5dec-48dc-b256-7b0afaceef77_2079x1660.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><pre><code><code># Start the UI server.
chmod +x "$(git root)/docs/002_inference/run-ui.sh"
"$(git root)/docs/002_inference/run-ui.sh"</code></code></pre><p>Head over to <a href="http://localhost:1338">http://localhost:1338</a></p><p>First, you&#8217;ll have to &#8220;warm up&#8221; vLLM with a simple hello world prompt. This will take a while, after which you can expect 60-90TPS. We&#8217;ll optimize this later. When you first open localhost in your browser, you may see errors. Click on &#8220;Check again&#8221; and reload!</p><h1><strong>Bonus: Resource Monitoring</strong></h1><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><pre><code><code># Install pipx
sudo apt install -y pipx

# Install nvitop
pipx install nvitop

# Add to path
echo 'export PATH="$HOME/.local/bin:$PATH"' &gt;&gt; "$HOME/.zshrc-pre.sh" &amp;&amp; source "$HOME/.zshrc"

# Run nvitop
nvitop</code></code></pre>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 2/n]]></title><description><![CDATA[Effective AI-assisted development using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-2n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-2n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 07 Jan 2026 02:42:18 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!C1z4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 2 of "development from scratch", where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>This chapter covers proper setup of a WSL distro for the series.</p><p><a href="https://www.yevelations.com/p/dev-from-scratch-1n">Link to previous chapter</a> | <a href="https://www.yevelations.com/p/dev-from-scratch-3n">Link to next chapter</a> | <a href="https://github.com/yev-ai/personal-yev-substack">Link to companion GitHub repo</a></p><h1><strong>Windows Subsystem for Linux (WSL)</strong></h1><p>We&#8217;re setting up a linux-based environment for this guide because most modern cloud deployment targets are ARM or linux-based x64. WSL uses <a href="https://www.scalecomputing.com/resources/virtual-gpu-vs-gpu-passthrough">GPU Paravirtualization (GPU-PV)</a>, whereas your production B200 and/or <a href="https://www.nvidia.com/en-us/data-center/gb200-nvl72/">NVL72</a> nodes use PCIe passthrough (DDA) via AWS <a href="https://aws.amazon.com/ec2/nitro/">Nitro</a>, GCP <a href="https://docs.cloud.google.com/docs/security/titan-hardware-chip">Titan</a>, or Azure <a href="https://learn.microsoft.com/en-us/azure/azure-boost/overview">Boost</a>. GPU-PV incurs a relative performance penalty but, for the purposes of our guide, it is negligible.</p><h1><strong>Host Setup</strong></h1><ol><li><p>Enable WSL on Windows</p></li></ol><pre><code><code># PowerShell Admin
wsl --install</code></code></pre><ol start="2"><li><p>Install Ubuntu LTS (&#8221;Long Term Support&#8221;: use in prod unless building from <a href="https://www.alpinelinux.org/">Alpine</a>).</p></li></ol><pre><code><code># PowerShell Admin
wsl --install -d Ubuntu-24.04 --name Yevai --web-download</code></code></pre><ol start="3"><li><p>Download and install VSC (Visual Studio Code - <a href="https://code.visualstudio.com/">Link</a>)</p></li><li><p>Use <a href="https://code.visualstudio.com/docs/remote/wsl">this knowledge</a> to connect to WSL with VSC.</p></li></ol><p>Everything else in this guide, unless otherwise explicitly indicated, will be done in WSL.</p><h1><strong>WSL Setup</strong></h1><p>Assume all commands to be ran, unless otherwise explicitly indicated, in $HOME (~) of the active WSL user. You will see &#8220;$HOME&#8221; used instead of ~. This is best practice for many reasons we&#8217;ll skip in this guide. For example, in some target environments like AWS Lambda, you will need to override $HOME to enable libraries to use the /tmp/ ephemeral FS layer cache. $HOME and ~/ do not always interact the way one would expect.</p><ol><li><p>Update OS components and compensate for the fact that we are in WSL</p></li></ol><pre><code><code>sudo apt update
sudo apt upgrade

# Install WSL utilities
sudo apt install wslu</code></code></pre><ol start="2"><li><p>I have mixed feelings about Homebrew but it makes this guide much easier.</p></li></ol><pre><code><code># Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Activate it in the current shell
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

# Install the Github CLI, ZSH, PL10K, and JQ.
# Several LM-based coding tools benefit from PL10K!
brew install gh zsh powerlevel10k jq</code></code></pre><ol start="3"><li><p>Shell setup - feel free to skip if you have your own preferences. The guide will rely on this specific setup. Checking out the companion repository is non-optional.</p></li></ol><pre><code><code># Allow ZSH and set it as default
command -v zsh | sudo tee -a /etc/shells
chsh -s $(which zsh)

# Install OhMyZSH
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

# Install and go to ~/Git. $_ gets the argument of the previous command.
mkdir "$HOME/Git" &amp;&amp; cd $_

# Log into GitHub ("open" works thanks to wslu). Don't use tokens unless you have no choice.
gh auth login

# Confirm you're logged in
gh auth status

# Set the global git config - doing so from the active GH CLI is best practice.
# Note: this is especially useful when automating in CI with service accounts.
git config --global user.name "$(gh api user --jq '.name')"
git config --global user.email "$(gh api user/emails --jq '.[] | select(.primary) | .email')"

# Confirm your git username and email
echo "$(git config --global --list)" | grep user

# Clone the companion repository and go to it.
gh repo clone https://github.com/yev-ai/personal-yev-substack &amp;&amp; cd personal-yev-substack

# Git aliases are useful, especially for rebases / merges / automation.
git config --global alias.root "rev-parse --show-toplevel"

# This now shows the folder of the git repository you're in.
git root

# Mount ZSH and PL10K configs - this also serves to confirm our paths.
chmod +x "$(git root)/docs/001_wsl_setup/setup.sh"
"$(git root)/docs/001_wsl_setup/setup.sh"

# Export the Git Root directory into our pre-zsh hook. This is where you checked out the repo.
echo "export GIT_ROOT=\"$(dirname "$(git root)")\"" &gt;&gt; "$HOME/.zshrc-pre.sh"

# Source the new ZSHRC
source "$HOME/.zshrc"

# Make sure our GIT_ROOT is set correctly - we'll use this heavily in later sections:
echo "$GIT_ROOT"</code></code></pre><h1><strong>Confirm GPU Virtualization</strong></h1><p>If your host and WSL are set up correctly, including the latest drivers, this should be available in WSL:</p><pre><code><code>nvidia-smi</code></code></pre><p>You should see output similar to:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!C1z4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!C1z4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 424w, https://substackcdn.com/image/fetch/$s_!C1z4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 848w, https://substackcdn.com/image/fetch/$s_!C1z4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 1272w, https://substackcdn.com/image/fetch/$s_!C1z4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!C1z4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png" width="1068" height="585" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:585,&quot;width&quot;:1068,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:72364,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/183747151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!C1z4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 424w, https://substackcdn.com/image/fetch/$s_!C1z4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 848w, https://substackcdn.com/image/fetch/$s_!C1z4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 1272w, https://substackcdn.com/image/fetch/$s_!C1z4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0a025ded-bae1-414e-928a-04a438d34ef7_1068x585.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The windows host OS reserves around ~2GB VRAM. This guide will gracefully work around lack of exclusive GPU control which we normally have in cloud nodes.</p><h1><strong>Confirm Memory Allocation</strong></h1><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><pre><code><code># Install a basic resource monitor for WSL
brew install htop

# Run it
htop</code></code></pre><p>You should see output similar to this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TNyS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TNyS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 424w, https://substackcdn.com/image/fetch/$s_!TNyS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 848w, https://substackcdn.com/image/fetch/$s_!TNyS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 1272w, https://substackcdn.com/image/fetch/$s_!TNyS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TNyS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png" width="881" height="323" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:323,&quot;width&quot;:881,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:55376,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/183747151?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TNyS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 424w, https://substackcdn.com/image/fetch/$s_!TNyS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 848w, https://substackcdn.com/image/fetch/$s_!TNyS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 1272w, https://substackcdn.com/image/fetch/$s_!TNyS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5921f82f-afe9-4e67-9ad1-55e7b60094bc_881x323.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Only 50% of our host&#8217;s 96GB RAM is available to WSL under &#8220;Mem&#8221;, along with a 12GB swap file. This will become important later.</p>]]></content:encoded></item><item><title><![CDATA[Dev From Scratch: 1/n]]></title><description><![CDATA[Chapter 1: Hardware Build. Effective AI-assisted coding using only local resources]]></description><link>https://www.yevelations.com/p/dev-from-scratch-1n</link><guid isPermaLink="false">https://www.yevelations.com/p/dev-from-scratch-1n</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 07 Jan 2026 02:34:29 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/825af48f-d597-4114-8095-e5b89adfeb2e_808x461.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Chapter 1 of "development from scratch", where we build a competitive and highly effective AI-assisted coding environment using only local models and resources.</p><p>This chapter covers the hardware build used for the series.<em><strong> TL;DR RTX 5090 required.</strong></em></p><p><a href="https://www.yevelations.com/p/dev-from-scratch-2n">Link to next chapter</a></p><h1><strong>Parts</strong></h1><ul><li><p>CPU: AMD Ryzen 9 9950X3D</p></li><li><p>Mobo: ASUS ROG STRIX X870-I</p></li><li><p>GPU: Gigabyte 5090 Gaming OC</p></li><li><p>SSD: WD_Black SN8100 4TB</p></li><li><p>RAM: F5-6000J3036F48GX2-FX5</p></li><li><p>PSU: CM V1100 SFX Platinum</p></li><li><p>Case: Cooler Master NR200P V3</p></li><li><p>Cooler: CORSAIR Titan 280 RX</p></li><li><p>Riser: LINKUP PCIE 5.0 Riser Cable</p></li><li><p>Fans: Noctua NF-A14x25r G2 PWM</p></li></ul><h1><strong>OS</strong></h1><ol><li><p>Install Windows 11 Pro</p></li><li><p>Run Activation <a href="https://github.com/massgravel/Microsoft-Activation-Scripts">https://github.com/massgravel/Microsoft-Activation-Scripts</a></p></li></ol><pre><code># PowerShell Admin
irm https://get.activated.win | iex</code></pre><ol start="3"><li><p>Run Remove AI <a href="https://github.com/zoicware/RemoveWindowsAI">https://github.com/zoicware/RemoveWindowsAI</a></p></li></ol><pre><code># PowerShell Admin
&amp; ([scriptblock]::Create((irm &#8220;https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1&#8221;)))</code></pre><ol start="4"><li><p>Run Debloat <a href="https://github.com/Raphire/Win11Debloat">https://github.com/Raphire/Win11Debloat</a></p></li></ol><pre><code># PowerShell Admin
&amp; ([scriptblock]::Create((irm &#8220;https://debloat.raphi.re/&#8221;)))</code></pre><ol start="5"><li><p>Install common VCC redist (<a href="https://download.visualstudio.microsoft.com/download/pr/40b59c73-1480-4caf-ab5b-4886f176bf71/D62841375B90782B1829483AC75695CCEF680A8F13E7DE569B992EF33C6CD14A/VC_redist.x64.exe">Download</a>)</p></li><li><p>Install latest AMD drivers (<a href="https://www.amd.com/en/support/downloads/drivers.html/chipsets/am5/x870.html">Link</a>)</p></li><li><p>Install clean NVidia drivers (<a href="https://www.techpowerup.com/download/techpowerup-nvcleanstall/">Link</a>)</p></li><li><p>OC Hardware. TSE <a href="https://www.3dmark.com/3dm/148846209">22,478</a> -&gt; <a href="https://www.3dmark.com/3dm/149208021">24,106</a></p></li></ol><h1><strong>Rant</strong></h1><p>I&#8217;m an experienced PC modder/OCer and like to rebuild my work PC every 3-5 years. My last build was the <a href="https://www.reddit.com/r/overclocking/comments/o1bg82/3960x_19745_tse/">fastest 3960X in the world</a> at <a href="https://www.3dmark.com/spy/20886143">19,745 TSE</a>. Both 3090s were shunted, delidded, and EVC2-modded. The goal for this build was <strong>portability and ML performance</strong> but seeing the 5090 clock in at 25,506 Graphics Score on TSE was extremely disappointing since my twin 3090s scored 23,012 five years ago.</p><p>&#8230;so I delidded the GPU, replaced thermals, shunted the VRMs, rebuilt the power delivery circuitry to safely draw up to 850W (the 12VHPWR connector is a travesty), and flashed a 1000W BIOS ...again &#175;\<em>(&#12484;)</em>/&#175;. A few CNC modifications were made to the case so it could maintain proper temps during the 8-hour stability test ran at 78f ambi.</p><h1><strong>Pics and Wrap-Up</strong></h1><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Or it didn&#8217;t happen, of course. The GPU is secured to the case with screws in 3 additional places to keep it safe during air and ground transport.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dZDN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dZDN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dZDN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dZDN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dZDN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dZDN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg" width="1290" height="2290" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2290,&quot;width&quot;:1290,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:177902,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/183746650?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!dZDN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 424w, https://substackcdn.com/image/fetch/$s_!dZDN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 848w, https://substackcdn.com/image/fetch/$s_!dZDN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!dZDN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3422bbdb-2536-491d-8d84-837ae9432d53_1290x2290.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Vzws!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Vzws!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Vzws!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Vzws!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Vzws!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Vzws!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg" width="1290" height="2281" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2281,&quot;width&quot;:1290,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:129401,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/183746650?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Vzws!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Vzws!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Vzws!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Vzws!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae9a31a5-a03a-4a6b-8cca-abb29e8b790b_1290x2281.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p>]]></content:encoded></item><item><title><![CDATA[[OFF-TOPIC] Two Kinds Of People]]></title><description><![CDATA[An unhinged rant disguised as a video game analogy.]]></description><link>https://www.yevelations.com/p/off-topic-two-kinds-of-people</link><guid isPermaLink="false">https://www.yevelations.com/p/off-topic-two-kinds-of-people</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Sat, 01 Nov 2025 02:37:34 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!za5j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In motorcycle riding, you go where you look. The only way through a turn is to look past it. If you stare at the wall, you&#8217;ll hit the wall. We call that target fixation. <strong>Giving mindshare to where you don&#8217;t want to be is dangerous and will make you crash</strong><em><strong>.</strong></em></p><p>When your desires - not impulses - your purpose, values, and morals - scream louder than your fears of criticism, hardship, or failure, you gain a clear destination and sense of what you&#8217;re willing - and, more importantly, unwilling - to do to get there: an identity.</p><p>This tends to be the point at which someone&#8217;s impulses change from feelings of being pushed to run away from things to feeling of being pulled to run toward things - it&#8217;s also the point at which adversity begins forging people rather than destroying them.</p><h1>Leveling Up</h1><p>What you want to do can&#8217;t be done alone. You need a team so you start solo grinding the stats necessary to effectively use your spells and abilities in a team environment. </p><p>External motivation collapses under adversity. Internal motivation carries you, but it burns out. Intrinsic motivation - from purpose - is a superpower we call obsession.</p><p><strong>Purpose also makes it easier for people to decide if they want to play with you. </strong>For starters, they can see if you&#8217;re playing Rocket League, Mario, WoW, or StarCraft 2.</p><h1>Matchmaking</h1><p>Boom, you&#8217;re a mage. You know where you want to go, what you have to get there, and what you need. You found a priest (partner) to play 2s, a rogue (best friend) for 3s, and a core group for 5s. Two of them are in the same guild as you (coworkers)!</p><p>Your teams overlap, and poison in any one spreads fast. You&#8217;re unbothered because your priorities are unfucked and everyone knows where they stand. Your partner, friends, coworkers, and family members are your teammates. <em>They&#8217;re also your teams.</em></p><p>The gap between the levels of love, trust, and respect you grant yourself and what you can accept from others is your matchmaking rating band - and it is entirely up to you.</p><h1>Team Composition</h1><p><strong>Every team is unique. </strong>You can&#8217;t run Mage/Rogue like Mage/Priest, or play either of those the same way against Warrior/Paladin and Hunter/Druid. How fast you learn your teammates&#8217; tendencies and cadence - and how well you complement them - determines how well your team plays. Are you playing with a Druid or a Warlock?</p><p>Depending on your comp and what you&#8217;re up against, someone&#8217;s getting ran the fuck over most matches. If you&#8217;re the Mage in Rogue/Mage/Priest, it&#8217;s you. Your job is to survive getting DP&#8217;d by a Warrior and Hunter until your Rogue lines up the burst.</p><p>It feels like you&#8217;re getting fucked the whole time, but you just pulled off what most people couldn&#8217;t even dream of - because your team played well under pressure and you were able to trust someone else to carry when the stakes were extremely high.</p><h1>Losing</h1><p>All teams do well when things go well. Top teams also perform when they don&#8217;t.</p><p>Our team lost in the world semi-finals for 3v3 Arena in 2015. Everyone knew who and what caused the loss. All of us had important things riding on the line. Our teammate who misplayed wasn&#8217;t able to house his folks, or send his sister to college. It sucked.</p><p>When you care about what someone brings, you&#8217;re afraid of losing them. When you care about them, you&#8217;re afraid of hurting them or letting them down. Only one of those will keep your team afloat when a key member can&#8217;t bring much to the table.</p><p>We practiced for another season, couldn&#8217;t recover, and disbanded in 2016. I&#8217;d do it all over again because <strong>going for broke and getting blown the fuck out is easier to live with</strong> than the what-ifs of compromise or the guilt of going at it half-hearted.</p><h1>Winning</h1><p>Is valuable because it bonds. It&#8217;s best served when you have people to celebrate it with, and those people were in the shit with (and especially against) you. That said, people who don&#8217;t know the difference between opponents and enemies are unfun.</p><p>In 2018, our team took world first and $600K with it. Our guild and other pro teams were staying in AirBnBs near Anaheim. The teams we played against celebrated at the house afterparty. The amount of shit that got talked deserves its own numerical prefix<em>.</em></p><p><em>Most of my favorite memories exist because I don&#8217;t know how - or when - to give up.</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!za5j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!za5j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 424w, https://substackcdn.com/image/fetch/$s_!za5j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 848w, https://substackcdn.com/image/fetch/$s_!za5j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 1272w, https://substackcdn.com/image/fetch/$s_!za5j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!za5j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png" width="562" height="406.5531914893617" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:340,&quot;width&quot;:470,&quot;resizeWidth&quot;:562,&quot;bytes&quot;:123679,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/177679912?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!za5j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 424w, https://substackcdn.com/image/fetch/$s_!za5j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 848w, https://substackcdn.com/image/fetch/$s_!za5j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 1272w, https://substackcdn.com/image/fetch/$s_!za5j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd4ae0b7-24a6-4402-b177-b75e9db4f1e9_470x340.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>There is no point to this post. It&#8217;s Halloween, I just worked another 120+ hour week, and wanted to write a bit to help me decide whether I&#8217;m going to bed or the bar &#129303;</p>]]></content:encoded></item><item><title><![CDATA[RE: Language Model "Reasoning"]]></title><description><![CDATA[An exchange on LinkedIn]]></description><link>https://www.yevelations.com/p/re-language-model-reasoning</link><guid isPermaLink="false">https://www.yevelations.com/p/re-language-model-reasoning</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 24 Sep 2025 15:52:32 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!rIP6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This is a copy/paste of my exchange with an &#8220;LI influencer&#8221; on LM reasoning. I&#8217;m making this into a post because I thought my subscribers may find it interesting.</p><p><em>For normies unfamiliar with the acronym: &#8220;OP&#8221; = original poster.</em></p><h3>Quote from OP&#8217;s post</h3><p> &#8220;Your AI isn&#8217;t lying to you when it tells you that Abraham Lincoln invented the iPhone. It&#8217;s doing something way weirder. Hallucinations aren&#8217;t bugs. They&#8217;re the feature working exactly as designed, just not how you expected. The thing is, large language models don&#8217;t &#8220;know&#8221; anything. They&#8217;re pattern-matching machines that learned to predict words by reading the entire internet.&#8221;</p><h3>[Comment 1] - Me</h3><p>RE: &#8220;large language models don&#8217;t &#8220;know&#8221; anything. They&#8217;re pattern-matching machines that learned to predict words&#8221;. This is only true for pure first-gen decoder-only transformers - NOT language models. I checked your profile and it&#8217;s unclear whether you have a background / experience in CS, Statistics, or ML. Before I say anything else - what&#8217;s your level of hands-on experience?</p><h3>[Comment 2] - OP response</h3><p><strong><a href="https://www.linkedin.com/in/yevgen-reztsov-5646346b/">Yevgen Reztsov</a></strong> I&#8217;m not a CS/ML guy but I&#8217;m the cofounder of an AI automation platform, I spend most of my waking hours in this space. What do you think has changed in frontier models that we should cover here?</p><h3>[Comment 3] - Me, 1/2</h3><p><strong>[REDACTED TAG] </strong>BERT is making a large comeback, and there are a lot of rapid changes in the attention layers. Most of the new LMs are no longer pure decoder-only transformers - the attention layer is often hybridized with RL (linear, state-space, etc). 2025 Examples:<br><br>Self-generation, decomposition, and verification of model reasoning: <strong><a href="https://arxiv.org/abs/2501.13122">https://arxiv.org/abs/2501.13122</a></strong><br><br>Progressive improvement via task self-generation and self-verification with no external data: <strong><a href="https://arxiv.org/abs/2508.05004">https://arxiv.org/abs/2508.05004</a></strong><br><br>Notable &#8220;reasoning&#8221; self-improvement with self-proposed tasks and self-verified solutions (no external data): <strong><a href="https://arxiv.org/abs/2505.03335">https://arxiv.org/abs/2505.03335</a></strong><br><br>Arena-based self-improvement (We did this with adversarial RL for AlphaStar when I worked at Google DeepMind in 2017, after working at OpenAI in 2016): <strong><a href="https://arxiv.org/abs/2509.07414">https://arxiv.org/abs/2509.07414</a></strong><br><br>This one is &#128169; but it&#8217;s still self-bootstrapped &#8220;reasoning&#8221; with no external data: <strong><a href="https://arxiv.org/abs/2203.14465">https://arxiv.org/abs/2203.14465</a></strong><br><br>Most of these trace back to a 2022 paper on distillation from self-generated synthetic data sets: <strong><a href="https://arxiv.org/abs/2202.07922">https://arxiv.org/abs/2202.07922</a></strong><br><br><em><strong>Predictive generation tends to be synonymous with eventual model collapse (a classic transformer trained on its own outputs enough times becomes nonsense). These show the opposite.</strong></em></p><h3>[Comment 4] - Me, 2/2</h3><p><strong>[REDACTED TAG] </strong>(Didn&#8217;t fit into one comment). Point is: I&#8217;m VERY hesitant to say models &#8220;reason&#8221; because we understand HOW they work, not WHY they work. From a neuro- and cognitive science perspective, we also have no idea how human cognition (important nuance) works. It COULD be an extremely complex form of recurrent next-symbol prediction with other aspects of cognition mixed in for all we know.<br><br>We *DO* know that pattern recognition and pattern prediction are FACETS of cognition. Memory is also a facet. So are procedurals. Etc.<br><br>That puts a big pickle into &#8220;do any of these actually reason&#8221;. We don&#8217;t even know what that means. In short, we OBJECTIVELY don&#8217;t know.<br><br>Outside of LI influencer hype, virtually no ML researcher or scientist will say that &#8220;Language Models&#8221; reason - or vice versa. That&#8217;s because it is tantamount to career suicide in the ML scientific community as of now.<br><br>No disrespect meant, but if you (or anyone reading this) think about the last time you&#8217;ve talked to (or saw an LI post from) a frontier ML scientist / researcher actively publishing papers... RIP. Zero. I am one of those. Personally, I&#8217;d say we don&#8217;t know ...unless I missed a memo about the next Nobel Prize winner in 3+ cats &#129394; </p><p>That doesn&#8217;t make for a great LI post tho.</p><h3>Wrap-up</h3><p>For my subscribers: are fast blurbs like this something you want to see, or would you prefer I stick to more thought-out ones (Substack spams your email when I post) where I take the time to write, edit, and proof-read it out of respect for yours?</p><p>Let me know!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rIP6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rIP6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rIP6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rIP6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rIP6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rIP6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg" width="422" height="410.9225" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:779,&quot;width&quot;:800,&quot;resizeWidth&quot;:422,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;No alternative text description for this image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="No alternative text description for this image" title="No alternative text description for this image" srcset="https://substackcdn.com/image/fetch/$s_!rIP6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 424w, https://substackcdn.com/image/fetch/$s_!rIP6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 848w, https://substackcdn.com/image/fetch/$s_!rIP6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!rIP6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa23159e-b5e3-47a7-a377-5f01a6289471_800x779.jpeg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Meme credit goes to <a href="https://www.linkedin.com/posts/eordax_ai-humor-activity-7375904712468033536-x7a0?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAAA7diRwBmT-aKhp1fjlHQNeF1O-Ot8efRPY">this LI post</a> from <a href="https://www.linkedin.com/in/eordax/">Eduardo Ordax</a> (Gen AI Lead at <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;AWS&quot;,&quot;id&quot;:19212995,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/4af48243-922e-4856-b114-0bf8126048ba_302x302.jpeg&quot;,&quot;uuid&quot;:&quot;844a9580-778d-4e16-bea6-84a01293a611&quot;}" data-component-name="MentionToDOM"></span>)!</p>]]></content:encoded></item><item><title><![CDATA[Just Ship It [003/x]]]></title><description><![CDATA[Third time's the charm: things get busy]]></description><link>https://www.yevelations.com/p/just-ship-it-003x</link><guid isPermaLink="false">https://www.yevelations.com/p/just-ship-it-003x</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Thu, 18 Sep 2025 19:28:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!WXZf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://www.yevelations.com/p/just-ship-it-002x">Previous post</a> in the series. Let&#8217;s get into it!</p><h1><strong>The Gist</strong></h1><p>Things got busy! It&#8217;s been two weeks since my last post. Paying customers came much sooner than expected. We now have 4 design partners totaling $18K MRR. Ba dun tss.</p><p>That&#8217;s a good number for continuous real-world feedback, so that phase is full. Not all customer feedback should be actioned - more on <strong>core competencies</strong> in later posts.</p><h1><strong>Highlights</strong></h1><ul><li><p>Gathered a round of feedback for <strong>desired MVP scope</strong> and gave date estimates.</p></li><li><p>70%+ odds of a <strong>mid-5 digit ARR AI/ML security contract</strong> from the Pentagon.*</p></li></ul><p>* If signed and permissible, I&#8217;ll cover it in anonymized, customer-general terms.</p><h1>Priorities</h1><ul><li><p>Finalized Statement of Work, MSA, EULA, and TOS updates <strong>by 10/03.</strong></p></li><li><p>Pre-hiring: I need to find my last qualified ML engineer for the project <strong>by 10/06.</strong></p></li></ul><p>That&#8217;s it! Staying razor-focused and only having 1-3 priorities at a time is important.</p><h1><strong>Process</strong></h1><ul><li><p><strong>Established <a href="https://en.wikipedia.org/wiki/Point_of_contact">POCs</a>/<a href="https://en.wikipedia.org/wiki/Standard_operating_procedure">SOPs</a> for Customer Success</strong> (me): emails, Slack channels, etc</p></li><li><p>Basic <strong>sales pipeline and status tracking</strong> (also me): just Google Sheets for now.</p></li></ul><p>I had to set up federated SSO (<a href="https://open.substack.com/pub/yevelations/p/just-ship-it-002x?selection=d71d92d7-bd0b-43e7-ab56-45bd061370ac&amp;utm_campaign=post-share-selection&amp;utm_medium=web&amp;aspectRatio=instagram&amp;textColor=%23ffffff&amp;bgImage=true">Google Workspace made this a breeze</a>) and will share how to do this for common IT vendors like Linear, Notion, and more in a post soon!</p><h1><strong>Notes</strong></h1><p>If you read ML papers, <a href="https://www.arxiv.org/abs/2509.08827">make sure you read this</a>. I&#8217;ve been <a href="https://www.yevelations.com/i/144917473/an-actionable-note-for-the-future">using this approach for years</a>, but it&#8217;s good to see it quantified. TL;DR: if you can automatically verify step-by-step problem solving, you can also automatically improve it with <a href="https://arxiv.org/abs/2309.00267">RLAIF</a>.</p><p>Also: a notable, more accessible, and readily applicable <a href="https://www.arxiv.org/abs/2509.10414">paper on in-context learning</a>.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WXZf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WXZf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 424w, https://substackcdn.com/image/fetch/$s_!WXZf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 848w, https://substackcdn.com/image/fetch/$s_!WXZf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 1272w, https://substackcdn.com/image/fetch/$s_!WXZf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WXZf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png" width="356" height="579.568" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:814,&quot;width&quot;:500,&quot;resizeWidth&quot;:356,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;61 Hilariously Best Startup Memes for Entrepreneurs ...&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="61 Hilariously Best Startup Memes for Entrepreneurs ..." title="61 Hilariously Best Startup Memes for Entrepreneurs ..." srcset="https://substackcdn.com/image/fetch/$s_!WXZf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 424w, https://substackcdn.com/image/fetch/$s_!WXZf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 848w, https://substackcdn.com/image/fetch/$s_!WXZf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 1272w, https://substackcdn.com/image/fetch/$s_!WXZf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb43790da-3a2c-4b50-89df-edcd7cb251d1_500x814.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[Non-Tech Vendors]]></title><description><![CDATA[The "start" part of tech startups]]></description><link>https://www.yevelations.com/p/non-tech-vendors</link><guid isPermaLink="false">https://www.yevelations.com/p/non-tech-vendors</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 03 Sep 2025 23:11:35 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!e1vr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This post is part of my <a href="https://www.yevelations.com/p/just-ship-it-002x">series on starting from scratch and building it all in public</a>.</p><p>Total startup cost: ~$1,000&#8211;1,500 upfront, and ~$200/month upkeep. This includes putting yourself on W2 payroll (sans wages), which you want in place from day one.</p><h1>Zen Business</h1><ul><li><p>Great feedback from fellow founders about speed, quality, addons, and support.</p></li><li><p>Covers state filings, beneficial ownership reports, and registered agent services.</p></li><li><p>The &#8220;Filing + Tax Advice&#8221; addon at $99/mo is great <em><strong>for getting started.</strong></em></p></li></ul><p><a href="https://stripe.com/atlas">Stripe Atlas</a> = vendor lock-in; <a href="https://carta.com/equity-management/launch/">Carta Launch</a> doesn&#8217;t cover basic legal compliance. For the uninitiated: always make a Delaware C-corp. Get your SIC and NAICS codes right. </p><h1>Chase</h1><ul><li><p>Excellent baseline support for things like ACH, treasury, and wire transfers.</p></li><li><p>Widespread branch network is useful when things inevitably go wrong.</p></li><li><p>Plays well with most vendors, like QuickBooks and Rippling for expenses.</p></li></ul><p><a href="https://mercury.com/">Mercury</a> and <a href="https://www.brex.com/">Brex</a> are popular alternatives; my knowledge there is dated.</p><h1>Carta</h1><ul><li><p>Industry-standard cap table management that&#8217;s trusted by lawyers and investors.</p></li><li><p>Grows with you from founder stock, SAFEs, and options to 409As and Series A+.</p></li><li><p>Built-in document templates, data room, and investor relations are excellent.</p></li></ul><h1>Stripe</h1><ul><li><p>Their billing portal saves time; their APIs are built for a good developer experience.</p></li><li><p>Webhooks, observability tools, audit logs, and first-class test environment support.</p></li></ul><h1>Rippling</h1><ul><li><p>Handles onboarding, offboarding, HR compliance, and has great legal templates.</p></li><li><p>I&#8217;m a big fan of their LMS, <a href="https://www.rippling.com/performance-management">Perf Management</a>, and <a href="https://www.rippling.com/workflow">Workflows</a> for HR automation</p></li><li><p>Supports most countries for overseas payroll which is otherwise a total nightmare.</p></li><li><p>Once you have 2+ FTEs, <a href="https://www.rippling.com/hr-services">their ASO</a> and <a href="https://www.rippling.com/products/hr/peo">PEO</a> are great: benefits, workers comp, etc.</p></li><li><p>Bonus: it provisions the two things Google Workspace doesn&#8217;t: 1Pass and devices.</p></li></ul><p>Rippling lets tech founders handle HR, ops, and compliance correctly from day one.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e1vr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e1vr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 424w, https://substackcdn.com/image/fetch/$s_!e1vr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 848w, https://substackcdn.com/image/fetch/$s_!e1vr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 1272w, https://substackcdn.com/image/fetch/$s_!e1vr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e1vr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png" width="446" height="446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:828,&quot;width&quot;:828,&quot;resizeWidth&quot;:446,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;90+ HR Memes that Nail the 9-to-5 Grind (Humor Unleashed) - SSR&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="90+ HR Memes that Nail the 9-to-5 Grind (Humor Unleashed) - SSR" title="90+ HR Memes that Nail the 9-to-5 Grind (Humor Unleashed) - SSR" srcset="https://substackcdn.com/image/fetch/$s_!e1vr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 424w, https://substackcdn.com/image/fetch/$s_!e1vr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 848w, https://substackcdn.com/image/fetch/$s_!e1vr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 1272w, https://substackcdn.com/image/fetch/$s_!e1vr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd4ae7c35-0a7c-46a1-a4ee-5b4c0292d383_828x828.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[Just Ship It [002/x]]]></title><description><![CDATA[Started 08/28/25, now here.]]></description><link>https://www.yevelations.com/p/just-ship-it-002x</link><guid isPermaLink="false">https://www.yevelations.com/p/just-ship-it-002x</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 03 Sep 2025 20:29:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!uFmO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://yevelations.substack.com/p/just-ship-it-001x">Previous post</a> in the series. <a href="https://www.yevelations.com/p/just-ship-it-003x">Next post</a> in the series. The updates will be in the format of:</p><ul><li><p>The Gist - A subjective soapbox rant.</p></li><li><p>Highlights - Objective recent events.</p></li><li><p>Priorities - What stays and what goes.</p></li><li><p>Process - System and process changes.</p></li><li><p>Notes - Occasional reflections.</p></li></ul><p>Let&#8217;s get into it!</p><h1>The Gist</h1><p>Maintaining my own code for 15+ years has taught me that deciding how prescriptive to be about tech stack and code contracts is an unforgiving <a href="https://en.wikipedia.org/wiki/Decision_theory">decision theory</a> problem. My friend <a href="https://www.linkedin.com/in/kozyrkov/">Cassie Kozyrkov</a> is a pioneer in  the field, and her work is worth following.</p><p>Throw in upgrades, infra, cost, durability, uptime, and SLAs into the mix, and you&#8217;ve got a high leverage set of choices. The goal is to be minimally prescriptive and solve the problem in front of you without locking into assumptions that may backfire later.</p><p>Do this well and you&#8217;ll <a href="https://www.yevelations.com/p/speed-vs-quality-in-engineering">move significantly faster </a><strong><a href="https://www.yevelations.com/p/speed-vs-quality-in-engineering">while taking on less tech debt</a></strong>.</p><h1>Highlights</h1><ul><li><p><strong><a href="https://www.yevelations.com/i/172111334/whats-next">Finding initial customers</a></strong> went eerily well; I&#8217;m at 3, totaling just under $10k MRR.</p></li><li><p><strong>The <a href="https://www.yevelations.com/i/172111334/the-wedge">wedge theory</a> was overkill:</strong> people want hands-off <a href="https://posthog.com/">PostHog</a> and <a href="https://langfuse.com/">Langfuse</a>.</p></li><li><p><strong>Unexpected upside:</strong> minimizing cloud costs is a universally shared value-add.</p></li></ul><p>People want to sign up for an endpoint their engineers can immediately use.</p><h1>Priorities</h1><ul><li><p>Testing pipeline for minimally prescriptive <a href="https://azure.microsoft.com/en-us/products/kubernetes-service">AKS</a>, <a href="https://aws.amazon.com/pm/eks/?">EKS</a>, and <a href="https://cloud.google.com/kubernetes-engine">GKE</a> <strong>by 09/06.</strong></p></li><li><p>Langfuse setup across three clouds with API + integration tests <strong>by 09/10.</strong></p></li><li><p>Ingress for AWS, GCP, Azure, and Cloudflare to make it usable <strong>by 09/13.</strong></p></li></ul><p></p><h1>Process</h1><ul><li><p><a href="https://www.yevelations.com/p/non-tech-vendors">Non-tech vendors added: ZenBusiness, Chase, Stripe, Rippling, and Carta.</a></p></li><li><p>IT vendors added: Google Workspace, 1-Password, Slack, Linear, and Notion.</p></li></ul><p>I&#8217;m relentless about keeping the vendor count low. I&#8217;ll share a separate post on what we choose, how we integrate it, and <strong>which system becomes the source of truth</strong> for each operational domain - a decision you absolutely need to get right the first time.</p><h1>Notes</h1><p><a href="https://www.yevelations.com/p/just-ship-it-001x">Per my last post, this is a &#8220;starting my own (again) and will build it in public&#8221;</a> deal. That means everything is from scratch. Last time, I made the unfortunate mistake of using Microsoft / AD for SSO federation. We&#8217;re going with Google Workspace this time.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uFmO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uFmO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 424w, https://substackcdn.com/image/fetch/$s_!uFmO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 848w, https://substackcdn.com/image/fetch/$s_!uFmO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 1272w, https://substackcdn.com/image/fetch/$s_!uFmO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uFmO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png" width="602" height="659" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/922631af-f067-440e-a48b-82dcaad43997_602x659.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:659,&quot;width&quot;:602,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:505164,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/172210857?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uFmO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 424w, https://substackcdn.com/image/fetch/$s_!uFmO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 848w, https://substackcdn.com/image/fetch/$s_!uFmO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 1272w, https://substackcdn.com/image/fetch/$s_!uFmO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F922631af-f067-440e-a48b-82dcaad43997_602x659.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p>]]></content:encoded></item><item><title><![CDATA[Just Ship It [001/x]]]></title><description><![CDATA[Another year, another startup]]></description><link>https://www.yevelations.com/p/just-ship-it-001x</link><guid isPermaLink="false">https://www.yevelations.com/p/just-ship-it-001x</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Thu, 28 Aug 2025 20:45:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!TQNE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Link to <a href="https://www.yevelations.com/p/just-ship-it-002x">next post in the series</a>.</p><h1>About Me</h1><p>I left the startup I was working for one week ago. I&#8217;m starting my own (again) and will build it in public. This is my founder&#8217;s diary: gathering customer feedback, finding the wedge product, getting first customers, and hiring. I&#8217;ll post <strong>Wednesdays </strong>&amp; <strong>Saturdays</strong>.</p><p>I&#8217;ve run 3 startups and carried DevOps, DX (developer experience), and ML infra from pre-seed to Series C for many others. Making AWS, AZU, GCP, Pulumi, Terraform, and ML boring and reliable is what I&#8217;m very good at according to people I&#8217;ve worked with.</p><h1>The Problem</h1><p>As capabilities for writing code accelerate, the need for observability, environment parity, deployment, and debugging grows proportionally. One day, out of the blue, feature velocity plummets, the app becomes unstable, and fixes (to bugs that you should&#8217;ve detected before your biggest customer told you about it) take forever.</p><p>There are excellent hosted and open-source solutions for all of those. Deploying and implementing them to enable tracing, telemetry, deployments, monitoring, alerting,  and analytics is <em>hard</em>. <strong>It&#8217;s cross-company code, infra, and tech debt duplication.</strong></p><h1>The Customer</h1><p>Series A and beyond startups. They all have a lot in common, including a strong bias toward action. Taking on calculated tech debt to secure ARR is the correct choice. The consequences of that choice catch up as teams scale from ~5 to 10+ engineers.</p><h1>Past Attempts</h1><p>Per the recent MIT study, ~95% of AI implementations fail. This is true for most tech purchases that need implementation whereas those that don&#8217;t mostly succeed. The lesson is that <strong>joint ownership doesn&#8217;t work. Single responsible party = success.</strong></p><p>UI&#8209;first PaaS blurs ownership and makes edge cases impossible. Well designed GitOps components have clear ownership boundaries, avoid vendor lock-in, and handle edge cases by giving us the ability to fall back to Terraform and Pulumi whenever necessary.</p><h1>The Solution</h1><p>My job has always been to make the other engineers&#8217; jobs mostly business logic. I&#8217;m productizing that. Pure GitOps - no fancy UIs that blur ownership boundaries, kill the ability to deal with edge cases, and take forever to build while delivering zero value.</p><p>I&#8217;m building a framework of components that are SOC2/HIPAA/etc <strong>ready*</strong> and retain the ability to handle edge cases. They <em>just work</em> together, come with app integration code, playbooks for zero-downtime deployment, managed upgrade PRs, SLAs, and built-in observability that covers common use cases from serverless to Kubernetes.</p><p>* For transparency: this is being built <em>so we can retrofit compliance. </em>The promise being made is that making the components themselves compliant will not require customer-side code changes. Updating them, testing them, and getting them certified is for later.</p><h1>The Wedge</h1><p>Imagine adding session replay that correlates user clicks to every API and database call emitted by them to your React application in 2-5 days. That includes deploying self-hosted OpenTelemetry, PostHog, Langfuse, and code to tie all of them together into your app. <strong>Success looks like going from sign-up to production in 2-5 days.</strong></p><p>Crystal clarity in ownership means a milestone-based definition of &#8220;done&#8221;. You don&#8217;t pay for access to infrastructure as code - <strong>you pay to have it working in your app.</strong></p><h1>Defensibility</h1><p>I&#8217;m posting the plan because this isn&#8217;t a "I&#8217;m a VC, I&#8217;ll bankroll my friend&#8221; problem. As <a href="https://www.chainguard.dev/unchained/this-shit-is-hard-inside-the-chainguard-factory">Chainguard (love those guys!) aptly puts it: this shit is hard</a>. Professional services don&#8217;t scale and very few people have the knowledge and experience to do this properly.</p><p>This isn&#8217;t &#8220;move fast and break things&#8221;. A single mistake brings down production for a customer and destroys all trust. AI-assisted test generation and code upgrades will be needed to maintain this and make sure it works in all 3 cloud providers for K8S-native and cloud-native deployments. In that sense, this post can be considered a pitch deck.</p><h1>What&#8217;s Next</h1><p>I find the <strong>first 1&#8211;10 paying design partners</strong>. Want to self-host complex, distributed OSS software that normally requires a dedicated DevOps team? <a href="https://calendly.com/yevr/intro">Book me on Calendly</a> or <a href="https://www.linkedin.com/in/yevgen-reztsov-5646346b/">reach out via LinkedIn</a> with &#8220;Hey, we run [docker] on [aws] and want [langfuse]!&#8221;.</p><p>The first few customers will be <strong>design partners</strong>. Your input will be heavily weighted for roadmap prioritization and you will essentially have me as a dedicated DevOps engineer for a fraction of the cost. I greatly value my reputation and won&#8217;t be taking on more customers than I can properly serve. <em>This will scale slowly, but it&#8217;ll scale right.</em></p><p><em><strong>When it comes to infrastructure, reliability (aka quality) is everything.</strong></em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TQNE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TQNE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 424w, https://substackcdn.com/image/fetch/$s_!TQNE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 848w, https://substackcdn.com/image/fetch/$s_!TQNE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 1272w, https://substackcdn.com/image/fetch/$s_!TQNE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TQNE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png" width="496" height="687" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:687,&quot;width&quot;:496,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:489119,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/172111334?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TQNE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 424w, https://substackcdn.com/image/fetch/$s_!TQNE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 848w, https://substackcdn.com/image/fetch/$s_!TQNE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 1272w, https://substackcdn.com/image/fetch/$s_!TQNE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F71b82e3a-7c9b-4105-8f34-9f6db8577286_496x687.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p>]]></content:encoded></item><item><title><![CDATA[AI: Non-technical Crash Course]]></title><description><![CDATA["You will never be good in AI. &#128683; And that's okay."]]></description><link>https://www.yevelations.com/p/ai-non-technical-crash-course</link><guid isPermaLink="false">https://www.yevelations.com/p/ai-non-technical-crash-course</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Tue, 03 Jun 2025 14:30:19 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/28cc26db-00ab-46f9-b355-445d45e9408c_601x547.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>This is <a href="https://www.linkedin.com/posts/activity-7335589215797137410-Vpz1/">a response to this LinkedIn post</a>.</h1><p>In a sea of <s>clueless bullshitters</s> <em>LinkedIn AI Influencers</em>, the above post stood out to me as I scrolled with my morning coffee. It was to the point, grounded, and genuine. The theme here is <strong>knowledge that is useful and easy to leverage - let&#8217;s roll with that.</strong></p><p>I woke up at 4:45 and will start work at 5:30 so I need to finish this post by then. Let&#8217;s make it short, fast, actionable, and hopefully useful to at least one of you. We&#8217;ll walk through a simplified version of a setup I recommend to my non-engineer friends.</p><h1>What Will This Get You?</h1><p><strong>Use case: &#8220;Good morning. What did I miss?&#8221; </strong>(Lots of red but its all accurate/useful).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!POVi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!POVi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 424w, https://substackcdn.com/image/fetch/$s_!POVi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 848w, https://substackcdn.com/image/fetch/$s_!POVi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 1272w, https://substackcdn.com/image/fetch/$s_!POVi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!POVi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png" width="1079" height="1329" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1329,&quot;width&quot;:1079,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:221215,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!POVi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 424w, https://substackcdn.com/image/fetch/$s_!POVi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 848w, https://substackcdn.com/image/fetch/$s_!POVi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 1272w, https://substackcdn.com/image/fetch/$s_!POVi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F720378dd-c111-4f70-9e3e-03355100a355_1079x1329.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Use Case: &#8220;What do you remember from the last two days?&#8221;</strong></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QDNj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QDNj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 424w, https://substackcdn.com/image/fetch/$s_!QDNj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 848w, https://substackcdn.com/image/fetch/$s_!QDNj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 1272w, https://substackcdn.com/image/fetch/$s_!QDNj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QDNj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png" width="918" height="1247" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1247,&quot;width&quot;:918,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:387773,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QDNj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 424w, https://substackcdn.com/image/fetch/$s_!QDNj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 848w, https://substackcdn.com/image/fetch/$s_!QDNj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 1272w, https://substackcdn.com/image/fetch/$s_!QDNj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbd6544bb-2dfa-41bd-8957-11c3902374a0_918x1247.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>Use Case: someone sends Platform a message on slack about an outage</strong>. This:</p><ul><li><p>Picks it up from Slack automatically and dispatches a Boomerang job.</p></li><li><p>Checks Sentry, Prometheus, GCP, K8S (kubectl), and LogRocket.</p></li><li><p>Checks recent memories, Google Drive, Linear, JIRA, Calendar, etc.</p></li><li><p>Replies to that person in Slack, let you know, and if necessary, creates tickets.</p></li></ul><p>The tickets a setup like this creates are GOOD. Like, actual acceptance criteria an Engineer can pick up and start immediately good. Similar tools govern my daily priorities, what I need to do, help me communicate via email, and other things.</p><h1>What Are We Doing?</h1><p>3 personalized contexts, an <a href="https://docs.anthropic.com/en/docs/agents-and-tools/mcp">MCP server</a>, and an <a href="https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/">A2A</a> implementation <a href="https://arxiv.org/abs/1706.03762">Are All You Need</a>. After 15 years of <a href="https://www.linkedin.com/posts/yevgen-reztsov-5646346b_second-opinion-matters-towards-adaptive-activity-7334068790495744000-iyCX?utm_source=share&amp;utm_medium=member_desktop&amp;rcm=ACoAAA7diRwBmT-aKhp1fjlHQNeF1O-Ot8efRPY">ML research</a> (and applied ML - I do things! sometimes), I understand things well enough to <strong>explain them in simple and concise terms.</strong></p><p>These 3 things (queue BuzzFeed clickbait) are the AI &#8220;80&#8221; of 80/20 for non-engineers:</p><ul><li><p><strong>CONTROL YOUR DATA. </strong>A synced OneDrive/iCloud/GDrive folder is a good start.</p></li><li><p>Check <a href="https://huggingface.co/spaces/OpenEvals/find-a-leaderboard">HF Leaderboards</a> for models relevant to YOUR use cases every 2 weeks.</p></li><li><p>Create stateful* contexts for YOUR use cases. I&#8217;ll show you how to do this below.</p></li></ul><p>*- Stateful here means with persistent memory and dedicated embedding back-ends.</p><h1>Let&#8217;s Do The Thing</h1><p>Install <a href="https://code.visualstudio.com/">Visual Studio Code</a> (ab: VSC). Click on the icon that looks like a lobotomized Rubik&#8217;s Cube in the top left sidebar and install the <a href="https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev">Cline</a> and <a href="https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline">Roo Code</a> extensions:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lHEg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lHEg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 424w, https://substackcdn.com/image/fetch/$s_!lHEg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 848w, https://substackcdn.com/image/fetch/$s_!lHEg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 1272w, https://substackcdn.com/image/fetch/$s_!lHEg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lHEg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png" width="916" height="502" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:502,&quot;width&quot;:916,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:90039,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lHEg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 424w, https://substackcdn.com/image/fetch/$s_!lHEg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 848w, https://substackcdn.com/image/fetch/$s_!lHEg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 1272w, https://substackcdn.com/image/fetch/$s_!lHEg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6757db2-7551-40cf-a0ef-fec99108b89e_916x502.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Get API keys from <a href="https://platform.openai.com/api-keys">OpenAI</a>, <a href="https://console.anthropic.com/settings/keys">Anthropic</a>, and <a href="https://app.tavily.com/home">Tavily</a> <em>(web search that doesn&#8217;t suck)</em>. In the top middle of VSC (Visual Studio Code), there is a text box. We&#8217;re going to click on that text box. Then we will move our hands over to our keyboard, type in &#8220;&gt;Cline&#8221;, and press Enter or put our hands back on the mouse to click &#8220;Cline: Open In New Tab&#8221;</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!faIK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!faIK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 424w, https://substackcdn.com/image/fetch/$s_!faIK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 848w, https://substackcdn.com/image/fetch/$s_!faIK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 1272w, https://substackcdn.com/image/fetch/$s_!faIK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!faIK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png" width="1170" height="120" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:120,&quot;width&quot;:1170,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:19823,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!faIK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 424w, https://substackcdn.com/image/fetch/$s_!faIK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 848w, https://substackcdn.com/image/fetch/$s_!faIK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 1272w, https://substackcdn.com/image/fetch/$s_!faIK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff451a462-bfe0-462f-87f0-810e3ec7c05a_1170x120.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>A wild UI component appears. <strong>Don&#8217;t panic! We got this. </strong>Click on the box that looks like the three stacked pizzas you ate last Saturday before passing out (bottom left):</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tUCR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tUCR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 424w, https://substackcdn.com/image/fetch/$s_!tUCR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 848w, https://substackcdn.com/image/fetch/$s_!tUCR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 1272w, https://substackcdn.com/image/fetch/$s_!tUCR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tUCR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png" width="687" height="234" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:234,&quot;width&quot;:687,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:31061,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tUCR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 424w, https://substackcdn.com/image/fetch/$s_!tUCR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 848w, https://substackcdn.com/image/fetch/$s_!tUCR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 1272w, https://substackcdn.com/image/fetch/$s_!tUCR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa56111f9-7db0-441b-aaec-4492b992dc7b_687x234.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><strong>Okay, my coffee is slowly kicking in</strong> so we&#8217;re going to go a bit faster now. Go to the marketplace tab on the left and install the Tavily MCP server plugin (pictured below).</p><p><strong>Cline will walk you through the entire process</strong>, test, and if necessary troubleshoot + fix the MCP server installation. All you have to do is type in (presumably) English.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!H-v8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!H-v8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 424w, https://substackcdn.com/image/fetch/$s_!H-v8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 848w, https://substackcdn.com/image/fetch/$s_!H-v8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 1272w, https://substackcdn.com/image/fetch/$s_!H-v8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!H-v8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png" width="1182" height="547" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5ee08741-9623-464d-a945-30363dcfc737_1182x547.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:547,&quot;width&quot;:1182,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:79211,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!H-v8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 424w, https://substackcdn.com/image/fetch/$s_!H-v8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 848w, https://substackcdn.com/image/fetch/$s_!H-v8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 1272w, https://substackcdn.com/image/fetch/$s_!H-v8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5ee08741-9623-464d-a945-30363dcfc737_1182x547.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We&#8217;re AI wizards now, Harry. We now have a place where we can use any model with robust web search functionality (please don&#8217;t go on LinkedIn and call this an Agent).</p><h1>Cline In A Nutshell</h1><p>Think of Cline as a middle manager. It&#8217;s good at orchestrating MCP servers and Roo Code, but it doesn&#8217;t actually do any work except Rules and Workflows - you can find those by clicking on what the US justice system should&#8217;ve been. Bottom left of Cline:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jTaW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jTaW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 424w, https://substackcdn.com/image/fetch/$s_!jTaW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 848w, https://substackcdn.com/image/fetch/$s_!jTaW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 1272w, https://substackcdn.com/image/fetch/$s_!jTaW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jTaW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png" width="1052" height="551" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:551,&quot;width&quot;:1052,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:69421,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jTaW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 424w, https://substackcdn.com/image/fetch/$s_!jTaW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 848w, https://substackcdn.com/image/fetch/$s_!jTaW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 1272w, https://substackcdn.com/image/fetch/$s_!jTaW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F109acd17-3801-481d-a5bb-17403e8e8940_1052x551.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>You may have noticed the annoying yellow highlight that both lets us know we are not using an Apple product and sums up the first thing life crushes in adulthood: <strong>&#8220;Plan&#8221;</strong></p><p>Cline is good at freeform planning. Ask it to plan something, then prompt it to update that plan. Like the middle manager that it is, Cline is good for doing <strong>deep research which we can then ask it to store in our local Mem0 MCP server</strong> for Roo Code.</p><p>That brings us to the limit of usefulness that is Cline. To reiterate:</p><ul><li><p>Configuring and troubleshooting MCP Servers</p></li><li><p>Rules and Workflows. <a href="https://docs.cline.bot/features/slash-commands/workflows">Read more about those.</a></p></li><li><p>Deep research and local memory management</p></li></ul><h1>Roo Code: The <a href="https://en.wikipedia.org/wiki/Ghost_in_the_Shell">Nut In The Shell</a></h1><p>Cline and Roo used to be the same person (Roo is a branch of Cline). Then they had a fight, and now they&#8217;re frienemies. They still have similar mannerisms. Let&#8217;s open the settings for both so we can <strong>synchronize our Cline and Roo Code MCP servers</strong>:</p><ul><li><p>Cline: go to Remote Servers (same place as Marketplace above) and click &#8220;Edit Configuration&#8221; at the bottom. This opens up the Cline settings JSON. </p></li><li><p>Roo Code: the three Pizza boxes are located on the top right just because. We click that, then scroll down to the bottom and click &#8220;Edit Global MCP&#8221;.</p></li></ul><p>A visual depiction of tech debt wanting to be business value when it grows up:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!DEx0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!DEx0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 424w, https://substackcdn.com/image/fetch/$s_!DEx0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 848w, https://substackcdn.com/image/fetch/$s_!DEx0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 1272w, https://substackcdn.com/image/fetch/$s_!DEx0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!DEx0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png" width="1456" height="459" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:459,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:125779,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!DEx0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 424w, https://substackcdn.com/image/fetch/$s_!DEx0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 848w, https://substackcdn.com/image/fetch/$s_!DEx0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 1272w, https://substackcdn.com/image/fetch/$s_!DEx0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b5f2f6e-217d-4841-b8f7-54e4421ce18e_2039x643.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The format is very similar, but we will need to make a few small changes:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!d8RH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!d8RH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 424w, https://substackcdn.com/image/fetch/$s_!d8RH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 848w, https://substackcdn.com/image/fetch/$s_!d8RH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 1272w, https://substackcdn.com/image/fetch/$s_!d8RH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!d8RH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png" width="1456" height="642" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:642,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:173546,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!d8RH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 424w, https://substackcdn.com/image/fetch/$s_!d8RH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 848w, https://substackcdn.com/image/fetch/$s_!d8RH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 1272w, https://substackcdn.com/image/fetch/$s_!d8RH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a46d81-47cf-46a1-afa1-5ea9ce6a2d37_1473x650.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Or delegate to one of the <a href="https://github.com/All-Hands-AI/OpenHands">3-8 instances of OpenHands</a> you surely run in parallel.</p><p>The orchestrator mode in Roo Code is what we&#8217;re after because it can:</p><ul><li><p>Have its own API and MCP settings (use C4Opus for the Orchestrator itself)</p></li><li><p>Automatically select between contexts we define (and is decent at it)</p></li><li><p>Each of those contexts have their own model, API, and MCP settings</p></li><li><p>They can run in parallel with shared MCP state and memory back-ends</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NMsA!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NMsA!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 424w, https://substackcdn.com/image/fetch/$s_!NMsA!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 848w, https://substackcdn.com/image/fetch/$s_!NMsA!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 1272w, https://substackcdn.com/image/fetch/$s_!NMsA!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NMsA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png" width="698" height="232" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dd1e9628-f027-4817-9153-c1e1a1832994_698x232.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:232,&quot;width&quot;:698,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:24399,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NMsA!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 424w, https://substackcdn.com/image/fetch/$s_!NMsA!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 848w, https://substackcdn.com/image/fetch/$s_!NMsA!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 1272w, https://substackcdn.com/image/fetch/$s_!NMsA!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdd1e9628-f027-4817-9153-c1e1a1832994_698x232.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Speaking of those contexts, let me give you a simple example: Secretary</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GZ8E!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GZ8E!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 424w, https://substackcdn.com/image/fetch/$s_!GZ8E!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 848w, https://substackcdn.com/image/fetch/$s_!GZ8E!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 1272w, https://substackcdn.com/image/fetch/$s_!GZ8E!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!GZ8E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png" width="1283" height="1822" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1822,&quot;width&quot;:1283,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:336152,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!GZ8E!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 424w, https://substackcdn.com/image/fetch/$s_!GZ8E!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 848w, https://substackcdn.com/image/fetch/$s_!GZ8E!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 1272w, https://substackcdn.com/image/fetch/$s_!GZ8E!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3520ad41-3bfc-4c4a-b272-28f1d4b34421_1283x1822.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Intermediate example: DevOps</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!STO0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!STO0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 424w, https://substackcdn.com/image/fetch/$s_!STO0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 848w, https://substackcdn.com/image/fetch/$s_!STO0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 1272w, https://substackcdn.com/image/fetch/$s_!STO0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!STO0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png" width="1456" height="1803" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b892e7a1-9555-4188-ad71-325146678381_1643x2035.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1803,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:460027,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!STO0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 424w, https://substackcdn.com/image/fetch/$s_!STO0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 848w, https://substackcdn.com/image/fetch/$s_!STO0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 1272w, https://substackcdn.com/image/fetch/$s_!STO0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb892e7a1-9555-4188-ad71-325146678381_1643x2035.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Through pragmatic use of allowed commands (aka NOT kubectl deploy) and local MCP servers, you will get pretty good mileage. I suggest setting up, at the very least:</p><ul><li><p>File System</p></li><li><p>Google Calendar</p></li><li><p>Google Drive</p></li><li><p>Slack</p></li></ul><h2>A Note On Memory</h2><p>The importance of local MCP memory (I personally prefer mem0) initialization and scheduled updates can not be understated. Do this with Cline. Example prompts:</p><ul><li><p>"memorize the slack channel ID and name correlations, then check your memories and confirm that you remember them."</p></li><li><p>"memorize that the latest Linear engineering requests are added under and checked from the [REDACTED] linear project - make sure to read the project description for instructions and memorize those."</p></li><li><p>"look through the latest 20 messages in each slack channel you have access to, create concise channel purpose summaries, and store them alongside your existing slack channel memory mappings to increase your awareness of which slack channels you should look in and post to for specific topics"</p></li></ul><h2>Other Protips</h2><ul><li><p>LMs are dumb. Structure projects / *.MDs to mitigate that and <a href="https://en.wikipedia.org/wiki/RTFM">tell &#8216;em to RTFM</a>.</p></li><li><p>Use &#8220;brew tree&#8221; and forced tool calls to let LMs better navigate your projects:</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kkgl!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kkgl!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 424w, https://substackcdn.com/image/fetch/$s_!kkgl!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 848w, https://substackcdn.com/image/fetch/$s_!kkgl!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 1272w, https://substackcdn.com/image/fetch/$s_!kkgl!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kkgl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png" width="582" height="413" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:413,&quot;width&quot;:582,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:46774,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kkgl!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 424w, https://substackcdn.com/image/fetch/$s_!kkgl!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 848w, https://substackcdn.com/image/fetch/$s_!kkgl!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 1272w, https://substackcdn.com/image/fetch/$s_!kkgl!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F42f23d4a-ab49-4f9d-b598-70b145e60c62_582x413.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><ul><li><p>Make sure your OpenHands instances each have a separate Mem0 MCP store.</p><ul><li><p>Hotwire your OpenHands instances to plex via A2A (agent to agent).</p></li></ul></li><li><p>Just like *.MD files, due to training data, LMs do well with <a href="https://mermaid.js.org/">Mermaid Diagrams</a>.</p></li><li><p><strong>Do not overkill the model used for a task</strong>. Larger models are not always better.</p><ul><li><p>#1, by far: know when to use other model types (not LMs).</p></li><li><p>#2: Know when to use, or not use, thinking models.</p></li><li><p>#3: Know when to use fast SLMs or nano LMs.</p></li></ul></li><li><p>Not all memory is created equal. Even for a sh*tty local only setup, you want to use a combination of Graph, Semantic, Episodic, and Embedding memory.</p></li><li><p>RAG sucks unless you need dynamic in-context chain of thought</p><ul><li><p>Forced tool calls via something like Algolia are better 90% of the time.</p></li></ul></li><li><p>Learn your MCPs like you learned your ABCs.</p><ul><li><p>Example: if you use LMs for code without basics like <a href="https://github.com/upstash/context7">Context7</a> &#8230;yeah.</p></li><li><p>Limit &#8216;em. 10-15 max per context and use RAG to assist with selection.</p></li></ul></li><li><p>Good prompts are as important as they are model-specific.</p><ul><li><p>A model-agnostic prompt library will make your life better.</p></li><li><p>Pre-initialized templates are underrated. (ie., you pre-populate the first 1-5 assistant : user message pairs with a focus on what the LM thinks it said)</p></li></ul></li></ul><p>Effective system prompt example:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iPxY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iPxY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 424w, https://substackcdn.com/image/fetch/$s_!iPxY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 848w, https://substackcdn.com/image/fetch/$s_!iPxY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 1272w, https://substackcdn.com/image/fetch/$s_!iPxY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iPxY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png" width="1456" height="1593" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1593,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:453632,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iPxY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 424w, https://substackcdn.com/image/fetch/$s_!iPxY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 848w, https://substackcdn.com/image/fetch/$s_!iPxY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 1272w, https://substackcdn.com/image/fetch/$s_!iPxY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F097160d5-f5e2-4e47-b908-9fc1367ce507_1509x1651.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong>ML is a great hammer but not everything is a nail. </strong>In general, LMs and RAG are a last resort. They are both slow, expensive, and highly prone to errors. People who are new to ML (aka most of the world) are in a honeymoon phase. Unless you&#8217;re an intern, you already know that a system&#8217;s observability should be proportional to its autonomy and a system&#8217;s reliability should be proportional to its parent ecosystem&#8217;s complexity.</p><p><strong>In terms of &#8220;code paths to cover with unit tests&#8221;, ML is a f*cking nightmare.</strong></p><h1>Conclusion (aka Self-Promotion)</h1><p>Did you think that today was the day you&#8217;d see a post on the internet without self-promotion? Look at the bright side: it&#8217;s not &#8220;hey bro I&#8217;ve got this sick report free(tm) all you need to do is comment on my post or DM me your email&#8221; &#8212; Sincerely, a &#8220;coach&#8221; (unemployed) who claims to have scaled startups from 0 to $10M+ / have F500 clients while attempting to sell some &#8220;program&#8221; for $10-$5000 on LinkedIn.</p><p>Unless you want to join our wonderful team over at <a href="https://www.sully.ai/">Sully AI</a> (I&#8217;m <a href="https://jobs.ashbyhq.com/sully-ai?departmentId=ba0368de-355c-4440-aff5-f3d8d0736285">hiring and build our Platform/AI tools</a> - unlike this 2023 technology, we actually use modern tooling) this should be around 60th-70th percentile in terms of AI tooling you can get for free.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ftci!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ftci!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 424w, https://substackcdn.com/image/fetch/$s_!Ftci!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 848w, https://substackcdn.com/image/fetch/$s_!Ftci!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 1272w, https://substackcdn.com/image/fetch/$s_!Ftci!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ftci!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png" width="402" height="505.40302613480054" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:914,&quot;width&quot;:727,&quot;resizeWidth&quot;:402,&quot;bytes&quot;:882587,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/165085189?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ftci!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 424w, https://substackcdn.com/image/fetch/$s_!Ftci!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 848w, https://substackcdn.com/image/fetch/$s_!Ftci!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 1272w, https://substackcdn.com/image/fetch/$s_!Ftci!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5e560276-c5d1-4f52-a6e1-2e5f1ae8711d_727x914.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[ML: A Networking Perspective, Pt2/X]]></title><description><![CDATA[Part 2! This series is designed for SWEs. No DevOps experience required.]]></description><link>https://www.yevelations.com/p/ntwrk-pt2</link><guid isPermaLink="false">https://www.yevelations.com/p/ntwrk-pt2</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Fri, 14 Mar 2025 03:06:03 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/d65c386c-366f-47ca-9100-eebac6fc496c_586x417.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This is an article based on feedback from the previous one. It covers what this series enables for engineers and users in a lay-audience-friendly and use-case-based way. </p><p><strong>TLDR even if all you do is OpenAI API calls, your users&#8217; TTFT (time to first token) decreases by 395-870+ms, your vendor footprint also becomes smaller, you save money, have better consistency, lower downtime, and your developers love you.</strong></p><p>This bridges the gap between companies wanting cross-cloud benefits and those with a Platform team and budget to deploy and maintain K8s clusters in every cloud, with vertically / horizontally scaled Istio sidecars, private SSL certificates, VPC peering, and an Envoy service mesh. Despite its transitional nature, this approach is robust, resilient, maintainable, performant, and scalable. <strong>It can and has served 1M+ cross-VPC RPS.</strong></p><p>Previous posts: &#8220;<a href="https://www.yevelations.com/p/ntwrk-pt1">ML: A Networking Perspective, Pt1/X</a>&#8221;, &#8220;<a href="https://www.yevelations.com/p/ml-a-hardware-perspective">ML: A Hardware Perspective</a>&#8221;.</p><h1>Benefits (Attempt #2)</h1><h2>1. User Experience</h2><p>Everything we do is for our users. Seamless UIUX requires sane response times:</p><ul><li><p>20-100ms: Feels instant, highly responsive - this is the ideal experience.</p></li><li><p>100-300ms: Noticeable, but still considered near-instant and seamless.</p></li><li><p>&gt;300ms: Noticeable delay, mild but acceptable UX degradation.</p></li><li><p>&gt;500ms: Perceived lag, sharp decline in UX, and user frustration.</p></li><li><p>&gt;1sec: Significant UX degradation and likely user abandonment.</p></li></ul><p>Infra is necessary to build things that are fast. Abstracting that infra is necessary for enabling engineers to build those things fast. On the front-end, that looks like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5lEF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5lEF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 424w, https://substackcdn.com/image/fetch/$s_!5lEF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 848w, https://substackcdn.com/image/fetch/$s_!5lEF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 1272w, https://substackcdn.com/image/fetch/$s_!5lEF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5lEF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png" width="1456" height="794" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:794,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:464111,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5lEF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 424w, https://substackcdn.com/image/fetch/$s_!5lEF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 848w, https://substackcdn.com/image/fetch/$s_!5lEF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 1272w, https://substackcdn.com/image/fetch/$s_!5lEF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffabe17e1-5ba5-429d-baac-238317d9a2af_1862x1015.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Analysis paralysis caused by free-form text is the silent killer of user experience. A generic, easy-bake recipe for reducing user cognitive load and improving UIUX is:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5gsh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5gsh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 424w, https://substackcdn.com/image/fetch/$s_!5gsh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 848w, https://substackcdn.com/image/fetch/$s_!5gsh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 1272w, https://substackcdn.com/image/fetch/$s_!5gsh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5gsh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png" width="496" height="326.13698630136986" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:480,&quot;width&quot;:730,&quot;resizeWidth&quot;:496,&quot;bytes&quot;:23857,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5gsh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 424w, https://substackcdn.com/image/fetch/$s_!5gsh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 848w, https://substackcdn.com/image/fetch/$s_!5gsh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 1272w, https://substackcdn.com/image/fetch/$s_!5gsh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F78ba08ee-33d7-4c13-8cbc-f56a2c94f360_730x480.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Superior UIUX for ML products often involves moving away from free-form, text-only interactions as quickly as possible (e.g., <a href="https://lovelace.yev.ai">Lovelace</a>). This requires a data-driven UI player.</p><p>The backend sends a JSON payload representing your users' UI layout (ex: open code canvas, file workspace, query engine, document uploads or downloads, etc.). Like this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FtkM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FtkM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 424w, https://substackcdn.com/image/fetch/$s_!FtkM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 848w, https://substackcdn.com/image/fetch/$s_!FtkM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 1272w, https://substackcdn.com/image/fetch/$s_!FtkM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FtkM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png" width="1456" height="725" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/45b103df-614e-4347-9909-5fbb7d138412_1568x781.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:725,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:73370,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!FtkM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 424w, https://substackcdn.com/image/fetch/$s_!FtkM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 848w, https://substackcdn.com/image/fetch/$s_!FtkM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 1272w, https://substackcdn.com/image/fetch/$s_!FtkM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F45b103df-614e-4347-9909-5fbb7d138412_1568x781.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2>2. Developer Experience</h2><p>The ideal application developer experience involves at least 70% - ideally over 90% - of what they write being business logic. Less boilerplate equals more customer value.</p><p>This series will provide a comprehensive guide for a single engineer to empower your organization with the following advantages in 1-3 days, troubleshooting included:</p><h3>Front-End Development</h3><ul><li><p>Provide a simple way to use <a href="https://www.patterns.dev/react/client-side-rendering/">CSR</a>, <a href="https://www.patterns.dev/react/server-side-rendering/">SSR</a>, <a href="https://www.patterns.dev/react/static-rendering/">SSG</a>, <a href="https://www.patterns.dev/react/incremental-static-rendering/">ISR</a>, and <a href="https://www.patterns.dev/react/streaming-ssr/">SSSR</a> with minimal boilerplate.</p></li><li><p>Remove caching, chunking, compression, and asset optimization from app logic.</p></li><li><p>Provide a centralized GUI for testing and optimizing front-end performance.</p></li><li><p>Remove authorization and authentication from app logic by centralizing it.</p></li><li><p>Reliable global &lt;15ms web, mobile, and native front-end performance.</p></li></ul><h3>Back-End Development</h3><ul><li><p>Faster TTFT and TPS (tokens per second). OpenAI example:</p><ul><li><p>Public API: 600-800ms TTFT / 600ms-1.5sec total latency. <strong>Not great UX.</strong></p></li><li><p>Azure API: 200-300ms TTFT / 300-700ms total latency. <strong>Much better UX.</strong></p></li><li><p>Azure also offers enterprise security, compliance, and data residency.</p></li><li><p>Services in AWS and GCP will be able to take full advantage of this.</p></li><li><p>Unlike public APIs, API downtime in Azure is virtually unheard of.</p></li></ul></li><li><p>Significantly faster embedding queries.</p><ul><li><p>AlloyDB takes 10-20ms to query against millions of vectors.</p></li><li><p>Supabase pgvector takes 30-80ms or more at similar scale.</p></li><li><p>Inter-VPC vs public transit shaves off another 85-200ms+.</p></li><li><p><strong>This makes your RAG queries 95-270ms faster.</strong></p></li><li><p>Your models query their embeddings locally.</p></li></ul></li><li><p>The above takes us from frustrating response times to a great user experience. Every company I've done this for had an immediate increase in user satisfaction.</p></li><li><p>Reduce your vendor footprint <strong>and</strong> allow application developers to call any service or model using unified internal authorization, instead of managing vendor API keys, rotations, etc., on a per-application basis - the definition of insanity.</p></li><li><p>Minimize toil by centralizing key management and model / API vendor updates.</p></li><li><p>Improve security by never exposing ALBs, NLBs, or services for external access.</p><ul><li><p>Explicit and centralized outbound access control and logging.</p></li></ul></li><li><p>Simplify end-user and organization billing and usage tracking by unifying it.</p></li><li><p>Centralize vendor failover and adherence to your usage / throttling limits.</p></li></ul><p>There are many other advantages, like enabling access to serverless models on all major clouds (Gemini Flash, for example, has uses in virtually every LLM workflow), but this article's goal is to cover everyday benefits for users and application developers.</p><h3>A Robust Full-Stack Interface</h3><p>Enabling your backend and frontend applications to call the same service endpoints will make your full-stack engineers happy and they will say nice things about you.</p><p>This also lets you to intercept and centrally authorize any vendor or endpoint. Making a call to Together AI, OpenRouter, Weights &amp; Biases, ScrapingBee, etc.? No problem! </p><p>Your service&#8217;s SDK called what it thinks is <code>https://scrapingbee/foobar</code>, and your internal DNS routed it 30-100ms+ faster via the proxies and a global backbone while injecting the proper API keys without your back-end service ever knowing about it.</p><p>These proxies support DB connections and other cool stuff - they cover HTTP/S/2/3 (QUIC), TCP and UDP, TCP and UDP Streams, GRE, IPIP, IPSec, gRPC and WebSockets.</p><h2>3. Performance</h2><p>Fast, predictable infrastructure performance directly improves user satisfaction and reduces infrastructure costs. Here are some real-world benchmarks that show this:</p><ul><li><p>800Mbps+ per-node throughput on streams and large RQs.</p></li><li><p>1200-1600 RPS with 3-4ms internal traffic between clouds.</p></li><li><p>350-400 RPS with 13-14ms<strong> </strong>global front-end performance.</p></li></ul><h3>Inter-VPC performance (TLDR, 3-4ms):</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cIUm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cIUm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 424w, https://substackcdn.com/image/fetch/$s_!cIUm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 848w, https://substackcdn.com/image/fetch/$s_!cIUm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 1272w, https://substackcdn.com/image/fetch/$s_!cIUm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cIUm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png" width="801" height="894" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:894,&quot;width&quot;:801,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:440439,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cIUm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 424w, https://substackcdn.com/image/fetch/$s_!cIUm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 848w, https://substackcdn.com/image/fetch/$s_!cIUm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 1272w, https://substackcdn.com/image/fetch/$s_!cIUm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08a4c619-06b6-4615-afd5-0f5a269fb745_801x894.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is made possible by <a href="https://www.yevelations.com/i/158052727/what-are-we-doing-in-this-post">physical colocation of the proxy VMs</a>, although it uses public network transit (the internet). I ran these tests for 48 hours and for 11 minutes of that, congestion increased latency to 9-14 ms with zero packet loss. Compared to the <a href="https://www.yevelations.com/i/158052727/alternatives">VPC peering alternative of $2700-3500 per month</a>, this also gives us higher burst capacity.</p><h3>Front-end performance (TLDR: 13-14ms):</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aig6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aig6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 424w, https://substackcdn.com/image/fetch/$s_!aig6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 848w, https://substackcdn.com/image/fetch/$s_!aig6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 1272w, https://substackcdn.com/image/fetch/$s_!aig6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aig6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png" width="1206" height="773" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/80619312-64c3-422c-987c-e380207ebc79_1206x773.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:773,&quot;width&quot;:1206,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:370326,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aig6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 424w, https://substackcdn.com/image/fetch/$s_!aig6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 848w, https://substackcdn.com/image/fetch/$s_!aig6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 1272w, https://substackcdn.com/image/fetch/$s_!aig6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80619312-64c3-422c-987c-e380207ebc79_1206x773.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>These were non-cached requests to an NGINX server on the nodes (using more CPU than proxy forwarding), during which none of them exceeded 25% CPU or 630 MB RAM. Speaking of our nodes, <strong>this level of throughput costs all of $21 per month</strong>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!io_G!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!io_G!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 424w, https://substackcdn.com/image/fetch/$s_!io_G!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 848w, https://substackcdn.com/image/fetch/$s_!io_G!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 1272w, https://substackcdn.com/image/fetch/$s_!io_G!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!io_G!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png" width="1456" height="347" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:347,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:34151,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!io_G!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 424w, https://substackcdn.com/image/fetch/$s_!io_G!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 848w, https://substackcdn.com/image/fetch/$s_!io_G!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 1272w, https://substackcdn.com/image/fetch/$s_!io_G!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3424b450-c7ee-4bcd-bff6-994231b7f765_1479x352.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This also gets us universally accelerated outbound API requests which are normally either unavailable out of the box altogether or cost insane amounts in each cloud.</p><p>We will add redundancy and fault tolerance while also making it 60-90% cheaper with auto-healing scaling groups composed of spot instances. This step is also necessary to <strong>verify that our design is robust enough for production usage</strong>. People talk about resilience and durability, but until you run entirely on spot instances, you have neither.</p><h2>4. Cost</h2><p>This setup pays for itself by reducing cloud costs and operational complexity. By the time we&#8217;re done, you&#8217;ll be running all of it for <strong>under $100/mo across all 3 clouds.</strong></p><h3>Engineering Overhead Savings</h3><ul><li><p><strong>Application development teams move faster</strong> because they can self-service infra.</p><ul><li><p>No per-service endpoint environment variables and update redeployments.</p></li><li><p>Unified request tracing drastically simplifies debugging of production issues.</p></li><li><p>Unified request logging removes redundant middleware from our services.</p></li></ul></li><li><p>No more per-cloud and per-account SSL certificate rotation (aka Platform KTLO).</p><ul><li><p>This also saves us from TLS/SSL termination overhead in all our services.</p></li></ul></li><li><p>Platform is no longer a dependency or blocker and can focus on new features.</p></li></ul><h3>Compute Overhead Savings</h3><ul><li><p>Per-account/CDN/ALB AWS Global Accelerators ($18/mo each)</p></li><li><p>Per-account/CDN Azure Front Doors ($35/mo standard, $330/mo premium)</p><ul><li><p>Cloudflare performance is equivalent to premium Azure Front Doors.</p></li></ul></li><li><p>Per-VPC AWS private DNS ($0.50/mo per zone + $0.40 per 1M requests)</p></li><li><p>Per-VPC GCP private DNS ($0.20/mo per zone + $0.40 per 1M queries)</p><ul><li><p>GCP NAT Gateway costs (this can get insanely expensive very quickly)</p></li></ul></li><li><p>Per-VPC Azure private DNS ( $0.50/mo per zone + $0.40 per 1M queries)</p><ul><li><p>Azure NAT Gateway costs ($32/mo each)</p></li></ul></li></ul><h1>What&#8217;s Next</h1><p>In the next article, Pt3/X, we'll set up a proxy in each cloud that responds to a health-check endpoint and connect it to our public domain via Cloudflared. This entire series will be done in a secure zero trust way that never makes our VMs externally accessible by using neat techniques like <a href="https://en.wikipedia.org/wiki/UDP_hole_punching">UDP hole-punching</a>, <a href="https://en.wikipedia.org/wiki/Reverse_connection">reverse tunnels</a>, and <a href="https://en.wikipedia.org/wiki/Relay_network">relay networks</a>.</p><p>After that, the course schedule will be:</p><ul><li><p>Pt4: Add direct inter-VPC mesh communication to proxies.</p></li><li><p>Pt5: Set up automagic DNS routing to proxies in each VPC.</p></li><li><p>Pt6: Optimize egress routing through Cloudflare's backbone.</p></li><li><p>Pt7: Introduce fault tolerance with spot instance groups.</p></li><li><p>Pt8: Expand our mesh a micro-cloud like Lambda Labs.</p></li></ul><p>After that, we&#8217;ll do an "ML: A Software Perspective" series, where we write middleware and provide examples using popular frameworks like PyTorch and TensorFlow. We'll also include tools like Autogen, Semantic Kernel, mem0, Composio, LangGraph, AG2, CrewAI, Wetrocloud, Vercel SDK, LlamaIndex, and other easy-bakes for the "AI" crowd.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, and fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>Let&#8217;s make sure the below depicts our competitors&#8217; customers and APIs - not ours.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!l8SE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!l8SE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 424w, https://substackcdn.com/image/fetch/$s_!l8SE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 848w, https://substackcdn.com/image/fetch/$s_!l8SE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 1272w, https://substackcdn.com/image/fetch/$s_!l8SE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!l8SE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png" width="586" height="417" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:417,&quot;width&quot;:586,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:395351,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158807355?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!l8SE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 424w, https://substackcdn.com/image/fetch/$s_!l8SE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 848w, https://substackcdn.com/image/fetch/$s_!l8SE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 1272w, https://substackcdn.com/image/fetch/$s_!l8SE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fade3aec3-3f5a-4b35-bdf4-8430887b7ced_586x417.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div>]]></content:encoded></item><item><title><![CDATA[ML: A Networking Perspective, Pt1/X]]></title><description><![CDATA[Part 1! This series is designed for SWEs. No DevOps experience required.]]></description><link>https://www.yevelations.com/p/ntwrk-pt1</link><guid isPermaLink="false">https://www.yevelations.com/p/ntwrk-pt1</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Tue, 11 Mar 2025 04:10:33 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/b7571cba-f86b-4d5e-b2e4-2a4ff46a5887_462x251.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In &#8220;<a href="https://www.yevelations.com/p/ml-a-hardware-perspective">ML: A Hardware Perspective</a>&#8221;, we outlined a cross-cloud infra setup. Feedback was:</p><ol><li><p>That&#8217;s too much. Most companies are LangChain and API bolt-ons.</p></li><li><p>How do we actually set something like this up? Need DevOps help.</p></li></ol><p>This will be a series aimed at addressing both of these things. We&#8217;ll set up a global cloud-agnostic backbone with persistent connections between each cloud provider.</p><p>This article sets the groundwork for the series with a short action item at the end.</p><h1>Who This Is For</h1><ul><li><p>Startups working on &#8220;AI&#8221; - API calls, bolt-ons, frameworks like LangChain.</p></li><li><p>Startups working on ML - training, inference, fine-tuning, self-hosted.</p></li><li><p>You don&#8217;t have a Platform team or their skill ceiling is not the best.</p></li></ul><h1>Benefits</h1><ul><li><p>Quickly and safely capitalize on all 3 clouds&#8217; advantages in every cloud:</p><ul><li><p>Use GCP&#8217;s AlloyDB, Vertex, GAI Studio, Doc AI, BigQuery, etc in AWS/AZU.</p></li><li><p>Use Azure&#8217;s OAI, CosmosDB, Dbricks, AML, Cog Serv+Srch, etc in AWS/GCP.</p></li><li><p>Use AWS&#8217;s Bedrock, SageMaker, Forecast, Comprehend, etc in GCP/AZU.</p></li></ul></li><li><p>Vastly reduce latency and jitter for most of your external vendor API calls.</p></li><li><p>Set up inference endpoints with Lambda Labs&#8217; DGX SuperPods or Scalars.</p></li><li><p>Security. Easier IAM/SG/etc management, no more exposing ingress, etc.</p></li><li><p>Your future DevOps team will say good things to you AND about you.</p></li><li><p>Unified cross-cloud analytics, image optimization, global ingress backbone.</p></li></ul><p>Plus better performance than you&#8217;d have with (and save you the monthly charges of) AWS Global Accelerator ($18/mo each), Azure Front Door ($35/mo each), and GCP Premium Tier networking - plus the rather steep bandwidth costs for all of those. A lot more bells and whistles come with this setup but we&#8217;ll dig into those in later articles.</p><h1>Drawbacks</h1><p>It&#8217;s one more place where things can go wrong. This setup is reliable and I&#8217;ve used it for many companies, but things CAN go wrong. We will cover DR and redundancy to mitigate that. It&#8217;ll cost extra but will still be over 10x cheaper than peering at baseline.</p><h1>What Are We Doing?</h1><p>In this series, we&#8217;ll implement the diagram below. This involves swapping DNS to Cloudflare and adopting a bit of Pulumi in your infra. I&#8217;ve built out MLOps/DevOps infra for dozens of companies, and not a single one has regretted doing either.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NcEN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NcEN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 424w, https://substackcdn.com/image/fetch/$s_!NcEN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 848w, https://substackcdn.com/image/fetch/$s_!NcEN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 1272w, https://substackcdn.com/image/fetch/$s_!NcEN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NcEN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png" width="1083" height="967" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:967,&quot;width&quot;:1083,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:122689,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158052727?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!NcEN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 424w, https://substackcdn.com/image/fetch/$s_!NcEN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 848w, https://substackcdn.com/image/fetch/$s_!NcEN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 1272w, https://substackcdn.com/image/fetch/$s_!NcEN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde2a5d15-ac6a-4353-8bf8-a3775fe74e38_1083x967.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>I&#8217;m not going to bore you with too many of the networking details but here&#8217;s the gist:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0S8z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0S8z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 424w, https://substackcdn.com/image/fetch/$s_!0S8z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 848w, https://substackcdn.com/image/fetch/$s_!0S8z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 1272w, https://substackcdn.com/image/fetch/$s_!0S8z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0S8z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png" width="1456" height="572" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:572,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:114677,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158052727?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0S8z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 424w, https://substackcdn.com/image/fetch/$s_!0S8z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 848w, https://substackcdn.com/image/fetch/$s_!0S8z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 1272w, https://substackcdn.com/image/fetch/$s_!0S8z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff45a72-03e2-4acb-9102-3f8b69b62a90_1708x671.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We&#8217;ll go with envoy for management APIs and a few other specific capabilities. Our design goals (ordered): Cost, Security, Maintainability, Performance, and Robustness.</p><p>This will be built in a specific way that allows us to easily add Disaster Recovery, Fault Tolerance, Durability, and an Istio control plane for practical management later on.</p><h1>Alternatives</h1><h2>VPC Peering</h2><p>The downside to this is cost. Below is one of the most basic peering solutions you can have and the total of the below prices along with <strong>Edge Routers</strong> ($200-300/mo/cloud) and <strong>Monitoring Tools</strong> ($100-200/mo) <strong>would be at least ~$2,736-3,436 per month.</strong></p><h3>AWS &#8596; GCP</h3><p><strong>AWS Direct Connect Port</strong>: $262/mo 1Gbps, <strong>GCP Partner Interconnect</strong>: $151/mo 1Gbps, <strong>Cross-Connect</strong>: $200-300/mo, <strong>Subtotal</strong>: $613-713/mo</p><h3>AWS &#8596; Azure</h3><p><strong>AWS Direct Connect Port</strong>: $262/mo 1Gbps, <strong>Azure ExpressRoute Circuit</strong>: $305/mo 1Gbps, <strong>Cross-Connect</strong>: $200-300/mo , <strong>Subtotal</strong>: $767-867/mo</p><h3>GCP &#8596; Azure</h3><p><strong>GCP Partner Interconnect</strong>: $151/mo 1Gbps, <strong>Azure ExpressRoute Circuit</strong>: $305/mo 1Gbps, <strong>Cross-Connect</strong>: $200-300/mo, <strong>Subtotal</strong>: $656-756/mo</p><h2>WireGuard: Advantages</h2><p>WireGuard is a VPN protocol designed for simplicity and high-performance encrypted networking. <strong>Cloudflare Warp (what we&#8217;ll be using) is based on the WireGuard</strong> but saves us from dealing with things like WG key and configuration management!</p><ul><li><p><strong>Extreme Performance: </strong>Minimal latency and negligible CPU overhead.</p></li><li><p><strong>Simplicity and Transparency: </strong>Easy-to-understand config, fewer security risks.</p></li><li><p><strong>Cost Efficiency: </strong>Free and open-source software (FOSS); only server costs.</p></li><li><p><strong>Fully Self-Managed: </strong>Complete control over security, routing, keys, and privacy.</p></li></ul><h2>WireGuard: Disadvantages</h2><ul><li><p><strong>Manual Key &amp; Configuration Management: </strong>You have to manually handle cryptographic keys, configurations, updates, deployments, and other stuff.</p></li><li><p><strong>Infrastructure Management Required: </strong>Self-hosted infra is more complex.</p></li><li><p><strong>No Built-in Firewall or Security Policies:</strong> it's just a VPN layer.</p></li></ul><h2>TailScale: Advantages</h2><p>Tailscale is built on WireGuard and similar to Cloudflare Warp, but with an automatic mesh that simplifies key distribution and network setup. In our case, TailScale could be 1-3ms faster but <strong>it is a direct P2P solution that exposes external IPs, suffers from public network transit jitter, and doesn&#8217;t backbone us to external API vendors.</strong></p><ul><li><p><strong>Zero-Configuration Setup:</strong> TailScale is to WireGuard what Istio is to Envoy. It handles WireGuard keys, peer discovery, configuration, and other handy stuff.</p></li><li><p><strong>Automatic NAT Traversal and Mesh Routing: </strong>Direct peer-to-peer connections even behind NAT are great for warm, low latency, and distributed deployments.</p></li><li><p><strong>Strong Security Defaults: </strong>Strong auth via Single Sign-On (SSO) integration.</p></li></ul><h2>TailScale: Disadvantages</h2><ul><li><p><strong>Dependence on Tailscale Infrastructure: </strong>Relies on Tailscale&#8217;s control plane.</p></li><li><p><strong>Limited Customization: </strong>Cannot fully customize encryption, auth, or keys.</p></li><li><p><strong>Compliance &amp; Privacy Considerations: </strong>Central control plane.</p></li></ul><h2>Nebula: Advantages</h2><p>Nebula is a scalable mesh networking platform developed by Slack. It gives us a secure overlay network and handles dynamic node discovery (kind of like Istio).</p><ul><li><p><strong>Scalable &amp; Secure by Design: </strong>Uses certificate-based authentication (PKI), scales well from 10 to 1000+ nodes. <strong>This is extreme overkill in scale and complexity.</strong></p></li><li><p><strong>Rich Security Features: </strong>Built-in SGs and firewall-like policies give good control.</p></li><li><p><strong>Robust NAT Traversal: </strong>Traverses firewalls and NAT for hybrid and multi-cloud.</p></li><li><p><strong>Open-Source: </strong>Highly customizable, transparent, and fully self-hostable.</p></li><li><p><strong>Proven in Prod: </strong>Heavily battle-tested by Slack in large prod environments.</p></li></ul><h2>Nebula: Disadvantages</h2><ul><li><p><strong>Complexity: </strong>Initial setup requires PKI certificates and custom configuration files.</p></li><li><p><strong>Self-Managed Infra: </strong>Similar to WireGuard, we deal with more self-managed infra.</p></li><li><p><strong>Operational Overhead of Key Management (PKI): </strong>Things can go really wrong.</p></li></ul><h2>ZeroTier: Advantages</h2><p>ZeroTier is software-defined networking (SDN) for cross-cloud virtual Ethernet.</p><ul><li><p><strong>Simplicity &amp; Rapid Deployment: </strong>Very user-friendly with a web GUI.</p></li><li><p><strong>Automatic NAT and Firewall Traversal: </strong>This saves a lot of headache.</p></li><li><p><strong>SDN Capabilities: </strong>Routing, bridging, and network segmentation out of the box.</p></li><li><p><strong>Hosting Options: </strong>ZeroTier&#8217;s control plane can be cloud-hosted or self-hosted.</p></li></ul><h2>ZeroTier: Disadvantages</h2><ul><li><p><strong>Centralized Control Plane (by Default): </strong>they&#8217;re not as big as CloudFlare.</p></li><li><p><strong>Performance Tradeoffs (Layer-2 Ethernet Emulation): </strong>Slightly higher latency due to Layer-2 tunneling overhead versus Layer-3 VPNs (WireGuard/Tailscale).</p></li><li><p><strong>Enterprise Scale Costs: </strong>can scale quickly and brutally at enterprise levels.</p></li><li><p><strong>Complexity at Large Scales: </strong>Virtual Ethernet networks are complex in large multi-cloud environments, especially with network loops, multicast, and broadcast.</p></li></ul><h1>What Are We Doing In This Post?</h1><p>In this post we&#8217;ll figure out where to put our<strong> </strong>proxies in each VPC for them to be as physically close to each other as possible.<strong> </strong>Networking 101 for the Big 3 Clouds:</p><p><strong>Region </strong>= a geographically wide group of interconnected Availability Zones.<br><strong>Availability Zone (AZ)</strong> = a physical group of data centers in a Region.<br><strong>Virtual Private Cloud (VPC)</strong> = logically isolated network spanning all AZs in a Region.<br><strong>Subnet</strong> = a network segment inside a VPC with <a href="https://aws.amazon.com/what-is/cidr/">its own CIDR IP address range</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SiuI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SiuI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 424w, https://substackcdn.com/image/fetch/$s_!SiuI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 848w, https://substackcdn.com/image/fetch/$s_!SiuI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 1272w, https://substackcdn.com/image/fetch/$s_!SiuI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!SiuI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png" width="1408" height="724" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:724,&quot;width&quot;:1408,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20234,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.yevelations.com/i/158052727?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!SiuI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 424w, https://substackcdn.com/image/fetch/$s_!SiuI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 848w, https://substackcdn.com/image/fetch/$s_!SiuI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 1272w, https://substackcdn.com/image/fetch/$s_!SiuI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d9f93bb-ac8a-4a3f-9d63-399f7eb58a24_1408x724.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The relationship between Subnets and AZs is <strong>not the same in AWS, GCP, and Azure.</strong></p><h2>GCP</h2><p>A Subnet spans all AZs in a Region by default. Specifying an AZ during creation of a VM guarantees it will be in a specific physical location. Example: us-east4-a, -b, or -c.</p><h2>Azure</h2><p>A Subnet also spans all AZs in a Region by default. Specifying an AZ during creation of a VM guarantees it will be in a specific physical location. Example: &#8220;eastus&#8221; and &#8220;1&#8221;.</p><h2>AWS</h2><p>A Subnet is tied to a specific AZ at creation but the mapping of AZs (&#8220;us-east-1a&#8221;, &#8220;us-east-1b&#8221;) to physical locations is <strong>randomized per-AWS-account at creation.</strong></p><p>In a per-tenant AWS account setup (which you should have, security 101), you need to reverse-map AZs for each account. This is done by spinning up public IP EC2 instances in each account and latency testing between them. Example: if the latency from a VM in &#8220;us-east-1a&#8221; for AWS Account &#8220;Foo&#8221; to &#8220;us-east-1c&#8221; for AWS Account &#8220;Bar&#8221; is &lt;2ms consistently, you can <strong>safely conclude that they are in the same physical location.</strong></p><h1>Let&#8217;s Do The Thing!</h1><p>We&#8217;ll use <a href="https://github.com/GoogleCloudPlatform/PerfKitBenchmarker">PBK</a> to find the lowest latency VM combination between the following AZs:</p><ul><li><p>GCP us-east4-a, us-east4-b, and us-east4-c.</p></li><li><p>Azure eastus 1, eastus 2, and eastus 3.</p></li><li><p>AWS us-east-1a, us-east-1b, us-east-1c, us-east-1d, us-east-1e, and us-east-1f</p></li></ul><p>I <a href="https://github.com/yev-ai/pulumi/tree/main/examples/mc-latency-measure">prepared some code to do this and wrote the guide for it here</a>. In our case, they are:</p><ul><li><p>AWS us-east-1a</p></li><li><p>GCP us-east4-a</p></li><li><p>Azure eastus-1</p></li></ul><p>In the next article we&#8217;ll set up a proxy in each cloud provider that responds to a simple health check endpoint. We&#8217;ll then use <a href="https://github.com/wg/wrk">WRK</a> and <a href="https://github.com/mcollina/autocannon">Autocannon</a> to do a few performance tests with and without features like Smart Routing. These will be externally mapped:</p><ul><li><p>api.[TLD]/api/v5 &#8594; Proxy in AWS VPC</p></li><li><p>api.[TLD]/api/v6 &#8594; Proxy in GCP VPC</p></li><li><p>api.[TLD]/api/v7 &#8594; Proxy in Azure VPC</p></li></ul><p>VPC-to-VPC communication will be handled later on in a secure and performant way.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!To_F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!To_F!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 424w, https://substackcdn.com/image/fetch/$s_!To_F!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 848w, https://substackcdn.com/image/fetch/$s_!To_F!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 1272w, https://substackcdn.com/image/fetch/$s_!To_F!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!To_F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp" width="610" height="331.4069264069264" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ecd699b1-9589-4167-b04c-c981427b1719_462x251.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:251,&quot;width&quot;:462,&quot;resizeWidth&quot;:610,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!To_F!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 424w, https://substackcdn.com/image/fetch/$s_!To_F!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 848w, https://substackcdn.com/image/fetch/$s_!To_F!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 1272w, https://substackcdn.com/image/fetch/$s_!To_F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecd699b1-9589-4167-b04c-c981427b1719_462x251.webp 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.yevelations.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Deranged rants, wild theories, and fresh memes:</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>