<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>TIL on Writing Developer</title>
    <link>https://writingdeveloper.com/tags/til/</link>
    <description>Recent content in TIL on Writing Developer</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 07 Aug 2026 07:00:00 +0200</lastBuildDate><atom:link href="https://writingdeveloper.com/tags/til/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Constant work pattern</title>
      <link>https://writingdeveloper.com/posts/constant-work-pattern/</link>
      <pubDate>Fri, 07 Aug 2026 07:00:00 +0200</pubDate>
      
      <guid>https://writingdeveloper.com/posts/constant-work-pattern/</guid>
      
      
      <category>til</category>
      
      
      
      <description>&lt;p&gt;I recently came across a pattern that was new to me.&lt;/p&gt;
&lt;p&gt;The name &amp;ldquo;constant work&amp;rdquo; says it all: you do the same amount of work &lt;em&gt;regardless of the load or the failures the platform is experiencing&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Typically, you always do the work sized for the worst case, even when there&amp;rsquo;s almost nothing to do; this way, whatever happens, &lt;em&gt;that part of the system is stable, reliable and predictable&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Another interesting property you might want when applying the pattern is anti-fragility: the work stays fixed, but its contents shrink as things fail.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>SQLite has STRICT tables</title>
      <link>https://writingdeveloper.com/posts/sqlite-has-strict-tables/</link>
      <pubDate>Tue, 21 Jul 2026 07:00:00 +0200</pubDate>
      
      <guid>https://writingdeveloper.com/posts/sqlite-has-strict-tables/</guid>
      
      
      <category>til</category>
      
      
      
      <description>&lt;p&gt;I didn&amp;rsquo;t know that SQLite tables are dynamically typed by default. You can declare a type for a column, but the database will happily store whatever data you put in it!&lt;/p&gt;
&lt;p&gt;Luckily, SQLite provides a &lt;code&gt;STRICT&lt;/code&gt; option that enforces the declared type.&lt;/p&gt;
&lt;p&gt;It works for both &lt;code&gt;INSERT&lt;/code&gt; and &lt;code&gt;UPDATE&lt;/code&gt; operations:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TABLE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;table_strict&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;age&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;INTEGER&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;STRICT&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;INSERT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;INTO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;table_strict&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;age&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;VALUES&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;ciao&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;-- Runtime error: cannot store TEXT value in INTEGER column table_strict.age (19)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;INSERT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;INTO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;table_strict&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;age&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;VALUES&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;38&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;UPDATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;table_strict&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;age&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;ciao&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;WHERE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;age&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;38&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;-- Runtime error: cannot store TEXT value in INTEGER column table_strict.age (19)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Thanks to &lt;a href=&#34;https://evanhahn.com/prefer-strict-tables-in-sqlite/&#34;&gt;Evan Hahn&lt;/a&gt; for the TIL!&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>What is an agentic harness</title>
      <link>https://writingdeveloper.com/posts/what-is-an-agentic-harness/</link>
      <pubDate>Sun, 12 Jul 2026 07:00:00 +0200</pubDate>
      
      <guid>https://writingdeveloper.com/posts/what-is-an-agentic-harness/</guid>
      
      
      <category>til</category>
      
      
      
      <description>&lt;p&gt;For a while now, posts and articles everywhere have started mentioning &amp;lsquo;coding harness&amp;rsquo;, &amp;lsquo;agentic harness&amp;rsquo; and so on. Also the &lt;a href=&#34;https://pi.dev/&#34;&gt;Pi home page&lt;/a&gt; says &amp;ldquo;There are many agent harnesses but this one is yours&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re a native speaker, this is probably trivial, but for me it was a word that I had never come across before and I had to research what it meant, especially in the software engineering context (a literal Italian translation didn&amp;rsquo;t help).&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Git clone supports a --sparse option</title>
      <link>https://writingdeveloper.com/posts/git-clone-supports-sparse-option/</link>
      <pubDate>Mon, 29 Jun 2026 07:00:00 +0200</pubDate>
      
      <guid>https://writingdeveloper.com/posts/git-clone-supports-sparse-option/</guid>
      
      
      <category>til</category>
      
      
      
      <description>&lt;p&gt;I was deploying one of my projects on my home server and I only needed the &lt;code&gt;docker-compose.yml&lt;/code&gt; located at the top-level of the repo, not the full code. My first solution was to copy-paste it, but then I updated the file and forgot to sync it, and it bothered me.&lt;/p&gt;
&lt;p&gt;Surprisingly, I found out that &lt;code&gt;git clone&lt;/code&gt; supports a &lt;a href=&#34;https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---sparse&#34;&gt;sparse option&lt;/a&gt; that by default only checks out the top-level files! To also limit what&amp;rsquo;s downloaded, you can partial clone the repo with the option &lt;code&gt;--filter=blob:none&lt;/code&gt;.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss> 