<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jake A. Smith on Medium]]></title>
        <description><![CDATA[Stories by Jake A. Smith on Medium]]></description>
        <link>https://medium.com/@jakeasmith?source=rss-cb5dfa65fdb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*H4i4IovgSh_G0Oc3.jpeg</url>
            <title>Stories by Jake A. Smith on Medium</title>
            <link>https://medium.com/@jakeasmith?source=rss-cb5dfa65fdb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:55:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jakeasmith/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My temporary PHP fix from 2014 has nearly 20M installs. Today I’m deprecating it.]]></title>
            <link>https://medium.com/@jakeasmith/my-temporary-php-fix-from-2014-has-nearly-20m-installs-today-im-deprecating-it-a9b4d5c9b0c6?source=rss-cb5dfa65fdb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9b4d5c9b0c6</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[composer]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Jake A. Smith]]></dc:creator>
            <pubDate>Tue, 15 Sep 2026 00:00:01 GMT</pubDate>
            <atom:updated>2026-09-15T20:56:08.056Z</atom:updated>
            <content:encoded><![CDATA[<p>Twelve years ago, I wrote <a href="https://github.com/jakeasmith/http_build_url">174 lines of PHP</a> as a stopgap for AOL’s content management system. I put it on Packagist in case anyone else needed the same patch, and somehow it’s been installed nearly 20 million times since. Today I marked it deprecated.</p><h3>A temporary shim</h3><p>In 2014, we were in the middle of upgrading AOL’s CMS from PHP 5.2 to 5.3. Part of that upgrade was dropping version 1 of the pecl_http extension, which gave us a function called http_build_url(). A CMS deals with a lot of URLs, and ours called that function in dozens of places. I wasn&#39;t touching those. The function seemed straightforward enough to reproduce, so I wrote my own http_build_url(), defined only if the real one didn&#39;t already exist. The old code never knew anything had changed.</p><p>Composer was just taking off at the time, which made sharing it easy. I figured it would earn its keep for a year or two, until the PHP community moved on to something better.</p><h3>That’s a lot of installs</h3><p>Well, it wasn’t temporary. It’s been installed from Packagist nearly 20 million times, and it still picks up over 400,000 installs a month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OQ3N7iekW9C6xpmt.png" /></figure><p>And it turns out Composer is only part of the picture. <a href="https://wpml.org/home/about-us/">WPML</a>, the market-leading multilingual plugin for WordPress, bundles the polyfill directly in its codebase, and WPML says it’s installed on over 1.5 million sites. The domain-name library <a href="https://github.com/algo26-matthias/idna-convert">idna-convert</a> depends on it too, which is how it ships inside <a href="https://sources.debian.org/src/spip/unstable/vendor/jakeasmith/http_build_url/">the source of SPIP</a>, a French content management system, and how it ended up <a href="https://packages.debian.org/sid/php-jakeasmith-http-build-url">packaged in Debian</a> and Ubuntu. Between all of them, there’s a pretty good chance you’ve visited a website that is still running my code.</p><p>I never imagined it would go this far.</p><h3>Coming back to it</h3><p>I didn’t grasp how far it had spread until a few months ago, when I looked at the package for the first time in years. I knew it had users. By 2021 I’d been out of PHP for a while, and the downloads were surprising enough that I <a href="https://github.com/jakeasmith/http_build_url/issues/27">asked for a new maintainer</a>. Three people offered. Shortly after I asked, we lost a family member unexpectedly, and it turned our world upside down for a while. I never followed up, and that’s on me. By the time things settled, other goals had taken over, and I forgot about the package for years.</p><p>Along with the numbers, there were a handful of GitHub issues, including one where joining a path onto a URL with a trailing slash strips every letter “a” out of the path. So much for straightforward. Under a comment that reads // Workaround for trailing slashes, my code tacks an &quot;a&quot; onto the path so there&#39;s always a last segment to cut off, then cuts it off with a find-and-replace. When the path ends in a slash, that last segment is just the &quot;a&quot;, and the find-and-replace takes every other &quot;a&quot; in the path with it. I can&#39;t believe the bug went unnoticed for as long as it did.</p><p>So I had a decision to make. I could dive back into PHP after almost a decade away, hand the package to one of the people who’d offered, or let it keep sitting there.</p><h3>None of the above</h3><p>It was always meant to be temporary, so I’m retiring it. <a href="https://uri.thephpleague.com/">The PHP League’s URI library</a> has been the community’s answer for years, and <a href="https://www.php.net/releases/8.5/en.php">PHP 8.5</a> now ships <a href="https://sensiolabs.com/blog/2025/php-85-new-uri-extension">a standards-compliant URI API in the language itself</a> (thanks to <a href="https://github.com/jawira">jawira</a> for pointing me at it). Both are better than a 174-line shim from 2014. Maintaining the package would only delay the move everyone should be making, and handing it over would add a risk on top of that. I don’t doubt anyone who offered, and <a href="https://github.com/ozh">ozh</a> has kept <a href="https://github.com/ozh/http_build_url">a fork</a> going for YOURLS. But a widely installed package with a new maintainer nobody downstream has vetted is exactly what attackers look for. <a href="https://www.youtube.com/watch?v=aoag03mSuXQ">Veritasium’s video on the xz Utils backdoor</a> is the best telling I’ve seen of how that plays out.</p><p>The package will keep installing, but it won’t get new fixes, including for the missing-”a” bug. After this long without a change, even a one-line fix could have unintended consequences for someone, with no one around to support it. <a href="https://github.com/jakeasmith/http_build_url">The README</a> shows how to switch.</p><p>I wrote this code to ease a painful migration, for myself and anyone else going through the same one. Thank you to everyone who sent a pull request or offered to take it over, and to the people who kept filing issues long after I’d stopped reading them. It was a good run for a temporary fix.</p><p><em>P.S. We never migrated AOL’s CMS off the “temporary” polyfill. It ran there until the whole platform was shut down around 2020.</em></p><p><em>Originally published at </em><a href="https://jakeasmith.com/blog/http-build-url/"><em>https://jakeasmith.com</em></a><em> on September 15, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9b4d5c9b0c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Claude Code skill for TP-Link's Omada SDN]]></title>
            <link>https://medium.com/@jakeasmith/claude-code-skill-for-tp-links-omada-sdn-f66f61842e22?source=rss-cb5dfa65fdb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f66f61842e22</guid>
            <category><![CDATA[tp-link-omada]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[Jake A. Smith]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 21:03:15 GMT</pubDate>
            <atom:updated>2026-09-15T18:25:01.645Z</atom:updated>
            <content:encoded><![CDATA[<h3>Claude Code skill for the Omada API</h3><p><a href="https://www.reddit.com/r/TPLink_Omada/comments/1rvly4w/claude_code_skill_for_the_omada_api/"><em>Cross-posted from the TPLink_Omada subreddit.</em></a></p><p>This morning I got curious about managing my self-hosted controller with Claude Code via the Omada API. After having Claude read through the manual and go through some trial and error it worked, but the experience was best described as clunky. Every API curl had to be manually approved and when I started a new session it had to go through the entire discovery process again.</p><p>I didn’t see a skill for this on <a href="http://skills.sh/">skills.sh</a>, so I had Claude make one by referencing the v6 manual and digging around the API on its own. The skill includes instructions for authenticating and then navigating the API. Rather than hard-coding any of the API info into the skill, it mostly relies on Omada’s built in Swagger (/swagger-ui/index.html) and OpenAPI (/v3/api-docs) endpoints for API discovery. It still flaps around a bit sometimes before it finds the exact endpoints and request format, but so far it is consistently figuring it out and doing what I ask.</p><p>In order to skip all of those manual curl approval calls, it also includes <a href="https://github.com/jakeasmith/omada-controller-skill/blob/main/skills/omada-controller/scripts/omada-api.sh">a short little bash script</a> that can be approved once. I’ve been creating little helper scripts like this with several of the authenticated APIs I access frequently, and it’s a major QoL improvement. I asked Claude to generate a network topology using this skill and it generated an entire SVG diagram for me. Pretty cool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BwfRaGT9OL1sZPuHXQ0obA.png" /></figure><p>The skill is available on my GitHub (<a href="https://github.com/jakeasmith/omada-controller-skill">jakeasmith/omada-controller-skill</a>), if you want to copy/paste it. If you’re cool with the <a href="http://skills.sh/">skills.sh</a> installer, you can use this one liner to download it.</p><pre>npx skills add jakeasmith/omada-controller-skill</pre><p>It expects a .env file with your client credentials, which you can get from Global View &gt; Settings &gt; Platform Integration &gt; Open API.</p><pre>OMADA_URL=https://omada.example.com:8043<br>OMADA_CLIENT=your-client-id<br>OMADA_SECRET=your-client-secret</pre><p>I’ve only used it with Claude Code, but I think it should work with Cursor, Codex, and whatever else. Open to feedback if anyone gives it a shot.</p><p>P.S. If you’re just looking for a way to interact with the API via code without involving an AI, <a href="https://www.reddit.com/user/spectator81/">u/spectator81</a> recently shared a <a href="https://www.reddit.com/r/TPLink_Omada/comments/1rfnp77/reverseengineered_the_undocumented_omada/">Node.js Toolkit for the Omada API</a> that they created. Admittedly, I haven’t used it myself, but it looks promising and you should check it out!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f66f61842e22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running a vLLM LXC on Proxmox 9]]></title>
            <link>https://medium.com/@jakeasmith/running-a-vllm-lxc-on-proxmox-9-f7fbb8a7db2f?source=rss-cb5dfa65fdb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7fbb8a7db2f</guid>
            <category><![CDATA[self-hosted]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[vllm]]></category>
            <category><![CDATA[proxmox]]></category>
            <dc:creator><![CDATA[Jake A. Smith]]></dc:creator>
            <pubDate>Mon, 19 Jan 2026 17:02:57 GMT</pubDate>
            <atom:updated>2026-09-15T18:26:32.237Z</atom:updated>
            <content:encoded><![CDATA[<h4>with NVIDIA GPU passthrough*, obviously.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4bRayTQ6v9yNAoT3WjNTng.png" /></figure><p>I’m running Proxmox 9 on an Intel i5–12400 with an RTX 3050 8GB. As AI/LLM rigs go, it’s not that impressive, but it’s enough to play with smaller models for basic text generation, rudimentary code completion, and many embedding models, without sending my data to third-party APIs. And running vLLM in an LXC allows me to share that one GPU with other services (e.g. Immich, Jellyfin, Frigate).</p><p>Setting up vLLM isn’t necessarily difficult but, even after doing it several times, it can be tedious. These are the notes I’ve taken along the way, if only for my own reference next weekend.</p><blockquote><em>*️⃣ </em><strong><em>*</em></strong>Pedantically, this isn’t GPU passthrough, it’s NVIDIA GPU access via device passthrough (not PCIe/VFIO passthrough). Accurate or not, “GPU passthrough” is how this is often referenced. Besides, the title was already too long.</blockquote><h3>Installing NVIDIA Drivers on the Proxmox Host</h3><p>First, a huge shout out to Yomi for writing <a href="https://yomis.blog/nvidia-gpu-in-proxmox-lxc/"><em>Using an Nvidia GPU with Proxmox LXC</em></a><em>, </em>which got me through my initial setup. My process has evolved over the last few months but the underlying concepts are the same.</p><p>The NVIDIA drivers need to be installed on the Proxmox host, but first pve-headers needs to be installed. These are the kernel headers for the exact Proxmox kernel in use, and they’re required for the NVIDIA driver to build kernel modules during installation. The driver can’t compile or load properly without matching headers.</p><pre>apt install pve-headers-$(uname -r)</pre><p>For the next step we’ll need the graphics card model. I use lspci to confirm which GPU is in this Proxmox node. On my machine, both the integrated GPU and NVIDIA GPU (RTX 3050) show up like this:</p><pre>lspci | grep VGA<br>00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 730] (rev 0c)<br>01:00.0 VGA compatible controller: NVIDIA Corporation GA106 [Geforce RTX 3050] (rev a1)</pre><p>Now it’s time to <a href="https://www.nvidia.com/en-us/drivers/">find the latest drivers from NVIDIA</a>. <em>(I’m using version </em><em>580.95.05 here, but make sure to find the correct driver for your GPU.) </em>Copy the link to the driver installer, use wget to download it, then make it executable and run the installer with the dkms flag.</p><pre>wget https://us.download.nvidia.com/XFree86/Linux-x86_64/580.95.05/NVIDIA-Linux-x86_64-580.95.05.run<br>chmod +x NVIDIA-Linux-x86_64-580.95.05.run<br>./NVIDIA-Linux-x86_64-580.95.05.run --dkms</pre><p>When prompted for the kernel module type select “NVIDIA Proprietary”. From there, all of the default options should be fine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*83PsLmqBO1-ILGETdm2VBg.png" /><figcaption>Select the NVIDIA Proprietary driver</figcaption></figure><p>After the driver installation completes, I run nvidia-smi to verify the driver is fully installed. If it doesn’t immediately work, try rebooting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*JfG13vdZZaVVgjhG6wk5Jg.png" /><figcaption>Screenshot of my nvidia-smi output on the Proxmox host</figcaption></figure><blockquote>ℹ️ Fun fact, <em>nvidia-smi</em> stands for NVIDIA <strong>S</strong>ystem <strong>M</strong>anagement <strong>I</strong>nterface, and it is part of the NVIDIA Management Library (NVML).</blockquote><h3>Setting up a new Ubuntu LXC for vLLM</h3><p><em>If you want to add GPU passthrough to an existing LXC, jump to the next section.</em></p><p>For spinning up a new LXC, <a href="https://community-scripts.github.io/ProxmoxVE/">Proxmox VE Helper-Scripts</a> is an amazing resource, and I use <a href="https://community-scripts.github.io/ProxmoxVE/scripts?id=ubuntu&amp;category=Operating+Systems">their script for creating an Ubuntu LXC</a>. It handles the creation of the LXC and even the GPU passthrough through a simple configuration wizard. Run the script and, when prompted, select “Advanced Install”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*_oY9A1HjHyy9_la7xBvTNQ.png" /></figure><p>Many of the defaults are fine, but these are the options that definitely need to change:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*99ytpUkN7wW5AEoWTnarcQ.png" /><figcaption>Confirmation screen with selected options</figcaption></figure><ul><li><strong>HOSTNAME</strong>: Okay, I lied. You don’t <em>have</em> to change this one but you probably should. I named mine “vllm”.</li><li><strong>DISK SIZE</strong>: 32GB</li><li><strong>CPU CORES</strong>: 4</li><li><strong>RAM SIZE</strong>: 8GiB (8192 MiB)</li><li><strong>GPU PASSTHROUGH</strong>: &lt;Yes&gt;</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*iTBf9yYBrdk7xYTnymPj7A.png" /><figcaption>“Which GPU type to passthrough?”</figcaption></figure><p>In my case, the installer detects the integrated GPU from my Intel CPU and asks “which GPU type to passthrough?” Type nvidia and hit enter. Once the script is done running, a new LXC will have access to the GPU but it won’t be able to use it just yet.</p><blockquote>⚠️ Aside: While setting this up I ran into a bug with the installer. It would create the base LXC but then get stuck on a “no network in LXC” error, eventually failing and terminating the installation. Turns out, this was related to running Tailscale on the Proxmox host. I summarized my findings and the possible fixes in <a href="https://github.com/community-scripts/ProxmoxVE/issues/8706#issuecomment-3539248857">community-scripts/ProxmoxVE#8706</a>.</blockquote><h4>Manually configuring an existing LXC</h4><p>GPU passthrough can also be configured manually by updating the LXC config file. It should be as simple as appending these six lines:</p><pre>nano /etc/pve/lxc/{lxc id}.conf</pre><pre>dev0: /dev/nvidia0,gid=44<br>dev1: /dev/nvidiactl,gid=44<br>dev2: /dev/nvidia-uvm,gid=44<br>dev3: /dev/nvidia-uvm-tools,gid=44<br>dev4: /dev/nvidia-caps/nvidia-cap1,gid=44<br>dev5: /dev/nvidia-caps/nvidia-cap2,gid=44</pre><blockquote>Aside: Initially, I set this up using raw lxc.* directives for cgroups and bind mounts. After looking at the configuration generated by Proxmox Helper Scripts, I switched to using dev* entries instead, which are more robust and resolved a GPU passthrough issue I was seeing after container and host restarts.</blockquote><h4>Installing NVIDIA libraries on the LXC</h4><p>Once GPU passthrough is set up, the NVIDIA user-space libraries need to be installed on the LXC. From the Proxmox host, use pct push to copy the installer to the LXC filesystem. Substitute your Container ID and driver filename, of course:</p><pre>pct push {lxc id} ./NVIDIA-Linux-x86_64-580.95.05.run /root/NVIDIA-Linux-x86_64-580.95.05.run</pre><p>Now, from the LXC shell, make the driver installer executable, and run it with the --no-kernel-module flag. When done, nvidia-smi should now work in the LXC too. (If not, try rebooting the LXC.)</p><pre>cd /root<br>chmod +x NVIDIA-Linux-x86_64-580.95.05.run <br>./NVIDIA-Linux-x86_64-580.95.05.run --no-kernel-module<br><br>nvidia-smi</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*by7GrwgK39v0dyiQ0yvr-w.png" /><figcaption>Screenshot of my nvidia-smi output on the LXC</figcaption></figure><p>Excellent. We now have an Ubuntu LXC on Proxmox 9 with NVIDIA GPU Passthrough (aka <em>device </em>passthrough).</p><h3>Install vLLM</h3><p>From this point forwards, all commands should be run in the LXC shell. First, a few more packages need to be installed. It’s likely going to take several minutes, so maybe take the opportunity to get up, move around, stretch.</p><pre>apt update<br>apt install -y pkg-config build-essential python3-dev nvidia-cuda-toolkit</pre><p>vLLM is built on Python, so the next step is to install uv.</p><blockquote>ℹ️ <strong>uv </strong>is “an extremely fast Python package and project manager, written in Rust” and “a single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more”.</blockquote><p>For the most up to date steps, head over to <a href="https://docs.astral.sh/uv/#installation">the uv site for the installation instructions</a>. Like the Ubuntu LXC installer, they also have a one-liner install option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*NASQDjBV8eyrbXxeK72J7A.png" /><figcaption>uv installation script</figcaption></figure><p>I followed the instructions to install uv and restart the shell, then confirmed it was successfully installed by checking the version of uv.</p><pre>uv --version</pre><p>After installing uv, I created a new Python environment and used it to install vLLM. I verified it was successfully installed by checking the version of vLLM. This install is likely to also take several minutes. Drink water.</p><pre>uv venv --python 3.12 --seed<br>uv pip install vllm --torch-backend=auto<br>uv run vllm --version<br><br>0.12.0</pre><p>That’s it! Now vLLM is installed!</p><h3>Hello world! (CLI)</h3><p>To see it in action, I wrote a short python script to call an LLM. There are thousands of <a href="https://huggingface.co/models?pipeline_tag=text-generation&amp;apps=vllm&amp;sort=trending">text generation models available on Hugging Face</a> that work with vLLM, and for this test I chose openai-community/gpt2, just because it’s pretty small.</p><pre>nano hello.py</pre><pre>from vllm import LLM, SamplingParams<br><br>print (<br>        LLM(&quot;openai-community/gpt2&quot;, seed=5)<br>        .generate(&quot;Hello world!&quot;, SamplingParams(max_tokens=50, temperature=0.3, stop=[&quot;.&quot;]))[0]<br>        .outputs[0]<br>        .text<br>)</pre><p>Save that file and then run it in the uv environment.</p><pre>uv run hello.py</pre><p>The first time this is run it will automatically download the requested model, which may take some time. Eventually, the script should end with a response from the model.</p><h3>Hello world! (API)</h3><p>vLLM also ships with an OpenAI-compatible server. The server can be started by running this from the command line:</p><pre>uv run vllm serve openai-community/gpt2</pre><p>And use curl to call the API:</p><pre>curl http://{ip address}:8000/v1/completions \<br>-H &quot;Content-Type: application/json&quot; \<br>-d &#39;{<br>    &quot;model&quot;: &quot;openai-community/gpt2&quot;,<br>    &quot;prompt&quot;: &quot;Hello world!&quot;,<br>    &quot;max_tokens&quot;: 50,<br>    &quot;temperature&quot;: 0.3,<br>    &quot;stop&quot;: [&quot;.&quot;],<br>    &quot;seed&quot;: 5<br>  }&#39; | python3 -m json.tool</pre><pre>{<br>    &quot;id&quot;: &quot;***&quot;,<br>    &quot;object&quot;: &quot;text_completion&quot;,<br>    &quot;created&quot;: 1765777169,<br>    &quot;model&quot;: &quot;openai-community/gpt2&quot;,<br>    &quot;choices&quot;: [<br>        {<br>            &quot;index&quot;: 0,<br>            &quot;text&quot;: &quot;\n\nThis is a new chapter for me, and I&#39;m so happy to finally be able to share it with you&quot;,<br>            &quot;logprobs&quot;: null,<br>            &quot;finish_reason&quot;: &quot;stop&quot;,<br>            &quot;stop_reason&quot;: &quot;.&quot;,<br>            &quot;token_ids&quot;: null,<br>            &quot;prompt_logprobs&quot;: null,<br>            &quot;prompt_token_ids&quot;: null<br>        }<br>    ],<br>    &quot;service_tier&quot;: null,<br>    &quot;system_fingerprint&quot;: null,<br>    &quot;usage&quot;: {<br>        &quot;prompt_tokens&quot;: 3,<br>        &quot;total_tokens&quot;: 28,<br>        &quot;completion_tokens&quot;: 25,<br>        &quot;prompt_tokens_details&quot;: null<br>    },<br>    &quot;kv_transfer_params&quot;: null<br>}</pre><h3>Wrap Up</h3><p>One more thing. When configuring an LLM it can be helpful to see what the GPU is doing. In addition to nvidia-smi, I also like to leverage nvtop to get real time stats on GPU usage. I’ve found it to be really helpful at dialing in exact token limits, plus it’s just fun to see each API call happening in real time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*jlZbWCM-s27d54cZoSD00g.png" /></figure><p>That’s it! Notice any bugs? Have a better way of doing this? Did this help you build something cool? Let me know!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7fbb8a7db2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An absurd explanation of PC Parts]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@jakeasmith/the-parts-of-a-pc-b32c95fc3cd3?source=rss-cb5dfa65fdb2------2"><img src="https://cdn-images-1.medium.com/max/602/1*UHFxUPiMlmIshlin8OOtUQ.png" width="602"></a></p><p class="medium-feed-snippet">Today I got a Discord message from a friend of mine, then I wrote an absurd description of the major parts of a PC.</p><p class="medium-feed-link"><a href="https://medium.com/@jakeasmith/the-parts-of-a-pc-b32c95fc3cd3?source=rss-cb5dfa65fdb2------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@jakeasmith/the-parts-of-a-pc-b32c95fc3cd3?source=rss-cb5dfa65fdb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/b32c95fc3cd3</guid>
            <category><![CDATA[pc-gaming]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[tech-humor]]></category>
            <category><![CDATA[computer-hardware]]></category>
            <dc:creator><![CDATA[Jake A. Smith]]></dc:creator>
            <pubDate>Fri, 01 Aug 2025 23:19:56 GMT</pubDate>
            <atom:updated>2025-12-15T05:55:11.378Z</atom:updated>
        </item>
    </channel>
</rss>