What is in an Interactive Rebase?

July 24, 2025

If we understand what files git rebase creates, then we can manually create our own rebase plan.

# Lets check out a branch to work with
git checkout origin/main demo-branch
# and kick off a rebase against root
git rebase -i --root

Markdown Virtual Table: Implementing SELECT

June 19, 2025

I have been continuing my earlier [virtual table] [prototype] and it is slowly coming along.
I uploaded a version to [codeberg] while I was debugging python packaging.
I do not have it quite working right, but I think I will be using [setuptools-rust] for now (pr).

This post is partly to help document what I have discovered over time so will not be complete code examples in every case.
In the future I will be uploading the project to Codeberg and later to PyPi.

Most of my rust code is likely not great, so would appreciate a mentor!

SQLite Virtual Tables from Django

May 30, 2025

{{% alert info %}}
Uploaded code to Codeberg
{{% /alert %}}

Sqlite has support for [virtual tables] which can be used for external datasources.
There is an example csv data source that allows you to query a csv file as if it was a regular table.

.load ./csv
CREATE VIRTUAL TABLE temp.csv USING csv(filename=FILENAME);
SELECT * FROM csv;

I do not really want to write C for this, but I found the [rusqlite] project which allows writing a loadable_extension that provides virtual tables.
Using their [vtablog] example (slightly modified) I was able to test from sqlite with a rust module.