<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>sqlite — toothywalrus</title><link>https://blog.toothywalrus.dev/topics/sqlite/</link><description>Long-form write-ups about SDR, homelab, electronics and tooling — plus a weekly log of what actually got built.</description><language>en-us</language><lastBuildDate>Thu, 06 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.toothywalrus.dev/topics/sqlite/index.xml" rel="self" type="application/rss+xml"/><item><title>mc-server, week 32: Line 1 opens, traps everyone, reopens</title><link>https://blog.toothywalrus.dev/logbook/2026-w32-mc-server/</link><pubDate>Thu, 06 Aug 2026 00:00:00 +0000</pubDate><guid>https://blog.toothywalrus.dev/logbook/2026-w32-mc-server/</guid><category>weeknotes</category><category>minecraft</category><category>sqlite</category><description>&lt;p&gt;The week&amp;rsquo;s theme was transport. The subway is the first thing on the server
that has to work for other people rather than just exist, and that changes
what counts as done.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The stack decision came first.&lt;/strong&gt; Server-side, on Paper&amp;rsquo;s own minecarts,
rather than anything that needs players to install a client mod — the whole
point is that someone can join and ride it. And explicitly transport first:
the settlement-simulation ideas are a separate thing that can wait, which is
now written down specifically so I stop bundling them in.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Then Metro, then Line 1.&lt;/strong&gt; Surveyed the server-side plugin options (and
corrected a wrong claim about TrainCarts I&amp;rsquo;d already committed to a decision
record — that one is on me), adopted Metro, and built Spawn Central to East
Terminal as a test line. Getting it onto the web map took &lt;code&gt;route_points&lt;/code&gt;, and
then a caveat: the map&amp;rsquo;s depth test makes an underground line look wrong, so
the line is drawn above the terrain on purpose. Accuracy traded for
legibility, deliberately.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The station ate me.&lt;/strong&gt; The walls generated at a station edge are sensible for
something arriving on rails and a sealed box for something arriving on foot.
I walked in and could not get out. Fixed, and recorded as a general lesson —
if I generate geometry from config again, a human may approach it from an
angle the config never considered. East Terminal also turned out to need a
surface exit before it was a station rather than a hole in the ground.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The bake-off has no result.&lt;/strong&gt; With Metro working, I installed TrainCarts
alongside it, because multi-passenger riding is what I actually want and I
don&amp;rsquo;t know which plugin gives it to me. Two bugs so far and both are mine: a
spawner sign outside the rail&amp;rsquo;s range, and signs placed where they could
never link to the rail. Nothing decided yet.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Away from the metro:&lt;/strong&gt; the settlement sim got SQLite persistence and a real
tick-loop scheduler instead of whatever it had before, with the persistence
choice recorded as stdlib-only and no ORM until something demands one. NPCs
will be FancyNpcs rather than Citizens. And the Bedrock bridge turns out to go
stale between restarts, so there&amp;rsquo;s now a refresh script that runs at 4am and
skips it if anyone is actually playing.&lt;/p&gt;
&lt;div class="provenance"&gt;
 &lt;h2&gt;Where this came from&lt;/h2&gt;
 &lt;p&gt;Work between 3 and 6 August 2026 in the &lt;code&gt;mc-server&lt;/code&gt; repository — about 23
commits, plus decision records 0011–0017 written in the same window. The
repository is private; this is a summary of what&amp;rsquo;s recorded there.&lt;/p&gt;
&lt;p&gt;The TrainCarts comparison is reported as unfinished because it is. Nothing
above describes a configuration that wasn&amp;rsquo;t actually applied to the server.&lt;/p&gt;

&lt;/div&gt;
</description></item></channel></rss>