<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dimitri AIGLE</title>
    <description>The latest articles on DEV Community by Dimitri AIGLE (@dimsbuild).</description>
    <link>https://dev.to/dimsbuild</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4083540%2F3ae51ca0-5768-4fe2-9186-e2175af71d80.png</url>
      <title>DEV Community: Dimitri AIGLE</title>
      <link>https://dev.to/dimsbuild</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dimsbuild"/>
    <language>en</language>
    <item>
      <title>22 Claude Code Add-ons Worth Installing (and One That Cheats a Little)</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Sun, 22 Nov 2026 23:45:07 +0000</pubDate>
      <link>https://dev.to/dimsbuild/22-claude-code-add-ons-worth-installing-and-one-that-cheats-a-little-do1</link>
      <guid>https://dev.to/dimsbuild/22-claude-code-add-ons-worth-installing-and-one-that-cheats-a-little-do1</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;A list of 22 Claude Code skills has been circulating, grouped by use case: build, design, research, marketing. Checked repository by repository: all 22 exist, are active, and some even beat the numbers cited in the original post. One catch: the star count shown for &lt;code&gt;remotion&lt;/code&gt; belongs to the flagship project, not the small repo actually installed. Two names (&lt;code&gt;graphify&lt;/code&gt;, &lt;code&gt;humanizer&lt;/code&gt;) overlap with already-known skill names without being the same projects. Everything else installs in one command.&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem this solves
&lt;/h2&gt;

&lt;p&gt;Bare Claude Code answers a single prompt well. It doesn't, by default, plan before writing code, produce a filler-free answer, or pick a color palette that holds together. A skill adds that specific know-how as a folder of context, loaded automatically when the task matches its topic.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 22, grouped by use case
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Build
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;superpowers&lt;/strong&gt; (&lt;a href="https://github.com/obra/superpowers" rel="noopener noreferrer"&gt;obra/superpowers&lt;/a&gt;, 267k★): plans and debugs before writing code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;gstack&lt;/strong&gt; (&lt;a href="https://github.com/garrytan/gstack" rel="noopener noreferrer"&gt;garrytan/gstack&lt;/a&gt;, 126k★): 23 skills bundled into one configuration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;caveman&lt;/strong&gt; (&lt;a href="https://github.com/JuliusBrussee/caveman" rel="noopener noreferrer"&gt;JuliusBrussee/caveman&lt;/a&gt;, 96k★): answers with zero filler.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ponytail&lt;/strong&gt; (&lt;a href="https://github.com/DietrichGebert/ponytail" rel="noopener noreferrer"&gt;DietrichGebert/ponytail&lt;/a&gt;, 97k★): skips the commentary, writes the line of code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;codex&lt;/strong&gt; (&lt;a href="https://github.com/openai/codex-plugin-cc" rel="noopener noreferrer"&gt;openai/codex-plugin-cc&lt;/a&gt;, 31k★): runs Codex from inside Claude Code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;i-have-adhd&lt;/strong&gt; (&lt;a href="https://github.com/ayghri/i-have-adhd" rel="noopener noreferrer"&gt;ayghri/i-have-adhd&lt;/a&gt;, 17k★): stops the agent from burying the answer under context.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Design
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ui-ux-pro-max&lt;/strong&gt; (&lt;a href="https://github.com/nextlevelbuilder/ui-ux-pro-max-skill" rel="noopener noreferrer"&gt;nextlevelbuilder/ui-ux-pro-max-skill&lt;/a&gt;, 114k★): palettes and fonts that actually work together.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;taste-skill&lt;/strong&gt; (&lt;a href="https://github.com/leonxlnx/taste-skill" rel="noopener noreferrer"&gt;leonxlnx/taste-skill&lt;/a&gt;, 73k★): makes a page look more polished.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;impeccable&lt;/strong&gt; (&lt;a href="https://github.com/pbakaus/impeccable" rel="noopener noreferrer"&gt;pbakaus/impeccable&lt;/a&gt;, 56k★): a polish pass for any front end.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;hyperframes&lt;/strong&gt; (&lt;a href="https://github.com/heygen-com/hyperframes" rel="noopener noreferrer"&gt;heygen-com/hyperframes&lt;/a&gt;, 40k★): turns a web page into a video.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;emil&lt;/strong&gt; (&lt;a href="https://github.com/emilkowalski/skills" rel="noopener noreferrer"&gt;emilkowalski/skills&lt;/a&gt;, 26k★): interface animations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;gsap&lt;/strong&gt; (&lt;a href="https://github.com/greensock/gsap-skills" rel="noopener noreferrer"&gt;greensock/gsap-skills&lt;/a&gt;, 13k★): web animation with the GSAP library.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Research
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;skill-creator&lt;/strong&gt; (&lt;a href="https://github.com/anthropics/skills" rel="noopener noreferrer"&gt;anthropics/skills&lt;/a&gt;, 167k★): Anthropic's own official repository, for building your own skills.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;graphify&lt;/strong&gt; (&lt;a href="https://github.com/Graphify-Labs/graphify" rel="noopener noreferrer"&gt;Graphify-Labs/graphify&lt;/a&gt;, 103k★): turns notes into a knowledge graph. Unrelated to the personal skill of the same name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;last30days&lt;/strong&gt; (&lt;a href="https://github.com/mvanhorn/last30days-skill" rel="noopener noreferrer"&gt;mvanhorn/last30days-skill&lt;/a&gt;, 57k★): summarizes what's been said on a topic this month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;agent-browser&lt;/strong&gt; (&lt;a href="https://github.com/vercel-labs/agent-browser" rel="noopener noreferrer"&gt;vercel-labs/agent-browser&lt;/a&gt;, 40k★): lets the agent browse a live website.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;find-skills&lt;/strong&gt; (&lt;a href="https://github.com/vercel-labs/skills" rel="noopener noreferrer"&gt;vercel-labs/skills&lt;/a&gt;, 28k★): finds the right skill for a given task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;claude-hud&lt;/strong&gt; (&lt;a href="https://github.com/jarrodwatts/claude-hud" rel="noopener noreferrer"&gt;jarrodwatts/claude-hud&lt;/a&gt;, 27k★): shows what the agent is doing, live.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Marketing
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;remotion&lt;/strong&gt; (&lt;a href="https://github.com/remotion-dev/skills" rel="noopener noreferrer"&gt;remotion-dev/skills&lt;/a&gt;, 4.2k★ for the skills repo): generates videos with the React Remotion library.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;marketingskills&lt;/strong&gt; (&lt;a href="https://github.com/coreyhaines31/marketingskills" rel="noopener noreferrer"&gt;coreyhaines31/marketingskills&lt;/a&gt;, 43k★): 40 marketing skills bundled together.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;humanizer&lt;/strong&gt; (&lt;a href="https://github.com/blader/humanizer" rel="noopener noreferrer"&gt;blader/humanizer&lt;/a&gt;, 34k★): strips out the tells of AI-generated text. Unrelated to the personal skill of the same name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;social-media-skills&lt;/strong&gt; (&lt;a href="https://github.com/charlie947/social-media-skills" rel="noopener noreferrer"&gt;charlie947/social-media-skills&lt;/a&gt;, 2.1k★): a content pack for social platforms.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The sleight of hand to catch
&lt;/h2&gt;

&lt;p&gt;The original post cites 54,000 stars for &lt;code&gt;remotion&lt;/code&gt;. That number belongs to the flagship project, &lt;a href="https://github.com/remotion-dev/remotion" rel="noopener noreferrer"&gt;remotion-dev/remotion&lt;/a&gt; (55,608 stars at time of checking), the React video library itself. The repository actually installed as a skill, &lt;code&gt;remotion-dev/skills&lt;/code&gt;, has 4,213. The mix-up may not be deliberate, but the number shown measures the product's fame, not the small repo that runs the install command.&lt;/p&gt;

&lt;h2&gt;
  
  
  Watch for name collisions
&lt;/h2&gt;

&lt;p&gt;Two names on the list overlap with already-popular skill names without being the same projects: &lt;code&gt;graphify&lt;/code&gt;, here, comes from Graphify-Labs and turns notes into a knowledge graph; &lt;code&gt;humanizer&lt;/code&gt; comes from blader and targets writing style. Before installing a skill with a familiar name, check the exact repository rather than the name alone: two different projects can claim the same label.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install
&lt;/h2&gt;

&lt;p&gt;Most install with the same command, native to the &lt;code&gt;skills.sh&lt;/code&gt; ecosystem:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;owner&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;repo&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Where to start
&lt;/h2&gt;

&lt;p&gt;The author of the list doesn't claim to use all 22 daily: they name &lt;code&gt;superpowers&lt;/code&gt;, &lt;code&gt;caveman&lt;/code&gt;, and &lt;code&gt;last30days&lt;/code&gt; as their actual recurring picks. A reasonable starting point looks like that rather than a full install in one go: one planning skill, one conciseness skill, one watch skill, and add the rest as real needs come up rather than upfront.&lt;/p&gt;

</description>
      <category>build</category>
      <category>claudecode</category>
      <category>opensource</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Karpathy's 'Second Brain' Pattern, Applied to Obsidian and Claude Code</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Sat, 21 Nov 2026 23:40:09 +0000</pubDate>
      <link>https://dev.to/dimsbuild/karpathys-second-brain-pattern-applied-to-obsidian-and-claude-code-138j</link>
      <guid>https://dev.to/dimsbuild/karpathys-second-brain-pattern-applied-to-obsidian-and-claude-code-138j</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;On April 3, 2026, Andrej Karpathy posts an idea that goes massively viral: stop using an AI agent for one-off questions, and point it at a folder of sources so it builds a personal wiki that grows with every addition. The principle holds up, and the real structure goes further than "three folders and a prompt": immutable sources, a generated wiki, an action log, and a periodic verification pass. Budget 5 minutes for an empty vault, 60 to 90 minutes to migrate an existing knowledge base.&lt;/p&gt;




&lt;h2&gt;
  
  
  The post that started it all
&lt;/h2&gt;

&lt;p&gt;Andrej Karpathy, a founding member of OpenAI and former AI director at Tesla, posted the idea on X: instead of asking an agent to write code or answer a one-off question, point it at a folder and let it build a living knowledge base. The post passed 19 million views and got picked up, tested, and documented across the AI community within weeks.&lt;/p&gt;

&lt;h2&gt;
  
  
  The principle in one sentence
&lt;/h2&gt;

&lt;p&gt;A note you write yourself captures what you thought you understood at the moment of writing it. A note the agent writes, from a raw source (an article, a transcript, a PDF), captures what the source actually says, and updates itself when a new source completes or contradicts it. The agent doesn't replace your thinking, it keeps the wiki current while you keep feeding it sources.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real structure
&lt;/h2&gt;

&lt;p&gt;The versions that spread on social media reduce it to three elements: a raw sources folder, a wiki folder, a &lt;code&gt;CLAUDE.md&lt;/code&gt; file. The structure documented in detail goes further:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;secondbrain/
├── _CLAUDE.md      # rules: what goes where, naming, when to ask
├── _index.md        # entry point, navigation catalog
├── _log.md          # log, one line per agent action
├── sources/          # raw, never edited by hand
├── inbox/            # unsorted ideas
└── wiki/              # generated by the agent, also never edited by hand
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two rules set this system apart from an ordinary notes folder: the &lt;code&gt;sources/&lt;/code&gt; folder stays immutable, which lets you check later what a source originally said. The &lt;code&gt;wiki/&lt;/code&gt; folder is only ever modified by the agent, never by hand: fixing an error means adjusting the instructions or adding a source, not editing the output directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three everyday operations
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ingest&lt;/strong&gt;: drop a source into &lt;code&gt;sources/&lt;/code&gt; and ask the agent to integrate it. It reads, identifies the entities it mentions, and updates the relevant wiki pages, typically 5 to 15 pages per source.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Query&lt;/strong&gt;: ask the knowledge base a question. The agent searches the wiki first, then the raw sources if the wiki falls short, and turns a useful answer into a new wiki entry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verify&lt;/strong&gt;: a periodic pass that catches contradictions between pages, broken links, orphaned pages, and claims that have gone stale.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The real setup time
&lt;/h2&gt;

&lt;p&gt;Five minutes is enough to get started on an empty vault: create the folders, write the &lt;code&gt;CLAUDE.md&lt;/code&gt;, drop in a first source. On a knowledge base already filled with hundreds of files, migration takes longer: the detailed guides count 60 to 90 minutes to scan what exists, propose a filing plan into the new structure, and migrate files one by one. The five-minute number that circulates most only applies to the most favorable starting point.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes if you already have a structured knowledge base
&lt;/h2&gt;

&lt;p&gt;A knowledge base that already has a governance file and topic-based indexes covers most of what this pattern proposes. What's structurally missing from a base built before this pattern: a clean separation between raw, never-edited sources and synthesis notes, and a recurring verification pass rather than an occasional one. Both bolt onto an existing structure without rebuilding it from scratch.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to get started
&lt;/h2&gt;

&lt;p&gt;Create an empty folder, open it in Claude Code, and describe the structure you want instead of building it by hand: name the &lt;code&gt;sources/&lt;/code&gt;, &lt;code&gt;inbox/&lt;/code&gt;, &lt;code&gt;wiki/&lt;/code&gt; folders, ask for a &lt;code&gt;_CLAUDE.md&lt;/code&gt; that documents filing and naming rules, then drop in a first source and ask the agent to ingest it. The second source follows the same move, and the wiki grows from there.&lt;/p&gt;

</description>
      <category>build</category>
      <category>claudecode</category>
      <category>obsidian</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Give Claude Code the Ability to Watch a Video</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Fri, 20 Nov 2026 23:40:08 +0000</pubDate>
      <link>https://dev.to/dimsbuild/how-to-give-claude-code-the-ability-to-watch-a-video-1elc</link>
      <guid>https://dev.to/dimsbuild/how-to-give-claude-code-the-ability-to-watch-a-video-1elc</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/bradautomates/claude-video" rel="noopener noreferrer"&gt;claude-video&lt;/a&gt; adds a &lt;code&gt;/watch&lt;/code&gt; command to Claude Code: paste a URL or a local file, and the agent pulls the subtitles, extracts frames at the moments that matter, and answers based on what it saw and heard. Works with YouTube, Loom, TikTok, X, Instagram, and anything &lt;code&gt;yt-dlp&lt;/code&gt; can download. Free as long as the video has subtitles. Without subtitles, a Whisper API key becomes necessary for transcription.&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem: an agent that reads a title, not a video
&lt;/h2&gt;

&lt;p&gt;Without this tool, an agent handed a YouTube link guesses from the title, or pulls an auto-generated transcript that misses everything happening on screen: a chart, an error message, an edit cut. It answers "based on the title," not "based on what happens in the video."&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Three steps, in this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Subtitles first.&lt;/strong&gt; &lt;code&gt;yt-dlp&lt;/code&gt; pulls the source's native subtitles, manual or auto-generated, without downloading the video. Free, near-instant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frames only when needed.&lt;/strong&gt; &lt;code&gt;ffmpeg&lt;/code&gt; extracts frames at scene changes rather than fixed intervals, to avoid paying for the same slide twelve times over in tokens. A deduplication pass compares each frame against the last one kept and drops near-duplicates before they reach Claude.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transcription as a fallback.&lt;/strong&gt; If the video has no subtitles, the tool extracts the audio and sends it to Whisper, Groq's version first (cheaper, faster), then OpenAI's as a fallback.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Claude then reads each frame like a regular image, with a timestamp, and answers based on that content instead of a generic description.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/watch https://youtu.be/&amp;lt;video&amp;gt; what changed, skip the pitch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What this actually gets you
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Analyzing a competitor's launch&lt;/strong&gt;: opening hook, edit structure, what's shown on screen rather than said out loud.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debugging from a screen recording&lt;/strong&gt;: the agent finds the exact frame where the bug shows up, without you scrubbing through the video frame by frame.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Summarizing a 49-minute talk in seconds&lt;/strong&gt;, with precise timestamps instead of a vague summary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skipping the fluff in a product video&lt;/strong&gt;: ask directly what changed, without the first ten minutes of setup.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it actually costs
&lt;/h2&gt;

&lt;p&gt;The advertised zero holds for videos with subtitles, the majority of public content: &lt;code&gt;yt-dlp&lt;/code&gt; pulls them for free, without downloading the video. A video without subtitles changes the math: the tool falls back to Whisper, which needs a paid API key (Groq or OpenAI). Free is the general rule, not a universal guarantee.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to install it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin marketplace add bradautomates/claude-video
/plugin install watch@claude-video
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;yt-dlp&lt;/code&gt; and &lt;code&gt;ffmpeg&lt;/code&gt; install automatically on first run on macOS through Homebrew; on Linux and Windows, the tool prints the exact commands to run.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits
&lt;/h2&gt;

&lt;p&gt;On a long video, the number of frames has a cap: a video over 10 minutes is limited to 100 frames by default, giving a broad sweep rather than dense coverage. For a specific moment, specifying a time range ("between 2:30 and 3:00") gives a much denser answer than a pass over the whole video. The uncapped mode exists for full coverage, but costs more tokens on a video with frequent cuts.&lt;/p&gt;

</description>
      <category>build</category>
      <category>claudecode</category>
      <category>video</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Autonomous Agent Loops Are Real: Karpathy, Stripe, and Anthropic's Dreaming</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Thu, 19 Nov 2026 23:35:07 +0000</pubDate>
      <link>https://dev.to/dimsbuild/autonomous-agent-loops-are-real-karpathy-stripe-and-anthropics-dreaming-5104</link>
      <guid>https://dev.to/dimsbuild/autonomous-agent-loops-are-real-karpathy-stripe-and-anthropics-dreaming-5104</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;Three examples of AI agents running in loops without constant supervision, verified independently rather than taken on a post's word: Andrej Karpathy ran an agent through 700 experiments in two days and pulled 20 real improvements out of it. Stripe has internal agents merging 1,300 pull requests a week, under strict guardrails. Anthropic officially documents a mechanism, dreaming, where the agent re-reads its own history to extract reusable knowledge. A fourth number circulating alongside these, a 42% productivity gain attributed to "Claude Code's lead engineer," has no independent source confirming it.&lt;/p&gt;




&lt;h2&gt;
  
  
  The principle: a loop instead of a single prompt
&lt;/h2&gt;

&lt;p&gt;A regular prompt answers once. A loop re-runs the agent with the previous round's result, until a stop condition is met: a number of iterations, a validated quality bar, a time limit. The difference isn't the model's power, it's the architecture around it: who triggers the loop, who checks the result, and who decides when to stop.&lt;/p&gt;

&lt;h2&gt;
  
  
  Karpathy's loop: 700 experiments in two days
&lt;/h2&gt;

&lt;p&gt;Andrej Karpathy built a system, nicknamed "autoresearch," that proposes a hypothesis, runs an experiment, reads the result, and starts again. In two days, he ran 700 experiments and pulled 20 real optimizations out of it for training a small language model, including a missing multiplier in the attention mechanism that was spreading attention across too many heads at once. Applied to a larger model, those 20 optimizations delivered an 11% cut in training time.&lt;/p&gt;

&lt;p&gt;Shopify founder Tobias Lütke reproduced the experiment on internal data: 37 experiments overnight, for a 19% gain. Two independent results, which sets this story apart from a one-off anecdote.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stripe's Minions: 1,300 pull requests a week
&lt;/h2&gt;

&lt;p&gt;At Stripe, an employee kicks off a development task with an emoji reaction on Slack. An agent, built on a fork of the open source tool Goose, takes it from there: an isolated virtual environment, no internet or production access, preloaded with the necessary code and services in about ten seconds. The result lands as a pull request, never merged without human review.&lt;/p&gt;

&lt;p&gt;The system now handles roughly 1,300 pull requests a week, up 30% in under two weeks from a prior 1,000. The number isn't the point, the architecture that makes it possible is: strict isolation, no direct production access, and a human gate before every merge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Anthropic's dreaming: an agent that re-reads its own history
&lt;/h2&gt;

&lt;p&gt;Anthropic officially documents a mechanism called dreaming: an agent that systematically re-reads the history of its own sessions to extract reusable patterns, instead of starting from zero on every task. In a security research demo published in April 2026, nine agents working in parallel spent 800 cumulative hours on a single problem, at a compute cost of about $18,000, and closed 97% of the performance gap on the target task.&lt;/p&gt;

&lt;p&gt;Anthropic also states that Claude now writes 80 to 90% of the code for its own internal tools. That figure comes from an official company statement, not a post relaying it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What doesn't hold up
&lt;/h2&gt;

&lt;p&gt;A fourth item was circulating alongside these three: a knowledge-graph system attributed to "Claude Code's lead engineer," with a claimed 42% productivity gain on day one. No independent source, no technical writeup, no mention on Anthropic's official channels confirms either the number or the attribution. Unlike the three examples above, this one stays a post's number, not a verified fact.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you need before building your own loop
&lt;/h2&gt;

&lt;p&gt;The three examples that hold up share one trait: verification that doesn't depend on the agent itself. Karpathy reads the experiment results, Stripe requires human review before merging, Anthropic's dreaming mechanism relies on a verifiable history rather than the agent's self-assessment mid-task. A loop with no exit gate and no external check accumulates errors as fast as it accumulates iterations.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>automation</category>
    </item>
    <item>
      <title>How I set up my Mac for development</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Wed, 18 Nov 2026 23:30:09 +0000</pubDate>
      <link>https://dev.to/dimsbuild/how-i-set-up-my-mac-for-development-5cmi</link>
      <guid>https://dev.to/dimsbuild/how-i-set-up-my-mac-for-development-5cmi</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;A new Mac ships with settings built for the general public, not for coding eight hours a day. Before opening an editor, I spend fifteen minutes moving the Dock, speeding up the trackpad and keyboard, turning off autocorrect and installing a handful of tools (Maccy, Docker, VS Code, FFmpeg). Here are those settings, in the order I apply them.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Dock and Finder
&lt;/h2&gt;

&lt;p&gt;The default Dock sits at the bottom of the screen, large, and takes half a second to appear. On a laptop display, vertical space matters more than horizontal space.&lt;/p&gt;

&lt;p&gt;I move it to the left, small, with magnification on hover. Two ways to get there:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Through System Settings&lt;/strong&gt; (the shortest path): System Settings &amp;gt; Desktop &amp;amp; Dock. In the "Dock" section, the "Position on screen" menu moves the Dock to the left, the "Size" slider shrinks it, and the "Magnification" checkbox enables hover zoom with its own slider. "Automatically hide and show the Dock" sits just below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Through the Terminal&lt;/strong&gt; (to apply all of it at once, or reproduce it on another Mac):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;defaults write com.apple.dock orientation -string left
defaults write com.apple.dock tilesize -int 36
defaults write com.apple.dock magnification -bool &lt;span class="kc"&gt;true&lt;/span&gt;
defaults write com.apple.dock largesize -int 64
defaults write com.apple.dock autohide -bool &lt;span class="kc"&gt;true&lt;/span&gt;
killall Dock
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One setting has no equivalent in System Settings: the delay before a hidden Dock reappears. By default it is too long. Only the Terminal can shorten it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0.4&lt;span class="o"&gt;;&lt;/span&gt;
killall Dock
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;killall Dock&lt;/code&gt; restarts the Dock process so the changes apply immediately, without rebooting the Mac.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Keyboard and trackpad
&lt;/h2&gt;

&lt;p&gt;The Mac keyboard repeats keys too slowly by default. Deleting a whole line from the keyboard takes several seconds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Through System Settings&lt;/strong&gt;: System Settings &amp;gt; Keyboard. Push both sliders, "Key repeat rate" and "Delay until repeat", to their fastest position (all the way right).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Through the Terminal&lt;/strong&gt;, to go one notch past what the sliders allow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;defaults write NSGlobalDomain KeyRepeat -int 2
defaults write NSGlobalDomain InitialKeyRepeat -int 15
defaults write -g ApplePressAndHoldEnabled -bool &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The third line has no equivalent in System Settings: it disables the accent menu that opens when you hold a key down. Without it, key repeat does not work in text editors, whatever the two sliders say.&lt;/p&gt;

&lt;p&gt;I also turn off autocorrect. Useful on a phone, counterproductive on a physical keyboard: it rewrites what you type against a dictionary, not against your intent. System Settings &amp;gt; Keyboard &amp;gt; "Text Input" section, uncheck "Correct spelling automatically". Spell checking (the underline) stays on, only the rewriting goes away.&lt;/p&gt;

&lt;p&gt;For the trackpad: System Settings &amp;gt; Trackpad &amp;gt; "Point &amp;amp; Click" tab, "Tracking speed" slider raised a notch or two above the default.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Settings people forget
&lt;/h2&gt;

&lt;p&gt;Three settings that do not announce themselves on first boot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Computer name&lt;/strong&gt;: macOS generates something like "Dimitri's MacBook Pro", which then trails through network shares and SSH logs. Through System Settings: System Settings &amp;gt; General &amp;gt; Sharing, "Computer Name" field at the top of the panel (pencil icon to edit it). Through the Terminal, to also pin the exact network name and not just the display name:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  sudo scutil --set ComputerName &lt;span class="s2"&gt;"short-name"&lt;/span&gt;
  sudo scutil --set LocalHostName &lt;span class="s2"&gt;"short-name"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Display sleep&lt;/strong&gt;: one minute of inactivity is too short to read an article or watch a demo without touching the trackpad. System Settings &amp;gt; Lock Screen, "Turn display off when inactive" dropdown, set to ten minutes instead of one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mission Control&lt;/strong&gt;: by default, macOS reorders Spaces (virtual desktops) by recent use. The result is an app that moves to another desktop on its own and becomes impossible to find. System Settings &amp;gt; Desktop &amp;amp; Dock, at the very bottom of the page ("Mission Control" section), uncheck "Automatically rearrange Spaces based on most recent use".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pointer: System Settings &amp;gt; Accessibility &amp;gt; Display &amp;gt; "Pointer" tab, "Pointer size" slider up a notch. With an external display next to the laptop, a default-size pointer gets lost easily.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Terminal and dev tools
&lt;/h2&gt;

&lt;p&gt;Before installing anything else, Homebrew, the macOS package manager. Everything below starts from it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/bin/bash -c &lt;span class="s2"&gt;"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once Homebrew is in place, I add, in order:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Docker Desktop&lt;/strong&gt;: to run containers without installing them locally. Required to test a stack without polluting the system.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask docker
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Launch the app once after installing: it starts the Docker daemon in the background, and without it &lt;code&gt;docker run&lt;/code&gt; fails.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;VS Code&lt;/strong&gt;: default editor, with a minimum of extensions. I add one only when it replaces a command I type more than three times a week.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask visual-studio-code
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multipass&lt;/strong&gt;: Ubuntu's VM manager, to open an ARM virtual machine in one command when a test needs an isolated environment, without the overhead of a traditional VM.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask multipass
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Creating a first VM then takes one line: &lt;code&gt;multipass launch --name test&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;FFmpeg&lt;/strong&gt;: on the command line, to re-encode, cut or join video without going through an editing suite. No graphical interface, just the binary:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install ffmpeg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the terminal, I remap the Fn key and the Control key. On a Mac keyboard they sit swapped compared to a PC keyboard, while Control is in constant use on the command line (&lt;code&gt;Ctrl+C&lt;/code&gt;, &lt;code&gt;Ctrl+R&lt;/code&gt;, &lt;code&gt;Ctrl+A&lt;/code&gt;). That remap lives in System Settings &amp;gt; Keyboard &amp;gt; Keyboard Shortcuts &amp;gt; Modifier Keys.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The small tools that pay off daily
&lt;/h2&gt;

&lt;p&gt;Two tools, installed once, that pay every day:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Maccy&lt;/strong&gt;: a clipboard manager that keeps the history of what you copied, text or image. Once you get used to recalling an older copy from the keyboard, going back to a single-item clipboard becomes painful.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask maccy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On first launch, macOS asks you to grant Accessibility access (System Settings &amp;gt; Privacy &amp;amp; Security &amp;gt; Accessibility): without that permission, Maccy cannot intercept copies.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Caps Lock remapped to Escape&lt;/strong&gt;: that key never serves in development, while Escape is constant in a terminal or in Vim. Nothing to install, just a setting: System Settings &amp;gt; Keyboard &amp;gt; Keyboard Shortcuts &amp;gt; Modifier Keys &amp;gt; Caps Lock &amp;gt; Escape.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  6. What I add on demand
&lt;/h2&gt;

&lt;p&gt;Four tools that do not serve every day, but that I install as soon as a project calls for them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google Drive&lt;/strong&gt;: syncing large files (video, exports), from the official site rather than a cask (the app modifies the Finder deeply, the native installer works better): &lt;a href="https://www.google.com/drive/download/" rel="noopener noreferrer"&gt;drive.google.com&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VLC&lt;/strong&gt;: for the video formats QuickTime refuses (MKV in particular) and fine subtitle control.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask vlc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Notion&lt;/strong&gt;: documentation and project tracking, for lack of a tool built specifically for it.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask notion
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Discord&lt;/strong&gt;: team communication. On Apple Silicon, screen sharing with audio requires enabling a system extension on first launch (several restarts, a macOS warning to accept).
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  brew install --cask discord
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Fifteen minutes of settings, a handful of &lt;code&gt;brew install&lt;/code&gt; commands, and the Mac finally matches a developer's use rather than the default configuration built for everyone else.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>macos</category>
      <category>tools</category>
      <category>setup</category>
    </item>
    <item>
      <title>How I secure a server, from first SSH access to the NSA guide</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Tue, 17 Nov 2026 23:30:08 +0000</pubDate>
      <link>https://dev.to/dimsbuild/how-i-secure-a-server-from-first-ssh-access-to-the-nsa-guide-4dmn</link>
      <guid>https://dev.to/dimsbuild/how-i-secure-a-server-from-first-ssh-access-to-the-nsa-guide-4dmn</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;A new server exposed to the internet gets scanned within minutes by bots hunting for a weak password on port 22. The baseline: an SSH key instead of a password, a non-root user with limited rights, a firewall that closes everything but the strict minimum, fail2ban against the noise, and backups you actually restore to confirm they work. The NSA hardening guide, documented since 2011, formalizes the same principles: encrypt, shrink the attack surface, grant the fewest privileges.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. An SSH key, never a password
&lt;/h2&gt;

&lt;p&gt;When the server is created, I generate a key pair if I do not already have one available:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh-keygen -t ed25519
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The public key (&lt;code&gt;.pub&lt;/code&gt;) goes to the server, two ways depending on timing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;At VPS creation&lt;/strong&gt;: most hosts (Hostinger, DigitalOcean, Scaleway and others) show an "SSH key" field during instance setup, before first boot. Paste the contents of &lt;code&gt;~/.ssh/id_ed25519.pub&lt;/code&gt; (read it with &lt;code&gt;cat ~/.ssh/id_ed25519.pub&lt;/code&gt;) into that field: the key is in place at first access, without ever typing a password.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On a server already created&lt;/strong&gt;: &lt;code&gt;ssh-copy-id thomas@server-ip&lt;/code&gt;, or manually if that is unavailable:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  mkdir -p ~/.ssh &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; chmod 700 ~/.ssh
  &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"contents-of-the-public-key"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; ~/.ssh/authorized_keys
  chmod 600 ~/.ssh/authorized_keys
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The private key never leaves my machine. A key replaces a password: nothing to remember, nothing to brute-force, and a compromise gets revoked by deleting one line from &lt;code&gt;authorized_keys&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. A non-root user, with counted rights
&lt;/h2&gt;

&lt;p&gt;Logging in as root hands total access to whoever guesses the password or steals the key. I create a named user, never "admin" or "user" (those generic names do half an attacker's work, leaving only the secret to find):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;adduser thomas
usermod -aG sudo thomas
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default the sudo group can do anything, without a password, from anywhere. &lt;code&gt;visudo&lt;/code&gt; opens the configuration file (&lt;code&gt;/etc/sudoers&lt;/code&gt;) in an editor that checks syntax before saving, so you do not lock yourself out with a broken file. A line like this restricts the user to a few precise commands rather than full access:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="na"&gt;thomas ALL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;ALL&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="no"&gt;NOPASSWD&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;systemctl&lt;/span&gt; &lt;span class="n"&gt;restart&lt;/span&gt; &lt;span class="n"&gt;nginx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;docker&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is least privilege applied to an account, not only to a service.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Updates, daily if possible
&lt;/h2&gt;

&lt;p&gt;A VPS image is built at a point in time. Between that moment and the server's first boot, security patches ship. First reflex after connecting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;apt-get update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; apt-get upgrade -y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The NSA guide recommends doing this daily, not weekly: a known, published flaw stays exploitable until the patch lands. A week of waiting is a week of exposure to a publicly documented vulnerability.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Harden the SSH configuration
&lt;/h2&gt;

&lt;p&gt;In &lt;code&gt;/etc/ssh/sshd_config&lt;/code&gt;, three lines to change before anything else:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="nc"&gt;PermitRootLogin&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt;
&lt;span class="nc"&gt;PasswordAuthentication&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt;
&lt;span class="nc"&gt;UsePAM&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first closes direct root access. The second forces key use: without it, &lt;code&gt;PermitRootLogin no&lt;/code&gt; can be bypassed if PAM stays active. The third disables the authentication module that, in some configurations, falls back to a password anyway. Restart the service after editing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl restart sshd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Fail2ban against noise, not against experts
&lt;/h2&gt;

&lt;p&gt;With key authentication, a brute-force attack has close to no chance of landing. That is not the problem: an exposed server gets hammered with connection attempts continuously, and that traffic inflates the logs until they become useless.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;apt-get install fail2ban
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;jail.conf&lt;/code&gt; gets overwritten on every package update: configuration goes in a dedicated copy, never in the original.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In &lt;code&gt;jail.local&lt;/code&gt;, under the &lt;code&gt;[sshd]&lt;/code&gt; section, I set a loose threshold (&lt;code&gt;maxretry = 15&lt;/code&gt;, &lt;code&gt;findtime = 10m&lt;/code&gt;) rather than an aggressive one: too low a threshold eventually bans the office IP the day several keys get tried in a row. Then:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl restart fail2ban
fail2ban-client status sshd
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last command confirms the &lt;code&gt;sshd&lt;/code&gt; jail is active and shows currently banned IPs. Fail2ban limits the spam, it does not replace good authentication.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Firewall: two layers, not one
&lt;/h2&gt;

&lt;p&gt;First reflex, &lt;code&gt;iptables&lt;/code&gt;, allowing only what must pass:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -j DROP
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These rules vanish at the next reboot unless they are saved. On Debian and Ubuntu:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;apt-get install iptables-persistent
netfilter-persistent save
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Second layer: the firewall the host provides, configured from its web interface rather than the command line. On Hostinger it lives in hPanel &amp;gt; VPS &amp;gt; Firewall; on DigitalOcean, Networking &amp;gt; Firewalls; on Scaleway, Network &amp;gt; Security Groups. The principle is the same everywhere: a list of inbound and outbound rules by port and source IP, applied before traffic even reaches the server. This firewall does not replace iptables, it adds to it, with one concrete advantage: a configuration mistake in iptables can cut off access to the server from the server itself. The provider firewall stays controllable from outside, so it remains recoverable even after a bad local move.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Private network and bastion, for everything that does not need the internet
&lt;/h2&gt;

&lt;p&gt;A database has no reason to hold a public IP: only application servers should reach it. Most hosts offer a private network (typically the 10.0.0.0/8 range), created and attached to the relevant machines from their interface ("Private Network" section of the VPS panel, separate from the public network created by default). A machine can belong to both networks at once, or to the private network alone if nothing needs to reach it from the internet.&lt;/p&gt;

&lt;p&gt;The classic setup: a bastion server, the single public entry point, running nothing but hardened SSH, connected to the private network where the databases and internal services live. From the bastion, a plain SSH connection (&lt;code&gt;ssh user@private-ip&lt;/code&gt;) reaches internal machines without ever exposing them publicly. Everything goes through the bastion. Security effort concentrates on one machine, not ten.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Backups: restore them, do not just schedule them
&lt;/h2&gt;

&lt;p&gt;A backup scheduled and never tested is false security. The failure comes, the restore fails, and you find out at the worst moment. Two ways to schedule backups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;From the host's panel&lt;/strong&gt;: most offer a "Backups" tab with a configurable frequency (daily, weekly) and retention, without installing anything on the server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;By scripting it yourself&lt;/strong&gt;, for finer control (database only, shipping to external storage): a &lt;code&gt;cron&lt;/code&gt; calling a dump script (&lt;code&gt;pg_dump&lt;/code&gt;, &lt;code&gt;mysqldump&lt;/code&gt; and the like) followed by an upload to S3-compatible storage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Either way, at regular intervals, restore a backup at random on a test machine and check the expected data is there, in full. A backup you have never restored is only a hypothesis.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. What the NSA guide adds
&lt;/h2&gt;

&lt;p&gt;The NSA's "Hardening Network Infrastructure" guide (documented since 2011, revised through 2016) formalizes three principles that overlap this checklist and push a little further:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shrink the attack surface&lt;/strong&gt;: disable every unused service, not just secure it. An X11 server, a network printer or an NTP service running for no reason protects nothing: each active service is a potential hole, even one never exploited.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SELinux or an equivalent module&lt;/strong&gt;: a kernel module that checks, for every action a program takes (reading a file, opening a port), whether it has the right according to a central rule base. Rarely used in production because it is seen as hard to configure, but it is a control layer a firewall alone does not provide.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Physical security&lt;/strong&gt;: BIOS password, USB ports disabled on a datacenter server. If nobody is supposed to plug in a USB stick, make the port inert.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these replace the first eight. They close angles a checklist aimed at SSH and networking does not cover.&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>vps</category>
      <category>ssh</category>
    </item>
    <item>
      <title>Running a 2.8-trillion-parameter model without a graphics card is possible</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Mon, 16 Nov 2026 23:25:07 +0000</pubDate>
      <link>https://dev.to/dimsbuild/running-a-28-trillion-parameter-model-without-a-graphics-card-is-possible-2oo4</link>
      <guid>https://dev.to/dimsbuild/running-a-28-trillion-parameter-model-without-a-graphics-card-is-possible-2oo4</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;A developer just ran Kimi K3, a 2.8-trillion-parameter model, on an ordinary CPU with 8 GB of RAM. The project is called kimi-k3-in-c: 176 KB of code, no GPU, no framework. The principle: the model never sits in memory as a whole, it lives on disk and only loads the fraction it needs for each word it generates. You can reproduce the experiment at home, provided you have 1.7 TB of NVMe SSD and accept 10 to 32 seconds per generated word.&lt;/p&gt;




&lt;h2&gt;
  
  
  The wall everyone hits
&lt;/h2&gt;

&lt;p&gt;The strongest AI models weigh hundreds of billions, sometimes trillions of parameters. Kimi K3, released by the Chinese lab Moonshot AI in late July 2026, holds 2.8 trillion. Getting answers comparable to GPT or Claude used to require a cluster of professional GPUs, out of reach for an individual or a small outfit.&lt;/p&gt;

&lt;p&gt;The reason is mechanical: a model that size far exceeds the RAM of a consumer machine. The labs that train and serve it run on machines with several hundred gigabytes of VRAM, spread across multiple cards.&lt;/p&gt;

&lt;h2&gt;
  
  
  What one developer just demonstrated
&lt;/h2&gt;

&lt;p&gt;Fareed Khan published &lt;a href="https://github.com/FareedKhan-dev/kimi-k3-in-c" rel="noopener noreferrer"&gt;kimi-k3-in-c&lt;/a&gt;, an inference engine for Kimi K3 written in pure C99. No PyTorch, no CUDA, no external math library. The repository holds up to inspection: Apache 2.0 license, active continuous integration, and a test suite that compares every computation against a PyTorch reference.&lt;/p&gt;

&lt;p&gt;On the most modest machine tested, with 8 GB of RAM, the engine generates coherent text:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ ./bin/k3 ~/k3model --preset laptop --prompt &lt;span class="s2"&gt;"The capital of France is"&lt;/span&gt; --gen 8
--- generated text ---
 Paris.&lt;span class="s2"&gt;", "&lt;/span&gt;The Eiffel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model answers correctly. It runs on a CPU. It fits in a laptop's RAM.&lt;/p&gt;

&lt;h2&gt;
  
  
  The principle, in one sentence
&lt;/h2&gt;

&lt;p&gt;The model file weighs 1.56 TB on disk: no consumer RAM can hold it whole. kimi-k3-in-c works around the problem by keeping in memory only what it needs right now, and fetching the rest from disk at the precise moment it needs it.&lt;/p&gt;

&lt;p&gt;Kimi K3 is a Mixture-of-Experts model: out of 896 internal experts, only 16 fire to produce a given word. kimi-k3-in-c exploits that property. It keeps a small part of the model resident in memory, and loads only the 16 required experts from disk for each word, rather than all 896 at once.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it changes in practice
&lt;/h2&gt;

&lt;p&gt;You can reproduce this on hardware you may already own: an AVX2-capable CPU, 8 GB of RAM, and above all 1.7 TB of NVMe SSD, the real prerequisite behind this project. Downloading the model alone takes several hours.&lt;/p&gt;

&lt;p&gt;This project does not prove that a CPU replaces a GPU. It proves that a model designed for hundreds of gigabytes of VRAM can, with the right software architecture, run correctly on resources a thousand times smaller. The barrier is no longer only a matter of budget: part of it has become a matter of engineering.&lt;/p&gt;

&lt;p&gt;One question remains, and we will dig into it separately: how fast. The answer tempers the enthusiasm of the headline considerably. &lt;a href="https://dimitriaigle.fr/articles/comment-fonctionne-kimi-k3-in-c-en" rel="noopener noreferrer"&gt;How kimi-k3-in-c runs 2.8 trillion parameters on 8 GB of RAM&lt;/a&gt; explains the mechanism in detail, and &lt;a href="https://dimitriaigle.fr/articles/rien-ne-remplacera-les-gpu-en" rel="noopener noreferrer"&gt;Why a GPU is still essential&lt;/a&gt; explains why this is not usable day to day yet.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>hardware</category>
      <category>inference</category>
    </item>
    <item>
      <title>Why a GPU is still essential, even when a CPU runs 2.8 trillion parameters</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Sun, 15 Nov 2026 23:20:07 +0000</pubDate>
      <link>https://dev.to/dimsbuild/why-a-gpu-is-still-essential-even-when-a-cpu-runs-28-trillion-parameters-4ek</link>
      <guid>https://dev.to/dimsbuild/why-a-gpu-is-still-essential-even-when-a-cpu-runs-28-trillion-parameters-4ek</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;kimi-k3-in-c runs a 2.8-trillion-parameter model on a CPU with 8 GB of RAM. The price: 10 to 32 seconds to produce a single word. That is not a flaw a future release will fix, it is the direct consequence of reading a model from a disk rather than from memory built for the job. A GPU remains, and will remain, the only way to run this computation at a usable speed. The democratization this project demonstrates has a hard limit, and that limit is hardware.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the feat proves
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dimitriaigle.fr/articles/comment-fonctionne-kimi-k3-in-c-en" rel="noopener noreferrer"&gt;kimi-k3-in-c&lt;/a&gt; loads a 1.56 TB model on an 8 GB machine by keeping in memory only what serves the current instant: a compact dense trunk, and the 16 experts out of 896 the router just selected. The rest waits on disk. It is a solid proof of feasibility, tested and documented. It is not proof that the GPU has become optional.&lt;/p&gt;

&lt;h2&gt;
  
  
  The number that breaks the dream
&lt;/h2&gt;

&lt;p&gt;32.7 seconds per word with 8 GB of RAM. 10.7 seconds per word with 128 GB. Writing a 100-word answer takes between 18 minutes and an hour of computation. A GPU produces the same answer in seconds.&lt;/p&gt;

&lt;p&gt;No setting closes that gap. Multiplying the allocated RAM by sixteen, from 8 to 128 GB, buys a factor of three on speed. Returns fall off fast, because RAM does not attack the real cause of the slowdown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this is structural, not an optimization gap
&lt;/h2&gt;

&lt;p&gt;Generation time is dominated by disk reads, not by computation. An NVMe SSD reads at around 7 gigabytes per second. A high-end graphics card reads its own memory, VRAM, at more than 3,000 gigabytes per second, a factor of 400.&lt;/p&gt;

&lt;p&gt;A GPU does not merely speed up multiplications, it runs them in parallel across thousands of cores, with the data already within reach in memory designed for that. A CPU streaming its weights from a disk, however well written the code, stays bound by the speed of that disk. Smarter code does not solve this, it is a hardware difference that code can only work around as best it can.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a GPU does that this hack cannot
&lt;/h2&gt;

&lt;p&gt;A GPU keeps the whole model, or the bulk of its active weights, in memory as fast as its compute units. It handles several requests in parallel without losing per-request latency. It powers a chatbot, a production API, an agent chaining dozens of calls per task: uses where the answer must arrive in seconds, not tens of minutes.&lt;/p&gt;

&lt;p&gt;kimi-k3-in-c targets none of these uses, and the repository makes no such claim. The name of its slowest preset, &lt;code&gt;laptop&lt;/code&gt;, describes a demonstration, not a workstation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this approach belongs
&lt;/h2&gt;

&lt;p&gt;Streaming a model from disk earns its keep when latency is not the problem to solve: checking that an open-source model answers correctly without renting a cluster, auditing a checkpoint in an isolated environment with no network, or simply understanding an inference engine's architecture by reading it rather than importing it as a black box. Those uses exist, and kimi-k3-in-c serves them well.&lt;/p&gt;

&lt;h2&gt;
  
  
  A hardware limit, not a software one
&lt;/h2&gt;

&lt;p&gt;The fastest disk will always be slower than a GPU's memory, because it is not built for the same task. No software layer, however clever, closes a 400-fold bandwidth gap. kimi-k3-in-c democratizes access to a model's weights, to reading them, to understanding them. It does not democratize its speed, and nothing in its architecture claims otherwise. Producing an answer in seconds will still take a GPU.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>hardware</category>
      <category>gpu</category>
      <category>inference</category>
    </item>
    <item>
      <title>OLaNouKay: what a local guide to the French Caribbean demands from the code</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Sat, 14 Nov 2026 23:20:07 +0000</pubDate>
      <link>https://dev.to/dimsbuild/olanoukay-what-a-local-guide-to-the-french-caribbean-demands-from-the-code-1eoe</link>
      <guid>https://dev.to/dimsbuild/olanoukay-what-a-local-guide-to-the-french-caribbean-demands-from-the-code-1eoe</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://olanoukay.fr" rel="noopener noreferrer"&gt;OLaNouKay&lt;/a&gt; answers three questions in Guadeloupe and Martinique: where to eat a bokit, which beach, which river. The site brings together place pages, a map, rankings by commune and a merchant dashboard.&lt;/p&gt;

&lt;p&gt;Ordering and payment are not open. This piece describes what the product demanded from the code.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the product does
&lt;/h2&gt;

&lt;p&gt;The product splits into two surfaces: a web app to discover places and a dashboard for merchants. On the discovery side:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Place pages&lt;/strong&gt;: photos, description, opening hours and the daily menu when the merchant publishes one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rankings&lt;/strong&gt;: lists by commune and category, such as &lt;code&gt;/gp/baie-mahault/bokit&lt;/code&gt;, sorted by view count and then by name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The map&lt;/strong&gt;: pins colored by category, with filters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lokal Now&lt;/strong&gt;: the &lt;code&gt;/lokal-now&lt;/code&gt; page lists places open at this moment, from the closest to closing time to the furthest.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The dashboard covers the daily menu, stock, promotions, events and statistics.&lt;/p&gt;

&lt;p&gt;In June 2026, I removed the map from the navigation bar. The Bokit tab replaced it: the product launches on this one dish, and the map stays reachable from the home page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Place data that must not be invented
&lt;/h2&gt;

&lt;p&gt;A local guide is worth what its place pages are worth, and mine go through separate tools depending on which data is missing.&lt;/p&gt;

&lt;p&gt;The import script takes a list of names and communes, then queries Google Places for coordinates, address, opening hours, phone number and photos. It works in two stages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;plan&lt;/code&gt; reads without write access and sorts each line: to import, already present, not found, closed, outside the archipelago or outside the catalog.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;apply&lt;/code&gt; creates the places from the reviewed plan and skips those that exist. Rerunning the script after an interruption creates no duplicates.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Classification does not rely on Google's types alone, because they know neither the bokit nor the food truck. The label in my list wins when it is more precise. No description is copied: imported places arrive with empty text.&lt;/p&gt;

&lt;p&gt;Mapbox geocoding needs a different guard. Without a bounding area, a street called "La Savane" could resolve near Bayonne, in mainland France. Each request therefore carries the territory's bounding box, and the script fills in missing coordinates only.&lt;/p&gt;

&lt;p&gt;The worst defect came from the display. A place without hours showed "11h · 22h", and a place without declared amenities advertised a terrace, delivery, card payment and wifi. Beaches and rivers included. Missing hours now read "Non renseignés" (not provided) in French, and the amenities block disappears.&lt;/p&gt;

&lt;h2&gt;
  
  
  A map that loads only in the browser
&lt;/h2&gt;

&lt;p&gt;The map relies on &lt;code&gt;mapbox-gl&lt;/code&gt;, a library that needs the browser. The component therefore loads without server rendering, and its code imports &lt;code&gt;mapbox-gl&lt;/code&gt; at initialization. Place pages, on the other hand, render on the server and appear in the sitemap.&lt;/p&gt;

&lt;p&gt;The pins are hand-built HTML elements. One bug forced a structural rule: Mapbox writes its own transform on the outer element to position the pin. A hover zoom set in the same place overwrote it and sent pins to the top left of the map. The zoom now lives on an inner element.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local time behind "open now"
&lt;/h2&gt;

&lt;p&gt;Every opening calculation goes through a fixed four-hour offset, because Guadeloupe stays at UTC-4 all year. The calculation subtracts that offset from the current instant, then reads the time in UTC:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;epochMs&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="no"&gt;GUADELOUPE_UTC_OFFSET_MS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getUTCHours&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getUTCMinutes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first version of the scheduled function &lt;code&gt;updateIsOpen&lt;/code&gt; read &lt;code&gt;getHours()&lt;/code&gt;. The server runs on UTC, and the schedule's &lt;code&gt;timeZone&lt;/code&gt; setting only controls the trigger. A place open from 11:00 to 22:00 would have been open from 07:00 to 18:00 on site. No place had hours yet: I fixed the defect in October 2026 before it had any effect.&lt;/p&gt;

&lt;p&gt;The second trap comes from night services. An entry of &lt;code&gt;18:00 → 02:00&lt;/code&gt; opens one day and closes the next, so &lt;code&gt;openStateAt&lt;/code&gt; checks two things: today's service and the tail of yesterday's. Before this change, the scheduled function marked a &lt;code&gt;18:00 → 00:00&lt;/code&gt; service as permanently closed. Eleven test cases cover this calculation.&lt;/p&gt;

&lt;p&gt;Two other choices follow from this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Two reads&lt;/strong&gt;: &lt;code&gt;updateIsOpen&lt;/code&gt; writes the &lt;code&gt;isOpen&lt;/code&gt; field every 15 minutes, while &lt;code&gt;/lokal-now&lt;/code&gt; recalculates the state on each request, with no static cache.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An accepted copy&lt;/strong&gt;: Cloud Functions cannot resolve the shared package at runtime. The calculation exists there twice, with a comment requiring both versions to stay aligned.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The function walks through every active place with no territory filter: the same offset applies to places in Martinique.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two interface languages and one canonical per version
&lt;/h2&gt;

&lt;p&gt;The interface exists in French and English with &lt;code&gt;next-intl&lt;/code&gt;, with no Spanish version. French stays at the root and English lives under &lt;code&gt;/en&lt;/code&gt;, which kept the existing French addresses.&lt;/p&gt;

&lt;p&gt;This structure produced an SEO bug. Pages hard-coded their canonical to the French path: the English version declared itself a copy of the other one, with no language tag. The observed result: &lt;code&gt;/en/gp/bokit&lt;/code&gt; came up on French searches. The &lt;code&gt;alternatesFor&lt;/code&gt; function now gives each version its own canonical and announces the other through &lt;code&gt;hreflang&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is not open
&lt;/h2&gt;

&lt;p&gt;The repository holds more code than the site puts into service, and the gap deserves to be written down:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ordering and payment&lt;/strong&gt;: the Stripe functions and the payment screen exist, but card payment has never been tested end to end. Nothing is presented as delivered until that test passes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Votes&lt;/strong&gt;: the campaign code exists, the campaigns have not launched. A script can still vote in a loop with made-up addresses, and that has to be stopped first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Martinique&lt;/strong&gt;: the reference data covers its 34 communes and the starting catalog holds 11 bokits, but pages by commune exist only under &lt;code&gt;/gp&lt;/code&gt;, and the Google import filters on Guadeloupe's bounding area.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As of November 1, 2026, the repository is at version 0.3.8.&lt;/p&gt;

</description>
      <category>saas</category>
      <category>nextjs</category>
      <category>mapbox</category>
      <category>firebase</category>
    </item>
    <item>
      <title>Three destinations for 44 projects: how I organize my code, files and notes</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Fri, 13 Nov 2026 23:15:07 +0000</pubDate>
      <link>https://dev.to/dimsbuild/three-destinations-for-44-projects-how-i-organize-my-code-files-and-notes-2d1l</link>
      <guid>https://dev.to/dimsbuild/three-destinations-for-44-projects-how-i-organize-my-code-files-and-notes-2d1l</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;My inventory counted 44 real projects against 11 declared. Today I sort everything into three destinations: GitHub for code, OneDrive for binaries, Obsidian for knowledge. On top of that sit a sorting airlock, a version kept in three places, one &lt;code&gt;pilotage/&lt;/code&gt; folder per project and written limits for my coding agent.&lt;/p&gt;




&lt;h2&gt;
  
  
  The finding: 44 projects, 11 declared
&lt;/h2&gt;

&lt;p&gt;My underlying problem fits in one sentence: I create more projects than I close. The inventory produced these numbers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;44&lt;/strong&gt; real projects&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;11&lt;/strong&gt; declared projects&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;16&lt;/strong&gt; dormant projects&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;22&lt;/strong&gt; projects with no backup&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reality was four times what I had declared, and half of the projects had no backup. The rules below live in Claude Code's global instructions file. They apply whichever folder I launch the agent from.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three destinations, one type of content for each
&lt;/h2&gt;

&lt;p&gt;Every file has a single place, set by its nature:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub&lt;/strong&gt;: source code, text documentation, sanitized configurations, cleaned n8n workflows. Versioning makes it the backup of my code, restorable anywhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OneDrive&lt;/strong&gt;: binaries, media, client deliverables, archives of closed projects, PDFs, exports. Everything git handles badly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Obsidian&lt;/strong&gt;: notes, decisions, method, technical sheets, client context. Knowledge, not files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;OneDrive holds about 300 GB in files-on-demand mode, and that mode is deliberate. I treat it as a destination, not as something to sort: I don't scan it and I don't pull it back in bulk. I also check that a file isn't already there before copying it, because I already have duplicates.&lt;/p&gt;

&lt;h2&gt;
  
  
  What never crosses the line
&lt;/h2&gt;

&lt;p&gt;Four prohibitions protect this split:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live code stays off OneDrive&lt;/strong&gt;: sync corrupts a &lt;code&gt;.git&lt;/code&gt; during editing, and GitHub already covers that need.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No secrets in git&lt;/strong&gt;: no environment files, keys, certificates or databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No heavy media in git&lt;/strong&gt;: it goes to OneDrive and &lt;code&gt;.gitignore&lt;/code&gt; keeps it out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Obsidian vault stays out of OneDrive&lt;/strong&gt;: double sync creates conflicts, and Obsidian mobile can't open a vault inside the OneDrive app. It belongs to Obsidian Sync.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I also back up branch by branch, never in one block. Turning on OneDrive sync for my entire workspace would pull the code and the vault in with a single setting, so that option stays forbidden.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three repository segments and an airlock
&lt;/h2&gt;

&lt;p&gt;My development folder splits into three segments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Professional work&lt;/strong&gt;: clients, SaaS, showcase site, internal tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Games&lt;/strong&gt;: a separate activity, with its own segment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Personal&lt;/strong&gt;: side projects and dormant projects.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On GitHub, each repository name starts with its segment's prefix. A topic gives its status: &lt;code&gt;actif&lt;/code&gt; (active), &lt;code&gt;dormant&lt;/code&gt; or &lt;code&gt;archive&lt;/code&gt;. All client repositories are private, without exception.&lt;/p&gt;

&lt;p&gt;Nothing enters the development folder or the vault directly. An incoming item, whether from OneDrive, a clone or a transfer, first goes through an airlock folder, where I sort it before filing it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What git and archives ignore
&lt;/h2&gt;

&lt;p&gt;A regenerable folder has no place in a repository or an archive. Here is my full exclusion list:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;node_modules  .next  .nuxt  dist  build  out  .output
target  vendor  .venv  venv  __pycache__  .dart_tool
.gradle  Pods  DerivedData  .terraform  coverage
.cache  .turbo  bin  obj
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  A version kept in three places
&lt;/h2&gt;

&lt;p&gt;A versioned project carries its number in three places that must always agree:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The manifest: &lt;code&gt;package.json&lt;/code&gt;, &lt;code&gt;pubspec.yaml&lt;/code&gt;, &lt;code&gt;pyproject.toml&lt;/code&gt; or &lt;code&gt;composer.json&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The top entry of the CHANGELOG.&lt;/li&gt;
&lt;li&gt;The git tag, prefixed with &lt;code&gt;v&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A Claude Code skill updates all three at once. Semver is strict, and conventional commits set the version level.&lt;/p&gt;

&lt;p&gt;I made this bump proactive on August 20, 2026, because forgetting it had become the norm. As soon as a committed batch contains at least one &lt;code&gt;feat&lt;/code&gt; or &lt;code&gt;fix&lt;/code&gt;, the agent bumps without waiting for me to ask. It then stops and displays the push command. A dependency upgrade, through Renovate or &lt;code&gt;npm update&lt;/code&gt;, triggers no project version.&lt;/p&gt;

&lt;h2&gt;
  
  
  One pilotage folder per project
&lt;/h2&gt;

&lt;p&gt;Every dev project must keep a &lt;code&gt;pilotage/&lt;/code&gt; folder (French for "steering") with eight documents: roadmap, todo, done, work-log, pending-decision, decisions, bugs and quality-checklist. The &lt;code&gt;docs/CONTEXT.md&lt;/code&gt; file remains the short entry point and links to this folder.&lt;/p&gt;

&lt;p&gt;Before acting, the agent reads this state, then checks &lt;code&gt;git status&lt;/code&gt; and &lt;code&gt;git log&lt;/code&gt;. If the folder is missing, it offers to set it up. A new project gets one from the start.&lt;/p&gt;

&lt;p&gt;Three rules keep this tracking reliable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nothing goes into &lt;code&gt;done.md&lt;/code&gt; without proof.&lt;/li&gt;
&lt;li&gt;The agent settles no business decision for me.&lt;/li&gt;
&lt;li&gt;Identifiers such as &lt;code&gt;TASK-&lt;/code&gt;, &lt;code&gt;BUG-&lt;/code&gt; or &lt;code&gt;DEC-&lt;/code&gt; are never used twice.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This tracking gets committed with the batch of work, and it doesn't reach GitHub without my approval.&lt;/p&gt;

&lt;h2&gt;
  
  
  The limits I give my agent
&lt;/h2&gt;

&lt;p&gt;On my projects and files, the agent works read-only by default. The bump and the pilotage folder are two deliberate write exceptions. The other limits are explicit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dry-run before any move&lt;/strong&gt;: it shows the plan and waits for my approval.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never a deletion&lt;/strong&gt;: it moves things to a reversible archive area.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never a &lt;code&gt;git push&lt;/code&gt;&lt;/strong&gt; without my approval.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never a git history rewrite&lt;/strong&gt; without an explicit request.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No move&lt;/strong&gt; of a project that has uncommitted changes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Target inspection&lt;/strong&gt; before overwriting or deleting it: if it contradicts its description, the agent flags it instead of acting.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For the other side of my workstation, I wrote separately about &lt;a href="https://dimitriaigle.fr/articles/configurer-mac-dev-en" rel="noopener noreferrer"&gt;how I set up my Mac&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The number stays the reference
&lt;/h2&gt;

&lt;p&gt;My rules sort projects, they don't close them, and this article announces no drop in these numbers. I keep this finding as a finding, not as a condition for creating anything: a 45th project remains possible. It will get a prefix, a status topic and its &lt;code&gt;pilotage/&lt;/code&gt; folder.&lt;/p&gt;

</description>
      <category>organization</category>
      <category>git</category>
      <category>workflow</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>How lagiga.info reads GigaBracket's results live</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Thu, 12 Nov 2026 23:10:08 +0000</pubDate>
      <link>https://dev.to/dimsbuild/how-lagigainfo-reads-gigabrackets-results-live-74k</link>
      <guid>https://dev.to/dimsbuild/how-lagigainfo-reads-gigabrackets-results-live-74k</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;lagiga.info, the GIGA'GAMES website, stores no tournament standings in its CMS. It reads them from a public GigaBracket route, embeds the bracket in an iframe and falls back to a static podium when the route doesn't answer. This article follows what moves from one product to the other, and in which direction.&lt;/p&gt;




&lt;h2&gt;
  
  
  Two repositories, three data sources
&lt;/h2&gt;

&lt;p&gt;GIGA'GAMES Federation Guadeloupe eSports runs two applications. GigaBracket, launched in June 2026, manages tournaments: &lt;a href="https://dimitriaigle.fr/articles/gigabracket-en" rel="noopener noreferrer"&gt;the article on GigaBracket&lt;/a&gt; covers its formats and stack. lagiga.info is the public site: calendar, disciplines, news, directories and results.&lt;/p&gt;

&lt;p&gt;The site splits its content across three sources, depending on who produces it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Payload CMS&lt;/strong&gt;: what the association writes, in a dedicated Postgres database, edited from &lt;code&gt;/admin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PocketBase&lt;/strong&gt;: what users create, such as accounts, player profiles and teams. GigaBracket owns the instance and the schema.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The code&lt;/strong&gt;: fixed pages and fallback content, in &lt;code&gt;src/lib/data.ts&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Payload and PocketBase never intersect. Without either of them, the site still starts and serves its static content.&lt;/p&gt;

&lt;h2&gt;
  
  
  The contract: a public read-only route
&lt;/h2&gt;

&lt;p&gt;Standings depend on the tournament format, and only GigaBracket knows how to compute them. In elimination formats, they follow elimination depth rather than win count. lagiga recomputes nothing: it receives the result.&lt;/p&gt;

&lt;p&gt;For this, GigaBracket exposes a route with no authentication, like its spectator views:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GET /api/public/results/:shareId
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;shareId&lt;/code&gt; is the 12-character public identifier that &lt;code&gt;/spectate&lt;/code&gt; links already use. The route answers with JSON whose key order stays stable, shortened here to a few fields:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"shareId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"dEYzqldL00VY"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"gameName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"street-fighter-6"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"format"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"double-elimination"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"completed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"playerCount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"standings"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"rank"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"playerName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"100scrupuls"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"played"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"wins"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"points"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An unknown &lt;code&gt;shareId&lt;/code&gt; returns a 404 with &lt;code&gt;not_found&lt;/code&gt;. A PocketBase outage returns a 503, an unexpected error a 500.&lt;/p&gt;

&lt;h2&gt;
  
  
  A single field makes the join
&lt;/h2&gt;

&lt;p&gt;The full contract has 11 fields, and the results page displays only one: &lt;code&gt;standings&lt;/code&gt;. The title, venue, date and player count come from Payload or the static fallback. The written report and the gallery exist only in Payload.&lt;/p&gt;

&lt;p&gt;The join is the &lt;code&gt;shareId&lt;/code&gt; field of the &lt;code&gt;tournament-results&lt;/code&gt; Payload collection. A signed-in member fills it in from the admin. It feeds both the standings and the embedded bracket; when it is empty, neither appears.&lt;/p&gt;

&lt;h2&gt;
  
  
  Live: two speeds on the same page
&lt;/h2&gt;

&lt;p&gt;The word "live" covers two different mechanisms on a results page:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The standings&lt;/strong&gt;: GigaBracket's route caches nothing, but lagiga keeps its response for 300 seconds (&lt;code&gt;revalidate: 300&lt;/code&gt;). The standings table can therefore lag by about five minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The embedded bracket&lt;/strong&gt;: the iframe loads &lt;code&gt;/embed/:shareId&lt;/code&gt;. This view subscribes to matches through PocketBase realtime and refreshes on every change.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;During a running tournament, the bracket can therefore be one score ahead of the standings displayed just above it.&lt;/p&gt;

&lt;p&gt;GigaBracket restricts where the embedding can happen. &lt;code&gt;/embed/&lt;/code&gt; routes declare lagiga's domains in &lt;code&gt;frame-ancestors&lt;/code&gt;. Every other page answers &lt;code&gt;frame-ancestors 'none'&lt;/code&gt; and &lt;code&gt;X-Frame-Options: DENY&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  When GigaBracket doesn't answer
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;fetchLiveResults&lt;/code&gt; never throws. It returns &lt;code&gt;null&lt;/code&gt; if the &lt;code&gt;shareId&lt;/code&gt; is empty, the response fails, the JSON is invalid or the network drops. The page then picks one of three displays:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The live standings: rank, player, matches, wins and points.&lt;/li&gt;
&lt;li&gt;The static podium from &lt;code&gt;data.ts&lt;/code&gt;: rank and player only, with a discreet note.&lt;/li&gt;
&lt;li&gt;The "standings coming soon" message, if neither exists.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Payload follows the same principle. If its database is missing or a migration hasn't run, the read fails cleanly and the site switches to the static fallback.&lt;/p&gt;

&lt;h2&gt;
  
  
  What also moves through PocketBase
&lt;/h2&gt;

&lt;p&gt;The results route isn't the only link. Both applications share the same PocketBase instance, and I recorded the rule in a project decision: the schema lives in GigaBracket, to avoid two sources of truth.&lt;/p&gt;

&lt;p&gt;Data moves in both directions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;From GigaBracket to lagiga&lt;/strong&gt;: the game catalog (&lt;code&gt;games&lt;/code&gt;) and player statistics (&lt;code&gt;player_stats&lt;/code&gt;), recomputed by GigaBracket and read by lagiga.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;From lagiga to GigaBracket&lt;/strong&gt;: profiles (&lt;code&gt;player_profiles&lt;/code&gt;). Only lagiga creates and edits them; GigaBracket selects existing profiles for its teams and brackets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Awards votes&lt;/strong&gt;: lagiga writes them, and GigaBracket's voting page redirects to it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A second public route, &lt;code&gt;/api/public/map-tournaments&lt;/code&gt;, feeds the &lt;code&gt;/carte&lt;/code&gt; map with tournaments declared visible (&lt;code&gt;mapVisible&lt;/code&gt;). The browser calls it when the visitor changes the filter, hence the open CORS headers.&lt;/p&gt;

&lt;p&gt;This rule has a cost, also written in the decision: any new collection on the lagiga side goes through GigaBracket.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three languages, not the same ones everywhere
&lt;/h2&gt;

&lt;p&gt;lagiga.info offers French, English and Spanish. Guadeloupean Creole stays served on &lt;code&gt;/gcf/&lt;/code&gt;, outside the language switcher and the sitemap. Each layer covers a different scope:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dictionaries and static content&lt;/strong&gt;: French, English and Spanish.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payload&lt;/strong&gt;: French and English, falling back to French. On &lt;code&gt;/es/&lt;/code&gt;, a written report displays in English.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GigaBracket&lt;/strong&gt;: French, English and Creole, without Spanish.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The results route gets through this gap unharmed, because it returns data rather than sentences: names, ranks, numbers. Column labels come from lagiga's dictionary, so they follow the page language.&lt;/p&gt;

&lt;p&gt;The iframe takes the hit. Its URL carries no language and GigaBracket picks its own: a browser asking for Spanish gets the bracket in French, inside a page in Spanish.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the 2026 #GCD shows
&lt;/h2&gt;

&lt;p&gt;The #GCD, the federation's flagship event, brought together 7 tournaments and 143 participants on July 25 and 26, 2026 in Sainte-Anne. Those tournaments ran on start.gg and Challonge, and six later joined GigaBracket through import scripts: four from start.gg, two from Challonge. For this edition, the route therefore serves closed results.&lt;/p&gt;

&lt;p&gt;The seventh, Domino Clash, was played on site. Its &lt;code&gt;shareId&lt;/code&gt; is &lt;code&gt;null&lt;/code&gt;: its page never calls GigaBracket and shows 13 participants and a static podium of three names.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>nextjs</category>
      <category>payloadcms</category>
      <category>pocketbase</category>
    </item>
    <item>
      <title>How I structure and test MonSuiviCA's URSSAF and income tax calculations</title>
      <dc:creator>Dimitri AIGLE</dc:creator>
      <pubDate>Wed, 11 Nov 2026 23:10:06 +0000</pubDate>
      <link>https://dev.to/dimsbuild/how-i-structure-and-test-monsuivicas-urssaf-and-income-tax-calculations-153c</link>
      <guid>https://dev.to/dimsbuild/how-i-structure-and-test-monsuivicas-urssaf-and-income-tax-calculations-153c</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;MonSuiviCA keeps its URSSAF contribution and income tax calculations in a single TypeScript module. URSSAF is the French agency that collects social contributions. The module's package has 199 tests, 99 of them in the file dedicated to this module. On November 1, 2026, they all pass.&lt;/p&gt;

&lt;p&gt;Every figure in this article is the one in the code as of November 1, 2026. These figures describe software and do not constitute tax advice.&lt;/p&gt;

&lt;p&gt;The product's origin story is in &lt;a href="https://dimitriaigle.fr/articles/lancement-monsuivica-en" rel="noopener noreferrer"&gt;the MonSuiviCA launch article&lt;/a&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  One module holds the numbers
&lt;/h2&gt;

&lt;p&gt;The file &lt;code&gt;packages/shared/src/calculations.ts&lt;/code&gt; serves both the app and the marketing site. Three constants give it its structure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;TAUX_VERSION&lt;/code&gt;&lt;/strong&gt;: version &lt;code&gt;2026-02&lt;/code&gt;, the effective date, and &lt;code&gt;retrievedAt&lt;/code&gt;, the date the rates were last checked (&lt;code&gt;2026-08-06&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;TAUX&lt;/code&gt;&lt;/strong&gt;: mainland rates, flat-rate allowances, VAT thresholds and regime ceilings, namely €83,600 for services and €203,100 for sales.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;TAUX_ZONES&lt;/code&gt;&lt;/strong&gt;: rates by tax zone and by sector.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is what &lt;code&gt;TAUX_ZONES&lt;/code&gt; contains, leaving out tourist rentals. SSI is the social security scheme for the self-employed, CIPAV is the pension fund for some liberal professions, and DROM means the French overseas departments and regions:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Zone&lt;/th&gt;
&lt;th&gt;Services&lt;/th&gt;
&lt;th&gt;Sales&lt;/th&gt;
&lt;th&gt;Liberal SSI&lt;/th&gt;
&lt;th&gt;Liberal CIPAV&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Mainland France&lt;/td&gt;
&lt;td&gt;21.2%&lt;/td&gt;
&lt;td&gt;12.3%&lt;/td&gt;
&lt;td&gt;25.6%&lt;/td&gt;
&lt;td&gt;23.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DROM, under 2 years&lt;/td&gt;
&lt;td&gt;3.6%&lt;/td&gt;
&lt;td&gt;2.1%&lt;/td&gt;
&lt;td&gt;4.3%&lt;/td&gt;
&lt;td&gt;7.8%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DROM, 2 to 3 years&lt;/td&gt;
&lt;td&gt;10.6%&lt;/td&gt;
&lt;td&gt;6.2%&lt;/td&gt;
&lt;td&gt;12.8%&lt;/td&gt;
&lt;td&gt;11.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DROM, 4 years and more&lt;/td&gt;
&lt;td&gt;14.2%&lt;/td&gt;
&lt;td&gt;8.2%&lt;/td&gt;
&lt;td&gt;17.1%&lt;/td&gt;
&lt;td&gt;15.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mayotte&lt;/td&gt;
&lt;td&gt;9.1%&lt;/td&gt;
&lt;td&gt;5.3%&lt;/td&gt;
&lt;td&gt;12%&lt;/td&gt;
&lt;td&gt;16.6%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This centralization answers a real failure. One marketing page displayed a €77,700 ceiling in its text and €83,600 in the result of the calculator just below it.&lt;/p&gt;

&lt;p&gt;Since August 31, 2026, pages read their amounts from &lt;code&gt;bareme.ts&lt;/code&gt;, a display layer on top of the shared module. A test fails, naming the file and line, if an old value comes back in their code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resolving the right rate
&lt;/h2&gt;

&lt;p&gt;The function &lt;code&gt;getEffectiveUrssafRates&lt;/code&gt; picks an account's rates in this order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Custom rates entered in the settings.&lt;/li&gt;
&lt;li&gt;Rates derived from the zone, the pension fund and ACRE, a French aid for starting or taking over a business.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;null&lt;/code&gt;, which makes the calculations fall back on the mainland rates.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;ACRE comes down to a dated multiplier. It expresses the share of the rate that is kept, and the code picks it from the start date entered:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;getAcreMultiplier&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;refDate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;refDate&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'2026-07-01'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mf"&gt;0.50&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.75&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With a start date of September 1, 2026, the mainland services rate therefore goes from 21.2% to 15.9%.&lt;/p&gt;

&lt;h2&gt;
  
  
  Counting only what was collected
&lt;/h2&gt;

&lt;p&gt;The entire contribution base goes through &lt;code&gt;isEncaisse&lt;/code&gt;. An invoice with the &lt;code&gt;attente&lt;/code&gt; (pending) status leaves the contribution and income tax calculations.&lt;/p&gt;

&lt;p&gt;The displayed contribution equals the rate times the amount collected over the declared period, a month or a calendar quarter, with no annual smoothing. For the mixed sector, &lt;code&gt;getRevenueRate&lt;/code&gt; applies the rate entry by entry: sales on one side, services on the other.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calculating tax at household level
&lt;/h2&gt;

&lt;p&gt;Taxable income starts from revenue, minus a flat allowance of 50% for services, 71% for sales and 34% for liberal professions. The scale then applies bracket by bracket:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;calculateIR&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taxableIncome&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;number&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="no"&gt;IR_BRACKETS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taxableIncome&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;break&lt;/span&gt;
    &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taxableIncome&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rate&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;IR_BRACKETS&lt;/code&gt; holds five brackets, at 0, 11, 30, 41 and 45%. This isolated calculation gets a household wrong. Twenty thousand euros of taxable income weigh differently depending on the household's tax shares and the spouse's salary.&lt;/p&gt;

&lt;p&gt;So I wrote &lt;code&gt;calculateIRFoyer&lt;/code&gt;. It returns an additional cost: the household's tax with the activity, minus the household's tax without it. For €20,000 of taxable income and 2 tax shares, the code gives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;With no other income&lt;/strong&gt;: €0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;With €60,000 of other income&lt;/strong&gt;: €6,000, which is €10,207.98 minus €4,207.98.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A custom rate keeps priority, then comes the household, then the scale alone. The family quotient cap, the low-income discount, tax reductions and tax credits stay outside the model. The function's comment says so, and calls the result an indicative estimate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three levels of checks
&lt;/h2&gt;

&lt;p&gt;CI runs the shared package's tests in a dedicated step. They check three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Values&lt;/strong&gt;: each zone, and ACRE on both sides of July 1, 2026.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Properties&lt;/strong&gt;: the additional cost equals the difference between the two taxes, never goes negative, and the household counts at least 1 share.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A lock&lt;/strong&gt;: &lt;code&gt;bareme.test.ts&lt;/code&gt; pins the ceilings, VAT thresholds and rates checked on service-public.gouv.fr on August 31, 2026. Changing the scale forces a change to the test as well.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This value test covers the €20,000 case on the scale alone:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;it&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'taxes 11% between 11600 and 29579'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="c1"&gt;// (20000 - 11600) * 0.11&lt;/span&gt;
  &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;calculateIR&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;20000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBeCloseTo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;924&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A script completes the setup when the web app builds. &lt;code&gt;check-taux-urssaf.js&lt;/code&gt; warns when &lt;code&gt;retrievedAt&lt;/code&gt; is older than 6 months, or as soon as a January 1 or July 1 has passed since that date. It does not stop the build.&lt;/p&gt;

&lt;h2&gt;
  
  
  What these tests don't prove
&lt;/h2&gt;

&lt;p&gt;No accounting audit is proven as of November 1, 2026. The chartered accountant validation list in &lt;code&gt;docs/business/formules-comptables.md&lt;/code&gt; has no box checked, and the document still carries a draft status.&lt;/p&gt;

&lt;p&gt;The public calculator shows its own limit under its result, in French: « Estimation indicative. Impôt calculé sur 1 part fiscale, sans déductions. » In English: an indicative estimate, with tax calculated on 1 tax share and no deductions.&lt;/p&gt;

</description>
      <category>saas</category>
      <category>typescript</category>
      <category>testing</category>
      <category>urssaf</category>
    </item>
  </channel>
</rss>
