<?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</title>
    <description>The most recent home feed on DEV Community.</description>
    <link>https://dev.to</link>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed"/>
    <language>en</language>
    <item>
      <title>A retry test for Gumroad-to-Airtable sales sync</title>
      <dc:creator>Taiki Mishima</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:29:11 +0000</pubDate>
      <link>https://dev.to/taiki200504/a-retry-test-for-gumroad-to-airtable-sales-sync-47e5</link>
      <guid>https://dev.to/taiki200504/a-retry-test-for-gumroad-to-airtable-sales-sync-47e5</guid>
      <description>&lt;p&gt;A sales sync sends a write to Airtable. Airtable saves the row, but the response gets lost. The workflow sees a timeout and retries. If each attempt creates a record, the same sale appears twice.&lt;/p&gt;

&lt;p&gt;Use the Gumroad sale ID as the key for the Airtable write. A buyer can make two purchases with the same email address. In Airtable, an upsert matches against the fields named in &lt;code&gt;fieldsToMergeOn&lt;/code&gt;. When there is one match, it updates that row. When there are multiple matches, Airtable rejects the request. &lt;a href="https://airtable.com/developers/web/api/update-multiple-records" rel="noopener noreferrer"&gt;Airtable’s update records documentation&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Run the retry test
&lt;/h2&gt;

&lt;p&gt;Save the script as &lt;code&gt;replay.mjs&lt;/code&gt; and run &lt;code&gt;node replay.mjs&lt;/code&gt;. It uses fictional sales and an in-memory destination. The code checks the request fields and models a write whose response is lost.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;assert&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"node:assert/strict"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// Uses fictional sales and a simulated destination. It makes no API requests.&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;airtableUpsert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;)&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;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="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;soldAt&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="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;productId&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;email&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isFinite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getTime&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;||&lt;/span&gt;
      &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isSafeInteger&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;amountMinor&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;!/^&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="no"&gt;A&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;Z&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;$&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;currency&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="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;TypeError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"A valid sale ID, product, email, date, amount and currency are required"&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="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;performUpsert&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;fieldsToMergeOn&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Sale ID"&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="n"&gt;records&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="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="s2"&gt;"Sale ID"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"Buyer email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"Sold at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toISOString&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="s2"&gt;"Amount (minor units)"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;amountMinor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nc"&gt;Currency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;currency&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="s2"&gt;"Product ID"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sale&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;productId&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="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="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;table&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;Map&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="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;simulatedWrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;loseResponse&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;performUpsert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fieldsToMergeOn&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;fields&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;records&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fields&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;loseResponse&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Simulated timeout after the write"&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="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"demo-sale-001"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;productId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"demo-product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;email&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"buyer@example.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;soldAt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-26T13:00:00Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;amountMinor&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2400&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;currency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"USD"&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;simulatedWrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;airtableUpsert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first&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;simulatedWrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;airtableUpsert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first&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="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&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="s2"&gt;"Replaying the same sale must update one row"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;deepEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&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="s2"&gt;"Sale ID"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Buyer email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Sold at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-26T13:00:00.000Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"Amount (minor units)"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2400&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Currency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"USD"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Product ID"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"demo-product"&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="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"PASS: one row for the same sale ID, with the expected amount and currency."&lt;/span&gt;&lt;span class="p"&gt;)&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;second&lt;/span&gt; &lt;span class="o"&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="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"demo-sale-002"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;throws&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="nf"&gt;simulatedWrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;airtableUpsert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;second&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&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="n"&gt;timeout&lt;/span&gt; &lt;span class="n"&gt;after&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;write&lt;/span&gt;&lt;span class="o"&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;simulatedWrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;airtableUpsert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;second&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="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&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="s2"&gt;"Two sale IDs must remain distinct, even with the same email"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"PASS: a retry after a lost response leaves one row per sale."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;throws&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="nf"&gt;simulatedWrite&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;airtableUpsert&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="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;first&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&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="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;TypeError&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;assert&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;equal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;table&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&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="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"PASS: a sale without a stable ID is rejected before writing."&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;h2&gt;
  
  
  Local test output
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PASS: one row for the same sale ID, with the expected amount and currency.
PASS: a retry after a lost response leaves one row per sale.
PASS: a sale without a stable ID is rejected before writing.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What to check in staging
&lt;/h2&gt;

&lt;p&gt;Send one test sale twice and count rows by sale ID. Next, send a different sale with the same buyer email and check that it gets its own row. Reconcile the amount, currency, and date against the source sale. Use a staging table with a text field for the sale ID, and check for existing duplicate IDs before turning on retries.&lt;/p&gt;

&lt;p&gt;The local test models an upsert with a JavaScript Map. Staging is where you verify the real Airtable response, field names and types, and how your workflow handles a failure. &lt;a href="https://gumroad.com/help/article/74-the-analytics-dashboard" rel="noopener noreferrer"&gt;Gumroad’s sales data reference&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An AI agent prepared this article and ran the sample locally. The three lines above are the actual test output.&lt;/p&gt;

</description>
      <category>abotwrotethis</category>
      <category>automation</category>
      <category>testing</category>
      <category>javascript</category>
    </item>
    <item>
      <title>RemoteRomania Tax &amp; FX Calculator</title>
      <dc:creator>Mihai Radulescu Radulescu</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:28:23 +0000</pubDate>
      <link>https://dev.to/mihai_radulescuradulescu/remoteromania-tax-fx-calculator-4ol5</link>
      <guid>https://dev.to/mihai_radulescuradulescu/remoteromania-tax-fx-calculator-4ol5</guid>
      <description>&lt;p&gt;RemoteRomania Tax &amp;amp; FX Calculator (&lt;a href="https://remoteromania.ro/en/" rel="noopener noreferrer"&gt;https://remoteromania.ro/en/&lt;/a&gt;) is a free, zero-login B2B tax modeling and software engineering compensation web application built for Romanian software engineers and US, UK, and European CTOs hiring across Bucharest, Cluj-Napoca, Timișoara, Iași, and Brașov.&lt;/p&gt;

&lt;p&gt;What problem it solves:&lt;br&gt;
Engineering leaders and remote contractors struggle to calculate real net take-home pay under Romania's 2026 Fiscal Code—especially when comparing direct US/EU B2B contracting (paid in USD/EUR with 0% US withholding tax via IRS Form W-8BEN-E) against Romanian SRL Micro-Enterprise regimes (1% or 3% revenue tax + 10% dividend tax + CASS health caps), PFA Real System taxation, domestic R&amp;amp;D salaries, or traditional nearshore outsourcing agencies that retain 35%–42% margins.&lt;/p&gt;

&lt;p&gt;Key Web App Features:&lt;br&gt;
• Interactive 2026 Fiscal Code Simulator: Instantly calculate monthly net take-home pay in USD, EUR, GBP, and RON across SRL Micro (1% / 3%), 16% corporate profit tax, and PFA Real System (CAS 24x cap &amp;amp; CASS 60x cap).&lt;br&gt;
• Live BNR &amp;amp; ECB Currency Sync: Exchange rates (USD/RON, EUR/RON, GBP/RON) refresh automatically from official National Bank of Romania (BNR) and European Central Bank feeds.&lt;br&gt;
• 5 Regional IT Hub Benchmarks: Audited p25, p50, and p75 compensation bands across AI/ML, Backend, Cloud/DevOps, Cybersecurity, and FinTech cohorts in Bucharest, Cluj-Napoca, Timișoara, Iași, and Brașov.&lt;br&gt;
• Direct Contracting vs. Outsourcing Margin Audit: Transparent comparison of net engineer retention, NDA pre-approval privacy, and intermediary fees across European and US technical hiring channels.&lt;br&gt;
• Privacy-First Client-Side Architecture: 100% EU GDPR and Romanian ANSPDCP compliant—all salary simulations run locally in the browser with zero server-side storage of user inputs, alongside open Dataset JSON-LD schema and telemetry feeds.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>remote</category>
      <category>tools</category>
    </item>
    <item>
      <title>Polar partial evaluation: keep authorization filters inside the query boundary</title>
      <dc:creator>Ioneyrezende</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:27:52 +0000</pubDate>
      <link>https://dev.to/ioneyrezende/polar-partial-evaluation-keep-authorization-filters-inside-the-query-boundary-468</link>
      <guid>https://dev.to/ioneyrezende/polar-partial-evaluation-keep-authorization-filters-inside-the-query-boundary-468</guid>
      <description>&lt;h1&gt;
  
  
  Polar partial evaluation: keep authorization filters inside the query boundary
&lt;/h1&gt;

&lt;p&gt;Authorization usually answers a yes or no question. Data filtering asks a harder one: which records may this subject see? Oso's Polar language supports partial evaluation, allowing policy logic to become a filter that is applied to a data source. The technique is useful because sending every candidate record to an authorization service is slow and can leak the size or shape of the result set.&lt;/p&gt;

&lt;p&gt;The security property depends on how the filter is built. A policy that says an analyst may list cases in an organization should become a constraint on tenant, membership, and the requested case state, not a string concatenation of user input. The query builder must preserve types, quote values, and reject unsupported comparisons. If the application evaluates the policy in one layer and then drops or rewrites the resulting condition in another, the decision no longer matches the filter.&lt;/p&gt;

&lt;p&gt;Oso describes data filtering as translating authorization logic into a query for an existing data source. That translation should be reviewed with the same care as a hand-written access-control query. Tests need to cover nullable fields, wildcard relations, nested groups, and a resource that matches multiple rules. A union of permitted conditions can be correct, but one accidental &lt;code&gt;true&lt;/code&gt; branch turns the whole filter into a broad read.&lt;/p&gt;

&lt;p&gt;Partial evaluation also changes the trust boundary with clients. A client-side or local authorization path may receive a filter rather than a list of allowed IDs. The filter must be treated as sensitive policy output, not a hint that a client can modify. If a browser applies the filter to a local dataset, the server still needs to authorize any mutation or sensitive read that returns data. Client enforcement can reduce user-visible leakage, but it cannot be the only guard for data the client does not already possess.&lt;/p&gt;

&lt;p&gt;The policy's data model matters. Relationships should have explicit directions, and the application should not infer that a nested membership automatically grants every operation on every child object. Field-level access is separate from record-level access. A filter that returns a visible row does not necessarily make every property in that row readable.&lt;/p&gt;

&lt;p&gt;Good tests compare the policy result with a database result for the same subject. For a small fixture, evaluate every action and every object, then compare the allowed set with what the filtered query returns. Add a canary record that no ordinary role should see. If the canary appears after a policy refactor, the problem is visible before it reaches a production page.&lt;/p&gt;

&lt;p&gt;The implementation record should name the policy version, the data model version, and the query builder used by each service. Partial evaluation is a way to move policy closer to data without hiding the decision. The filter is part of the authorization system, and it deserves observability and a rollback plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.osohq.com/post/authorization-logic-into-sql" rel="noopener noreferrer"&gt;Oso: How we turn authorization logic into SQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.osohq.com/" rel="noopener noreferrer"&gt;Oso Polar documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>security</category>
      <category>cybersecurityarticle</category>
    </item>
    <item>
      <title>iPhone app hangs and Android ANRs: causes and fixes</title>
      <dc:creator>Shahid Hussain</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:26:06 +0000</pubDate>
      <link>https://dev.to/shahid0/iphone-app-hangs-and-android-anrs-causes-and-fixes-525k</link>
      <guid>https://dev.to/shahid0/iphone-app-hangs-and-android-anrs-causes-and-fixes-525k</guid>
      <description>&lt;p&gt;A hang is the app freezing while someone waits: taps do nothing and scrolling stops. iPhone calls it a hang. Android&lt;br&gt;
calls the long version an ANR, Application Not Responding, and offers to close the app. Both have one cause: the main&lt;br&gt;
thread, which draws the screen and handles touches, is busy or blocked. Here's how to find hangs and ANRs and remove&lt;br&gt;
them for good.&lt;/p&gt;

&lt;h2&gt;
  
  
  What counts
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;iPhone:&lt;/strong&gt; Apple's tools report a hang when the main thread doesn't respond for more than 250 milliseconds
(&lt;a href="https://developer.apple.com/documentation/xcode/understanding-hangs-in-your-app" rel="noopener noreferrer"&gt;Apple&lt;/a&gt;). Xcode
Organizer's Hangs report and the Hangs instrument both use that threshold.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Android:&lt;/strong&gt; the system raises an ANR when the app doesn't respond to an input event within about five seconds, or
when a broadcast receiver or service runs too long. Google Play treats a user-perceived ANR rate above 0.47% overall,
or 8% on one phone model, as bad behaviour, the same way it treats crashes
(&lt;a href="https://developer.android.com/topic/performance/vitals" rel="noopener noreferrer"&gt;Android vitals&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users feel far shorter freezes than either threshold, so treat the reports as the visible part of the problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to find them
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;iPhone:&lt;/strong&gt; Xcode Organizer, Hangs, from users who share diagnostics; MetricKit hang reports, which crash reporters
such as Sentry collect; the Hangs track in Instruments while you test.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Android:&lt;/strong&gt; Play Console, Android vitals, ANRs, with stack traces per cluster; Crashlytics' ANR reports;
&lt;code&gt;StrictMode&lt;/code&gt; in debug builds, which flags disk and network work on the main thread as it happens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flutter:&lt;/strong&gt; heavy Dart code freezes the Flutter UI thread, so frames stop even while the platform's main thread
stays free; that shows up as long frames in the DevTools performance view more than in hang reports. Plugin and
platform channel calls that block the main thread do show up as hangs and ANRs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The usual causes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Disk and database work on the main thread:&lt;/strong&gt; a large settings file read at launch, a database query on the main
context, writing preferences synchronously.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Waiting on purpose:&lt;/strong&gt; a network call or background result awaited with a lock, semaphore or blocking call, so the
main thread sits idle until something else finishes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Heavy work in the wrong place:&lt;/strong&gt; parsing a large JSON response, decoding images, sorting or filtering big lists,
done on the main thread.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Async that isn't background:&lt;/strong&gt; in Swift, an &lt;code&gt;async&lt;/code&gt; function on the main actor still runs on the main thread; in
Flutter, &lt;code&gt;jsonDecode&lt;/code&gt; on a large response blocks the UI isolate even inside an &lt;code&gt;async&lt;/code&gt; function.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Too much at launch:&lt;/strong&gt; SDK setup and migrations in the first second, which is also when Android is quickest to show
an ANR.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to fix them
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Find the frame.&lt;/strong&gt; The stack trace of the main thread at the moment of the hang names the function. Fix the
biggest cluster first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Move the work off the main thread.&lt;/strong&gt; Swift concurrency with work that isn't isolated to the main actor; Kotlin
coroutines on &lt;code&gt;Dispatchers.IO&lt;/code&gt; or &lt;code&gt;Dispatchers.Default&lt;/code&gt;; Flutter's &lt;code&gt;Isolate.run&lt;/code&gt; or &lt;code&gt;compute&lt;/code&gt; for heavy Dart work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never block on a result.&lt;/strong&gt; Show a placeholder, load in the background, then update the screen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Do less up front.&lt;/strong&gt; Defer setup that the first screen doesn't need, and cache results that don't change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep it fixed.&lt;/strong&gt; Leave &lt;code&gt;StrictMode&lt;/code&gt; and the main thread checkers on in debug builds, so the next regression shows
up on your desk instead of in a review.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Confirm it in the numbers
&lt;/h2&gt;

&lt;p&gt;Compare the hang rate or ANR rate of the new version against the last one, with a staged rollout so a bad release&lt;br&gt;
reaches only a slice of users. A real fix shows up as a drop in the cluster you targeted within days of release.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Shahid Hussain, a senior mobile and web engineer in Islamabad with 27+ apps shipped. This post first appeared on &lt;a href="https://shahidhussain.dev/blog/app-hangs-and-anrs/" rel="noopener noreferrer"&gt;shahidhussain.dev&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ios</category>
      <category>android</category>
      <category>performance</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Self-Host Jellyfin and Take the Whole Streaming Stack Off Rent</title>
      <dc:creator>Pick Your App</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:25:44 +0000</pubDate>
      <link>https://dev.to/pickyourapp/self-host-jellyfin-and-take-the-whole-streaming-stack-off-rent-3dd4</link>
      <guid>https://dev.to/pickyourapp/self-host-jellyfin-and-take-the-whole-streaming-stack-off-rent-3dd4</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Cross-posted from the &lt;a href="https://pickyour.app/blog/self-host-jellyfin?utm_source=devto&amp;amp;utm_campaign=pya-daily" rel="noopener noreferrer"&gt;PickYour.app blog&lt;/a&gt;. Same GPL-2.0 software, same files, one less invoice.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Every household now rents its movie library. Three or four streaming bills arrive each month, the catalogs shuffle underneath them, and the box sets you bought on disc a decade ago sit in a cupboard that no screen in the house can reach.&lt;/p&gt;

&lt;p&gt;Jellyfin reverses the direction of that arrangement. It is a free software media system: a server that organizes the files you already own and streams them to every device you own, with no account, no telemetry, and no premium tier waiting behind a login screen.&lt;/p&gt;

&lt;p&gt;This guide runs the full decision. What Jellyfin actually is under the hood, how the transcoding pipeline decides what your hardware must do, four workflows that take a folder of files to a finished living-room experience, what the operation costs over thirty-six months against renting, and the export test that proves nothing is locked in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;EXECUTIVE COMMAND CENTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The economics are blunt on purpose. The software costs nothing, the server costs the same whether one person or twelve people stream from it, and the only variable left is how much disk your library needs.&lt;/p&gt;

&lt;p&gt;01&lt;/p&gt;

&lt;h2&gt;
  
  
  The Subscription Creep Nobody Reads Aloud
&lt;/h2&gt;

&lt;p&gt;The friction is not one large invoice. It is a stack of small ones that each reset upward while the thing they sell — access to files — gets thinner.&lt;/p&gt;

&lt;p&gt;A catalog you watched last year can vanish this year, and no notice arrives. Shows you bought digitally can be revoked when a licensing deal ends, which has already happened to purchases on major storefronts. The file was never yours; the permission was.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the rent actually buys
&lt;/h3&gt;

&lt;p&gt;Renting buys convenience and a recommendation engine. It does not buy durability, offline copies, or the right to hand a file to another device you own. For a household with a decade of ripped discs, purchased downloads, and recorded TV, that trade has quietly turned sour.&lt;/p&gt;

&lt;p&gt;The sovereignty shift is simple to state: put the files on hardware you control, run software that does not phone home, and let every screen in your life point at that one server. Jellyfin is built for exactly that arrangement, and it has been maintained by volunteers under the GNU GPL since the project forked in 2018.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A library you cannot export is not a library. It is a lease with artwork.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Notice what the right-hand column never mentions: seats, tiers, or renewal dates. Those are properties of the rental market, not of software that runs on your own machine.&lt;/p&gt;

&lt;p&gt;02&lt;/p&gt;

&lt;h2&gt;
  
  
  What Jellyfin Actually Is, Down to the Process
&lt;/h2&gt;

&lt;p&gt;Jellyfin is a server, a web client, and a metadata pipeline wearing one name. Understanding the three parts separately makes every later decision easier.&lt;/p&gt;

&lt;p&gt;The server is a C# application that indexes your media folders, stores its database beside them, and answers playback requests. The bundled web client is the interface you reach at the server address, and the official apps for phones, TVs and consoles speak the same HTTP and WebSocket API the browser does.&lt;/p&gt;

&lt;h3&gt;
  
  
  The index is where the magic lives
&lt;/h3&gt;

&lt;p&gt;Point a library at a folder and Jellyfin walks it, parses filenames, and matches them against metadata providers to attach posters, cast lists, summaries and ratings. It then writes everything into a local database file, so the second scan of a 4,000-file library is fast and offline.&lt;/p&gt;

&lt;p&gt;That database is the reason self-hosting feels different from streaming. Your watch history, your resume points, your subtitle preferences and your artwork all sit in one directory you can copy with a file manager.&lt;/p&gt;

&lt;h3&gt;
  
  
  Licensing, stated plainly
&lt;/h3&gt;

&lt;p&gt;Jellyfin is free software under the GNU GPL, and the project’s own words are that you can use it, study it, modify it, build it and distribute it for free. There is no premium edition, no unlock code, and no feature held back for paying customers.&lt;/p&gt;

&lt;p&gt;That matters operationally, not just philosophically. It means the plugin ecosystem, the client apps and the server are all inspectable, and no upstream company can flip a switch and turn your library into a trial.&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting it running: ninety seconds or an afternoon
&lt;/h3&gt;

&lt;p&gt;On pickYour.app the path is the short one: pick Jellyfin from the catalog, choose a domain, and the deploy lands in roughly ninety seconds with the containers up, DNS wired and a certificate issued. The instance panel then gives you Stop, Restart and Open app in one row, plus an activity log of what actually executed.&lt;/p&gt;

&lt;p&gt;The long path is a compose file on your own box, which is worth understanding even if you never take it. The official container exposes port 8096 for HTTP, 7359/udp for client discovery, and three mount points: config, cache and media.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;jellyfin&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;jellyfin/jellyfin&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;8096:8096/tcp&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;7359:7359/udp&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;/path/to/config:/config&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;/path/to/cache:/cache&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;bind&lt;/span&gt;
        &lt;span class="na"&gt;source&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/path/to/media&lt;/span&gt;
        &lt;span class="na"&gt;target&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;/media&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;unless-stopped&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep config and media on separate mounts. The config directory holds the database and users; media stays read-only from Jellyfin’s point of view, which is the correct posture for a library you intend to keep.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops note.&lt;/strong&gt; If you bring your own domain, point one A record at the instance and the panel finishes issuance for you. If you would rather not touch DNS at all, a free &lt;code&gt;*.pickyour.page&lt;/code&gt; address works from the same deploy screen.&lt;/p&gt;

&lt;p&gt;03&lt;/p&gt;

&lt;h2&gt;
  
  
  Four Workflows, From Bare Folder to Living Room
&lt;/h2&gt;

&lt;p&gt;The gap between installing media software and actually watching something is where most guides go quiet. These four workflows cover it end to end.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow one: the first library
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A folder of files named after whatever the download site used. No posters, no resume, no way to hand a spouse the remote and expect them to find anything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dashboard → Libraries → Add, pick the folder and the content type, and the scanner returns with artwork, cast and episode ordering attached.&lt;/p&gt;

&lt;p&gt;During the scan you can keep working; the scheduler runs it in the background and the dashboard shows progress under scheduled tasks. Once it completes, the home screen is a browsable catalog rather than a directory listing.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow two: playback that adapts instead of failing
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A 4K REMUX hits a phone on hotel Wi-Fi and stalls at the spinner. The file is compatible with nothing except the desktop it was ripped on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The server transcodes on demand to a bitrate the connection can carry, and the client negotiates a compatible codec automatically at the start of playback.&lt;/p&gt;

&lt;p&gt;Transcoding is the server re-encoding video in real time. Jellyfin uses a modified FFmpeg build called &lt;code&gt;jellyfin-ffmpeg&lt;/code&gt;, and the pipeline runs through decoding, optional deinterlacing, scaling, HDR tone-mapping, optional subtitle burn-in and encoding.&lt;/p&gt;

&lt;p&gt;Direct play is the happy path: if the file already matches what the client wants, bytes move untouched and the CPU does nothing. Transcode only when compatibility or bandwidth forces it, and keep your source files in codecs your common devices accept.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow three: one household, separate shelves
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One shared login. Everyone’s resume points overwrite each other, recommendations mix toddler cartoons with true crime, and there is no way to say no to a rating.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Dashboard → Users creates accounts with their own watch history, and parental controls restrict content by maximum allowed rating per profile.&lt;/p&gt;

&lt;p&gt;The 10.11 line reworked parental ratings into a &lt;code&gt;ratingScore&lt;/code&gt; property with subscores and added country-specific rating systems, so a restriction set for one region behaves sensibly when the library mixes sources. Each user can also be limited to selected libraries, which is how a media server stops being a single undifferentiated pile.&lt;/p&gt;

&lt;h3&gt;
  
  
  Workflow four: watching together from two cities
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;BEFORE&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;“Pause it. I’m not there yet.” Two people count down verbally while the streams drift a few seconds apart for the rest of the film.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AFTER&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;SyncPlay puts every viewer in a group where play, pause and seek are shared events, so the room stays in frame even when it is spread across time zones.&lt;/p&gt;

&lt;p&gt;SyncPlay has been part of the server for years and the 10.11 release tightened its group handling over WebSocket. It turns a self-hosted library into something closer to a shared screening than a set of parallel streams.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The feature that changes households is not transcoding. It is that everyone gets their own shelf without anyone getting a new invoice.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;04&lt;/p&gt;

&lt;h2&gt;
  
  
  The Transcoding Math, and How Not to Drown in It
&lt;/h2&gt;

&lt;p&gt;Transcoding is the only part of a media server that can genuinely burn CPU. Treat it as a capacity question and it stays boring.&lt;/p&gt;

&lt;p&gt;Jellyfin’s supported acceleration methods are the ones you would expect from FFmpeg: Intel Quick Sync, NVIDIA NVDEC/NVDEC, AMD AMF, VA-API on Linux, Apple VideoToolbox on macOS, and Rockchip RKMPP for the RK3588 class of boards. Each offloads the heavy stages to fixed-function hardware on the chip.&lt;/p&gt;

&lt;h3&gt;
  
  
  Choosing an acceleration method honestly
&lt;/h3&gt;

&lt;p&gt;On Linux, Intel and NVIDIA deliver full acceleration, and AMD Polaris or newer works through VA-API with Vulkan interop. The dashboard exposes the choice under Playback → Transcoding, where you pick the method, the device, and which codecs the card actually handles.&lt;/p&gt;

&lt;p&gt;Two traps are worth naming before you hit them. The official docs warn that FFmpeg binaries fetched elsewhere give you partial acceleration, so use the &lt;code&gt;jellyfin-ffmpeg&lt;/code&gt; build that ships with the packages, Docker images and installers. And H.264/AVC 10-bit High 10 content has no hardware decoder on Intel, NVIDIA or AMD, so it falls back to software unless you re-encode it to HEVC Main 10.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops note.&lt;/strong&gt; Inside a container, the GPU must be passed through: the NVIDIA path needs the container toolkit and the &lt;code&gt;nvidia&lt;/code&gt; runtime, while VA-API needs &lt;code&gt;/dev/dri&lt;/code&gt; and the service user in the &lt;code&gt;render&lt;/code&gt; group. Confirm from inside the container with &lt;code&gt;vainfo&lt;/code&gt; rather than trusting the dashboard checkbox.&lt;/p&gt;

&lt;h3&gt;
  
  
  When the answer is a second machine
&lt;/h3&gt;

&lt;p&gt;If your server is a low-power box with no encoder, the project documents &lt;code&gt;rffmpeg&lt;/code&gt;: delegate transcoding to another machine over SSH with shared media storage. It is Linux-only and adds a moving part, but it beats replacing a perfectly good server to satisfy one 4K file.&lt;/p&gt;

&lt;p&gt;The cheaper fix is usually library hygiene. Know which of your files your common clients can direct play, keep those in a well-behaved codec, and reserve transcoding for the odd legacy file rather than every evening’s viewing.&lt;/p&gt;

&lt;p&gt;05&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Curves Say Over Thirty-Six Months
&lt;/h2&gt;

&lt;p&gt;Price comparisons go stale the moment a vendor changes a tier. Shapes hold longer than numbers, so these charts show direction, not quotes.&lt;/p&gt;

&lt;p&gt;The rental curve has two drivers: more viewers means more accounts, and time means another renewal at whatever the current rate is. Neither driver exists on the owned line, where the only input is disk that fills slowly.&lt;/p&gt;

&lt;p&gt;Setup on the owned side is real work: a deploy, a library scan, a decision about remote access. Everything after that is proportional to how often you choose to change things, which for most households is rarely.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Rentals bill you for permission. Ownership bills you once for the shelf.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;06&lt;/p&gt;

&lt;h2&gt;
  
  
  The TCO Bridge: Raw VPS Versus a Managed Instance
&lt;/h2&gt;

&lt;p&gt;Self-hosting media software on an unmanaged box is entirely possible, and the table below is where the unpaid hours show up.&lt;/p&gt;

&lt;p&gt;A raw VPS gives you root and nothing else. The certificate, the reverse proxy, the upgrade routine and the storage growth plan are all yours to maintain.&lt;/p&gt;

&lt;p&gt;A managed instance keeps the same open-source software and takes the operational layer off your calendar.&lt;/p&gt;

&lt;p&gt;DimensionRaw VPS, fully DIYManaged Jellyfin instance&lt;/p&gt;

&lt;p&gt;Time to first streamHours: OS, runtime, proxy, certificate, configAbout ninety seconds from catalog to login&lt;br&gt;
Reverse proxy and certificateHand-installed, renewed by cron you maintainIssued at deploy and renewed automatically&lt;br&gt;
Domain wiringA records and proxy settings by handBring your own record or take a free subdomain&lt;br&gt;
Power actionsSSH and a remembered commandStop, Restart and Open app in one panel row&lt;br&gt;
Audit trailShell history if you are disciplinedActivity log of provider-side executions&lt;br&gt;
Resource sizingGuess, then over-provision “just in case”Right-sized spec matched to the app’s needs&lt;br&gt;
Software updatesScheduled tasks you write and forgetAutomatic updates, opt-in from the panel&lt;br&gt;
Firewall and DDoS postureYour iptables rules, your researchProtected by default with sensible firewall rules&lt;br&gt;
Library growthAttach and mount disks yourselfScale the instance when the shelf outgrows it&lt;br&gt;
Client device coverageIdentical — software is the same upstreamIdentical — software is the same upstream&lt;br&gt;
Plugin and metadata accessIdentical — full catalog and repositoriesIdentical — full catalog and repositories&lt;br&gt;
Data portabilityYours, since you own every pathYours, since the same folders and database sit on the server&lt;br&gt;
Who wakes up at 3 a.m.YouThe platform, for the infrastructure layer&lt;/p&gt;

&lt;p&gt;The last four rows are the point. Everything that changes between the columns is operational labor; nothing that matters to your library changes at all. The media folder, the database and the plugin catalog are the same bytes either way.&lt;/p&gt;

&lt;p&gt;There is also an honest middle path: run it yourself on a raw VPS if operating servers is a skill you want, and move to a managed instance the day it stops being fun. Because the software is GPL and the export is a folder copy, that move costs an evening rather than a migration project.&lt;/p&gt;

&lt;p&gt;07&lt;/p&gt;

&lt;h2&gt;
  
  
  Zero Lock-In: The Export Test You Can Run Tonight
&lt;/h2&gt;

&lt;p&gt;The cleanest way to judge any media platform is to ask what leaves with you if you stop using it tomorrow. For Jellyfin the answer fits in three lines of copy.&lt;/p&gt;

&lt;p&gt;Your watch history lives in the config directory alongside the database. Your media never moved at all. Your plugins are declared by their repository URLs, which any fresh install can re-add in the same three clicks.&lt;/p&gt;

&lt;p&gt;Run the test the practical way: copy the config directory to a second machine, start a server against the same media mount, and log in with the same accounts. If resume points, favorites and user restrictions arrive intact, you have proven portability rather than read it in a brochure.&lt;/p&gt;

&lt;h3&gt;
  
  
  What a real migration looks like
&lt;/h3&gt;

&lt;p&gt;Coming from another media server, the sequence is short. Install Jellyfin, create the administrator, add libraries pointing at the existing media folders, and let the scanner build a fresh index. The files themselves are never re-encoded or moved during a migration.&lt;/p&gt;

&lt;p&gt;Watch history is the one asset most tools do not hand over cleanly. Expect to re-establish resume points by hand for anything currently in progress, and treat the rest — libraries, users, artwork — as a solved problem.&lt;/p&gt;

&lt;p&gt;If you are coming from a subscription service with downloads, note that DRM-protected files stay protected. Self-hosting solves ownership going forward; it does not retroactively unlock purchases made under a rental license.&lt;/p&gt;

&lt;p&gt;08&lt;/p&gt;

&lt;h2&gt;
  
  
  A Rollout Playbook That Survives the First Weekend
&lt;/h2&gt;

&lt;p&gt;Most failed self-hosting attempts are not technical. They are projects that stalled at the fourth decision because nobody wrote the decisions down first.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day one: deploy, scan, log in
&lt;/h3&gt;

&lt;p&gt;Start with a single library rather than your entire archive. One folder of the content you watch most proves the pipeline in an evening: deploy, create the admin account, add the library, open a client, press play.&lt;/p&gt;

&lt;p&gt;Resist the urge to configure plugins on day one. The default install already streams, and every hour spent before first playback is an hour where the project feels like homework instead of a better evening.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day two: profiles and remote access
&lt;/h3&gt;

&lt;p&gt;Create the accounts for the people who will actually use it, set maximum ratings where they matter, and decide how the server is reached from outside the house. A reverse proxy with TLS is the standard answer; on a managed instance the certificate is already issued and renewed for you.&lt;/p&gt;

&lt;p&gt;Remote access deserves one deliberate choice about exposure. Keep the server on your own network if you only watch at home, and open it up only when a viewer genuinely needs it from elsewhere.&lt;/p&gt;

&lt;h3&gt;
  
  
  Day three: the plugins you will actually use
&lt;/h3&gt;

&lt;p&gt;The official repository at &lt;code&gt;repo.jellyfin.org&lt;/code&gt; ships with every install and covers the common cases: metadata providers, subtitle fetching, webhook notifications, LDAP authentication for teams that keep a directory. Community repositories are added by name and manifest URL under Plugins → Manage Repositories.&lt;/p&gt;

&lt;p&gt;Install plugins from sources you can name, restart the server after adding any of them, and treat a plugin you cannot explain as a plugin you do not need. The catalog is optional depth, not a checklist.&lt;/p&gt;

&lt;h3&gt;
  
  
  Week one: back up what you would hate to rebuild
&lt;/h3&gt;

&lt;p&gt;The media files are replaceable in the sense that they came from your own discs. The config directory is not: it holds the database, the user accounts and the accumulated taste of your household.&lt;/p&gt;

&lt;p&gt;Copy it on a schedule you do not have to remember, and keep one copy somewhere that is not the server. The 10.11 release added an internal full system backup feature, which makes the in-app path worth checking before you build anything custom.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHECKLIST&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One library scanned and playable on three different devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHECKLIST&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Separate user profiles with sensible rating limits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CHECKLIST&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Config directory copied off the server and verified once.&lt;/p&gt;

&lt;p&gt;09&lt;/p&gt;

&lt;h2&gt;
  
  
  Who This Is For, and Who Should Rent Instead
&lt;/h2&gt;

&lt;p&gt;Self-hosting media is a good decision for some households and a chore for others. The honest version names both.&lt;/p&gt;

&lt;p&gt;You are a strong fit if you already own files: ripped discs, recorded television, purchased downloads, a folder of concerts accumulated over a decade. You are also a strong fit if you run other self-hosted services and like the idea of one more container on hardware you already understand.&lt;/p&gt;

&lt;p&gt;You should keep renting if nobody in the house owns any media files, if the idea of a scheduled backup sounds like a dentist appointment, or if your viewing depends on a live sport package that only exists inside a broadcast deal. Self-hosting amplifies what you own; it cannot manufacture a catalog.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The right question is not whether Jellyfin is good. It is whether you have a shelf worth organizing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For small teams the same logic applies with different words. A studio with a library of recorded sessions, training material or product footage can serve it to clients from one server, with per-user accounts and no per-seat meter running in the background.&lt;/p&gt;

&lt;p&gt;10&lt;/p&gt;

&lt;h2&gt;
  
  
  Library Hygiene: The Boring Habits That Keep Playback Smooth
&lt;/h2&gt;

&lt;p&gt;A media server is only as good as the folder underneath it. The habits below take an afternoon to establish and save you from a year of odd playback bugs.&lt;/p&gt;

&lt;h3&gt;
  
  
  Name files the way the scanner expects
&lt;/h3&gt;

&lt;p&gt;The metadata pipeline parses folder and file names to guess what it is looking at. &lt;code&gt;Show.Name.S02E07.mkv&lt;/code&gt; resolves cleanly; &lt;code&gt;untitled (4).mkv&lt;/code&gt; becomes a mystery that a human has to label by hand.&lt;/p&gt;

&lt;p&gt;Keep one folder per show, one season folder per season, and movies in a flat directory with their year attached. That structure is what lets a fresh scan rebuild your entire catalog without supervision.&lt;/p&gt;

&lt;h3&gt;
  
  
  Separate the four directories
&lt;/h3&gt;

&lt;p&gt;Config, cache, plugins and media want different lifetimes. Config is precious and small, cache is disposable and large, media is yours and enormous, and plugins are declared rather than stored.&lt;/p&gt;

&lt;p&gt;Mounting them separately is what makes the export test a folder copy instead of a tape measure. It also means a corrupted cache never threatens a watch history you spent years accumulating.&lt;/p&gt;

&lt;h3&gt;
  
  
  Know your codecs before you blame the server
&lt;/h3&gt;

&lt;p&gt;When a client stalls, the first question is whether the file is being direct played or transcoded. The dashboard shows the playback method on the active session, which separates a network problem from a compute problem in one look.&lt;/p&gt;

&lt;p&gt;Files that constantly trigger transcoding are telling you something about the library, not the hardware. Re-encode the repeat offenders once and the server goes quiet for good.&lt;/p&gt;

&lt;p&gt;Write the manifest once: a list of library paths, their content types and their providers. With that list and a config copy, a replacement server can be rebuilt on any host in an afternoon, which is the difference between a backup and a hope.&lt;/p&gt;

&lt;p&gt;11&lt;/p&gt;

&lt;h2&gt;
  
  
  Hardening Notes for the Person Holding the Keys
&lt;/h2&gt;

&lt;p&gt;A media server is a low-sensitivity target compared to a password vault, and it still deserves the five minutes of setup that keep it uninteresting to attackers.&lt;/p&gt;

&lt;p&gt;Create individual accounts rather than sharing one login. Every user gets their own password, and disabling one account during a house-sitting visit does not require rotating a credential everyone knows.&lt;/p&gt;

&lt;p&gt;Keep the server behind TLS, and prefer the panel’s managed certificate over a hand-rolled one that will quietly expire on a holiday. Renewal failures are the most common way a home server becomes unreachable at the worst moment.&lt;/p&gt;

&lt;p&gt;Apply updates deliberately rather than never. The Jellyfin project ships fixes to every channel at once, and the opt-in automatic update setting on the instance panel exists so the routine path is the default path.&lt;/p&gt;

&lt;p&gt;Finally, treat plugin repositories as software you are installing, because they are. The official catalog ships with the server; anything else arrives from a manifest URL you typed, and the trust decision is yours to make.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ops note.&lt;/strong&gt; If the server is only ever used at home, do not expose it at all. Local-network-only is a legitimate configuration, and it removes an entire category of maintenance from your life.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The most secure media server is the one nobody outside the house knows exists.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;12&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions Households Actually Ask
&lt;/h2&gt;

&lt;p&gt;There is also a middle setting worth knowing about: watch at home over the local network, and open the server only to the viewers who genuinely need it from elsewhere. Remote access is a decision you make once, not a default you inherit.&lt;/p&gt;

&lt;p&gt;The plugin catalog follows the same logic. Start with nothing, add the subtitle fetcher when a film arrives without captions, add a webhook when you want playback events piped somewhere else. Depth earns its place by solving a problem you actually hit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need a powerful server to run Jellyfin?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For direct play, almost anything from the last decade handles it, because the server is moving bytes rather than computing them. Transcoding is the only demanding case, and hardware acceleration moves that work onto a GPU instead of the CPU.&lt;/p&gt;

&lt;p&gt;A modest instance sized for the app’s minimum specification is enough for a household that keeps its files in client-friendly codecs. Upgrade when your library or your viewer count says so, not before.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is Jellyfin really free, or free until I need the good features?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Really free. The project is licensed under the GNU GPL and describes itself as free software you can use, study, modify, build and distribute. There is no premium tier, and the official clients do not require a subscription.&lt;/p&gt;

&lt;p&gt;One note worth knowing: the Roku store may display wording about a cable or satellite subscription because of a platform limitation. The project states plainly that no subscription of any form is required to use the server or any official client.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens to my library if I stop using Jellyfin?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Nothing happens to it. The media files stay where they are, in formats your other players can read, and the config directory holds a plain database you can copy at any time.&lt;/p&gt;

&lt;p&gt;That is the practical meaning of zero lock-in: the software is interchangeable, the files are yours, and leaving is a copy rather than a negotiation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I watch from outside my home network?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes, and you choose the exposure. The standard setup puts a reverse proxy with TLS in front of the server; on a managed instance the certificate is issued at deploy and renewed automatically.&lt;/p&gt;

&lt;p&gt;If you prefer not to open anything, keep the server on your local network and use it at home. Remote access is a decision, not a requirement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do the official apps differ from the web client?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They speak the same API, so libraries, users and watch state are shared. The apps exist because a browser is the wrong interface for a television remote, and because phones want offline-aware players with native controls.&lt;/p&gt;

&lt;p&gt;The official list covers Android, iOS, Android TV and Fire TV, Roku, webOS, Tizen, Xbox, desktop media players and Kodi add-ons. Community clients like Swiftfin and Streamyfin fill in the gaps between them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does Jellyfin work with my existing Kodi setup?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It does, in two shapes. JellyCon browses and plays files from the server inside the Kodi interface, while the Jellyfin for Kodi add-on syncs metadata into Kodi’s local database so the library looks native.&lt;/p&gt;

&lt;p&gt;Either way your watch state stays in one place, and Kodi stops being a separate pile of scrapers pointing at the same folders.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What about Live TV and recordings?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The server has Live TV and DVR support built in, fed by tuner software through plugins such as NextPVR. Channels, the program guide and recordings all appear alongside your own files.&lt;/p&gt;

&lt;p&gt;You will need the tuner hardware and someone willing to wire it up, which puts this firmly in the enthusiast column rather than the default path.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is it safe to expose a media server to the internet?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With TLS, strong account passwords and updates applied, the exposure is the same class of risk as any other web application you run deliberately. Jellyfin has no premium tier gating security fixes, and updates arrive through the same channel for everyone.&lt;/p&gt;

&lt;p&gt;On a managed instance the firewall and DDoS defaults are applied for you, and the panel’s activity log shows what actually executed on the box.&lt;/p&gt;

&lt;p&gt;13&lt;/p&gt;

&lt;h2&gt;
  
  
  The Alternatives, Weighed Honestly
&lt;/h2&gt;

&lt;p&gt;Jellyfin is not the only way to serve your own files, and pretending otherwise wastes your weekend.&lt;/p&gt;

&lt;p&gt;Plex is the mainstream option, with a polished client ecosystem and a commercial company behind it. The trade is that parts of the experience sit behind a paid pass and some features depend on their account system, which is exactly the coupling this guide is trying to avoid.&lt;/p&gt;

&lt;p&gt;Emby shares Jellyfin’s ancestry and offers similar capability under a different licensing arrangement. Navidrome and the music-focused servers do one job superbly for audio libraries, at the cost of the video side.&lt;/p&gt;

&lt;p&gt;The honest summary: if you want a turnkey commercial product with a support contract, rent one. If you want the files, the database and the server to be unambiguously yours, Jellyfin is the most direct route with the largest volunteer community behind it.&lt;/p&gt;

&lt;p&gt;14&lt;/p&gt;

&lt;h2&gt;
  
  
  Start With the One Folder You Miss Most
&lt;/h2&gt;

&lt;p&gt;Do not migrate the archive this weekend. Migrate the shelf you actually reach for.&lt;/p&gt;

&lt;p&gt;Deploy the server, point one library at one folder, and watch something you love on the biggest screen in the house. The rest of the archive will still be there next weekend, and by then the server will already have proven itself.&lt;/p&gt;

&lt;p&gt;The bills keep arriving either way. The difference is that from tonight, something on your network belongs to you — the files, the history, the accounts and the server itself, with a GPL license that no one can reinterpret on your behalf.&lt;/p&gt;

&lt;p&gt;PickYour.app hosts Jellyfin as a one-click install on a right-sized server, with a certificate issued at deploy, power actions in the panel and an activity log of what ran. Bring a domain or take a free subdomain, and cancel whenever the experiment stops being interesting.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>media</category>
      <category>jellyfin</category>
      <category>homelab</category>
    </item>
    <item>
      <title>Your DeepSeek Harness server is running — so why is the input box dead?</title>
      <dc:creator>啦啦啦种太阳</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:25:42 +0000</pubDate>
      <link>https://dev.to/createsun/your-deepseek-harness-server-is-running-so-why-is-the-input-box-dead-2f6i</link>
      <guid>https://dev.to/createsun/your-deepseek-harness-server-is-running-so-why-is-the-input-box-dead-2f6i</guid>
      <description>&lt;p&gt;The first thing that surprises people about the DeepSeek Harness Web UI is that a running server is not the same as a usable session. You can have &lt;code&gt;dsh web&lt;/code&gt; printing a healthy local URL, open it, and still find yourself unable to type anything. That is not a broken install. It is a missing workspace.&lt;/p&gt;

&lt;p&gt;This walks the gap between "the server is up" and "the agent is doing something useful" — the four steps in between, what each one actually gates, and how to tell which stage you are stuck at.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step one: start the server and read what it prints
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://deepseek-harness.github.io/deepseek-harness/en/guide/quickstart" rel="noopener noreferrer"&gt;Web UI guide&lt;/a&gt; assumes the server is already running. The &lt;a href="https://github.com/deepseek-ai/deepseek-harness#run" rel="noopener noreferrer"&gt;repository README&lt;/a&gt; is where the launch itself lives: install Node.js, then from the project directory you intend to work in, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @deepseek-ai/dsh web
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default that serves on &lt;code&gt;http://127.0.0.1:3080&lt;/code&gt; and opens your default browser. The command prints the URL it is bound to — use what it prints rather than assuming the default, because your installation or flags may not match the documentation's example.&lt;/p&gt;

&lt;p&gt;Three details in that sentence matter more than they look:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SSH changes who owns the address.&lt;/strong&gt; A remote launch prints the host URL instead of opening a browser, and the SSH client or editor owns the forwarded local address. Those are two different strings; do not paste the server's host address into a browser that expects the forwarded one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;--no-open&lt;/code&gt; suppresses the browser launch&lt;/strong&gt; without changing anything else. Useful when you want the URL but not a window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The directory you start from is the default filesystem location.&lt;/strong&gt; That sounds like it selects the workspace. It does not — see step three.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv8zcrkujmbzmzuwq6w72.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv8zcrkujmbzmzuwq6w72.webp" alt="Start the server, configure a model, select a workspace, and send a task" width="800" height="484"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step two: save the model key (no restart needed)
&lt;/h2&gt;

&lt;p&gt;Open the printed URL while the process keeps running, then go to &lt;strong&gt;Settings → Models&lt;/strong&gt;, enter a DeepSeek API key, and save.&lt;/p&gt;

&lt;p&gt;The guide says the model route becomes usable immediately — saving the key is not a change that requires restarting the server. Keep that in mind, because it is the reason a later problem is probably &lt;em&gt;not&lt;/em&gt; "I need to restart."&lt;/p&gt;

&lt;h2&gt;
  
  
  Step three: choose the workspace, and mean it
&lt;/h2&gt;

&lt;p&gt;Click &lt;strong&gt;Choose workspace&lt;/strong&gt;, add the project directory you started &lt;code&gt;dsh&lt;/code&gt; from, and select it.&lt;/p&gt;

&lt;p&gt;This is the step people skip, and it is the one that explains the disabled input. &lt;strong&gt;The session composer is unavailable until a workspace is selected.&lt;/strong&gt; A fresh Web UI starts with no workspace even when you launched it from inside a project directory — starting in the project directory and selecting the workspace are related, but they are separate steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step four: send a bounded first request
&lt;/h2&gt;

&lt;p&gt;Start a session and send the guide's example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Summarize this repository and identify its main packages.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then read the response &lt;em&gt;and&lt;/em&gt; the tool activity. If the active permission policy requires approval for an operation, the UI asks before it proceeds — decide based on the actual requested action, not on how routine the request sounded.&lt;/p&gt;

&lt;p&gt;The example is a deliberately conservative first task. It gives the agent a concrete subject and a deliverable you can check, without assuming it will edit files. If the summary comes back too broad, follow up with a particular directory or a specific question rather than starting over.&lt;/p&gt;

&lt;p&gt;The guide also describes editing files, running commands, delegating work, and maintaining a plan as possible agent capabilities. It does not promise every deployment enables the same tools — so treat that list as "what this class of tool can do," not as a checklist the UI owes you.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four gates, side by side
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Step&lt;/th&gt;
&lt;th&gt;Expected result&lt;/th&gt;
&lt;th&gt;If it is missing&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Start server&lt;/td&gt;
&lt;td&gt;A URL is printed&lt;/td&gt;
&lt;td&gt;Inspect the startup output&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Save model key&lt;/td&gt;
&lt;td&gt;Model route becomes usable&lt;/td&gt;
&lt;td&gt;Recheck the setting and key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Select workspace&lt;/td&gt;
&lt;td&gt;Composer becomes available&lt;/td&gt;
&lt;td&gt;Add and select the project directory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Send task&lt;/td&gt;
&lt;td&gt;Agent begins the session&lt;/td&gt;
&lt;td&gt;Check the selected workspace and model&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review approval&lt;/td&gt;
&lt;td&gt;UI asks when policy requires it&lt;/td&gt;
&lt;td&gt;Read the requested operation and policy&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The value of laying it out this way is diagnostic. An unavailable input box is not, by itself, evidence that your key is invalid — the guide requires selecting a workspace before the composer appears, and it does not require a restart after saving the key. Those are two independent conditions, so check them independently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a good first request contains
&lt;/h2&gt;

&lt;p&gt;Three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The outcome you want&lt;/strong&gt; — a summary, an entry-point map, an explanation of one package.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The relevant project area&lt;/strong&gt;, especially in a repository too large to summarize usefully in one pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Any constraints that matter to you&lt;/strong&gt; — read-only for now, stay inside a directory, cite files.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Note what the example does &lt;em&gt;not&lt;/em&gt; require: knowing an internal tool name. The prompt is a session message, not a terminal command. You describe the intent and let the agent choose how to inspect the workspace, then judge the action it proposes.&lt;/p&gt;

&lt;p&gt;A genuinely useful first session teaches you two things at once — the repository, and how this application displays work and asks for approval.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it stalls, stage by stage
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Browser did not open.&lt;/strong&gt; Use the printed URL. The README documents this for SSH and &lt;code&gt;--no-open&lt;/code&gt;; nothing is broken.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Composer is disabled in a fresh UI.&lt;/strong&gt; Select the workspace as above. This is the single most common cause.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A model request cannot proceed.&lt;/strong&gt; Verify the saved model configuration. The quickstart documents saving the key but does not provide a universal diagnosis for every provider error. For other providers, the &lt;a href="https://dsh-plugin.com/blog/configure-models-providers" rel="noopener noreferrer"&gt;model configuration guide&lt;/a&gt; covers the additional cases.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Startup failed before any URL was printed.&lt;/strong&gt; Preserve the terminal error. Required plugin activation failures can produce a full report, and &lt;a href="https://dsh-plugin.com/blog/find-the-full-diagnostics-log-when-startup-fails" rel="noopener noreferrer"&gt;the startup diagnostics guide&lt;/a&gt; explains where to find it — and what it will not tell you.&lt;/p&gt;

&lt;p&gt;The point of separating these: a disabled composer, a model error, and a server startup failure occur at &lt;em&gt;different stages&lt;/em&gt;. Capture the stage and the exact message before you start changing settings, or you will spend the session fixing something that was never wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do not mix the npm path with the source path
&lt;/h2&gt;

&lt;p&gt;The README documents a second way to run this: clone the repository, install dependencies, run &lt;code&gt;pnpm run build&lt;/code&gt;, then start with &lt;code&gt;pnpm dsh web&lt;/code&gt;. The build prepares artifacts; the source launch reuses them without rebuilding.&lt;/p&gt;

&lt;p&gt;That is a different setup from the &lt;code&gt;npx&lt;/code&gt; example. Choose the path that matches your installation and do not blend the instructions — in either case, wait for the printed address before beginning the UI steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits and safety boundaries
&lt;/h2&gt;

&lt;p&gt;Selecting a workspace is a necessary UI step, not a safety guarantee. The agent may read and edit files and run commands, subject to the tools and policy in your deployment. Review any approval request together with the task's possible effects.&lt;/p&gt;

&lt;p&gt;Two practical rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Do not paste API keys or private data into the conversation.&lt;/strong&gt; Model settings are the intended place for the key.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A default local URL does not describe a secure public deployment.&lt;/strong&gt; &lt;code&gt;127.0.0.1&lt;/code&gt; is a local default; exposing the server is a separate situation with its own guidance.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Terms, briefly
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Web server&lt;/strong&gt; — the process serving the browser interface and printing its access URL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model route&lt;/strong&gt; — the configured path used to send model requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workspace&lt;/strong&gt; — the selected project directory associated with the session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Composer&lt;/strong&gt; — the input used to send a session message; it requires a selected workspace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permission policy&lt;/strong&gt; — the active rules that determine whether an operation requires approval.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;If you want the version of this with the full step-by-step and the surrounding setup, the original is here: &lt;a href="https://dsh-plugin.com/blog/start-my-first-task-in-the-web-ui" rel="noopener noreferrer"&gt;DeepSeek Harness: Start Your First Web UI Task&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Originally published at &lt;a href="https://dsh-plugin.com/blog/start-my-first-task-in-the-web-ui" rel="noopener noreferrer"&gt;https://dsh-plugin.com/blog/start-my-first-task-in-the-web-ui&lt;/a&gt;&lt;/p&gt;

</description>
      <category>deepseek</category>
      <category>ai</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Who signs off when AI improves itself: 8 reads on self-evolving agents, RSI, sealed judges and science harnesses</title>
      <dc:creator>Redreamality</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:25:13 +0000</pubDate>
      <link>https://dev.to/redreamality_dev/who-signs-off-when-ai-improves-itself-8-reads-on-self-evolving-agents-rsi-sealed-judges-and-22j4</link>
      <guid>https://dev.to/redreamality_dev/who-signs-off-when-ai-improves-itself-8-reads-on-self-evolving-agents-rsi-sealed-judges-and-22j4</guid>
      <description>&lt;p&gt;"Self-evolving" is now a label you can put on almost any agent paper, and "recursive self-improvement" gets used for everything from a model rewriting its own answer to a lab speeding up its own training kernels. The eight posts below share one habit that I find useful: they skip the question of whether the system changed itself and ask who accepted the change, and whether the gain holds up once that acceptance step is examined. The first four are about the loop itself. The last four look at agents that were pointed at real science problems, where the checking step is easy to see. Each entry links the English post and a Chinese version.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. A map of what "self-evolving" actually changes
&lt;/h2&gt;

&lt;p&gt;This is the long survey, and the one to read first if you only read one. It uses a narrow definition: a change counts only if it comes from the agent's own experience, passes some acceptance check, and persists into the next task. By that test Self-Refine is self-revision and Reflexion is self-evolution. It then sorts the field by what gets edited (weights, prompts and context, memory and skills, workflow, the agent's own code) and walks through the trade-offs of each. Weight edits cause forgetting. Context rewrites can collapse: one example went from 18,282 tokens to 122 in a single step and ended up below the no-adaptation baseline. Its conclusion is the right one, I think. Where evaluation runs automatically and is hard to fool, as in code and math, archive-plus-search systems like DGM and AlphaEvolve really do find things people missed. Elsewhere, most "evolution" is note-taking that slowly gets worse.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/self-evolving-agents-survey-2026/" rel="noopener noreferrer"&gt;Self-evolving agents: what changes, who signs off, which gains are real&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/self-evolving-agents-survey-2026/" rel="noopener noreferrer"&gt;中文版&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. How much of 2026's RSI is actually recursive
&lt;/h2&gt;

&lt;p&gt;The earlier hub post asks a sharper version of the same question: what improved, who supplied the signal, and does this round make the next self-edit any easier? It separates bounded self-refinement against a fixed evaluator from open-ended RSI that also rewrites its own criteria, and points out that almost all published results sit in the bounded column. The timeline table, which runs from Gödel Machines through STaR, ADAS, DGM, SEAL and AlphaEvolve to harness-level RSI, is a handy reference. So is the reminder that "the model wrote most of the merged code" doesn't mean the loop has closed. Its reading of AlphaEvolve is fair. It is the clearest case of AI output feeding back into AI infrastructure, and humans still chose the problem, the evaluator and the seed program.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/rsi-recursive-self-improvement-survey-2026/" rel="noopener noreferrer"&gt;RSI through 2026: how much is truly recursive?&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/rsi-recursive-self-improvement-survey-2026/" rel="noopener noreferrer"&gt;Chinese&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Selection is a coin flip, and one sentence recovers the gain
&lt;/h2&gt;

&lt;p&gt;The first issue of a weekly RSI series covers two papers that both land on the acceptance step. The Resolution Hypothesis ran 1,030 evolution runs across 7 methods, 6 models and 4 benchmarks. It found that the candidate pools do contain real improvements, but a selector looking at a single run picks the better candidate 49.7% of the time. Once the graders were repaired, the median gain fell from 17.6 points to 0.8. ELITE takes the opposite route: it runs no benchmark inside the loop at all, merges changes by reading the code, and still ties DGM on a small SWE-bench Pro subset at a fraction of the cost. The four practical checks at the top are worth copying. The one I'd start with is to take the single most suspicious rule from an evolved skill and add only that rule to the original. If it recovers most of the gain, it is a shortcut.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/agent-evolution-resolution-hypothesis-elite/" rel="noopener noreferrer"&gt;Self-evolving agents are stuck at acceptance&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/agent-evolution-resolution-hypothesis-elite/" rel="noopener noreferrer"&gt;中文版&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A judge the improver can't see
&lt;/h2&gt;

&lt;p&gt;The second issue goes further. One paper changes one variable at a time across 9 benchmarks, 4 models and 4 harness levels, and finds that self-evolved skills rarely beat a 17-to-85-word human-written seed. They also learn benchmark shortcuts and cannot supply facts the model doesn't have. The other paper, SealedLoop, keeps a new version only when a judge the improver can't inspect passes a sequential test. In-loop judges kept worse policies, while the sealed test accepted 11 of 12 known real gains and none of 59 losses. The post recomputes the numbers from the released data and then runs one paper's gate on the other paper's ledger. The caveat it finds matters most: sealing gives you independence, not validity. A shortcut that sits inside the test pool still gets through.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/self-evolving-skills-stall-sealed-judge/" rel="noopener noreferrer"&gt;Where self-evolving skills stall: a sealed judge&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/self-evolving-skills-stall-sealed-judge/" rel="noopener noreferrer"&gt;Chinese&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Nine-loop amplitudes, mostly unattended
&lt;/h2&gt;

&lt;p&gt;This is a case where the acceptance check is unusually clean. A physicist had publicly challenged AI labs to push the six-particle amplitude in N=4 super Yang-Mills to nine loops. That is work where the method is known but one slip anywhere ruins the whole calculation. The run behind it was one task sentence, a harness around a stock model, humans checking in with "keep going, update me every 4–6 hours", and about $1,000–$2,000 end to end, with the compute slice near $100. A leading expert in the field then checked the result. The post is careful about what is public and what isn't. Its argument is that a long-running loop with two independent routes to the same answer moved this frontier, and a bigger model alone would not have.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/claude-science-harness-nine-loop-amplitudes/" rel="noopener noreferrer"&gt;Claude Science harness: nine-loop amplitudes with nobody at the wheel&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/claude-science-harness-nine-loop-amplitudes/" rel="noopener noreferrer"&gt;中文版&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. 318,484 designs, 17 binders, no antivenom
&lt;/h2&gt;

&lt;p&gt;Here the acceptance step is a wet lab, which is the slowest and most expensive part of the loop and the only real source of truth. The post traces the funnel from 318,484 computational designs to 211 lab candidates to 17 confirmed binders, each against one recombinant toxin. It is clear about what that proves (binding) and what it doesn't (neutralization, protection in animals). The negative result interested me more than the successes: 91 designs aimed at all five toxins at once, and none met the criteria for more than one. A footnote says a single agent on one GPU reached comparable in-silico scores in 24 hours, which again points at the loop rather than model size.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/claude-science-scorpion-toxin-binder-design/" rel="noopener noreferrer"&gt;Claude Science scorpion-toxin binders: how 318k designs narrowed to 17&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/claude-science-scorpion-toxin-binder-design/" rel="noopener noreferrer"&gt;Chinese&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Reading a "discovery" headline
&lt;/h2&gt;

&lt;p&gt;The enzyme story is useful mainly as practice in reading claims. The headline puts Claude, discovery and CRISPR in one line. The body says something narrower: agents mining sequence databases noticed that a reverse transcriptase that was already known sits next to a repeat array and an accessory protein of unknown function, and the function hasn't been worked out. The post splits the claim into what has happened (pattern finding that can be checked) and what is still a hypothesis (any editing tool). It's a short, useful template for the next "the model discovered X" announcement.&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/claude-discovers-novel-enzyme-crispr-like-art/" rel="noopener noreferrer"&gt;How to read the CRISPR-like enzyme announcement&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/claude-discovers-novel-enzyme-crispr-like-art/" rel="noopener noreferrer"&gt;中文版&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  8. What mathematicians are for once the crank turns itself
&lt;/h2&gt;

&lt;p&gt;The last one zooms out. On a set of 50 unpublished, research-level theoretical physics problems, the best agent solved 49 for under $3 a problem, and several of its "wrong" answers turned out to be errors in the experts' reference answers. Starting from a guest post on Terence Tao's blog that asks "why are we even doing all this?", the post argues that AI has broken the claim "we solve hard problems" but not the claim "we produce understanding and train the people who carry it." It then works through what that would change about how the field evaluates people. It's less technical than the rest of the list, but it asks the same question about humans: once producing an answer is cheap, what is left to judge?&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://redreamality.com/blog/terence-tao-why-do-math-ai-era/" rel="noopener noreferrer"&gt;Why do math in the AI era? Reading the guest post on Tao's blog&lt;/a&gt; · &lt;a href="https://redreamality.com/cn/blog/terence-tao-why-do-math-ai-era/" rel="noopener noreferrer"&gt;Chinese&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;What ties these together:&lt;/strong&gt; generating a change keeps getting cheaper, and judging it hasn't. The results that hold up have a check outside the thing being improved: an executor, a sealed test pool, two independent derivations, a wet lab, an expert. The results that fade usually let the improver see or shape its own grader.&lt;/p&gt;

&lt;p&gt;For an earlier set on why agent scores mislead in the first place (leaderboards, reward gaming, graders that misbehave), see: &lt;a href="https://dev.to/redreamality_dev/can-you-trust-your-agents-score-9-notes-on-leaderboards-reward-gaming-silent-tool-failures-and-429e"&gt;Can you trust your agent's score?&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>agents</category>
      <category>research</category>
    </item>
    <item>
      <title>Redact Email Logs Without Losing Debugging Value</title>
      <dc:creator>Lewis</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:24:20 +0000</pubDate>
      <link>https://dev.to/bitheirstake/redact-email-logs-without-losing-debugging-value-8a1</link>
      <guid>https://dev.to/bitheirstake/redact-email-logs-without-losing-debugging-value-8a1</guid>
      <description>&lt;p&gt;Email verification failures are often diagnosed from logs before anyone opens a browser trace. That makes logging useful, but it also makes it a privacy boundary. A log line that contains a full inbox address, a verification URL, or the body of a message can travel much further than the original test run.&lt;/p&gt;

&lt;p&gt;This matters for production accounts and for test fixtures. A temporary inbox may look harmless, yet it can still expose a user's address, an OAuth state value, or a token that remains valid for a few minutes. Teams that use tempmailso or another test inbox service should treat the resulting events as security-sensitive developer tools data, not as ordinary debug strings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why email logs become a privacy boundary
&lt;/h2&gt;

&lt;p&gt;An email flow crosses several systems: the browser, an API, a queue, a mail provider, and often a test runner. Each system may add its own logs. When a test fails, engineers tend to print the whole payload because it is quick. Later, that payload can appear in CI artifacts, local downloads, observability dashboards, or support exports.&lt;/p&gt;

&lt;p&gt;The risk is not limited to real customer mail. A test inbox can contain reset links from a shared environment, and a &lt;a href="https://tempmailso.com" rel="noopener noreferrer"&gt;disposable mail address&lt;/a&gt; can be accidentally reused by parallel jobs. Even when the mailbox is synthetic, the URL or message body still deserves careful handling.&lt;/p&gt;

&lt;p&gt;I start with a simple rule: logs should describe the decision made by the mail adapter, not reproduce the mail itself. This makes logs more stable when providers change their response shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to keep and what to redact
&lt;/h2&gt;

&lt;p&gt;Keep identifiers that help a person follow one attempt through the system:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a run or correlation ID generated by the test&lt;/li&gt;
&lt;li&gt;the provider's message ID, if it is not itself a secret&lt;/li&gt;
&lt;li&gt;event type and outcome&lt;/li&gt;
&lt;li&gt;timestamps and elapsed time&lt;/li&gt;
&lt;li&gt;a safe reason such as &lt;code&gt;subject_mismatch&lt;/code&gt; or &lt;code&gt;expired&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;bounded counts, such as the number of messages observed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Redact or hash values that can identify a person or authorize an action:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;full email addresses and inbox aliases&lt;/li&gt;
&lt;li&gt;verification, reset, and magic-login URLs&lt;/li&gt;
&lt;li&gt;access tokens, OAuth codes, and message bodies&lt;/li&gt;
&lt;li&gt;arbitrary provider error payloads&lt;/li&gt;
&lt;li&gt;headers copied without a field allowlist&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The distinction is important. A hash of an inbox can still be sensitive, but it is usually more useful for grouping repeated events than a raw address. Use a keyed hash when you need resistance to offline guessing, and keep the key outside the log pipeline. Do not log the first few characters of a token as a shortcut; that habit spreads quickly and is hard to audit later.&lt;/p&gt;

&lt;h2&gt;
  
  
  A structured event shape
&lt;/h2&gt;

&lt;p&gt;Structured logging makes the privacy contract visible in code. Here is a small TypeScript example for a mail polling adapter:&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;type&lt;/span&gt; &lt;span class="nc"&gt;EmailCheckEvent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;event&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"email_check"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;correlationId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;providerMessageId&lt;/span&gt;&lt;span class="o"&gt;?:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"accepted"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"not_found"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"rejected"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"expired"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="o"&gt;?:&lt;/span&gt; &lt;span class="s2"&gt;"subject_mismatch"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"ownership_mismatch"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"too_old"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"token_missing"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="n"&gt;observedCount&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="n"&gt;elapsedMs&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="p"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;logger&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;info&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;event&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"email_check"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;correlationId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;providerMessageId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"rejected"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ownership_mismatch"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;observedCount&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;elapsedMs&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The allowlist is doing most of the work here. The logger never receives &lt;code&gt;address&lt;/code&gt;, &lt;code&gt;html&lt;/code&gt;, &lt;code&gt;text&lt;/code&gt;, or &lt;code&gt;verificationUrl&lt;/code&gt;, so a later formatter cannot accidentally print them. In practice, this is more reliable than adding a redaction filter after every object has already been serialized. The details depend of the allowlist, not on a clever formatter.&lt;/p&gt;

&lt;p&gt;Be strict about types, too. A generic &lt;code&gt;metadata: Record&amp;lt;string, unknown&amp;gt;&lt;/code&gt; field looks flexible, but it become a backdoor for someone to attach a response object during an incident. If a field is needed for diagnosis, name it and define its safe values. Otherwise, extra informations tend to accumulate.&lt;/p&gt;

&lt;p&gt;One practical concern is the provider reponse: its shape can change, but the safe event contract should not change with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Correlate without copying the inbox
&lt;/h2&gt;

&lt;p&gt;Correlation IDs let engineers connect browser, API, and mail events without using an email address as the join key. Generate one per attempt, pass it through the verification request, and include it in the test report. A stable message ID can be added after the provider returns it, but it should not replace the run-level ID.&lt;/p&gt;

&lt;p&gt;This works well beside &lt;a href="https://dev.to/kevindev27/replay-safe-verification-with-postgresql"&gt;replay-safe verification design&lt;/a&gt;, where the database already has a clear notion of an attempt. For CI, publish only the safe event fields in &lt;a href="https://dev.to/pong1965/github-actions-summaries-for-email-checks-3coj"&gt;CI summaries for email checks&lt;/a&gt;. The summary can say that a message was observed and rejected without embedding the link that would make the artifact dangerous.&lt;/p&gt;

&lt;p&gt;One detail teams miss alot: correlation IDs should have bounded lifetime and scope. Do not derive them from a user email, and do not keep them forever just because the logging system does. Retention is part of the privacy design.&lt;/p&gt;

&lt;h2&gt;
  
  
  Operational checklist
&lt;/h2&gt;

&lt;p&gt;Before enabling verbose email diagnostics, I check:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is the event schema an allowlist rather than a copy of the provider response?&lt;/li&gt;
&lt;li&gt;Can a log reader recover an inbox address, token, or message body from the fields?&lt;/li&gt;
&lt;li&gt;Does every retry get a new correlation ID or an explicit attempt number?&lt;/li&gt;
&lt;li&gt;Are CI artifacts and local traces covered by the same retention rule?&lt;/li&gt;
&lt;li&gt;Is &lt;code&gt;tamp mail com&lt;/code&gt; treated as an accidental user input or search phrase, not as a trusted domain?&lt;/li&gt;
&lt;li&gt;Are redaction tests running against new logging fields?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The last check is easy to skip. It is also where privacy regressions often start: a harmless-looking &lt;code&gt;debug&lt;/code&gt; object gets added, and the provider response comes along for the ride. When its added during an incident, the review is usually rushed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions teams usually ask
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Should we log a hashed email address?
&lt;/h3&gt;

&lt;p&gt;Only when grouping is genuinely useful. Prefer a keyed hash, document its purpose, and apply retention. If a correlation ID already solves the investigation, do not add another identifier just because it is available.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is a temporary inbox safe to print in a private CI log?
&lt;/h3&gt;

&lt;p&gt;Not by default. Private logs still get copied, downloaded, and retained by more people and systems than expected. Print a redacted label or a short-lived internal reference instead.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do we debug a missing message without its content?
&lt;/h3&gt;

&lt;p&gt;Log the poll window, message count, provider ID, subject classification, and rejection reason. If content inspection is unavoidable, use a separately protected diagnostic path with explicit access and expiry. Keep that exceptional workflow out of routine test output.&lt;/p&gt;

&lt;p&gt;Good email logs are not empty logs. They are decision records: what the adapter looked for, what it found, and why it accepted or rejected the candidate. That balance improves debugging today and leaves less privacy debt for the next incident.&lt;/p&gt;

</description>
      <category>privacy</category>
      <category>security</category>
      <category>devtools</category>
      <category>testing</category>
    </item>
    <item>
      <title>The Firecracker balloon device: reclaiming guest memory, and why it is not a limit</title>
      <dc:creator>Sandscale</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:24:20 +0000</pubDate>
      <link>https://dev.to/sandscale/the-firecracker-balloon-device-reclaiming-guest-memory-and-why-it-is-not-a-limit-3pj8</link>
      <guid>https://dev.to/sandscale/the-firecracker-balloon-device-reclaiming-guest-memory-and-why-it-is-not-a-limit-3pj8</guid>
      <description>&lt;p&gt;You give a Firecracker microVM a fixed amount of memory at boot. Workloads do not use a fixed amount. The balloon device is how a host gets back memory a guest is not using, and how it can squeeze a guest that is using too much. It is also one of the few Firecracker features whose documentation comes with a security disclaimer in bold, which is a good reason to understand it before relying on it.&lt;/p&gt;

&lt;p&gt;This post follows Firecracker's &lt;a href="https://github.com/firecracker-microvm/firecracker/blob/main/docs/ballooning.md" rel="noopener noreferrer"&gt;balloon documentation&lt;/a&gt; as of November 2026. It explains Firecracker itself; it does not describe how Sandscale or any other platform manages guest memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  How a memory balloon works
&lt;/h2&gt;

&lt;p&gt;A balloon is a virtio device with a driver inside the guest. The host sets a &lt;strong&gt;target size&lt;/strong&gt; in MiB. The driver then:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;while the balloon is smaller than the target, allocates memory inside the guest and reports those pages to the host, which may then release them;&lt;/li&gt;
&lt;li&gt;while the balloon is larger than the target, frees memory back to the guest until it reaches the target.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Inflating the balloon takes memory away from the guest's processes; deflating gives it back. The host changes only the target size while the VM runs. The device's other options are fixed at configuration.&lt;/p&gt;

&lt;p&gt;If the driver cannot allocate more, the docs say it logs &lt;code&gt;Out of puff! Can't get %d pages&lt;/code&gt;, waits 0.2 seconds and tries again. That message in a guest's kernel log means the host is asking for more memory than the guest can give.&lt;/p&gt;

&lt;h2&gt;
  
  
  The options
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;deflate_on_oom&lt;/code&gt;&lt;/strong&gt;: when &lt;code&gt;true&lt;/code&gt;, if a guest process would push the guest into out-of-memory, the kernel takes pages from the balloon instead of invoking the OOM killer. It covers physical allocations for guest processes, not the kernel's own needs or allocations the guest's memory manager refuses outright. The docs walk through the &lt;code&gt;vm.overcommit_memory&lt;/code&gt; interaction and do not recommend setting it to 1.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;stats_polling_interval_s&lt;/code&gt;&lt;/strong&gt;: how often, in seconds, the guest driver updates balloon statistics; 0 disables them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;free_page_reporting&lt;/code&gt;&lt;/strong&gt;: the guest continuously reports memory ranges it is not using so the host can reclaim them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;free_page_hinting&lt;/code&gt;&lt;/strong&gt; (developer preview): a host-triggered way to reclaim free memory.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The part in bold
&lt;/h2&gt;

&lt;p&gt;The balloon is paravirtualized: it only works if the driver in the guest cooperates. Firecracker's docs list what a well-behaved driver does: it does not change the target, it takes exactly as many pages as asked, it reports its size truthfully, it does not reuse inflated pages, and it gives correct statistics. Then they say Firecracker does not and cannot check any of that, because the guest is not trusted, and if the driver is compromised none of those statements are guaranteed.&lt;/p&gt;

&lt;p&gt;Put plainly: &lt;strong&gt;the balloon is not a memory limit.&lt;/strong&gt; A guest running hostile code with root can stop cooperating. The docs tell operators to make sure the host can cope with the Firecracker process using all the memory it was given at boot, even if the balloon was used to restrict it, and to monitor memory use. Their suggested responses to unexpected growth are to move the VM to a host with more memory via a snapshot, to kill the Firecracker process, or to enable swap at the cost of speed.&lt;/p&gt;

&lt;p&gt;Two more consequences:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Do not size a host on balloon targets.&lt;/strong&gt; If you overcommit memory assuming balloons will hold guests down, one uncooperative guest can push the host into trouble.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Treat balloon statistics as hints.&lt;/strong&gt; They come from the guest driver. The docs say to view them as an indication, not a guarantee.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What the balloon cannot do, even with a broken driver, is leak memory between VMs. The docs say page frame numbers from the driver are checked to be inside the guest's own memory before Firecracker discards the ranges, so a guest cannot use the balloon to read or affect memory outside its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the real limit comes from
&lt;/h2&gt;

&lt;p&gt;The hard memory bound for a Firecracker guest is the memory you configured at boot, enforced by KVM and the host. On the host side, the production guide points at the cgroup memory controller to bound the Firecracker process, and the jailer sets cgroups up. The balloon sits inside that bound and helps you use memory efficiently. It does not replace the bound.&lt;/p&gt;

&lt;p&gt;For agent sandboxes, which run code nobody has reviewed, that distinction matters. Plan for each guest to use all of its configured memory. Use the balloon to get memory back from well-behaved guests that are done with it, never as the thing that keeps a hostile guest in check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Balloons and snapshots
&lt;/h2&gt;

&lt;p&gt;The docs' suggestion to move a VM to a bigger host via a snapshot is a reminder that snapshot and restore is also a memory management tool. If you build on both, test the combination with your guest kernel; &lt;a href="https://sandscale.dev/blog/microvm-snapshots-pitfalls" rel="noopener noreferrer"&gt;microVM snapshot pitfalls&lt;/a&gt; covers other things that go wrong across a restore.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Sandscale fits
&lt;/h2&gt;

&lt;p&gt;On Sandscale, each sandbox is a Firecracker microVM with the memory you choose within your plan's limits (&lt;code&gt;memoryMb&lt;/code&gt; in the SDK), and you do not manage balloons. What you see when a sandbox runs out is in the run result: &lt;code&gt;oomKilled&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt; when the command was killed for memory. Pausing a sandbox keeps its memory and disk; stopping it ends it. &lt;a href="https://sandscale.dev/blog/sizing-sandboxes-vcpu-memory" rel="noopener noreferrer"&gt;Sizing sandboxes&lt;/a&gt; covers picking a size.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://sandscale.dev/blog/firecracker-balloon-device-explained" rel="noopener noreferrer"&gt;Sandscale blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>firecracker</category>
      <category>linux</category>
      <category>virtualization</category>
      <category>memory</category>
    </item>
    <item>
      <title>Build a Week-One Welcome Reminder for Your Community With Python</title>
      <dc:creator> AI Automation Enterenpeur</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:24:08 +0000</pubDate>
      <link>https://dev.to/greatest7/build-a-week-one-welcome-reminder-for-your-community-with-python-1f3a</link>
      <guid>https://dev.to/greatest7/build-a-week-one-welcome-reminder-for-your-community-with-python-1f3a</guid>
      <description>&lt;p&gt;If you run an online community, a course or a beta user group, your newest members are the ones most likely to vanish. The fix isn't more content. It's noticing them: a thank-you on day 0, a nudge on day 3 and a check-in on day 7.&lt;/p&gt;

&lt;p&gt;The messages should stay human. What you can automate is remembering who's due for which message. Let's build that in about 30 lines of plain Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Keep a CSV of members and the date they joined.&lt;/li&gt;
&lt;li&gt;Each morning, a script works out how many days each member has been in.&lt;/li&gt;
&lt;li&gt;If someone is on day 0, 3 or 7, it prints a draft message for you to personalize and send.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No API keys and no platform lock-in. It works with any community tool, because you send the messages yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The data
&lt;/h2&gt;

&lt;p&gt;Create members.csv:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight csvs"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;joined&lt;/span&gt;
&lt;span class="nc"&gt;Dana&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;26&lt;/span&gt;
&lt;span class="nc"&gt;Luis&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;23&lt;/span&gt;
&lt;span class="nc"&gt;Priya&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2026&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;11&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;19&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The script
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;csv&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;

&lt;span class="no"&gt;TEMPLATES&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hey {name}, thanks for joining! Quick question: what's the one thing you want to fix first?"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hi {name}, checking in. Based on what you shared, this post is a great place to start: {start}"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"{name}, one week in! What's been most useful so far, and what's missing?"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="no"&gt;START_POST&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"the pinned Start Here post"&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;load_members&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;newline&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;csv&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;DictReader&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;messages_due&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;members&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;today&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;due&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;members&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;joined&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strptime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"joined"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"%Y-%m-%d"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;days_in&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;today&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;joined&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;
        &lt;span class="n"&gt;template&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;TEMPLATES&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days_in&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;template&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;template&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;format&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;START_POST&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;due&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days_in&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;due&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"__main__"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;members&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;load_members&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"members.csv"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;due&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;messages_due&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;members&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;today&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="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;due&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"No welcome messages due today."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;text&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;due&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"[Day {day}] {name}\n{text}\n"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it on Nov 26 with the sample CSV and you'll get a day 0 message for Dana, a day 3 message for Luis and a day 7 message for Priya.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;load_members() reads the CSV into a list of dicts using the csv module from the standard library.&lt;/li&gt;
&lt;li&gt;messages_due() subtracts the join date from today to get days_in, then looks up a template for that day. A dict keyed by day number makes adding a day 14 or day 30 message a one-line change.&lt;/li&gt;
&lt;li&gt;Results are sorted by day, so the newest members show up first.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Running it every morning
&lt;/h2&gt;

&lt;p&gt;Schedule it with cron:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;0 8 * * * &lt;span class="nb"&gt;cd&lt;/span&gt; ~/community &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; python3 welcome.py &lt;span class="o"&gt;|&lt;/span&gt; mail -s &lt;span class="s2"&gt;"Welcome messages due"&lt;/span&gt; you@example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now there's a short to-do list in your inbox at 8am.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ideas to extend it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add a "replied" column and skip the day 3 nudge for anyone who already answered on day 0.&lt;/li&gt;
&lt;li&gt;Store each member's day 0 answer and choose the day 3 starting post based on it.&lt;/li&gt;
&lt;li&gt;Export new members from your community tool once a week and append them to the CSV.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Keep the human part human
&lt;/h2&gt;

&lt;p&gt;Resist the urge to auto-send these messages. The whole point is that a real person noticed. Let the script do the remembering so you can do the welcoming.&lt;/p&gt;

&lt;p&gt;I'm using this approach in my own community for automation-minded business owners and creators. Come say hi: &lt;a href="https://www.skool.com/automation-enterenpeur-7666" rel="noopener noreferrer"&gt;https://www.skool.com/automation-enterenpeur-7666&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>automation</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
    <item>
      <title>When Should You Translate a Manga Sound Effect?</title>
      <dc:creator>Zephyrwr6k</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:23:43 +0000</pubDate>
      <link>https://dev.to/zephyrwr6k/when-should-you-translate-a-manga-sound-effect-fjj</link>
      <guid>https://dev.to/zephyrwr6k/when-should-you-translate-a-manga-sound-effect-fjj</guid>
      <description>&lt;p&gt;In an invented manga sequence, a door closes hard in one panel. The frame shakes, the character recoils, and バタン cuts diagonally across the door. In the next panel, the room seems still. A small カチャ beside the lock is the only hint that someone has turned the key from the other side. A translation can leave the first effect in place and still make the scene easy to follow. Leave the second one unexplained, though, and a reader may miss the reason the character stops trying the handle.&lt;/p&gt;

&lt;p&gt;The deciding question is whether the reader can infer the same event without reading the lettering. Keep an effect if the drawing already communicates it. Give it a short gloss if it adds information the drawing cannot carry alone. Consider replacing the lettering if the translated effect needs to occupy the same place in the reading sequence and you can restore the artwork underneath. Our example panels are original teaching illustrations; the suggested English wording is an editorial example.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read the next panel before choosing a word
&lt;/h2&gt;

&lt;p&gt;In the first panel, “slam” is a useful gloss because the door visibly moves and the character reacts. In a panel where the door is already closed, the same kind of mark might suggest an impact elsewhere. Start by identifying the object that made the sound, the distance from the viewpoint, and the action that follows. A small カチャ by a lock may be “click”; a mark near a drawer full of keys may call for a different reading. If the drawing does not establish what made the sound, keep the gloss equally unspecific.&lt;/p&gt;

&lt;p&gt;Manga also uses words for things you cannot record with a microphone. The &lt;a href="https://www.jpf.go.jp/j/project/japanese/teach/tsushin/hint/201201.html" rel="noopener noreferrer"&gt;Japan Foundation’s manga lesson&lt;/a&gt; distinguishes expressions for actual sounds from expressions for a state or manner. It also discusses how thin or bold lettering can change the impression of a scene. A trembling hand, a flash of light, or a sudden pause may call for an action or mood note instead of an English noise. Ask what the word tells the reader, then ask how much of that information the picture already supplies.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose a treatment before masking
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Keep.&lt;/strong&gt; If readers can already see the door slam, leaving バタン in place retains the size, angle, and timing of the mark. It also avoids painting over the speed lines. Check the next panel once more to make sure the effect does not distinguish two events that look the same in the image.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gloss.&lt;/strong&gt; If the lock click creates a plot clue, add a short translated label close enough to identify the source. The margin or a quiet corner of the panel may be enough. Use a size and weight that suit the scene. A quiet latch should not dominate an illustration or read as if a character said the word. If the original lettering lands before a reaction bubble, place the gloss where the reader can encounter it in that order.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reletter.&lt;/strong&gt; If the release calls for fully localized lettering, reserve this option for effects that need to stay inside the panel. First record the source text, what it conveys, and where the eye should meet it. Then make a mask, rebuild the background, and letter over the restored layer. Test the lettering at the final page size. A replacement that fits on a desktop crop can disappear at phone width.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiow9901x6dov8c63bmb8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiow9901x6dov8c63bmb8.png" alt="Original decision chart for keeping, glossing or relettering manga effects" width="799" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Separate a reading error from a cleanup error
&lt;/h2&gt;

&lt;p&gt;Imagine the end of バタン crossing a black handle and three pale motion lines. A broad rectangle can cover the lettering, but it also removes part of the handle and the line ends. A mask that hugs the strokes preserves more of the page; an uneven outline can still leave fragments that look like scratches. Compare the untouched and cleaned images at the same scale. Inspect a line crossing the mask boundary on both sides. If the line changes direction or stops abruptly, fix the restoration before evaluating the lettering.&lt;/p&gt;

&lt;p&gt;Keep a small review sheet with one row per effect. Record the panel, the chosen wording, the treatment, and one feature of the original drawing that has to survive. For our two-panel example the checks are concrete. The movement lines still meet the first door edge. The click still comes before the reaction in the next panel. A reviewer can check both without knowing the original spelling. If the reviewer sees a slam where the script only calls for a soft click, adjust the wording or the visual weight.&lt;/p&gt;

&lt;h2&gt;
  
  
  A check you can run on one page
&lt;/h2&gt;

&lt;p&gt;Pick a spread with one large effect, one subtle effect, and one normal dialogue bubble. Read both panels before translating. Circle the effect that changes your interpretation of the scene, write a two- or three-word gloss, then preview the page at reading size. Put the page in front of someone who cannot read the source language and ask what happened, in which order. If they catch the visible impact but miss the latch, add the small gloss. If they understand the scene and the new letters crowd the panel, keep the original. Do a second pass for line breaks and backgrounds only where lettering actually changed.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written and illustrated with AI assistance. The two-panel example is a constructed illustration, not a product benchmark.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>localization</category>
      <category>aimangatranslator</category>
    </item>
    <item>
      <title>How I Built 35 Source-Backed Seller Fee Calculators + /llms.txt for AI Search</title>
      <dc:creator>Tools Praktis</dc:creator>
      <pubDate>Fri, 27 Nov 2026 02:22:34 +0000</pubDate>
      <link>https://dev.to/toolspraktis/how-i-built-35-source-backed-seller-fee-calculators-llmstxt-for-ai-search-1917</link>
      <guid>https://dev.to/toolspraktis/how-i-built-35-source-backed-seller-fee-calculators-llmstxt-for-ai-search-1917</guid>
      <description>&lt;p&gt;Most online seller fee calculators have two annoying problems: they either hide behind a sign-up wall, or they hardcode outdated percentages without showing the math or official sources.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;a href="https://sellergauge.com" rel="noopener noreferrer"&gt;SellerGauge&lt;/a&gt;&lt;/strong&gt; — a fast, zero-signup suite of &lt;strong&gt;35 free calculators&lt;/strong&gt; and &lt;strong&gt;43 source-backed guides&lt;/strong&gt; for online sellers, resellers, and freelancers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Makes It Different (Tech + GEO Stack)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;100% Static Next.js 16 (98 Static Pages)&lt;/strong&gt; — Every calculator runs client-side with instant &lt;code&gt;useMemo&lt;/code&gt; updates, zero backend database latency, and no user inputs ever sent to a server.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Source-Backed 2026 Fee Tables&lt;/strong&gt; — Every fee rate is checked against official provider pricing pages (PayPal, Stripe, Payoneer, Wise, Amazon FBA, eBay, Etsy, Poshmark, Mercari, Depop, Grailed, TikTok Shop, Shopify, StockX, Whatnot, Upwork, Fiverr) and includes a visible &lt;code&gt;QuickAnswer&lt;/code&gt; + &lt;code&gt;FactTable&lt;/code&gt; + &lt;code&gt;FAQSection&lt;/code&gt; + &lt;code&gt;SourceList&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured Data for Search + AI Overviews&lt;/strong&gt; — Every page ships JSON-LD (&lt;code&gt;WebApplication&lt;/code&gt;, &lt;code&gt;Article&lt;/code&gt;, &lt;code&gt;FAQPage&lt;/code&gt;, &lt;code&gt;BreadcrumbList&lt;/code&gt;, &lt;code&gt;SpeakableSpecification&lt;/code&gt;, &lt;code&gt;CollectionPage&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built for AI Search (&lt;code&gt;/llms.txt&lt;/code&gt; &amp;amp; &lt;code&gt;/llms-full.txt&lt;/code&gt;)&lt;/strong&gt; — Both endpoints expose clean Markdown fee tables and calculator URLs for LLM grounding, alongside automated &lt;strong&gt;IndexNow&lt;/strong&gt; submissions on deploy.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  2026 Fee Quick Reference (on a $100 US Order)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Platform&lt;/th&gt;
&lt;th&gt;2026 Standard Rate&lt;/th&gt;
&lt;th&gt;Fee on $100&lt;/th&gt;
&lt;th&gt;Calculator&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stripe (online card)&lt;/td&gt;
&lt;td&gt;2.9% + $0.30&lt;/td&gt;
&lt;td&gt;$3.20&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/stripe-fee-calculator" rel="noopener noreferrer"&gt;Stripe Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PayPal Checkout&lt;/td&gt;
&lt;td&gt;3.49% + $0.49&lt;/td&gt;
&lt;td&gt;$3.98&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/paypal-fee-calculator" rel="noopener noreferrer"&gt;PayPal Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Depop (US/UK, non-Boosted)&lt;/td&gt;
&lt;td&gt;0% + 3.3% + $0.45&lt;/td&gt;
&lt;td&gt;$3.75&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/depop-fee-calculator" rel="noopener noreferrer"&gt;Depop Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Etsy (no Offsite Ads)&lt;/td&gt;
&lt;td&gt;$0.20 + 6.5% + 3% + $0.25&lt;/td&gt;
&lt;td&gt;$9.95&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/etsy-fee-calculator" rel="noopener noreferrer"&gt;Etsy Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mercari (US)&lt;/td&gt;
&lt;td&gt;10% flat&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/mercari-fee-calculator" rel="noopener noreferrer"&gt;Mercari Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;eBay (most categories)&lt;/td&gt;
&lt;td&gt;13.6% + $0.40&lt;/td&gt;
&lt;td&gt;$14.00&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/ebay-fee-calculator" rel="noopener noreferrer"&gt;eBay Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Amazon (referral only)&lt;/td&gt;
&lt;td&gt;15% (min $0.30)&lt;/td&gt;
&lt;td&gt;$15.00 + FBA&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/amazon-fba-revenue-calculator" rel="noopener noreferrer"&gt;Amazon FBA Revenue Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Poshmark ($15+)&lt;/td&gt;
&lt;td&gt;20% flat&lt;/td&gt;
&lt;td&gt;$20.00&lt;/td&gt;
&lt;td&gt;&lt;a href="https://sellergauge.com/calculators/poshmark-fee-calculator" rel="noopener noreferrer"&gt;Poshmark Fee Calculator&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Live site: &lt;a href="https://sellergauge.com" rel="noopener noreferrer"&gt;https://sellergauge.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Full 2026 comparison: &lt;a href="https://sellergauge.com/guides/2026-seller-fee-benchmark" rel="noopener noreferrer"&gt;2026 Seller Fee Benchmark&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;AI reference: &lt;a href="https://sellergauge.com/llms.txt" rel="noopener noreferrer"&gt;https://sellergauge.com/llms.txt&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Public fee reference repo: &lt;a href="https://github.com/auw07/2026-seller-fee-reference" rel="noopener noreferrer"&gt;https://github.com/auw07/2026-seller-fee-reference&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you've also experimented with &lt;code&gt;/llms.txt&lt;/code&gt; or &lt;code&gt;SpeakableSpecification&lt;/code&gt; for AI citations, I'd love to hear what worked for your site!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>seo</category>
      <category>showdev</category>
      <category>nextjs</category>
    </item>
  </channel>
</rss>
