<?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>Sun, 05 Apr 2026 00:41:27 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[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> | Link to next chapter (WIP) | <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><item><title><![CDATA[ML: A Hardware Perspective]]></title><description><![CDATA[This rant is inspired by a zoom call and the limelight of The Stargate Project. Who it&#8217;s for: micro-cloud providers and anyone spending more than $10K/mo on ML training.]]></description><link>https://www.yevelations.com/p/ml-a-hardware-perspective</link><guid isPermaLink="false">https://www.yevelations.com/p/ml-a-hardware-perspective</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Wed, 29 Jan 2025 02:18:02 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/d94c6d27-41c4-49ab-a1bf-0a6f859e8d2a_1279x766.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>This rant is inspired by a zoom call and the limelight of <a href="https://openai.com/index/announcing-the-stargate-project/">The Stargate Project.</a> Who it&#8217;s for: micro-cloud providers and anyone spending more than $10K/mo on ML training.</p><h1>Cost Optimization Background</h1><h2>Assumptions</h2><ul><li><p>If you use AMD or TPUs, your technical proficiency exceeds this post.</p></li><li><p>Scaling efficiency of ~90% across all generations (close enough).</p></li><li><p>You&#8217;re going for the cheapest regions, pricing as of 01/28/25.</p></li><li><p>You&#8217;re not in a specialized HPC environment like UltraCluster.</p></li><li><p>Zero consideration for vCPU, bandwidth and SSD allocations.</p></li><li><p>&#8230;but your pre-processing can keep GPUs fed at near 100%.</p></li><li><p>You don&#8217;t have the DevOps to leverage spot instances.</p></li><li><p>You don&#8217;t have the budget for 1-3 year reservations.</p></li><li><p>Transformer training when possible, because hype.</p></li><li><p>VRAM limits don&#8217;t matter as much for training.</p></li></ul><h2>NVIDIA A100, 2020</h2><p>This is when NVIDIA introduced TF32 (Tensor Float). TF32 is supported by TensorFlow and PyTorch, maintains the 8-bit exponent of FP32, but reduces the mantissa to 10 bits. This life hack gives it performance so far beyond FP32 that unless you specifically need the accuracy of FP32 or 64 for advanced quantization techniques (in which case reading this article is a waste of your time), you care mostly about TF32 performance.</p><p>Unrelated ML perf: <a href="https://arxiv.org/html/2410.00907">this paper</a> achieves a 95% energy use reduction for multiplication on tensor hardware by almost losslessly approximating it with addition using L-Mul.</p><p>TF32 Training Performance with 8xA100 80GB on DGX: ~2,200TF<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> (Sparse)</p><ul><li><p><a href="https://instances.vantage.sh/aws/ec2/p4d.24xlarge">AWS p4d.24xlarge</a>: 96 vCPU, 1.1TB RAM</p><ul><li><p>$32.77/Hr On-Demand ($10.36/Hr Spot)</p></li></ul></li><li><p><a href="https://cloudprice.net/gcp/compute/instances/a2-ultragpu-8g">GCP a2-ultragpu-8g</a>: 96 vCPU, 1.4TB RAM</p><ul><li><p>$40.22/Hr On-Demand</p></li></ul></li><li><p><a href="https://instances.vantage.sh/azure/vm/nd96amsr">Azure NDamsrA100v4</a>: 96 vCPU, 1.9TB RAM</p><ul><li><p>$32.77/Hr On-Demand ($5.55/Hr Spot)</p></li></ul></li></ul><h2>NVIDIA H100, 2022</h2><p>TF32 Training Performance with 8x H100 on SXM (DGX): ~7,120TF<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a> </p><ul><li><p><a href="https://instances.vantage.sh/aws/ec2/p5.48xlarge">AWS p5.48xlarge</a>: 192 vCPU, 2TB RAM</p><ul><li><p>$98.32/Hr On-Demand ($54.07/Hr Spot)</p></li></ul></li><li><p><a href="https://cloudprice.net/gcp/compute/instances/a3-highgpu-8g">GCP a3-highgpu-8g</a>: 208 vCPU, 1.9TB RAM</p><ul><li><p>$87.83/Hr On-Demand</p></li></ul></li><li><p><a href="https://instances.vantage.sh/azure/vm/nd96isrh100-v5">Azure NDisrH100v5</a>: 96 vCPU, 1.9TB RAM</p><ul><li><p>$98.32/Hr On-Demand</p></li></ul></li></ul><h1>Practical Cost Optimization</h1><p>On the Big 3 cloud providers, we pay:</p><ul><li><p>$14.89/Hr for 1000 TF32 TFLOPS with Ampere</p></li><li><p>$12.34/Hr for 1000 TF32 TFLOPS with Hopper</p></li></ul><p>Let&#8217;s focus on the lowest micro-cloud cost per 1000 TF32 TFLOPS:</p><ul><li><p><a href="https://us.ovhcloud.com/public-cloud/prices/">OVHCloud </a>only offers pre-TensorFloat Voltas, they&#8217;re out.</p></li><li><p>DigitalOcean <a href="https://www.digitalocean.com/pricing/gpu-droplets">is $3.35/Hr</a> for 1000 TF32 TFLOPS &#8230;maybe.</p><ul><li><p>They&#8217;re <strong>VERY unclear</strong> on whether this is SXM or PCIe.</p></li></ul></li><li><p><a href="https://www.atlantic.net/gpu-server-hosting/">Atlantic.Net</a> doesn&#8217;t list prices. That about sums that up.</p></li><li><p><a href="https://lambdalabs.com/service/gpu-cloud#pricing">Lambda Labs are f*cking champs.</a> Clear pricing and platform:</p><ul><li><p>$4.69/Hr for 1000 TF32 TFLOPS on SXM 40GB A100s</p></li><li><p>$6.50/Hr for 1000 TF32 TFLOPS on SXM 80GB A100s</p></li><li><p><strong>$3.36/Hr for 1000 TF32 TFLOPS on SXM 80GB H100s</strong></p></li></ul></li><li><p><a href="https://www.coreweave.com/pricing">CoreWeave</a>, not a winner &#8230;BUT clear and transparent pricing:</p><ul><li><p>$6.91/Hr for 1000 TF32 TFLOPS on SXM 80GB H100s</p></li><li><p><strong>They offer a lot of value-add software (hint hint)</strong></p></li></ul></li><li><p>RunPod&#8217;s &#8220;community cloud&#8221; and no 8x are sus. They&#8217;re out.</p></li></ul><p>Lambda Labs vs Big 3 with on-demand 8x H100s SXM? <strong>72.77% Price Reduction.</strong></p><p>Now, <a href="https://cloud.vast.ai/">Vast.ai is a beast of its own</a>. Let&#8217;s say this one&#8217;s outside of the scope of this post because they deserve their own post and aren&#8217;t really a micro-cloud provider. Places like Vast.ai / OpenRouter / etc <strong>are excellent for micro-cloud providers monetizing their spare capacity. </strong>They&#8217;re also a different universe where things like this are real:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Xruw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xruw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 424w, https://substackcdn.com/image/fetch/$s_!Xruw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 848w, https://substackcdn.com/image/fetch/$s_!Xruw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 1272w, https://substackcdn.com/image/fetch/$s_!Xruw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xruw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png" width="805" height="107" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:107,&quot;width&quot;:805,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:35230,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Xruw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 424w, https://substackcdn.com/image/fetch/$s_!Xruw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 848w, https://substackcdn.com/image/fetch/$s_!Xruw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 1272w, https://substackcdn.com/image/fetch/$s_!Xruw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef261fea-5e07-40b8-9ec0-9e54c883c04e_805x107.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>&#8230;and that&#8217;s inside a secure cloud hosted in a trusted datacenter. These are by far the best prices you&#8217;ll ever see and <a href="https://docs.vast.ai/quickstart">they offer value-add software that makes life easy.</a> The whole world isn&#8217;t using them because they&#8217;re effectively <strong>limited to single VM setups.</strong></p><h1>Technological Barriers to Entry</h1><p>Ok Yevgen, we&#8217;d love to save $7.3K/mo out of our $10K R&amp;D budget, or $22K/mo out of our $30K/mo R&amp;D budget (enough to hire a good MLOps / DevOps engineer with a $210K salary, 1.25x employer overhead accounted for)! <strong>How do we get in on this?</strong></p><h2>Getting a K8s Cluster Up and Running</h2><p>First off, why? Because that unlocks a large ecosystem of tools: everything you need.</p><p>Rejoice! <a href="https://www.youtube.com/watch?v=T3_XCX9odTc">As of October 2024, Lambda Labs has finessed this into a 1-click operation.</a> A massive upgrade from what you have to do on most micro-clouds today, which still resembles Lambda Labs&#8217; <a href="https://lambdalabs.com/blog/setting-up-a-runai-cluster-on-lambda-cloud">messy and time-consuming guide for how to do this in 2022</a>.</p><h2>Making a Cluster Useful for R&amp;D</h2><p>Once you have a cluster, a whole world opens up &#8230;for you to implement. A brief look:</p><ul><li><p><a href="https://github.com/skypilot-org/skypilot/">SkyPilot is excellent</a> (inference-focused) due to its automatic cost optimization.</p></li><li><p>If you want to <strong>not hate your life and do things like go directly to distributed training jobs</strong>, Kubeflow <a href="https://www.kubeflow.org/docs/components/training/overview/">has an operator for that</a>. It supports PyTorch, XGBoost, Tensorflow, and almost everything else you may want. Kubeflow is <strong>my personal favorite</strong>, so this may be a biased suggestion since I also know it the best. It has:</p><ul><li><p>Easy to use <a href="https://github.com/coder/code-server">VS Code Server</a> and <a href="https://github.com/jupyterlab/jupyterlab">JupyterLab</a> in-cluster <a href="https://github.com/kubeflow/notebooks">with KF Notebooks</a>!</p></li><li><p>It lets you <a href="https://www.kubeflow.org/docs/components/pipelines/overview/">create E2E ML pipelines natively in Python</a> (researcher-friendly)</p></li><li><p>It has <a href="https://github.com/kubeflow/katib">an amazing ez-bake (in beta, I love it) for Hyperparameter Tuning</a>.</p></li><li><p>It has <a href="https://github.com/kubeflow/model-registry">a simple model and artifact registry</a> that works for most use cases.</p></li><li><p>Want to <a href="https://github.com/kubeflow/mpi-operator">aggregate gradients computed on multiple nodes</a>? You got it.</p><ul><li><p>This uses <a href="https://blog.kubeflow.org/integrations/operators/2020/03/16/mpi-operator.html">K8s&#8217; MPI operator</a> and works with TensorFlow and PyTorch.</p></li></ul></li><li><p>Got your shiny new model ready for inference? <a href="https://github.com/kserve/kserve">You can easily do that too.</a></p></li></ul></li></ul><h2>Making a Cluster Good for R&amp;D</h2><p>For performant S3-compatible cluster storage, you&#8217;ll want <a href="https://github.com/minio/minio">MinIO. We love MinIO!</a> After this, you&#8217;ll want cluster observability. Here&#8217;s a decent diagram I cooked up a while back that is a basic, opinionated, but OK cookie-cutter setup (click for full size)</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!zq2P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!zq2P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zq2P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zq2P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zq2P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!zq2P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg" width="1456" height="639" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:639,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:199815,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!zq2P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 424w, https://substackcdn.com/image/fetch/$s_!zq2P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 848w, https://substackcdn.com/image/fetch/$s_!zq2P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!zq2P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0234255d-f8a4-47e9-9eae-7b5b5a981cc8_2048x899.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>Now - I wrote that diagram for a different purpose so you&#8217;ll want to ignore everything outside of the purple &#8220;K8 Cluster&#8221; boundary. If this is an R&amp;D cluster skip Envoy, Istio, Kafka, probably ArgoCD too and tweak it to use OpenTelemetry-compatible thingies.</p><p>This setup will work for most use-cases because it lets you <strong>easily unify observability</strong> and operations between AWS/GCP/Azure clusters, or multiple micro-cloud clusters. Having this before something sus happens is <strong>good for your health and happiness.</strong></p><p>Now that you&#8217;ve got basic DevOps observability, you may want MLOps observability. You can always use <a href="https://www.comet.com/site/">Comet ML</a> or <a href="https://wandb.ai/site/">Weights &amp; Biases</a> like a normal person, or (there are benefits to this) drop <a href="https://github.com/mlflow/mlflow">MLFlow</a> into your cluster with <a href="https://bitnami.com/stack/mlflow/helm">Bitnami&#8217;s ez-bake Helm Chart.</a></p><p>Also, something like <a href="https://github.com/apache/airflow">Apache Airflow</a> can be a godsend for scheduling / management.</p><p>Keep in mind that at this point your tooling will have significant overlap. This will get you everything you need for a complete R&amp;D shop, but it&#8217;s most likely unnecessary.</p><p>Doing unnecessary things means unnecessary maintenance and overhead. Do be aware of the tech debt you are committing yourself to when considering these.</p><h1>The Micro-Cloud Dream</h1><p>You know what myself and a lot of other <strong>people who care about GPU pricing would pay a lot of money for</strong> that, to the best of my knowledge, does not exist right now?</p><p>Imagine this. You&#8217;re on Azure, or GCP, or AWS. You have a DevOps or MLOps guy or two, and your R&amp;D budget is $10K-50K/mo - nowhere near enough to justify having a<strong> full expert platform team for self-service and optimization</strong>. That&#8217;s a lot of people.</p><p>First off, the micro-cloud contract. Cloud providers always want to sell steady reserved capacity on 9-36 month contracts &#8230;but that sucks for most people. What if you could sign on for a set amount of resources <strong>but use them when you actually need them?</strong></p><p>What if your contract had a fully reserved rate only for the machines you need to be always on and run your K8S control / management planes, and the rest auto-scaled?</p><p>What if the onboarding&#8217;s timeline, expectations, and engineering requirements were all clearly expressed in the contract? We could just have a few checkboxes, such as:</p><ul><li><p>We work on [Reinforcement Learning / Computer Vision / Transformers / etc]</p></li><li><p>Our Engineers use [VS Code / Jupyter / etc] and [TensorFlow / PyTorch / etc]</p></li><li><p>We will need mostly [egress / ingress], [X] Gbps sustained, [Y] Gbps burst.</p></li><li><p>Our training data is [X] Gb and we guestimate training [Y] epochs on it.</p></li><li><p>We [want / don&#8217;t want] them to have awesome, efficient in-cluster IDEs.</p></li><li><p>We [want / don&#8217;t want] to peer with our main [AWS / GCP / Azure] VPC.</p></li><li><p>We [want / don&#8217;t want] cluster logs and metrics visible in our main cloud.</p></li><li><p>We [want / don&#8217;t want] to manage our clusters ourselves. Do it for us!</p></li><li><p>Our preferred contract duration is [12/24/36 mo] - include incentives!</p></li><li><p>We want Platform support [Nah / As-Needed / Business Hours / 24.7]</p></li></ul><p>Boom! Here are <strong>3-5 options and quotes for what hardware we recommend.</strong></p><p>What if micro-cloud providers provided $2-5K worth of professional services free to onboard your R&amp;D team without DevOps/MLOps support and amortized that cost in the contract itself? That&#8217;d <strong>de-risk potential customers</strong> and shift their CAC (Customer Acquisition Cost) from sales to professional services with a notable overall reduction.</p><p><strong>You know what almost every R&amp;D shop wants to hear? It&#8217;s this:</strong></p><p>All done with your checklist? We&#8217;re spinning up a cluster for you and you will get SSH keys for non-control plane nodes if you want and VPN credentials to connect to it. We will give your ML engineers docs on how to use IDEs / everything + observability tools.</p><p><strong>Whoever gets this right will dominate because the ML Engineers will sell their CTO on it (dope tooling) for you, who in turn won&#8217;t be risking his job on this.</strong></p><p><strong>&#8220;This&#8221; being: fill out survey, pick feature and hardware options, sign contract, ENG gets credentials and documentation on how to use their shiny new tools.</strong></p><p>R&amp;D orgs are not looking for cheaper servers or GPUs, they&#8217;re looking to <strong>optimize overall costs</strong> - and there is a massive opportunity there for high value add services. You don&#8217;t even have to do it yourself. Just find trusted partners who can do it for you, for which you foot the bill (amortize it in your contract to de-risk your customers) and lower the barrier to entry. <strong>A $100K+ contract is risky enough. Signing it without a partner heavily invested in making sure it all works out is not an option for most.</strong></p><h1>Aight, Let&#8217;s Wrap it Up</h1><p>Every startup wants to save costs on GPUs. Less than 1% of them (I can list the ones able to efficiently span micro-clouds on one hand because I know most of them) are capable of it. This is a wheel that has to get re-invented every time a startup wants to save costs on GPUs. A batteries-included end to end setup starting with the cluster, to observability, to docker images, to workload distribution, and IDEs is the R&amp;D dream.</p><p>Why leave it to them? Cloud providers have a vested interest. This isn&#8217;t even a sales objection, it&#8217;s THE sales objection. Please see exhibit below - the ones on top STILL can&#8217;t span micro-clouds <em><strong>&#8230;and you&#8217;re mostly talking to the ones on the bottom.</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, 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><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6Y_v!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6Y_v!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6Y_v!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6Y_v!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6Y_v!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6Y_v!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg" width="524" height="728.6875" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1780,&quot;width&quot;:1280,&quot;resizeWidth&quot;:524,&quot;bytes&quot;:196112,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6Y_v!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 424w, https://substackcdn.com/image/fetch/$s_!6Y_v!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 848w, https://substackcdn.com/image/fetch/$s_!6Y_v!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!6Y_v!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09048999-d20e-4d45-b028-bbf41b150e62_1280x1780.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 <a href="https://www.linkedin.com/in/eordax/">goes to Eduaro Ordax</a>, the man responsible for my 6-pack.</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><a href="https://www.nvidia.com/en-us/data-center/a100/">Nvidia Datasheet</a> (Look at SXM, since that&#8217;s HGX/DGX)</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><a href="https://resources.nvidia.com/en-us-tensor-core/nvidia-tensor-core-gpu-datasheet">Nvidia Datasheet</a> - <strong>BEWARE: That assumes max 700TDP configuration.</strong></p></div></div>]]></content:encoded></item><item><title><![CDATA[Official Palisades and Eaton Fire Info]]></title><description><![CDATA[This post contains critical information which may save lives directly from people coordinating CAL FIRE, the on-site ERTs, FEMA, and relevant private entities.]]></description><link>https://www.yevelations.com/p/official-palisades-and-eaton-fire</link><guid isPermaLink="false">https://www.yevelations.com/p/official-palisades-and-eaton-fire</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Sat, 11 Jan 2025 22:16:47 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/3d89dc5c-d6e4-4c11-b92c-f2427dba0f71_817x616.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>This is updated daily at least every 90min between 6:00am PST and 8:30pm PST.</strong></p><p>UPDATED 01/13/2025 @ 10:40am PST. Major news outlets &amp; prominent social media accounts are invertedly reporting incorrect information. I&#8217;m vouching for the accuracy of the information in this post. It comes directly, first-person from on-site ERTs, CAL FIRE, and FEMA Liaison Notification Officers actively managing the wildfires. <strong>We&#8217;re doing our best to make this comprehensive, but DO NOT ASSUME THAT IT IS. </strong></p><p>Sections: <a href="https://www.yevelations.com/i/154635143/latest-information">Latest Information</a> || <a href="https://www.yevelations.com/i/154635143/latest-forecasting">Forecasting</a> || <a href="https://www.yevelations.com/i/154635143/where-to-get-help">Where To Get Help</a> || <a href="https://www.yevelations.com/i/154635143/how-you-can-help">How You Can Help</a></p><h1>Critical Information</h1><p><strong>IF YOU ARE IN A LIFE-THREATENING SITUATION, CALL 911.</strong></p><p>Stay away from quarantined areas. Pre-70s buildings have combusted asbestos, lead, PCBs, formaldehyde, and other <strong>toxins into the air and the ash layering everything. If you are in proximity, get out.</strong> N95 masks do not work. Full-face P100/N100/R100 respirators are ineffective against gases and vapors like formaldehyde and mercury.</p><p><strong>CITY WATER FROM LADWP IS NOT SAFE</strong> in the city of Los Angeles and possibly other areas. <a href="https://ladwp-jtti.s3.us-west-2.amazonaws.com/wp-content/uploads/sites/3/2025/01/10120405/DND-Notice-Final.pdf">Click here for the &#8220;Do Not Drink&#8221; advisory (was formerly &#8220;Boil Water&#8221;).</a></p><p>Boiling, freezing, filtering, adding chlorine or other disinfectants, letting water stand, or applying any other form of treatment <strong>will NOT make the water safe</strong>. Avoid water usage if possible, the city&#8217;s systems are under extreme strain to sustain water pressure.</p><p><strong>4Ps of Preparation are People, Pets, Photos, and Passport.</strong> Have these ready and <strong>be prepared to leave immediately</strong> if you are within 25 miles of an evacuation order.</p><p>If emergency response teams direct you to do something, please comply immediately even if it infringes on your personal rights. Noncompliance causes cascading damage.</p><p><a href="https://www.fire.ca.gov/incidents.html">You can check an addresses&#8217; status here.</a> This isn&#8217;t a substitute for evacuation orders.</p><p>Our best community resources at this time are: </p><ul><li><p><a href="https://www.fireaid.info/">IF YOU NEED HELP: 400+ Locations.</a> (See <a href="https://www.yevelations.com/i/154635143/where-to-get-help">Where To Get Help</a> for more)</p></li><li><p><a href="https://docs.google.com/spreadsheets/d/1eaSXTYlLY_spJ-_w43ac55qu6X4YtgApgRGfads3cM4/htmlview">IF YOU CAN HELP: 40+ Locations.</a> (See <a href="https://www.yevelations.com/i/154635143/how-you-can-help">How You Can Help</a> for more)</p></li></ul><h1>Latest Information</h1><ul><li><p><a href="https://www.youtube.com/watch?v=7MqgQR_ah14">01/13 9:45am PST LA County FD Eaton Incident Video Update</a></p></li><li><p><a href="https://www.fire.ca.gov/incidents/2025/1/7/palisades-fire/updates/ec336b91-9127-4f3a-b6d1-672a7d04168f">01/13 9:34am PST Palisades Fire CAL FIRE Update: 14% Contained</a></p></li><li><p>01/13 8:30am PST <a href="https://lafd.org/alert/red-flag-parking-restrictions-effect">LAFD RED FLAG Parking Notice</a> and <a href="https://lafd.maps.arcgis.com/apps/Media/index.html?appid=6d620402df7f40fbb628b9777c1c7c69">Map</a>.</p></li><li><p><a href="https://www.ladwpnews.com/ladwp-windstorm-and-fire-response-update-monday-january-13-2025-8am/">01/13 8:00am PST LADWP Power and Water Status Update</a></p></li><li><p><a href="https://www.fire.ca.gov/incidents/2025/1/7/eaton-fire/updates/7a1188f8-3cae-43b0-af8b-03a76b02c067">01/13 7:18am PST Eaton Fire CAL FIRE Update: 33% Contained</a></p></li><li><p><strong>01/13/25 7:00am PST LA County FD Update: <a href="https://pbs.twimg.com/media/GhLxeUHacAAz0vc?format=jpg&amp;name=4096x4096">Page 1 Link</a> and <a href="https://pbs.twimg.com/media/GhLxfxDaIAAGyBj?format=jpg&amp;name=4096x4096">Page 2 Link</a></strong></p></li><li><p><a href="https://pbs.twimg.com/media/GhJGvtUa4AEMmJ8?format=jpg&amp;name=4096x4096">LA County FD Eaton Fire Update 01/12 7:00pm PST</a></p></li><li><p>LAFD <a href="https://lafd.org/alert/evacuation-order-downgraded-brush-fire-01122025-inc0738">Evacuation Order Downgraded Announcement</a> and <a href="https://lafd.maps.arcgis.com/apps/Media/index.html?appid=ba8cfed4b4a04d49b7489eb8300727a8">Map</a>.</p></li><li><p><a href="https://www.youtube.com/watch?v=3c-XP_L4VB8">Eaton Incident Community LAFD Meeting 01/12 @ 04:45pm PST</a></p></li><li><p>LAFD 01/12 ~4:00pm PST <a href="https://lafd.org/alert/red-flag-parking-restrictions-11325-01122025">RED FLAG Parking Notice</a> and <a href="https://lafd.maps.arcgis.com/apps/Media/index.html?appid=6d620402df7f40fbb628b9777c1c7c69">Map</a>.</p></li></ul><p>Celebrating the wins: Kenneth Fire has been contained. Hurst is 89-95% contained.</p><ul><li><p><a href="https://pw.lacounty.gov/roadclosures/">Most maps reflect current road closures; check here for upcoming ones.</a></p></li><li><p><a href="https://www.fire.ca.gov/incidents/2025/1/7/palisades-fire">PALISADES FIRE status, evacuation warnings and orders.</a></p></li><li><p><a href="https://www.fire.ca.gov/incidents/2025/1/7/eaton-fire">EATON FIRE status, evacuation warnings and orders.</a></p></li><li><p><a href="https://calfire-forestry.maps.arcgis.com/home/webscene/viewer.html?webscene=0a7381c8b46b4e26a057383424f32c06">CAL FIRE ArcGIS map of active incidents near LA</a>.</p></li><li><p><a href="https://protect.genasys.com/hazards/a7ea5d21-f882-44b8-bf64-44ab11059dc1?z=11.864458085452704&amp;latlon=34.08894642712475%2C-118.57210271543465">Genasys Project evacuation zone mapping.</a></p></li><li><p><a href="https://metrolinktrains.com/train_tracker/advisories-tab/">Metrolink train status service advisories.</a></p></li><li><p><a href="https://experience.arcgis.com/experience/65f1014edfc349579365314f8725408a/">LA Metro evacuation and resource centers near bus and rail systems.</a></p></li><li><p><a href="https://xappp.aqmd.gov/advisories/Home/Details/33c77b13-4fd2-409b-9125-a6069c14ae4f">An AQMD Wildfire Smoke Advisory is in effect for Los Angeles.</a></p></li><li><p><a href="http://ph.lacounty.gov/media/WildFire/docs/health_emergency_proclamation.pdf">A local health emergency is in effect for Los Angeles County.</a></p></li></ul><p><strong>Other Credible Sources:</strong></p><ul><li><p><a href="https://x.com/PIOErikScott">Palisades Fire LAFD Public Information Officer (Erik Scott)</a></p></li><li><p><a href="https://app.watchduty.org/">Watch Duty Website.</a></p><ul><li><p><a href="https://apps.apple.com/us/app/watch-duty-wildfire-maps/id1574452924">iOS Watch Duty App.</a></p></li><li><p><a href="https://play.google.com/store/apps/details?id=org.watchduty.app&amp;hl=en_US">Android Watch Duty App.</a></p></li></ul></li><li><p><a href="https://www.sce.com/outage-center/check-outage-status">Up-to-date information on electricity outages.</a></p></li><li><p><a href="https://www.ladwp.com/outages/water-outage-map">Latest information on water system outages.</a></p></li><li><p><a href="https://www.sce.com/outage-center/outage-alerts">Sign up for electricity outage alerts.</a></p></li><li><p><a href="https://www.sce.com/outage-center/report-an-outage">Report an electricity outage.</a></p></li><li><p>X: <a href="https://x.com/LAFD">LA City FD</a> || <a href="https://x.com/LACoFDPIO">LA County FD</a> || <a href="https://x.com/LADWP">LADWP</a></p></li><li><p><a href="https://recovery.lacounty.gov/palisades-fire/">Complete Palisades Fire Damage Assessments</a></p></li><li><p><a href="https://recovery.lacounty.gov/eaton-fire/">Complete Eaton Fire Damage Assessments</a></p></li></ul><p><strong>Additional Updates:</strong></p><ul><li><p><a href="https://www.youtube.com/watch?v=ebNFTpCs18I">A 01/11/24 12:00pm PST Palisades Fire Operations Update</a>.</p><ul><li><p>West-bound activity (fire progression) on PCH (coastline) is limited.</p></li><li><p><strong>Favorable winds yesterday evening (01/11) on multiple fronts.</strong></p></li><li><p>Reminder: GROUND ALL CIVILIAN DRONES.</p></li><li><p>Winds are picking up today (01/12).</p></li></ul></li><li><p><a href="https://pbs.twimg.com/media/GhHBLGdb0AALC7t?format=jpg&amp;name=4096x4096">LA County FD Eaton Fire Update 01/12 7:00am PST</a></p></li><li><p><a href="https://www.ladwpnews.com/ladwp-windstorm-response-update-saturday-january-11-2025-900-pm/">LADWP - 01/11 09:00PM Response Update.</a></p></li><li><p><a href="https://pbs.twimg.com/media/GhD91SgbYAAwH9L?format=png&amp;name=4096x4096">Eaton Fire 7:00pm 01/11 Incident Update</a></p></li><li><p><a href="https://lacounty.gov/wp-content/uploads/2025/01/LACWD-District-No.-29-Malibu-Do-Not-Drink-Notice-Bottled-Water-Distribution-combined.pdf">D29, Malibu Unsafe Water Alert</a>.</p></li><li><p><a href="https://lafd.maps.arcgis.com/apps/Media/index.html?appid=ba8cfed4b4a04d49b7489eb8300727a8">LAFD - Incident 0738 Evacuation Order Map.</a></p></li><li><p><a href="https://lafd.org/alert/red-flag-parking-restrictions-lifted-01112025">LAFD - Red Flag Parking Restrictions Lifted 01/11.</a></p></li><li><p><a href="https://www.ladwpnews.com/ladwp-windstorm-response-update-saturday-january-11-2025-1030-am/">LADWP - 01/11 10:00AM Response Update.</a></p></li><li><p><a href="https://www.ladwpnews.com/ladwp-windstorm-response-update-saturday-january-11-2025-300-pm/">LADWP - 01/11 03:00PM Response Update.</a></p></li><li><p><a href="https://pwp.cityofpasadena.net/pasadena-drinking-water-system-impacted-by-eaton-fire/">Pasadena Drinking Water System Impact.</a></p></li><li><p><a href="https://lacounty.gov/wp-content/uploads/2025/01/BOIL-WATER-ADVISORY-2025-D21-English-Spanish_-combined.pdf">D21, Kagel Canyon Unsafe Water Alert.</a></p></li></ul><h1>Latest Forecasting</h1><p>Wind speeds and directionality are the most critical factor. Find them here:</p><ul><li><p><a href="https://forecast.weather.gov/MapClick.php?zoneid=CAZ057">PALISADES FIRE primary Santa Ana Wind Forecast.</a></p></li><li><p><a href="https://forecast.weather.gov/MapClick.php?lat=34.0358&amp;lon=-118.6915">PALISADES FIRE Malibu-side Wind Forecast.</a></p></li><li><p><a href="https://forecast.weather.gov/MapClick.php?lat=34.1496&amp;lon=-118.1415">EATON FIRE notable Wind Forecast.</a></p></li></ul><p>Suggested guidelines for consideration:</p><ul><li><p>Rain and winds of 10-20mph max are ideal.</p></li><li><p>Anything dry and over 40mph is not good.</p></li><li><p>Anything over 60mph grounds air support.</p></li></ul><h1>Where To Get Help</h1><p>Work In Progress. If you have additional resources: comment, <a href="https://www.linkedin.com/in/yevgen-reztsov-5646346b/">msg on LI</a>, or <a href="mailto:yevgen@yev.ai">email me</a>.</p><p><strong>Please check active times and availability for all resources in advance.</strong></p><ul><li><p><a href="https://www.disasterassistance.gov/get-assistance/find-assistance">Fill this out immediately</a> and/or call the FEMA Helpline at 1-800-621-3362.</p></li><li><p><a href="https://www.fireaid.info/">Community disaster assistance resource map with 400+ locations.</a></p></li><li><p><strong>If you need shelter:</strong> text SHELTER and your zip code to 43362.</p><ul><li><p><a href="https://care.211cs.org/public-survey/86c5adf88e2a29c103df24ba5f48cd3f6cf9a9171207a15954dbb8b9649429f0">AirBnB emergency wildfire intake form.</a></p></li><li><p><a href="https://www.laparks.org/emergency">Non-comprehensive list of Evacuation Shelters.</a></p></li></ul></li><li><p><strong><a href="https://www.lafoodbank.org/find-food/pantry-locator/">Find food</a></strong><a href="https://www.lafoodbank.org/find-food/pantry-locator/"> at hundreds of participating LA Food Bank locations.</a></p></li><li><p><a href="https://www.redcross.org/get-help/how-to-prepare-for-emergencies/mobile-apps.html">Red Cross Emergency App</a>. 1-800-RED CROSS (800-733-2767)</p><ul><li><p><a href="https://www.redcross.org/get-help/disaster-relief-and-recovery-services/contact-and-locate-loved-ones/california-wildfires-reunification.html">Red Cross Assistance: Finding Friends and Family.</a></p></li></ul></li><li><p><a href="https://www.uhaul.com/Articles/About/Ca-Wildfire-Assistance-U-Haul-Offers-30-Days-Free-Storage-AT-92-Centers-33115/">U-Haul Free Storage for the displaced across 92 centers near LA.</a></p></li><li><p><a href="https://emergency.lacity.gov/recovery">City of Los Angeles EMD Wildfire Recovery Resources</a></p><ul><li><p><strong> 01/11 9:00am to 5:00pm</strong> Family Assistance Center (LA City):</p><ul><li><p>2551 Motor Avenue, Los Angeles, CA 90064 - (310)837-5186</p></li></ul></li><li><p><strong>01/11 9:00am to 5:00pm</strong> Family Assistance Center (Pasadena):</p><ul><li><p>300 E Green Street, Pasadena, CA 91101 (left of Civic Auditorium)</p></li></ul></li></ul></li><li><p><a href="https://recovery.lacounty.gov/palisades-fire/">Official LA County Palisades Fire Recovery Information.</a></p></li><li><p><a href="https://assessor.lacounty.gov/tax-relief/disaster-relief">LA County Assessor&#8217;s Office Disaster Relief for Property Owners.</a></p></li><li><p><a href="https://www.instagram.com/p/DEqKCihS7y0/">Los Angeles Apparel (812 E 59th St.)</a></p></li></ul><p>Salvation Army Locations <strong>(<a href="https://socal.salvationarmy.org/southern-california/wildfires-in-los-angeles">check times, availability, and updates on their page</a>)</strong>:</p><ul><li><p>El Camino Real Charter HS, 5440 Valley Circle Blvd, Woodland Hills, CA 91367</p></li><li><p>Westwood Recreation Center, 1350 S Sepulveda Blvd, Los Angeles, CA 90025</p></li><li><p>Ritchie Vales Recreation Center, 10736 Laurel Canyon Blvd, Pacoima, CA 91331 </p></li></ul><p>Salvation Army Press Releases: <a href="https://s3-us-west-1.amazonaws.com/usw-cache.salvationarmy.org/6e310312-0de7-4db7-8467-76ecd5fdc016_EDS+Fire+Response+Press+Release+DHQ+1.8.24.pdf">01/08 Here</a>. <a href="https://s3-us-west-1.amazonaws.com/usw-cache.salvationarmy.org/82b787cd-017d-4e94-8e8b-81539c6372df_EDS+Fire+Response+Press+Release+DHQ+1.9.24.pdf">01/09 Here</a>. <a href="https://s3-us-west-1.amazonaws.com/usw-cache.salvationarmy.org/a547e411-659a-41ac-b2b6-5a83d2377846_EDS+Fire+Response+Press+Release+DHQ+1.10.24.pdf">01/10 Here</a>.</p><p><a href="https://docs.google.com/spreadsheets/d/1KMk34XY5dsvVJjAoD2mQUVHYU_Ib6COz6jcGH5uJWDY/htmlview?gid=0#gid=0">Click here for the source spreadsheet of the community disaster assistance map.</a></p><h1>How You Can Help</h1><p>Work In Progress. If you have additional resources: comment, <a href="https://www.linkedin.com/in/yevgen-reztsov-5646346b/">msg on LI</a>, or <a href="mailto:yevgen@yev.ai">email me</a>.</p><p><a href="https://docs.google.com/spreadsheets/d/1eaSXTYlLY_spJ-_w43ac55qu6X4YtgApgRGfads3cM4/htmlview">A Spreadsheet of Grassroots Help Efforts Where You Can Help!</a></p><p><strong>Civilian volunteers and assistance are currently not accepted due to the inherent dangers associated with the situation. They likely will be in the post-fire efforts.</strong></p><ul><li><p><a href="https://supportlafd.kindful.com/?campaign=1040812">LAFD Wildfire Emergency Fund. URGENT HELP IS NEEDED.</a></p></li><li><p><a href="https://www.calfund.org/funds/wildfire-recovery-fund/">California Community Foundation Direct Donation Page.</a></p></li><li><p><a href="https://www.pledge.to/ccfwildfirerelieffund">California Community Foundation (Pledge.to) Wildfire Fund.</a></p></li><li><p><a href="https://donate.wck.org/give/654000/?_gl=1*97prfh*_gcl_au*MTc0NzYzODI3MS4xNzM2MzUyNjg5*_ga*MTIyNDIwOTYzOS4xNzM2MzUyNjg5*_ga_5WKVY8503C*MTczNjM1MjY4OS4xLjEuMTczNjM1Mjg0OC41OS4wLjA.#!/donation/checkout?c_src=2025-site-blog-cafires-1-8">World Central Kitchen fund; meals for first responders and evacuees.</a></p></li><li><p><a href="https://give-sc.salvationarmy.org/give/654073/#!/donation/checkout">Salvation Army Southern California Wildfire Relief Fund.</a></p></li><li><p><a href="https://unitedwayla.org/wildfire-response-resources/">United Way Wildfire Response Donation Page.</a></p></li><li><p><a href="https://www.dreamcenter.org/">LA Dream Center Donation Page And Locations.</a></p></li><li><p><a href="https://www.gofundme.com/f/wildfire-relief-fund-2025">Official Go Fund Me Wildfire Relief Fund.</a></p></li><li><p><a href="https://fundraise.givesmart.com/form/N1OSUg?vid=1h61x9">AltaMed Foundation Fire Relief Efforts.</a></p></li><li><p><a href="https://www.gofundme.com/c/act/wildfire-relief/california">List of verified Go Fund Mes impacted by the CA Wildfires.</a></p></li><li><p><a href="https://cpf.salsalabs.org/disasterrelief/index.html">California Fire Foundation: when the unthinkable happens.</a></p></li><li><p><a href="https://www.wildfirela.org/">LARFSC:</a> Text LAFIRE to (844)422-6444 or <a href="https://4agc.com/donate/la-fires">Donate Online Here</a>.</p></li></ul><p>Other ways you can help! We have not confirmed these.</p><ul><li><p><a href="https://www.instagram.com/p/DEkoERaORaz/?igsh=N2lwbnpwbGE1MHpo">Stoney Clover Donation Drive</a></p></li><li><p><a href="https://www.instagram.com/p/DEkanxHzcjN/">Seconds Market LA Donation Program</a></p></li><li><p><a href="https://airtable.com/appbe5MnnoOhLB6Qw/pagJuWxnYB6vsaO4s/form">Seconds Market LA Fire Donation Match Program</a></p></li><li><p><a href="https://www.instagram.com/p/DEqYuJ_oeEv/">Riviera Hall Lutheran School Donations</a></p></li><li><p><a href="https://www.instagram.com/p/DEnWHknylYd/">818 Night Market</a></p></li></ul><h1>Additional Information</h1><p><strong>ALL CIVILIAN DRONES MUST BE GROUNDED. </strong>Air support is the most critical asset for effective containment, which requires: one plane pass to map the route, a second plane pass to drop fire retardant, and a third plane pass to drop water. Drones force a re-routing of all of these, and drone collisions (which have occurred) ground assets.</p><p>The Eaton fire is endangering critical power, water, and telecomm infrastructure. <strong>Do not panic if you can&#8217;t reach someone.</strong> Telecommunications are currently unreliable.</p><p>If you see major news outlets and large social media accounts reporting wind speeds or other data incorrectly: comment, <a href="https://www.linkedin.com/in/yevgen-reztsov-5646346b/">msg me on LI</a>, or <a href="mailto:yevgen@yev.ai">email me</a>. I will forward it to the correct internal departments. As far as we know there is no official contact at this time.</p><p>Misinformation about wind conditions or any of the above can cause loss of life. My company&#8217;s systems have all been re-tasked to search for and flag it. Please help us.</p><h1>Afterword</h1><p>The current state of things is devastating. Resources have been pulled from as far as Miami, Canada, and Mexico. Please be patient with emergency response teams and our community. We can&#8217;t control wind. Everything that can be done, is being done.</p><p>Personal note: we lost two homes in the 2018 Woolsey fires and our home in Malibu is currently at risk. We can&#8217;t do anything about any of that. Our focus is on what can be done, and giving our devastated communities every last drop of help we possibly can.</p>]]></content:encoded></item><item><title><![CDATA[RIP2024 Mini-rant #1: Startups]]></title><description><![CDATA[Short and HIGHLY opinionated rants to close out 2024!]]></description><link>https://www.yevelations.com/p/rip2024-mini-rant-1-startups</link><guid isPermaLink="false">https://www.yevelations.com/p/rip2024-mini-rant-1-startups</guid><dc:creator><![CDATA[Yevgen Reztsov]]></dc:creator><pubDate>Sat, 28 Dec 2024 17:21:46 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/9d2a1a4f-7a57-4786-bb64-ee0aac7fd443_566x355.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Disclaimer: This article <strong>is an opinion piece. </strong>Let&#8217;s get to it! </p><p>Successful founders usually exhibit many traits on the left here:</p><p>Personality:</p><ul><li><p>Takes Extreme Ownership (or Makes Excuses).</p></li><li><p>Communicates Proactively (or Reactively).</p></li><li><p>Stays Punctual (or Acts Inconsistently).</p></li><li><p>Follows Through (or Breaks Trust).</p></li></ul><p>Leadership:</p><ul><li><p>Commits to SMART Goals (or Avoids Them).</p></li><li><p>Perseveres in Vision (or Reacts Myopically).</p></li><li><p>Executes Strategically (or Haphazardly).</p></li><li><p>Thrives (or Crumbles) Under Pressure.</p></li></ul><p>Startup-specific:</p><ul><li><p>Focuses on Customer Problems (or Technology).</p></li><li><p>Defines Clear Core Competencies (or Sprawls).</p></li><li><p>Tests Hypothesis Early (or Iterates Slowly).</p></li><li><p>Acts on Data and Feedback (or Wings It).</p></li></ul><p>People hype &#8220;Founder Mode&#8221; and &#8220;The Hustle&#8221; and whatnot, which is as cute as it is absolute bullsh*t. Yes, as an individual, nothing beats talent AND hard work (for me, 3 hours daily are spent planning and 12 executing). Alas, very few extraordinary things have been achieved by individuals. Success as a founder boils down to, in order:</p><ul><li><p>Working on Something You Care Deeply About.</p></li><li><p>Working with the Right People.</p></li><li><p>Working on the Right Thing, at the Right Time.</p></li><li><p>Working Smart.</p></li><li><p>Working Hard.</p></li></ul><p><strong>All of those are indispensable.</strong> Your success, however, is tied much more to doing the right things at the right time than to how many hours you work or how much you post on LI about &#8220;The Struggle (that you signed up for).&#8221; Most startups fail because of what they DON&#8217;T do: a self-inflicted byproduct of failing to seek advice and feedback.</p><p>As a belated Christmas gift to my beloved subscribers, I&#8217;ve once again faced my arch-nemesis, Microsoft products, and braved the horrors of Clipchamp to create an apt pictorial representation of how critical working with the right people is, just for you!</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CM9Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CM9Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 424w, https://substackcdn.com/image/fetch/$s_!CM9Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 848w, https://substackcdn.com/image/fetch/$s_!CM9Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 1272w, https://substackcdn.com/image/fetch/$s_!CM9Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CM9Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif" width="656" height="656" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:240,&quot;width&quot;:240,&quot;resizeWidth&quot;:656,&quot;bytes&quot;:3866266,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/gif&quot;,&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="" srcset="https://substackcdn.com/image/fetch/$s_!CM9Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 424w, https://substackcdn.com/image/fetch/$s_!CM9Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 848w, https://substackcdn.com/image/fetch/$s_!CM9Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 1272w, https://substackcdn.com/image/fetch/$s_!CM9Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa7033571-442d-4fb7-b11c-4fe352b8914c_240x240.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p><em>(Please don&#8217;t sue me, Sam and YC. I love you both equally - the S12 batch was &#128293;)</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, 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>