<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Lixquid&apos;s Microblog</title>
        <link>https://blog.lixquid.com/microblog/</link>
        <description>Short posts from Lixquid&apos;s microblog.</description>
        <language>en</language>
        <lastBuildDate>Sat, 17 Oct 2026 00:00:00 GMT</lastBuildDate>
        <atom:link href="https://blog.lixquid.com/microblog/rss.xml" rel="self" type="application/rss+xml" />
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">d0a248fd-7ad2-4f55-b5db-5ecdbd27ab6a</guid>
            <pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;Some shortcuts I use in #bash that are downright essential and are criminally under-reported: Ctrl-A to go to the start of the line, Ctrl-E to go to the end, Ctrl-W to delete the last word.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">b1a5e595-0da1-4acd-acf9-e3d773db8db2</guid>
            <pubDate>Thu, 08 Oct 2026 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;It&amp;#39;d be nice if it was possible to keep some branches or refs in a git repo private instead of pushing everything to the &amp;quot;main&amp;quot; public repo. I wonder if there&amp;#39;s a way to automatically create a git repo (or repos) that would work as an extra remote that is for private publishing, then autoconfigure refspecs to restrict branches to the public repo.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">ec543d51-72ae-403c-8594-fd74c914da41</guid>
            <pubDate>Thu, 08 Oct 2026 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;If you&amp;#39;ve &lt;code&gt;cd&lt;/code&gt;&amp;#39;d somewhere, you can return to the directory you were in previously with &lt;code&gt;cd -&lt;/code&gt;. This works for &lt;code&gt;git checkout -&lt;/code&gt; as well!&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">dba789ec-5eb2-4a52-9712-2a20fee88af6</guid>
            <pubDate>Thu, 11 Dec 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;If you have badges with spikes in the back, and they tend to fall out, you can get badge holders that are secured with screws / hex keys. To date, I&amp;#39;ve not had a badge fall out secured with one!&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">44529cc5-7bcf-4231-bade-eab242736228</guid>
            <pubDate>Thu, 11 Dec 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;If your car has a Fuel Indicator (⛽) with a triangle next to it (◀ / ▶), that arrow indicates on which side the fuel intake is.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">99de71e5-c916-4cfc-84fe-82d8dcfdb71f</guid>
            <pubDate>Sat, 18 Oct 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can see what ports are in use on a #linux system with &lt;code&gt;netstat&lt;/code&gt; with &lt;code&gt;netstat -pln&lt;/code&gt;. Mnemonic: &amp;quot;netstat plan&amp;quot;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">52597260-024c-424c-9622-37c71ef4c9ce</guid>
            <pubDate>Mon, 11 Aug 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;When joining two objects in #blender with a Boolean modifier, to also copy materials, the object with the modifier must also have the same materials in its material slots.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">9615f236-bb79-4538-afa8-8d182e7c6955</guid>
            <pubDate>Mon, 11 Aug 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can select only the perimeter, border, outline, or boundary of a #blender selection by using Select &amp;gt; Select Loops &amp;gt; Select Boundary Loop.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">0196cf63-d2f9-4486-81fb-7700609486af</guid>
            <pubDate>Thu, 19 Jun 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can detach from an attached #docker container by pressing Ctrl-P, then Ctrl-Q. This will leave the container running in the background, like if you had started it with &lt;code&gt;docker run -d&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">8d19bd53-475e-4fba-9fe1-75928e968778</guid>
            <pubDate>Fri, 28 Feb 2025 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can get a calendar on the command line in #unix systems by running &lt;code&gt;cal&lt;/code&gt;. You can also specify a year with &lt;code&gt;cal 2025&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">4b779866-5fc3-466d-8897-cacb359b5dbb</guid>
            <pubDate>Wed, 04 Dec 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can find the common ancestor of two #git commits / branches with &lt;code&gt;git merge-base &amp;lt;commit1&amp;gt; &amp;lt;commit2&amp;gt;&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">a2e06c47-a0db-4f1d-baac-3ea222de352c</guid>
            <pubDate>Wed, 04 Dec 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;In #git, the commit Author is who wrote the code originally, while the Committer is the person who applied the commit. Authoring happens before committing, but they can be the same person or at the same time.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">4e22d400-83c7-4e1a-a613-4f6d3ce7fcbd</guid>
            <pubDate>Tue, 03 Dec 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can find out the default entrypoint for a #docker image by running
  &lt;code&gt;docker inspect --format &amp;#39;{{.Config.Entrypoint}}&amp;#39; &amp;lt;image&amp;gt;&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">fa13d9bc-5bd9-4be6-89b5-b1a75829d4bd</guid>
            <pubDate>Thu, 03 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;By default #sqlite will immediately fail with &lt;code&gt;SQLITE_BUSY&lt;/code&gt; if you try to write to a database that&amp;#39;s already in use. You can instead make it wait and continually retry by setting &lt;code&gt;PRAGMA busy_timeout=5000;&lt;/code&gt; (this sets the timeout to 5 seconds). Read more: &lt;a href=&quot;https://sqlite.org/pragma.html#pragma_busy_timeout&quot;&gt;https://sqlite.org/pragma.html#pragma_busy_timeout&lt;/a&gt;&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">7e7efcce-a075-4882-92ab-71574dcb79ac</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;Avoid completely general util packages or files; more often than not they end up as a dumping ground for anything and everything. Instead, try to at the very least attach a single theme to them, like &lt;code&gt;randutil&lt;/code&gt; or &lt;code&gt;strutil&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">0ebab70d-b9e5-414d-898a-7389b01c167c</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;#sqlite does not actually enforce foreign key constraints by default for historical reasons. You can (and should!) enable them by running &lt;code&gt;PRAGMA foreign_keys=true;&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">41a70405-d76f-4324-ad78-adf33cf35235</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;If you&amp;#39;re storing a lot of large binary data in #sqlite, consider increasing the page size with &lt;code&gt;PRAGMA page_size=32768;&lt;/code&gt; (this sets the page size to 32KB). Note that reads and writes always happen in page-sized chunks, so reads will be faster but writes will be slower. Read more: &lt;a href=&quot;https://sqlite.org/pragma.html#pragma_page_size&quot;&gt;https://sqlite.org/pragma.html#pragma_page_size&lt;/a&gt;&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">8f803dae-61ae-474a-869f-696537371c10</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;If you&amp;#39;ve enabled the WAL in #sqlite, you can turn down the synchronous commit setting to &lt;code&gt;normal&lt;/code&gt; via &lt;code&gt;PRAGMA synchronous=normal;&lt;/code&gt; to make &lt;code&gt;fsync&lt;/code&gt; calls happen only when the WAL is checkpointed. Read more: &lt;a href=&quot;https://www.sqlite.org/pragma.html#pragma_synchronous&quot;&gt;https://www.sqlite.org/pragma.html#pragma_synchronous&lt;/a&gt;&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">dd90252c-32a0-4700-bf27-d7aa0c5b29de</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can get significantly better performance in #sqlite by enabling the Write Ahead Log (WAL), via &lt;code&gt;PRAGMA journal_mode=WAL;&lt;/code&gt;. Read more: &lt;a href=&quot;https://www.sqlite.org/wal.html&quot;&gt;https://www.sqlite.org/wal.html&lt;/a&gt;&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">c78d29cd-a41e-4bf7-acae-12bf41a3930d</guid>
            <pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;You can pass a constructor to a #kotlin method expecting a function by putting a &lt;code&gt;::&lt;/code&gt; in front of the constructor type. For example, &lt;code&gt;listOf(1,2,3).map(::IntWrapper)&lt;/code&gt;.&lt;/p&gt;</description>
        </item>
        <item>
            <link>https://blog.lixquid.com/microblog/</link>
            <guid isPermaLink="false">b816d779-1bdf-46fe-9bb9-350f2ddb7dfc</guid>
            <pubDate>Tue, 24 Sep 2024 00:00:00 GMT</pubDate>
            <description>&lt;p&gt;Been storing passwords with a weak hash, want to use a stronger one, but don&amp;#39;t have access to the plaintext passwords? In addition to rehashing with a stronger algorithm when users log in (and you temporarily have access to the plaintext), you can also hash the weak hash with the stronger algorithm and store that, then check by performing both hashes when users log in.&lt;/p&gt;</description>
        </item>
    </channel>
</rss>
