<?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 Deduped on Medium]]></title>
        <description><![CDATA[Stories by Deduped on Medium]]></description>
        <link>https://medium.com/@dedupedai?source=rss-3b15d9290dfe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Deduped on Medium</title>
            <link>https://medium.com/@dedupedai?source=rss-3b15d9290dfe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 21:45:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dedupedai/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[How to debloat a slow Google TV over Wi-Fi with Claude Code (and undo it)]]></title>
            <link>https://medium.com/@dedupedai/how-to-debloat-a-slow-google-tv-over-wi-fi-with-claude-code-and-undo-it-122aba0841a3?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/122aba0841a3</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[google-tv]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 20:27:04 GMT</pubDate>
            <atom:updated>2026-10-26T20:34:21.201Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FMm00hcl9ulYOUEs.png" /></figure><p>If your Google TV takes three seconds to react to the remote and greets you with a sponsored banner, the problem is usually not the hardware. It is the 20 to 30 manufacturer apps running in the background: ad services, telemetry, “recommendations” and launchers you never asked for.</p><p><a href="https://github.com/mihirgupta0900/tv-home">tv-home</a> is a small open source repo that fixes this over Wi-Fi from your laptop. It disables the junk (reversibly, nothing is uninstalled) and can replace the stock home screen with a tiny Apple TV style launcher. On the author’s 2 GB TCL Google TV it disabled 25 bloat apps and cut the home screen’s memory use from 192 MB to 83 MB.</p><p>You can do it two ways: hand the whole job to Claude Code with one prompt, or run five scripts yourself. Both are below, plus the gotchas that trip people up.</p><h3>Before you start</h3><ul><li>An Android TV or Google TV (TCL, Xiaomi, Hisense, Sony, OnePlus, Nvidia Shield, Chromecast with Google TV and most others). Not Samsung (Tizen), LG (webOS) or Fire TV.</li><li>A computer on the same Wi-Fi. The manual steps are written for macOS.</li><li>Git, and about an hour the first time.</li></ul><p>On the TV: Settings, System, About, then press OK on <strong>Build</strong> 7 times. Go back, open Developer options and turn on <strong>USB debugging</strong>. Keep the TV on.</p><h3>Option 1: one prompt in Claude Code</h3><p>Clone the repo and open Claude Code inside it, so it can reuse the scripts and the launcher:</p><pre>git clone https://github.com/mihirgupta0900/tv-home.git cd tv-home claude</pre><p>Then paste the prompt from the README (also in PROMPT.md). The core of it:</p><blockquote><em>My Android TV is slow and full of ads. Find it on my Wi-Fi, connect over ADB, and debloat it: disable the manufacturer’s ads, telemetry and junk (reversibly, never uninstall), asking me first about apps and features I might use. Then build and install a fast, minimal Apple TV-style home screen with a dock of my favourite apps and rotating nature wallpapers. Back up before changing anything, check every step with screenshots from the TV, and give me a restore script.</em></blockquote><p>Accept “Allow USB debugging?” on the TV when it pops up, then answer the agent’s questions: which apps you use, which go in the dock, and whether you want wallpapers. The useful part is that it asks before disabling anything you might use, and it checks its own work with screenshots from the TV.</p><h3>Option 2: run the scripts yourself</h3><pre>./setup.sh # Python ADB client, JDK 17, Android SDK tools/find-tv.sh # finds the TV, saves its IP tools/venv/bin/python -I tools/tv.py --probe # model, Android version tools/disable.sh examples/tcl-google-tv-g07/debloat.txt # or your own list, see examples/ launcher/build-and-install.sh # build + install the launcher</pre><p>Debloat lists live in examples/, one per TV model. If yours is not there, copy the closest one and remove anything you actually use (your streaming apps, Live TV, the input switcher).</p><p>To undo everything:</p><pre>tools/restore.sh examples/tcl-google-tv-g07/debloat.txt</pre><p>Use the same list you disabled with.</p><h3>The gotchas, so you do not lose an evening</h3><ul><li><strong>macOS blocks the adb binary on the local network</strong> (“No route to host”). tv-home ships a pure Python ADB client (tools/tv.py, using the adb-shell package) for exactly this reason.</li><li><strong>Google TV hijacks the Home button.</strong> With the stock launcher disabled, com.google.android.tungsten.setupwraith has a higher Home priority than any third party launcher. The install script disables it and restore.sh turns it back on.</li><li><strong>Chained pm commands fail silently.</strong> pm disable a; pm disable b can stop after the first one. The scripts run one command per shell call.</li><li><strong>Typing a Wi-Fi password with the remote is painful.</strong> tools/type.sh types into the TV&#39;s on-screen keyboard from your laptop, and run alone it prompts with hidden input for passwords.</li></ul><h3>Honest caveats</h3><ul><li>USB debugging stays on while you use this. Anyone on your network who gets the TV to accept their computer could control it, so only accept the prompt for your own machine.</li><li>The only tested model so far is a TCL Google TV on Android 11. Others should work, but check the package names in your list before you run it.</li><li>Disabling is not uninstalling: a factory reset or restore.sh brings every app back.</li></ul><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/mihirgupta0900-tv-home/debloat-slow-android-tv-over-wifi/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_tv_home">Debloat a slow Android TV over Wi-Fi</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/mihirgupta0900-tv-home/set-up-tv-with-claude-code-one-prompt/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_tv_home">Set up and debloat a TV with one Claude Code prompt</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/mihirgupta0900-tv-home/install-apple-tv-style-home-screen/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_tv_home">Install a fast Apple TV style home screen</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/mihirgupta0900-tv-home/type-wifi-passwords-on-tv-from-laptop/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_tv_home">Type text into the TV from your laptop</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_tv_home"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-debloat-a-slow-google-tv-over-wi-fi-with-claude-code-and-undo-it-2k2l"><em>https://dev.to</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=122aba0841a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make a product launch video with Claude Code and HyperFrames (HTML to MP4)]]></title>
            <link>https://medium.com/@dedupedai/how-to-make-a-product-launch-video-with-claude-code-and-hyperframes-html-to-mp4-7ebed7af24ed?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ebed7af24ed</guid>
            <category><![CDATA[videos]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 20:26:31 GMT</pubDate>
            <atom:updated>2026-10-26T20:39:50.695Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SsoXAzcvLCmbcTFP.png" /></figure><p>Most “AI video” tools generate pixels you cannot edit. If you want a product launch video where the text is exactly your copy, the colors are your brand and you can change one word next week, you want the video to be code.</p><p><a href="https://github.com/heygen-com/hyperframes">HyperFrames</a> from HeyGen does that. A video is an HTML file with a few data attributes for timing and tracks. The renderer seeks every frame in headless Chrome and encodes with FFmpeg, so the same input always gives the same MP4. Because the format is plain HTML, coding agents are good at writing it, and the project ships skills that teach Claude Code, Codex, Cursor and Gemini CLI the production loop.</p><p>This guide gets you from zero to a rendered launch video with Claude Code, then shows the manual CLI route.</p><h3>Before you start</h3><ul><li>Node.js 22 or newer</li><li>FFmpeg on your PATH</li><li>Claude Code (or Codex, Cursor, Gemini CLI or another agent that supports skills)</li></ul><h3>Step 1: install the HyperFrames plugin in Claude Code</h3><pre>claude plugin marketplace add heygen-com/hyperframes claude plugin install hyperframes@hyperframes</pre><p>Optional but handy: inside Claude Code run /plugin, pick Marketplaces, then hyperframes, then Enable auto-update.</p><p>Using Codex, Cursor or another agent instead? Run this once from your video project folder:</p><pre>npx hyperframes skills update</pre><p>That installs the core set: /hyperframes (the render contract, read first), /hyperframes-cli, /hyperframes-registry (about 450 ready made blocks) and /media-use (music, voiceover, images, transcripts).</p><h3>Step 2: ask for the video</h3><p>Load the router with /hyperframes:hyperframes and give the agent your URL and a length. A prompt that works well:</p><blockquote><em>Using HyperFrames, make a 30 to 45 second product launch video from </em><a href="https://your-site.com/"><em>https://your-site.com</em></a><em>. Show me the storyboard before rendering, then render the MP4 and list the scenes and any assets you pulled from the site.</em></blockquote><p>Asking for the storyboard first matters. It is cheap to change a scene list and slow to re-render.</p><p>For a quick test, the README’s own example prompt is small enough to finish in minutes:</p><blockquote><em>Using /hyperframes, create a 10-second product intro with a fade-in title, a background video, and subtle background music.</em></blockquote><h3>Step 3: preview, fix, render</h3><pre>npx hyperframes preview # preview in browser with live reload npx hyperframes render # render to MP4</pre><p>Ask for changes in plain words (“make the title hold one second longer”, “swap the green for our brand blue”). Each change is an edit to HTML, so it is precise and reviewable in git.</p><h3>The manual route, no agent</h3><pre>npx hyperframes init my-video cd my-video npx hyperframes preview npx hyperframes render</pre><p>Need a transition, a chart or a social overlay? Pull a block from the catalog as editable source:</p><pre>npx hyperframes add flash-through-white # shader transition npx hyperframes add data-chart # animated chart</pre><h3>What the HTML looks like</h3><p>A clip is just an element with timing attributes:</p><p>Animations use any seekable runtime: GSAP, CSS, Lottie, Three.js, Anime.js or WAAPI. Register a paused GSAP timeline on window.__timelines and the renderer scrubs it frame by frame.</p><h3>Why this beats prompting a video model</h3><ul><li><strong>Deterministic.</strong> Same input, same frames. You can render in CI and diff outputs.</li><li><strong>Editable.</strong> Next month’s price change is a one line HTML edit, not a regeneration.</li><li><strong>No React requirement.</strong> Remotion is the closest alternative and is excellent, but it is React components plus a bundler; HyperFrames is an index.html that plays as is. It is also Apache 2.0, with no per-render fees.</li></ul><h3>Honest caveats</h3><ul><li>Rendering is local and CPU heavy; long 1080p videos take a while on a laptop. There is an AWS Lambda path for bigger jobs.</li><li>The agent pulls copy and images from your site, so check every claim on screen before you publish.</li><li>Some /media-use options (voiceover, avatar, generated video) use HeyGen services; the free local tools cover music, captions and cutouts.</li></ul><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/heygen-com-hyperframes/product-launch-video-from-url/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_hyperframes">Make a product launch video from your website with an AI agent</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/heygen-com-hyperframes/pr-to-feature-explainer-video/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_hyperframes">Turn a pull request into a feature explainer video</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/heygen-com-hyperframes/captions-for-talking-head-video/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_hyperframes">Add kinetic captions to a talking-head video</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/heygen-com-hyperframes/port-remotion-composition-to-hyperframes/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_hyperframes">Port an existing Remotion video to HyperFrames HTML</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_hyperframes"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-make-a-product-launch-video-with-claude-code-and-hyperframes-html-to-mp4-1ab5"><em>https://dev.to</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ebed7af24ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to reverse engineer an app feature with your coding agent using REA (MCP)]]></title>
            <link>https://medium.com/@dedupedai/how-to-reverse-engineer-an-app-feature-with-your-coding-agent-using-rea-mcp-158ec08a5646?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/158ec08a5646</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 01:29:43 GMT</pubDate>
            <atom:updated>2026-10-26T01:35:12.965Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fIyW_hIT4yz-0L6S.png" /></figure><p>You see a feature in someone else’s app and want to know how it works. No source code, no docs. <a href="https://github.com/morluto/rea">REA (Reverse Engineer Anything)</a> gives your coding agent an MCP server full of reverse engineering tools so it can inspect the app, explain the feature with evidence, and build a version for your project. It has passed 300,000 GitHub stars, which makes it one of the most starred agent tools of the year.</p><p>What it can read: native binaries (through Hopper, Ghidra or IDA), JavaScript and Electron apps, .NET assemblies, websites, Go and Rust binaries, GGUF and safetensors model headers, Godot PCK archives, and Unity IL2CPP global-metadata.dat files. Analysis runs locally, and every result comes with the evidence and limitations behind each conclusion.</p><p>This guide sets it up with Claude Code, Codex or Cursor and walks through three practical jobs.</p><h3>Requirements</h3><ul><li>Node.js 22.x (22.23.4+), 24.x (24.22.1+) or 26.12.1+, plus npm</li><li>An agent that supports local MCP servers: Claude Code, Codex, Cursor, Gemini CLI and others</li><li>For deep native analysis only: Hopper, Ghidra or IDA. Static JavaScript, Electron, .NET and IL2CPP metadata inspection need none of them.</li><li>On Linux: a procps compatible ps on the PATH (Ghidra, JADX and static JavaScript analysis use it)</li></ul><p>Get it only from the official sources: the morluto/rea repo, rea.tools, or the rea-agents npm package. The README itself warns that look-alike repos exist.</p><h3>Set up your agent</h3><p>Pick your agents, review the proposed changes and approve. Setup registers the REA MCP server and installs matching workflow instructions, backing up your existing config first. Restart your agent afterwards.</p><p>For regular terminal use, install the CLI too:</p><p>REA ships fixes often. Keep it current with rea update, or rerun npx rea-agents@latest setup if you installed through npx.</p><h3>Job 1: understand a feature and rebuild it</h3><p>This is the headline workflow. Ask your agent:</p><pre>Understand how search works in the Notes app, show me the evidence, and build a similar feature for my project.</pre><p>Swap in your target app and feature. The agent calls REA over MCP to inspect the target, trace the relevant code and collect evidence, then explains the behavior and writes and tests an implementation in your repo. Native targets return pseudocode, assembly, strings, symbols and call references; JavaScript targets return modules and how they connect.</p><h3>Job 2: map an Electron app from the terminal</h3><p>Point the CLI at an extracted Electron app directory or an .asar file:</p><pre>npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json</pre><p>The JSON lists modules, imports and Electron boundaries (main versus renderer, preload bridges) with evidence for each. It is a quick way to see how a desktop app is wired before you dig into a specific feature. On Windows use a path like &quot;D:/apps/example&quot;.</p><h3>Job 3: read Unity IL2CPP metadata without Unity</h3><p>Unity games built with IL2CPP ship a global-metadata.dat file that holds assembly images, type and method names and index ranges. REA decodes metadata versions 24, 27, 29, 31 and 39 statically, with no Unity install. Ask your agent:</p><pre>Use REA to decode the IL2CPP global-metadata.dat in /absolute/path/to/Game_Data/il2cpp_data/Metadata, list the assembly images, and find the types and methods related to save games. Show the evidence for each finding.</pre><p>This is useful for modders and for anyone checking what a build actually contains, as long as you are allowed to examine it (see the caveats).</p><h3>Tips</h3><ul><li>MCP uses compact input schemas by default to save context. Set REA_MCP_INPUT_SCHEMA_PROFILE=full in your MCP registration if your agent needs the full field guidance.</li><li>On macOS, Hopper may show a first run dialog (demo mode or license). Complete it once in the same user session before unattended jobs.</li><li>Your agent’s model provider still sees the tool results, so check its data policy before analyzing anything sensitive.</li></ul><h3>Honest caveats</h3><p>REA is for lawful research, education, interoperability, preservation and analysis of software you own or are authorized to examine. Many apps and games forbid reverse engineering in their terms. Deep native work needs a disassembler, and IDA and full Hopper are paid products, while Ghidra is free.</p><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/morluto-rea/build-similar-feature-for-my-project/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_rea">Build a similar feature for your project from an app you can inspect</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/morluto-rea/analyze-electron-app-directory/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_rea">Analyze an Electron app directory</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/morluto-rea/understand-native-binary-behavior/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_rea">Understand what a native binary does</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_rea"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-reverse-engineer-an-app-feature-with-your-coding-agent-using-rea-mcp-45g3"><em>https://dev.to</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=158ec08a5646" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TrenTorch: learn ML by building your own framework in NumPy (and 350+ browser questions)]]></title>
            <link>https://medium.com/@dedupedai/trentorch-learn-ml-by-building-your-own-framework-in-numpy-and-350-browser-questions-bd7d1cf0596b?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd7d1cf0596b</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 01:19:05 GMT</pubDate>
            <atom:updated>2026-10-26T01:32:17.157Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IjYtZkbq6ZsL14gb.png" /></figure><p>You can call loss.backward() a thousand times and still not know what it does. <a href="https://github.com/TrenTorch/TrenTorch">TrenTorch</a> fixes that by making you build it. It is two things in one repo: a terminal course of 20 modules where you write your own machine learning framework in raw NumPy, from tensors and autograd up to transformers, and a browser site with 350+ graded coding questions across 12 topic areas. There is no import torch anywhere in the curriculum.</p><p>No GPU needed. Everything runs on the CPU with NumPy. The CLI needs Python 3.10+, and the web questions run Python 3.12 inside your browser through Pyodide.</p><p>This guide covers both tracks, plus how to run the question checks if you want to contribute.</p><h3>Track 1: the browser, nothing to install</h3><p>Open trentorch.com, sign in with GitHub, Google or an email link, and start a question. Each one has a problem statement, a theory section, a starter file, tests and a reference solution. Your code runs and is graded in the browser, no server round trip, and progress is saved to your account. There is also a Problem of the Day.</p><p>The 12 areas go well beyond the usual “implement softmax” drills:</p><ul><li>Math and statistics, classical ML, deep learning core, training</li><li>Sequence modeling, transformers and LLMs</li><li>Inference: attention, KV cache and decoding, quantization, batching and serving metrics</li><li>Vision, systems performance, distributed systems</li><li>RL and alignment, production ML (tracking, deployment, drift)</li></ul><p>If you are preparing for ML engineering interviews, the Inference and Systems performance tracks are the ones that most courses skip.</p><h3>Track 2: build the framework in your terminal</h3><pre>git clone https://github.com/TrenTorch/TrenTorch.git cd TrenTorch/TrenTorch_CLI python3 -m venv .venv &amp;&amp; source .venv/bin/activate pip install -r requirements.txt &amp;&amp; pip install -e . tren setup tren module start 01</pre><p>On Windows PowerShell, activate with .venv\Scripts\Activate.ps1 and run the two pip installs separately.</p><p>tren setup puts tren on your PATH, so later terminals do not need the virtualenv activated. tren module start 01 opens the first module, which you work through in a notebook. Progress is saved locally under user_data/.</p><p>The 20 modules are grouped in four parts:</p><ul><li><strong>Foundations (01 to 08)</strong>: tensors, activations, layers, losses, dataloader, autograd, optimizers, training</li><li><strong>Vision (09)</strong>: Conv2d and CNNs for image classification</li><li><strong>Language (10 to 13)</strong>: tokenization, embeddings, attention, transformers</li><li><strong>Optimization (14 to 20)</strong>: profiling, quantization, compression, acceleration, memoization, benchmarking and a capstone</li></ul><p>As you progress you unlock recreations of landmark results on your own framework: the 1958 perceptron, the 1969 XOR problem, 1986 backpropagation, a 1998 style CNN, a 2017 transformer generating text, and MLPerf style optimization. Other commands worth knowing: tren tui, tren serve, tren milestone and tren benchmark.</p><h3>Let a coding agent set it up</h3><p>If you use Claude Code, Cursor or Codex, paste this:</p><pre>Clone https://github.com/TrenTorch/TrenTorch, enter TrenTorch_CLI, create a virtualenv, install requirements and the package, run `tren setup`, then `tren module start 01`. Report the path of the generated notebook and confirm the stub file has no import of torch.</pre><p>Then do the module yourself. Letting the agent write your autograd defeats the point.</p><h3>Contribute a question: run the checks locally</h3><p>The web app is SvelteKit. To verify every question’s reference solution passes its own tests in a real Pyodide before opening a pull request:</p><pre>cd TrenTorch_Web npm install npm run test:pyodide</pre><p>Other scripts: npm run check (types), npm run lint, npm run test (Vitest) and npm run dev for a local server. Sign in uses Supabase, so copy .env.example to .env with your own project keys if you need auth locally.</p><h3>Honest caveats</h3><ul><li>The license is PolyForm Noncommercial 1.0.0. Free for personal, educational and noncommercial use. Using it in a paid course or inside a company needs permission from the authors.</li><li>Web and CLI progress are separate. Pick one track to start.</li><li>The CLI curriculum is the team’s implementation of Harvard CS249r’s TinyTorch, rebuilt and extended. The web question bank is their own.</li></ul><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/trentorch-trentorch/build-ml-framework-from-numpy/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_trentorch">Build a working ML framework from raw NumPy modules</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/trentorch-trentorch/practice-ml-coding-questions-in-browser/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_trentorch">Solve ML coding questions in the browser with instant grading</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/trentorch-trentorch/run-web-question-checks-before-contributing/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_trentorch">Run the web question checks locally before a pull request</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_trentorch"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/trentorch-learn-ml-by-building-your-own-framework-in-numpy-and-350-browser-questions-1gc5"><em>https://dev.to</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd7d1cf0596b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Claude Flightdeck: a live dashboard for Claude Code context, cost, permissions and subagents]]></title>
            <link>https://medium.com/@dedupedai/claude-flightdeck-a-live-dashboard-for-claude-code-context-cost-permissions-and-subagents-e235a22176a4?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/e235a22176a4</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 01:07:17 GMT</pubDate>
            <atom:updated>2026-10-26T01:13:43.559Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oH9uwWwHwGDMF08Z.png" /></figure><p>When Claude Code fans out five subagents, you mostly see a spinner. How full is the context window? What did that run cost? Which tool calls were allowed silently, and which were denied? <a href="https://github.com/scasella/claude-flightdeck">Flightdeck</a> is a Claude Code mod that answers all of that in a live pane next to your transcript: a context gauge with compactions, cost and rate-limit resets, a timeline of advisor and architect consults, one cell per permission check, and your subagents as cards or swimlanes.</p><p>Two things make it easy to trust. Every number comes from a real session event, and it only watches: every hook passes its event on unchanged, so it never denies, rewrites or delays a tool call. Nothing leaves your machine.</p><h3>Requirements</h3><ul><li>Claude Code <strong>2.1.287 or later</strong> (mods are an early access feature). Check with claude --version.</li><li>A terminal at least 144 columns wide if you want the pane to open by itself. Narrower terminals work with the /flightdeck command.</li></ul><h3>Install in four commands</h3><p>Inside Claude Code:</p><pre>/plugin marketplace add scasella/claude-flightdeck /plugin install flightdeck@claude-flightdeck /reload-plugins /flightdeck</pre><p>Or from your shell:</p><pre>claude plugin marketplace add scasella/claude-flightdeck claude plugin install flightdeck@claude-flightdeck</pre><p>To try it for one session without installing, load it from a clone:</p><pre>git clone https://github.com/scasella/claude-flightdeck claude --plugin-dir ./claude-flightdeck</pre><p>If the installer says config options are not set, ignore it. The defaults are fine.</p><h3>What each panel tells you</h3><ul><li><strong>main</strong>: model, effort, permission mode and request count, a context gauge with a compaction counter, session cost, the first two rate-limit windows with time to reset (when your plan reports them), and time to first token for the last request.</li><li><strong>architect</strong>: advisor or architect consults on a timeline, whether one is running and how long the last took.</li><li><strong>gate</strong>: one cell per permission check. Green means allowed without asking, blue means decided by the auto mode classifier or you, amber is pending, red is denied, and dim means it happened inside a subagent.</li><li><strong>agents</strong>: each subagent’s task, type, live context and output tokens, steps and a running clock. max_tokens shows in red. When cards no longer fit, they become swimlanes on one time axis.</li><li><strong>receipt</strong> and <strong>log</strong>: the last turn’s duration, agents, edits, errors and added cost, plus a running log of prompts, spawns, consults, edits and denials.</li></ul><p>Panels with nothing to show take no room, so a simple session shows just the main box and the log.</p><h3>Three workflows worth setting up</h3><h3>1. Watch context and cost while you work</h3><p>Keep the pane docked in a fullscreen terminal. When the gauge climbs toward a compaction, you know to wrap up a task or start a fresh session before the model loses earlier detail. The compaction counter tells you how many times that already happened.</p><h3>2. Audit every permission check</h3><p>Focus the pane with ctrl+x tab, then press f, s or o to open the file, shell or other drill-down. Each shows the last five checks and their verdicts, with credentials masked. This is the fastest way to see what an agent tried to touch during an unattended run.</p><h3>3. Follow subagents</h3><p>Start a task that spawns subagents, then press 1, 2 and so on to expand a card or lane: its full task, its last three tool calls and the start of its answer. A red max_tokens is your cue that an agent ran out of room.</p><h3>Useful commands and options</h3><pre>/flightdeck open the pane /flightdeck close close it /flightdeck reset clear agents, checks, consults, log and the turn /flightdeck layout auto|compact|wide|mini</pre><p>Options live in /config, or in your user settings.json under pluginConfigs[&quot;flightdeck@claude-flightdeck&quot;].options. Note that project level .claude/settings.json entries are ignored without a warning. Handy ones: maxCards (1 to 6 cards before swimlanes), motion: off if the animation is distracting, palette: pastel if colours look wrong, and statusLine to mirror context, agents and denials into the status line.</p><h3>Troubleshooting</h3><ul><li><strong>No pane</strong>: confirm version 2.1.287+, run /reload-plugins then /flightdeck. Look for a dim transcript line starting with flightdeck: that names the failing hook.</li><li><strong>VS Code extension shows nothing</strong>: one report saw hooks run but no pane. Run claude in VS Code&#39;s integrated terminal instead.</li><li><strong>Counters look stale after an update</strong>: /flightdeck reset.</li></ul><h3>Honest caveats</h3><p>Mods are early access and their API can change between Claude Code releases, so expect occasional breakage after updates. Consult “moments” are inferred and labelled as such. It pairs well with a status line tool like claude-hud rather than replacing it.</p><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/scasella-claude-flightdeck/watch-context-and-cost-live/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_claude_flightdeck">Watch context, cost and rate limits during a session</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/scasella-claude-flightdeck/audit-permission-checks-in-a-session/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_claude_flightdeck">Audit every permission check a session makes</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/scasella-claude-flightdeck/track-subagents-as-cards-or-swimlanes/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_claude_flightdeck">Follow subagents as cards or swimlanes</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_claude_flightdeck"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/claude-flightdeck-a-live-dashboard-for-claude-code-context-cost-permissions-and-subagents-3pg5"><em>https://dev.to</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e235a22176a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to install Free My TV: an ad-free home screen for Google TV, LG webOS and Samsung]]></title>
            <link>https://medium.com/@dedupedai/how-to-install-free-my-tv-an-ad-free-home-screen-for-google-tv-lg-webos-and-samsung-f1ee74cdb686?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1ee74cdb686</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[smart-tv]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 01:05:39 GMT</pubDate>
            <atom:updated>2026-10-26T01:11:06.300Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ESUEp0OYJtSO1Fjn.png" /></figure><p>Your TV’s home screen is a billboard. Sponsored rows, autoplaying promos, banners for shows you will never watch. <a href="https://github.com/simbasjungles/free-my-tv">Free My TV</a> is an open source home screen for Google TV and Android TV, with LG webOS and Samsung Tizen versions, that replaces all of that with your own apps on a clean shelf, a few trending picks from apps you already have, and the weather. It went from zero to over 4,000 GitHub stars in its first week.</p><p>The pitch that matters for developers: no root, nothing uninstalled, and one button brings back the factory home screen. The authors measured 60 fps and 96 MB of memory for the home screen versus 242 MB for the stock one on a 98 inch TCL Google TV running Android 14.</p><p>This guide covers three install paths: letting a coding agent do it, the manual adb route for Google TV, and the LG webOS route people keep searching for.</p><h3>Before you start</h3><ul><li>A Google TV or Android TV on Android 8 or newer, or an LG TV on webOS 3+, or a Samsung TV from 2016+</li><li>A computer on the same Wi-Fi</li><li>For Google TV: adb (and a JDK 17 plus Android SDK if you build it yourself)</li><li>For LG: Python 3 and a free LG developer account</li></ul><p>On the TV (Google TV): open Settings, System, About and press “Android TV OS build” 7 times. Then Settings, System, Developer options, and turn on USB debugging. Write down the TV’s IP address from Settings, Network &amp; Internet.</p><h3>Option 1: let your coding agent install it</h3><p>The README is written so Claude Code, Codex or Antigravity can do the whole job. Open your agent and say:</p><pre>Install Free My TV (github.com/simbasjungles/free-my-tv) on my TV at 192.168.1.50. I live in Lisbon.</pre><p>Swap in your TV’s IP and your city. The agent clones the repo, installs the build tools, builds the APK and pushes it over adb, and it asks before anything important. When it finishes, go to the TV, open Free My TV, then Home Screen, then Free My TV. The TV asks “Allow USB debugging?” for the app itself. Tick “Always allow” and accept.</p><h3>Option 2: the ready APK with adb (Google TV)</h3><p>No build tools needed besides adb. Download FreeMyTV.apk from the latest release, then:</p><p>On Android 14, Google Play Protect may hold the install with “Risky app blocked”. Choose More details, then Install anyway. The release APK ships without a TMDB key, so you get the home screen without trending picks, and it guesses your city from the TV’s time zone.</p><p>Two device quirks from the README worth knowing:</p><ul><li>Chromecast with Google TV on Android 14 keeps port 5555 closed. Turn on Wireless debugging, run adb pair &lt;address:port&gt; &lt;code&gt;, then adb tcpip 5555. Port 5555 closes again on every restart.</li><li>TCL TVs block background start by default. Allow it:</li></ul><pre>adb shell &quot;appops set io.freemytv AUTO_START allow || appops set io.freemytv APP_AUTO_START allow&quot;</pre><h3>Option 3: build it yourself for trending picks</h3><p>The picks need a free TMDB API key. With a JDK 17+, Android build-tools 34 and platform android-34 installed:</p><p>The first run creates config.properties. Set your city, tmdb_key and tmdb_region (two letter country code) there, then run ./build.sh again and install with the same two adb commands as above. Most settings can also be changed later on the TV under Free My TV, Home Settings.</p><h3>LG TVs: install through webOS Developer Mode</h3><p>This is the path with the most search interest, so here it is step by step. Nothing is rooted, and LG’s own home screen stays in place. Free My TV becomes one number key press away.</p><ol><li>On the TV, install <strong>Developer Mode</strong> from the LG Content Store, sign in with your free LG developer account, turn on Dev Mode Status (the TV restarts), then turn on Key Server. Note the IP and passphrase.</li><li>On your computer:</li></ol><p>The first install asks for the TV’s passphrase. Type it yourself; if you use a coding agent, it builds the app and hands you the install command for exactly this reason.</p><p>On webOS 6 and newer, LG hides the installed app list from Developer Mode apps, so Free My TV shows the well known ones first and asks the TV once for wider access. Allow it and all your apps appear. On webOS 3, refresh the app list from your computer:</p><p>Developer Mode expires after about 40 days, so open the Developer Mode app now and then and press EXTEND. To remove it: python3 webos/install.py 192.168.1.50 --uninstall.</p><h3>Samsung TVs in one paragraph</h3><p>On the TV, open Apps and type 1 2 3 4 5 on the remote, turn on Developer mode, enter your computer’s IP as Host PC IP and restart. Then use the community TizenBrew Installer on your computer and install from GitHub with simbasjungles/free-my-tv. 2023 and newer models ask you to sign in to a Samsung account once to sign the app.</p><h3>Honest caveats</h3><ul><li>Developer options and USB debugging stay on while you use it. Treat your home network accordingly.</li><li>The release builds have no picks until you build with your own TMDB key.</li><li>On LG, Developer Mode needs extending roughly every 40 days or the app stops launching.</li></ul><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/simbasjungles-free-my-tv/ad-free-google-tv-home-with-claude-code/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_free_my_tv">Install an ad-free home screen on Google TV with Claude Code</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/simbasjungles-free-my-tv/lg-tv-home-screen-via-webos-developer-mode/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_free_my_tv">Put Free My TV on an LG TV through webOS Developer Mode</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/simbasjungles-free-my-tv/personal-picks-and-weather-with-tmdb-key/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_free_my_tv">Set up trending picks, weather and prices with your own TMDB key</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_free_my_tv"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-install-free-my-tv-an-ad-free-home-screen-for-google-tv-lg-webos-and-samsung-3gc1"><em>https://dev.to</em></a><em> on October 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1ee74cdb686" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to run local LLMs with Ollama and plug them into your coding agent]]></title>
            <link>https://medium.com/@dedupedai/how-to-run-local-llms-with-ollama-and-plug-them-into-your-coding-agent-631b64f1eb4c?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/631b64f1eb4c</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 03:40:47 GMT</pubDate>
            <atom:updated>2026-10-25T03:51:12.041Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8ng_3RyOsbDicmz0.png" /></figure><p><a href="https://github.com/ollama/ollama">Ollama</a> runs open models such as Gemma, Qwen, DeepSeek, Kimi and gpt-oss on your own machine, with a CLI, a local REST API and official Python and JavaScript libraries. The newest trick is the one most people miss: ollama launch wires a coding agent like Claude Code, Codex or OpenCode straight to Ollama models.</p><p>This guide goes from install to a local chat, then to calling the model from code, then to a coding agent backed by Ollama.</p><h3>Install</h3><pre># macOS and Linux curl -fsSL https://ollama.com/install.sh | sh # Windows (PowerShell) irm https://ollama.com/install.ps1 | iex</pre><p>Prefer not to pipe a script into your shell? There are manual downloads for macOS ( Ollama.dmg) and Windows ( OllamaSetup.exe), manual Linux instructions at docs.ollama.com, and an official Docker image, ollama/ollama, on Docker Hub.</p><h3>Run your first model</h3><p>The first run downloads the model, then you chat in the terminal. Download size and speed depend on the model and your hardware, so start small. The full list is at <a href="https://ollama.com/library">ollama.com/library</a>.</p><p>Not sure where to start? Just run:</p><p>It prompts you to run a model or connect Ollama to your existing agents and apps, such as Claude Code, OpenClaw, OpenCode, Codex and Copilot.</p><h3>Launch a coding agent on Ollama</h3><p>Pick a model when prompted, then work in your repo as usual. Supported coding integrations listed in the README are <a href="https://docs.ollama.com/integrations/claude-code">Claude Code</a>, <a href="https://docs.ollama.com/integrations/codex">Codex</a>, <a href="https://docs.ollama.com/integrations/copilot-cli">Copilot CLI</a>, <a href="https://docs.ollama.com/integrations/deepseek-harness">DeepSeek Harness</a>, <a href="https://docs.ollama.com/integrations/droid">Droid</a> and <a href="https://docs.ollama.com/integrations/opencode">OpenCode</a>. Each link has the specific setup for that agent.</p><p>Be realistic about quality: small local models are much weaker at agentic coding than frontier models. Local is great for privacy, offline work and cheap experiments; give the agent bigger models for real multi-file tasks if your hardware allows.</p><p>There is also ollama launch openclaw, which turns Ollama into a personal assistant across WhatsApp, Telegram, Slack, Discord and more.</p><h3>Call the model from your own code</h3><p>Ollama’s REST API listens on localhost by default:</p><pre>curl http://localhost:11434/api/chat -d &#39;{ &quot;model&quot;: &quot;gemma4&quot;, &quot;messages&quot;: [{ &quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Why is the sky blue?&quot; }], &quot;stream&quot;: false }&#39;</pre><h3>Python</h3><h3>JavaScript</h3><p>That is a full AI feature prototype with no API bill. When you need more, the <a href="https://docs.ollama.com/api">API docs</a>, <a href="https://docs.ollama.com/cli">CLI reference</a>, <a href="https://docs.ollama.com/modelfile">Modelfile reference</a> and <a href="https://docs.ollama.com/import">importing models</a> guide cover the rest.</p><h3>Under the hood</h3><p>Ollama lists <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a> as its supported backend. If you want lower-level control, such as an OpenAI-compatible server with your own flags, llama.cpp is the engine to look at directly.</p><h3>Use cases with copy-paste prompts</h3><p>Each page has who it is for, the steps, and a prompt you can paste into your coding agent.</p><p>Use case: <a href="https://dedupedai.com/use-cases/ollama-ollama/launch-coding-agent-on-ollama/">Launch a coding agent backed by Ollama</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/ollama-ollama/run-open-model-locally-one-command/">Run an open model on your machine in one command</a></p><p>Use case: <a href="https://dedupedai.com/use-cases/ollama-ollama/call-local-model-from-python-or-js/">Call a local model from Python or JavaScript</a></p><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_ollama"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-run-local-llms-with-ollama-and-plug-them-into-your-coding-agent-4ce0"><em>https://dev.to</em></a><em> on October 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=631b64f1eb4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to give Claude Code a web scraping tool with Crawl4AI (MCP)]]></title>
            <link>https://medium.com/@dedupedai/how-to-give-claude-code-a-web-scraping-tool-with-crawl4ai-mcp-0b986775681b?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b986775681b</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-scraping]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 03:34:20 GMT</pubDate>
            <atom:updated>2026-10-25T03:49:02.392Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tevQbwoOup4nbBJ8.png" /></figure><p>Coding agents are great at research until they need to read a real web page. <a href="https://github.com/unclecode/crawl4ai">Crawl4AI</a> is an open-source crawler and scraper that turns websites into clean, LLM-ready Markdown, and it ships an MCP server so Claude Code can scrape, extract and search on its own.</p><p>This guide covers both ways to use it: the hosted MCP server (one command in Claude Code) and the free open-source library you run yourself.</p><h3>Option 1: hosted MCP in Claude Code</h3><h3>Get a key</h3><p>Sign up at crawl4ai.com and verify your email. Per the README, the free tier is 1,000 credits every month, 10 requests a minute and 2 at a time, with no card. Paid plans start at $10 a month (120 a minute, 10 at a time). Hosted requests are billed against your key, so keep CRAWL4AI_KEY out of shared scripts.</p><h3>Add the MCP server</h3><pre>claude mcp add --transport http crawl4ai https://api.crawl4ai.com/mcp \ --header &quot;Authorization: Bearer $CRAWL4AI_KEY &quot;</pre><p>The README links setup for Codex, Cursor and OpenCode too.</p><h3>Use it</h3><p>Start Claude Code and ask for a page in plain language:</p><pre>Use crawl4ai to scrape https://docs.crawl4ai.com and summarize the installation options as a table.</pre><p>The same key gives you /scrape (page to Markdown), /extract (page to JSON, no LLM key of your own needed), /search (web search), /serp (Google&#39;s results page as data, in beta) and /answer (a direct answer with sources, experimental). JS-heavy pages and bot walls are handled for you on the hosted side.</p><h3>Quick test without an agent</h3><h3>Option 2: run it yourself for free</h3><p>The hosted API is optional. The open-source crawler runs free on your machine.</p><pre>pip install -U crawl4ai crawl4ai-setup # installs and sets up the browser crawl4ai-doctor # checks the installation</pre><p>If the browser setup fails, install Chromium by hand with python -m playwright install --with-deps chromium.</p><p>Save result.markdown per page and you have clean input for a RAG index. For tighter output, the &quot;fit Markdown&quot; filters ( PruningContentFilterLXML, BM25ContentFilter, LLMContentFilter) strip menus, footers and boilerplate.</p><h3>Or from the command line</h3><pre>crwl https://news.ycombinator.com -o markdown crwl https://docs.crawl4ai.com --deep-crawl bfs --max-pages 10</pre><h3>Self-hosted MCP with Docker</h3><p>If you want MCP without the hosted API, run your own server. It needs a token; without one it only answers inside its container.</p><p>Allow about 10 seconds for it to start, then test:</p><p>The server exposes /md, /html, /crawl, /screenshot, /pdf and /execute_js, plus a dashboard at http://localhost:11235/dashboard and a playground at /playground. The README says the self-hosted server also supports MCP for Claude Code and other agents; the exact connection steps are in the <a href="https://docs.crawl4ai.com/core/self-hosting/">self-hosting guide</a>.</p><h3>Which one should you pick?</h3><ul><li><strong>Library</strong>: free, runs in your Python process, your proxies and settings.</li><li><strong>Your own Docker server</strong>: free apart from hosting, shared by several tools.</li><li><strong>Hosted</strong>: no browsers to run, bot walls handled, and the only option with /search, /serp and /answer.</li></ul><p>Whichever you choose, respect each site’s terms and robots rules when crawling.</p><h3>Use cases with copy-paste prompts</h3><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_crawl4ai"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-give-claude-code-a-web-scraping-tool-with-crawl4ai-mcp-ege"><em>https://dev.to</em></a><em> on October 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b986775681b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to serve an OpenAI-compatible local API with llama.cpp]]></title>
            <link>https://medium.com/@dedupedai/how-to-serve-an-openai-compatible-local-api-with-llama-cpp-25fb269040ab?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/25fb269040ab</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 03:33:29 GMT</pubDate>
            <atom:updated>2026-10-25T03:46:15.799Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*H0nf2dkhdavZXyib.png" /></figure><p>Your app already talks to the OpenAI SDK. You want to test it against a free local model without rewriting anything. <a href="https://github.com/ggml-org/llama.cpp">llama.cpp</a> is a dependency-free C/C++ engine for running LLMs and vision language models, and its server exposes OpenAI-compatible chat completions, responses and embeddings routes. Point your client’s base URL at it and most code just works.</p><p>This guide installs llama.cpp, starts a server with a model pulled straight from Hugging Face, and calls it with curl and the OpenAI Python library.</p><h3>Install</h3><pre># macOS / Linux curl -LsSf https://llama.app/install.sh | sh # Windows (PowerShell) irm https://llama.app/install.ps1 | iex</pre><p>The quick install pipes a script into your shell. If you would rather not, download pre-built binaries from the <a href="https://github.com/ggml-org/llama.cpp/releases">releases page</a>, run it with Docker, or build from source. llama.cpp runs on macOS, Linux and Windows, with backends for CUDA, Metal, Vulkan, HIP, SYCL and more.</p><h3>Try the model in a terminal first</h3><pre>llama cli -hf ggml-org/Qwen3.5-0.8B-GGUF</pre><p>-hf downloads a GGUF model directly from Hugging Face. The quant is optional and defaults to Q4_K_M (for example ggml-org/GLM-4.7-Flash-GGUF:Q4_K_M).</p><h3>Start the OpenAI-compatible server</h3><pre>llama serve -hf ggml-org/Qwen3.5-0.8B-GGUF</pre><p>According to the server README, it listens on 127.0.0.1:9931 by default. Use --host and --port to change that. The built-in web UI is served at the same address, so open http://localhost:9931 in a browser to test the model before writing any code.</p><p>Check readiness with the health endpoint. It returns 503 while the model is loading and {&quot;status&quot;: &quot;ok&quot;} once it is ready:</p><pre>curl http://localhost:9931/health</pre><h3>Call it with curl</h3><pre>curl http://localhost:9931/v1/chat/completions \ -H &quot;Content-Type: application/json&quot; \ -H &quot;Authorization: Bearer no-key&quot; \ -d &#39;{ &quot;model&quot;: &quot;gpt-3.5-turbo&quot;, &quot;messages&quot;: [ {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: &quot;Write a limerick about python exceptions&quot;} ] }&#39;</pre><h3>Call it with the OpenAI Python library</h3><p>That is the only change in your app: the base URL. GET /v1/models returns the loaded model. By default the model id is the path to the model file; set a friendlier one with --alias, for example --alias gpt-4o-mini. The README is careful to say it makes no strong claims of full OpenAI spec compatibility, but in their experience it is enough for many apps.</p><h3>Useful server options</h3><ul><li>-c, --ctx-size N: context size (0 loads it from the model)</li><li>-ngl, --n-gpu-layers N: how many layers to keep in VRAM (auto by default)</li><li>--api-key KEY: require a key, so the server is not wide open if you bind it beyond localhost</li><li>--alias NAME: the model name your API clients will see</li></ul><h3>JSON output that matches a schema</h3><p>/v1/chat/completions accepts response_format, both plain {&quot;type&quot;: &quot;json_object&quot;} and schema-constrained JSON with {&quot;type&quot;: &quot;json_schema&quot;, &quot;schema&quot;: {...}}. That is handy when your app expects structured output.</p><h3>Run it in Docker instead</h3><pre>docker run -p 8080:8080 -v /path/to/models:/models ghcr.io/ggml-org/llama.cpp:server -m models/7B/ggml-model.gguf -c 512 --host 0.0.0.0 --port 8080</pre><p>There is also a server-cuda image; add --gpus all and --n-gpu-layers 99.</p><h3>Fit a bigger model on limited hardware</h3><p>llama.cpp supports 1.5-bit to 8-bit integer quantization and CPU plus GPU hybrid inference, so models larger than your VRAM can still be partially accelerated. Pick a 4-bit or lower GGUF, let layers spill to CPU, and see the performance troubleshooting doc if it is slow. Lower-bit quantization saves memory but can reduce output quality.</p><h3>One honest caveat</h3><p>The 0.8B example model is fast and great for wiring things up, but it is much weaker than hosted frontier models. Swap in a larger GGUF once your plumbing works.</p><h3>Use cases with copy-paste prompts</h3><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_llama_cpp"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/how-to-serve-an-openai-compatible-local-api-with-llamacpp-3425"><em>https://dev.to</em></a><em> on October 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25fb269040ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RTX 4090 “2x FP16” unlock: real GEMM gains are 12 to 34%. How to test it safely]]></title>
            <link>https://medium.com/@dedupedai/rtx-4090-2x-fp16-unlock-real-gemm-gains-are-12-to-34-how-to-test-it-safely-b95bdcc57fd5?source=rss-3b15d9290dfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/b95bdcc57fd5</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[nvidia]]></category>
            <dc:creator><![CDATA[Deduped]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 03:24:53 GMT</pubDate>
            <atom:updated>2026-10-25T03:31:34.669Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*izioyPdEY64T76Tm.png" /></figure><p>“2x FP16 on an RTX 4090” is the headline going around for <a href="https://github.com/JustAResearcher/gpu-unlock-ada">gpu-unlock-ada</a>. It is a Linux kernel module that runs at boot, before the stock NVIDIA driver loads, and switches supported RTX 40 cards to full-rate FP16 and BF16 tensor math with FP32 accumulation.</p><p>The 2x is real, but it is not what your training job will see. This guide explains what the numbers actually say, what the risks are, and how to install and measure it on your own card so you can decide for yourself.</p><h3>What the numbers really say</h3><p>The README reports two kinds of results, and the difference is the whole story.</p><p><strong>Instruction benchmarks (register-level issue rate).</strong> On an RTX 4090 ( 10de:2684):</p><p>An independent owner run with NVIDIA 615.78.08 and the same 450 W cap found 160.4 to 320.4 TF/s for FP16 and 159.7 to 320.2 TF/s for BF16. All exercised numerical checks passed.</p><p><strong>Real cuBLAS GEMM.</strong> In that same matched run, median GEMM throughput varied by shape:</p><ul><li>FP16 gained <strong>12 to 34%</strong></li><li>BF16 gained <strong>16 to 20%</strong> at two shapes and was <strong>essentially unchanged at 409⁶³</strong></li></ul><p>The README is explicit that these are one matched run pair with the desktop active, not whole-application speedups and not an extended stability test. INT8, dp4a and scalar FP32 stayed near baseline. On one RTX 4070 Ti SUPER, a verified E4M3 FP8 CUTLASS GEMM went from 59.326 to 59.495 TF/s, a 0.3% difference.</p><p>So the honest summary: double the tensor instruction rate, a meaningful but much smaller gain in real matrix multiplies, and nothing for INT8 or FP32.</p><h3>The risks, plainly</h3><ul><li>It is <strong>unofficial and unsupported by NVIDIA</strong> and may void your warranty.</li><li>The payload derives from published analysis of NVIDIA’s debug booter (from TOTORONG/AD103_win_unlocker) and changes GPU register state from a kernel module before the driver loads.</li><li>It has been validated on <strong>very few cards</strong>. The RTX 4070 Ti SUPER (10de:2705) and RTX 4060 Ti 16GB (10de:2805) paths are experimental and validated on one card each. Other Ada models, professional RTX A-series and data-centre parts are not accepted.</li><li>No extended stability test exists yet.</li></ul><p>If that is fine for your machine, keep reading.</p><h3>Requirements</h3><ul><li>A Linux machine you fully control, with an unmodified stock boot entry to fall back to</li><li>Kernel headers, a working DKMS toolchain, and CONFIG_CRYPTO_LIB_SHA256 in the kernel</li><li>The stock NVIDIA driver</li><li>Secure Boot off, or the out-of-tree module signed with your own key</li><li><strong>Your own stock benchmark numbers, taken before you enable anything</strong></li></ul><h3>Step 1: measure stock first</h3><p>Run the CUDA instruction benchmark in diagnostics/bench plus one real workload of yours. Write down your kernel, driver version and power cap. Keep all three identical for the unlocked run, or the comparison means nothing.</p><h3>Step 2: build and install</h3><pre>git clone https://github.com/JustAResearcher/gpu-unlock-ada.git cd gpu-unlock-ada make install</pre><p>make install detects your distribution family (explicit targets: make install-arch, make install-deb, make install-rpm). The build downloads the pinned NVIDIA 610.43.03 inputs over HTTPS, verifies their SHA-256 hashes and generates the firmware on your machine. Prebuilt firmware is not distributed. The package puts the module and firmware into the initramfs so it runs before NVIDIA binds the card.</p><h3>Step 3: opt in on the kernel command line</h3><p>The module stays inactive until you opt in. Find the card’s full PCI address with lspci -D, then add it:</p><pre>gpu_unlock.targets=0000:03:00.0</pre><p>That address is an example; use your own. For the experimental cards, add the matching flag with a single exact address ( targets=all never selects them):</p><pre>gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad103_experimental=1 gpu_unlock.targets=0000:01:00.0 gpu_unlock.ad106_experimental=1</pre><p>The first is for an RTX 4070 Ti SUPER, the second for an RTX 4060 Ti 16GB.</p><h3>Step 4: cold boot</h3><p><strong>Power the machine off and start it again</strong> for the first attempt. The module needs a card whose firmware state is fresh before NVIDIA loads, and a warm reboot is not guaranteed to give that. Avoid running nvidia-smi, CUDA, NVML or nvidia-modprobe before a manual cold-card attempt, because they can load NVIDIA by name.</p><h3>Step 5: verify it actually worked</h3><p>Look for your card’s gpu_unlock: unlocked line plus the payload, selector and post-FLR checks. A loaded module or a successful modprobe alone does not prove an unlock. If the module reports that firmware did not stop and its DMA buffers are being kept, power off before trying again and do not force-unload it.</p><h3>Step 6: rerun the same benchmarks</h3><p>Same kernel, same driver, same power cap. Compare FP16, BF16, INT8 and FP32 against the testing guide in docs/testing.md. Your own GEMM numbers are the only ones that matter for your workload.</p><h3>How to turn it off</h3><p>Remove gpu_unlock.targets= from the kernel command line (you can do it for one boot in the bootloader editor). Removing the packages removes the module and initramfs integration. Power off to return the card to a fresh hardware state.</p><h3>Use cases with copy-paste prompts</h3><p><strong>Get one email every Monday with the week’s hottest AI repos and exactly how to use them: </strong><a href="https://dedupedai.com/join/?utm_source=devto&amp;utm_medium=article&amp;utm_campaign=howto_gpu_unlock_ada"><strong>subscribe free at dedupedai.com</strong></a></p><p><em>Originally published at </em><a href="https://dev.to/dedupedai/rtx-4090-2x-fp16-unlock-real-gemm-gains-are-12-to-34-how-to-test-it-safely-5bgk"><em>https://dev.to</em></a><em> on October 25, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b95bdcc57fd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>