terminal DEVTOP
article Posts
5 posts

In the age of AI

calendar_today schedule 9 min read

There’s nothing new beneath the sun. The preacher said, and now it’s done.

Degenerative Pixels “No one needs us anymore”

In the last few months I (and the rest of the world) have been experimenting with AI, usually for literature research, proof-reading, and a bit of programming. But what I found is that this way of using AI ends up in a question/answer loop: I write a prompt, the AI performs the action and reports back, repeat. This changed quite a bit when I discovered Google Antigravity, which is an agent harness for Gemini. Antigravity (and later Claude for Visual Studio Code) changed the way I do programming, mostly because of a handful of features.

The most obvious feature is tool-calling. This allows the AI to use programs and services on your own machine or in the cloud to accomplish its task, which means access to the compiler, linter, debugger, and git. This also means that the AI can now check generated code before it presents that code to you. The second feature is prompting the user; this is by far the most important one. When you are asking the AI to do a larger or more complex task (such as implementing a parser), you might want to retain control over the design and implementation. Usually the AI returns a multiple choice form, each with pros and cons; and most of the time the AI recommends the most sensible option. The third is not really a feature, but more a “natural” outcome from the model itself and the above mentioned features: The reasoning of the AI is quite good, even further down the line and in medium-to-large codebases. Thus the reasoning combined with prompting the user allows even complex code modifications to become feasible.

The revolution is here

At the company I work for, we had a couple of systems that were critical but also unmaintainable. Most of it was in-house or heavily-modified software running on bare-metal or virtual machines. We wanted to refactor and containerize them for the longest time, but the paths to do that were not obvious. The simpler ones we did ourselves. For the complex ones, we made AI do it, using the simpler ones as examples. Each of these systems were refactored and containerized in a day, with testing and production deployment within three days. If I may believe some testimonies on the internet this is quite slow, but in comparison to refactoring it by hand, this is awesome. The more important part of the story are the lessons I learned. You see, some of these previously unmaintainable systems were written, deployed, and maintained by me. And I realized that many of the ideas I had in the earliest part of my career were quite bad. To be fair: This was before I understood computer science and SRE, which combined with some work experience makes up the bulk of my present ideas.

Some time later I was asked by my manager to design and implement a system for access control auditing. Presently (December of 2026), it is still in development with the expectation that it will be operational before February of 2027. I am excited about this project because of its potential, but also because it allows me to pursue some of the ideas I have been playing with.

Quicktable

I have been wanting to implement a wide-column database ever since I read the paper on Google Bigtable. The thing is, I do not have the need for scalability as much as Google does, nor the availability as much as Google does. What I actually need is an equivalent to Google Bigtable, in the same way that SQLite is an equivalent to MySQL.

I started this project with a single Go file. I wrote some comments, with a link to the paper, and some example code snippets. The link to the paper was to define the general idea behind the project. The comments defined what I wanted the AI to do in this file; and the code snippets encoded my style. As always, I asked the AI to prompt me for design and implementation questions, and that I would be working on some other part of the code. Some time after I answered the questions, the AI reported back that it had written the code. Indeed it was a very rudimentary wide-column engine around the Badger key/value store. Now, it took some more prompting before I had a design that actually worked. But after that, features and even performance refactors were implemented very fast. Most notably the MCP server, which (after I did most of the initial REST API) was trivial to implement with a single prompt.

The implementation of Quicktable took less than a week; including a query engine, an MCP server, testing, and even a Web UI. I am currently using Quicktable in the project I mentioned above, and I actually like using it. Surely this marks the end of conventional software development?

Theta Lisp

  • Primitive expressions, which represent the simplest entities the language is concerned with.
  • Means of combination, by which compound elements are built from simpler ones.
  • Means of abstraction, by which compound elements can be named and manipulated as units.

MIT “Structure and Interpretation of Computer Programs”

Theta is a Lisp interpreter I have been working on since May of 2025. I stopped around July of 2025 because I kept hitting a wall, I could not implement the features in Theta the way I wanted. So last week (December of 2026), I asked the AI to analyze my code and report what is wrong. As it turns out I made some bad assertions about environments and recursive functions, with which I programmed myself into a corner. But I do love Lisp, and writing a Lisp interpreter is a well known problem. So I wiped the repository, asked the AI to discard anything it knew about Theta, and start from scratch.

The first attempt failed, but not because the AI could not build a Lisp. It failed because it made the most generic Lisp you could imagine. Theta Lisp, as powered by the “Knight” evaluator, was a combination of CL, ELisp, Clojure, Scheme, and others. You could say it lacked nothing but elegance. So I added a new package in line with “Knight” which I called “Bishop”; I asked the AI to build the Bishop evaluator from first principles, as defined by the SICP book. After a few rounds of prompting I had Theta Lisp, the programming language I always wanted.

Theta Lisp, as powered by the Bishop evaluator, is awesome. It expresses the way I think about computation:

  • Do not have a nil/null, nothingness, falsehood, and the origin point are all 0.
  • Do not have floating point, rational numbers are just lists, either (mantissa exp) or (numerator denominator).
  • Pipe operator (|> x f...), where x is passed through each f, left to right.
  • Partial application.
  • Can solve classical mathematical problems, such as “The eight queens”.
  • Can evaluate the evaluator: the “Metacircular evaluator”.

You can learn Theta Lisp via the programming manual.

Everything is fine

Hey team! Quick one before the weekend: Leadership’s super excited about AI.

Degenerative Pixels “LGTM”

AI is changing software development and driving its cost down, which is a good thing. Previously, solutions that we developed in-house were quick and dirty hacks, simply because time is money. Every hour you are spending on a pet project, is an hour you are not spending on the customer. What we gained with AI is not just efficiency, it is the idea that in-house solutions can be more than just pet projects. Learning and maintaining them may be slightly harder, but has that not always been the case?

So yes, the bots have taken over and there is nothing left to prove. But this is fine, because now we can actually build the solutions we wanted. Delivering value to our customers, and ourselves.

Go explore and implement the ideas you have!

References: AGENTS.md

# Working Style

Plan 9 / Unix taste: small, plain, obvious code. Applies to every language here.

## Scope

- Do what was asked. No unrequested features, refactors, config options, or "while I'm here" cleanups. Mention them instead.
- The smallest diff that solves the problem is the right one.
- No speculative generality: no interface with one implementation, no flag nobody passes, no layer "for later".
- Don't add dependencies without asking. The standard library is usually enough.
- Ask about design and implementation choices before settling them yourself: data structures, interfaces, approach. Don't guess and build.

## Fit In

- Match the surrounding code exactly: naming, formatting, error style, file layout. New code must be indistinguishable from old.
- Read neighbouring code before writing. Reuse existing helpers rather than writing near-duplicates.
- Keep structure flat. Don't split a small program into many files or packages.

## Code

- Data first. Get the structures right; the code should follow from them.
- Simple algorithms. Optimize only with a measurement showing the need.
- Guard clauses and early returns; keep the happy path unindented.
- Short names in short scopes (`n`, `p`, `buf`); clear, unadorned names at package level.
- Explicit comparisons (`n == 0`, `p != nil`) over truthiness tricks.
- Check every error where it occurs. Error messages are plain lowercase text, no stack traces.
- Release resources (files, locks, transactions) in the scope that acquired them.

## Comments

- Comment why, never what. No comments that narrate the change ("added X", "fixed Y").
- If code needs a paragraph to explain, simplify the code.
- Don't add docstrings, headers, or type annotations to code you didn't otherwise touch.

## CLI Tools

- Read stdin, write stdout, diagnostics to stderr.
- Single-letter flags (`-v`, `-n`, `-f`).
- Exit 0 on success, distinct non-zero codes for distinct failures.

## Verify

- Build and run the tests after changing code. If you can't, say so.
- Report failures as they are; don't claim something works that you didn't check.
- Don't write tests or docs unless asked or the project clearly expects them.