tools

  • programming version-control tools

    Git Time Machine: Browsing a Repository Through Time.

    Git Time Machine: a filesystem with a past.

    I have been working on a tool called Git Time Machine (GTM). The idea is simple: instead of thinking of a Git repository as a sequence of commits, treat it as a filesystem that can be visited at different points in time.

    Pick a repository, a branch, and a moment. GTM finds the corresponding historical snapshot. From there you can browse files, inspect their histories, compare versions, and extract an older file without disturbing your working tree.

  • programming tools

    Migrating from Jekyll to a custom static site generator

    Replaced the Jekyll-based blog with a custom static site generator written in Go.

  • programming tools

    dex - directory comparison tool in Go

    Released dex, a Go port of my Python dircmp utility. Clean architecture, static binaries, no dependencies.

    Compares two directory trees and sorts files into five buckets:

    1. Exact match — same path, same content
    2. Modified — same path, different content
    3. Same content, different path
    4. Only in src
    5. Only in dst

    Also finds duplicates within a single directory.

    dex [options] <dir>           # find duplicates
    dex [options] <src> <dst>     # compare directories
    

    Options: -a hidden files, -r recurse, -f fast digest, -b brief, -l full digests.

    Prebuilt binaries for Linux and macOS in the releases.

  • emulators retro-computing tools

    Building and Installing OpenSIMH from Source

    A video walking the user through the process of obtaining, building and installing OpenSIMH from source. This is a prerequisite for installing Research Unix Version 6 or 7.

    Enjoy!

  • linux os tools

    github actions - seriously?

    This post is not a particularly informative one, but when I tried to switch to github actions for publishing the blog, uh, it went poorly.

    Maybe I'll try again later, but for the time being - sticking with publish a branch.

    If you're lost reading this, no worries. It's github speak for if it ain't broke, don't fix it :).

    post added 2024-09-23 19:12:00 -0600

  • tools

    Geometry Explorations

    This note describes a method for fixing Thunderbird when it hangs while indexing.

    I'm posting this in case it's useful to folks and for my own reference. It took me a quite a while to figure it out.

    So you have been using Thunderbird for your email for a while, on Windows, Linux, Mac, FreeBSD, and so on, for let's say a couple of decades. If you copy your profile around much, you are bound to hit an indexing issue where Thunderbird is unable to index your archives. You open up Activity Manager and it helpfully reports:

    Indexing 32 of 14243 messages in Archives/2002-2020/2016

    Read on for the fix.

  • tools

    A Modern PDF Cleanup Workflow

    This note provides a workflow for taking a less than optimized PDF and optimizing it for viewing and printing. It isn't a cure-all for sick PDF's, but it does work for a lot of them. I've struggled with badly scanned PDF's for a long time and this workflow represents my current best approach.

    The note also provides a cookbook of solutions to problems I have run up against and the solutions that I currently use to address those problems.

  • tools

    Enabling Mermaid in Jekyll without a Plugin

    Historical note (November 2026): This article describes how I added Mermaid support to the blog when it was built with Jekyll. The blog now uses a custom static site generator written in Go. The Jekyll-specific instructions are preserved for historical reference; Mermaid remains supported.

    Mermaid is a javascript tool to generate graphics - diagrams and charts and such using markdown-like syntax. This note describes adding it into a jekyll site such as mine https://decuser.github.io

    flowchart LR id1((a)) --> id2((b)) & c--> d

    Flowchart Example

  • version-control tools

    Merging binary files in Fossil - to do or not to do?

    This is a note about merging (or not merging) binary files in Fossil.

    Scenario

    Two users Marilyn and Jim update to latest and begin working on their versions of the repository. Marilyn, changes a binary file called DEMO and commits her changes. Meanwhile, Jim changes his DEMO and tries to commit his changes. When he does so, he is warned that a fork would result from his commit.

    Current Situation

    flowchart LR START[ ]-->id1((2))-->id2((3)) id1((2))-..->STOP[ ] style START fill-opacity:0, stroke-opacity:0 style STOP fill-opacity:0, stroke-opacity:0

    In this note, I look at different solutions to the problems arising when two different committers try to commit changes to the same binary file. This is just a note, not a published solution set. It presents my current thinking on the matter and will inevitably evolve as my understanding of Fossil grows.

  • bsd os version-control tools

    Installing and running Fossil on TrueNAS Core

    This note is about installing and running Fossil SCM on TrueNAS Core.

    Fossil is brought to us by the same people who developed SQLite. It was created to serve their needs, but is useful to everybody with a similar set of needs (pretty much any dev team). According to the fossil folks over at https://fossil-scm.org, "Fossil is a simple, high-reliability, distributed software configuration management system..." To mme, it's my git-killer.

    I have been running Fossil for about a year to see if it was worth replacing git for my own use. After this year, while I still like git and I will continue to use it for disposable repos, I have completely jumped ship for my own repos and won't be going back to hosting them on anything else anytime soon. Fossil is very lightweight, fast and responsive, has a fantastic server side ui, and is slightly more intuitive to use. It is also easier to recover from when things go wonky.