<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scratch Pad</title><link>https://solivagant.dev/</link><description>Recent content on Scratch Pad</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 07 Feb 2026 10:33:06 -0400</lastBuildDate><atom:link href="https://solivagant.dev/index.xml" rel="self" type="application/rss+xml"/><item><title>LLMs and coding</title><link>https://solivagant.dev/posts/llm_spec/</link><pubDate>Sat, 07 Feb 2026 10:33:06 -0400</pubDate><guid>https://solivagant.dev/posts/llm_spec/</guid><description>&lt;p&gt;It seems clear to me that coding agents are here to stay.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; It&amp;rsquo;s a funny thing, though, instructing
a computer using natural language.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s forget about LLMs for a moment and think about describing a desired solution to a colleague so that they can go
off and implement it. You might say that they need to implement an API to create frobulators.
Maybe you give a few more details, but you don&amp;rsquo;t write down a detailed specification. They might
start implementing this and get to a point where they need to figure out what happens if you
request to create frobulator X, but X already exists. Do you return success, do you return an error,
do you do something else? A less experienced developer might make an implicit choice here. A more
experienced one may realize there are multiple options and come back and ask you.
There are many low-level choices that need to be made when building a system that impact
correctess, performance, security, observability, and so on. Each problem will have many solutions,
but only some of those solutions are desriable. And what desirable means is part from general knowledge
and past experience, but also part context and situation specific. Experienced developers are the ones able
to consistently produce desirable solutions based on the context the system will inhabit.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description><content>&lt;p&gt;It seems clear to me that coding agents are here to stay.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; It&amp;rsquo;s a funny thing, though, instructing
a computer using natural language.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s forget about LLMs for a moment and think about describing a desired solution to a colleague so that they can go
off and implement it. You might say that they need to implement an API to create frobulators.
Maybe you give a few more details, but you don&amp;rsquo;t write down a detailed specification. They might
start implementing this and get to a point where they need to figure out what happens if you
request to create frobulator X, but X already exists. Do you return success, do you return an error,
do you do something else? A less experienced developer might make an implicit choice here. A more
experienced one may realize there are multiple options and come back and ask you.
There are many low-level choices that need to be made when building a system that impact
correctess, performance, security, observability, and so on. Each problem will have many solutions,
but only some of those solutions are desriable. And what desirable means is part from general knowledge
and past experience, but also part context and situation specific. Experienced developers are the ones able
to consistently produce desirable solutions based on the context the system will inhabit.&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;Today LLMs are more like the less experienced developer. If you don&amp;rsquo;t give enough detail,
they&amp;rsquo;ll generally make a choice and call the job done. If you have the LLM generating &lt;em&gt;lots&lt;/em&gt; of
code, then good luck finding all of the choices that it made that you didn&amp;rsquo;t realize needed to
be made. How is this different than working with humans, though? Humans tend to have predictable
judgement and they can be held accountable. You know that if Jane says something is done, there
is a likely range of possibilities that the software could be in. Of course, Jane could have
made a mistake. With an LLM, you have no way of knowing. It&amp;rsquo;s claims of completeness mean nothing.
The LLM makes decision that no human would ever make. LLMs might get better over time and know
when their task is too ambiguous and must ask questions, but natural language is just ambiguous
period and it&amp;rsquo;ll never be perfect.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re leading a large team, you don&amp;rsquo;t have time to review every single decision (implicit or explicit) made by the
developers on the team. So what can you do? You can ask about validation. You can make sure
that the way the software is validated makes it very likely that it meets all the requirements
around correctness, performance, security, and so on.&lt;/p&gt;
&lt;p&gt;Does this work with LLMs? It could. But who writes the tests? If you need to write all the tests
by hand then we&amp;rsquo;re not going to get the full benefit of AI assisted coding. But if the LLMs
write the tests, can we trust them? Today&amp;rsquo;s LLMs make decisions that no human would make.
It&amp;rsquo;s pretty common for an LLM to give up on a test and just decide to do something else so
that it can make it to the next step in the project. A reasonable human would never do that.
The human knows they are accountable and are being paid to do a job and cheating the test
might mean they no longer have a job.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;Though we&amp;rsquo;ll see what happens when the VC money runs out - can inference be made cheap
enough or will the real cost of using frontier models for coding agents make their usage at scale untenable?&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;And let&amp;rsquo;s not even talk about the harder problem of figuring out &lt;em&gt;what&lt;/em&gt; to build.&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content></item><item><title>Code Feels</title><link>https://solivagant.dev/posts/feels/</link><pubDate>Sun, 25 May 2025 00:00:00 +0000</pubDate><guid>https://solivagant.dev/posts/feels/</guid><description>&lt;p&gt;I worked at the same company for about ten years.
While I ended up working on many different systems,
there were a couple constants in the mix. It&amp;rsquo;s remarkable how
ingrained those codebases are in my head. Having started
a new job, I miss the ability to quickly know
&lt;em&gt;exactly&lt;/em&gt; where in the code needs to change to support
some new feature.&lt;/p&gt;
&lt;p&gt;This ability to navigate a codebase in your head feels
to me very much like navigating the physical world.
It feels almost like
walking through callgraphs and directory structures.
In a codebase I&amp;rsquo;m very familiar with, I can plop myself
down to exactly the right location and all paths from
there are clear. In a new codebase, I often need to start
from some few currently-known starting points and try
to navigate from there, trying to discover my
destination. I wonder if it&amp;rsquo;s the same for others.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;</description><content>&lt;p&gt;I worked at the same company for about ten years.
While I ended up working on many different systems,
there were a couple constants in the mix. It&amp;rsquo;s remarkable how
ingrained those codebases are in my head. Having started
a new job, I miss the ability to quickly know
&lt;em&gt;exactly&lt;/em&gt; where in the code needs to change to support
some new feature.&lt;/p&gt;
&lt;p&gt;This ability to navigate a codebase in your head feels
to me very much like navigating the physical world.
It feels almost like
walking through callgraphs and directory structures.
In a codebase I&amp;rsquo;m very familiar with, I can plop myself
down to exactly the right location and all paths from
there are clear. In a new codebase, I often need to start
from some few currently-known starting points and try
to navigate from there, trying to discover my
destination. I wonder if it&amp;rsquo;s the same for others.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;ChatGPT tells me that there has been some research here
and thinking about code organization triggers
the parietal lobe, which is also used for physical
navigation. I don&amp;rsquo;t feel like determining if this is
a hallucination or fact, but it does align with my
feeling.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content></item><item><title>Converged Consensus</title><link>https://solivagant.dev/posts/converged/</link><pubDate>Sun, 09 Mar 2025 10:33:06 -0400</pubDate><guid>https://solivagant.dev/posts/converged/</guid><description>&lt;p&gt;A well known pattern for building systems is to break them down into
&lt;a href="https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/control-planes-and-data-planes.html"&gt;data planes and control planes&lt;/a&gt;.
Despite having known this and done this for years, I never considered this
distinction within log replication protocols, another thing I&amp;rsquo;ve thought about for years.
The data plane of a log replication protocol can just be concerned with failure-free data redundancy (e.g. replication or erasure coding).
The control plane is then concerned with handling and recovering from failures.
Raft is a &amp;lsquo;converged&amp;rsquo; protocol mixing both data plane and control plane
is one protocol and one log. But it doesn&amp;rsquo;t have to be that way.&lt;/p&gt;</description><content>&lt;p&gt;A well known pattern for building systems is to break them down into
&lt;a href="https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/control-planes-and-data-planes.html"&gt;data planes and control planes&lt;/a&gt;.
Despite having known this and done this for years, I never considered this
distinction within log replication protocols, another thing I&amp;rsquo;ve thought about for years.
The data plane of a log replication protocol can just be concerned with failure-free data redundancy (e.g. replication or erasure coding).
The control plane is then concerned with handling and recovering from failures.
Raft is a &amp;lsquo;converged&amp;rsquo; protocol mixing both data plane and control plane
is one protocol and one log. But it doesn&amp;rsquo;t have to be that way.&lt;/p&gt;
&lt;p&gt;I think this is a nice framework to think about the variety of log replication prtocols out there.
Thanks to Jack Vanlightly for &lt;a href="https://jack-vanlightly.com/blog/2025/2/6/steady-on-separating-failure-free-ordering-from-fault-tolerant-consensus"&gt;writing&lt;/a&gt; about this.
Check out his survey on the topic.&lt;/p&gt;</content></item></channel></rss>