Poor Man's Bitemporal Database: Time Travel with SQLite

2025-09-04

This article details the author's journey building a simplified bitemporal database using SQLite for their indie B2B SaaS project. It delves into the nature of temporal data, the truthiness of facts, and the simulation of time travel. Detailed Clojure code examples demonstrate using SQLite, HoneySQL, and UUIDv7 to create an efficient and maintainable bitemporal database. The author stresses the importance of system simplicity, scalability, and data sovereignty, sharing experiences and challenges in architectural design and code implementation.

Read more
Development temporal database

Clojure Web Development: A Philosophical Look at Frameworks vs. Libraries

2025-05-21

This article delves into the framework vs. library choice in Clojure web development. The author argues that popular web frameworks, like industrial automation, solidify architecture and thought processes, while the Clojure community favors flexible library combinations. Using Ring and Jetty as examples, the article explains the fundamental principles of building Clojure web applications, including request handling, middleware, and routing mechanisms. It also recommends various introductory resources and mature web stacks, helping developers find their suitable path within the Clojure ecosystem.

Read more
Development

Old-School Clojure REPL Habits: A Grug's Approach

2025-04-09

A seasoned Clojure programmer shares his unique REPL workflow, eschewing cloud LLMs and external dependencies in favor of traditional tools and techniques. He emphasizes mastery of the Clojure standard library, leveraging the REPL for live code debugging and data inspection using tools like clojure.pprint and clojure.repl. He advocates for using tools like Clerk or org-mode to enhance the workflow and demonstrates how this dynamic approach can be applied to non-Clojure contexts. This article showcases a stark contrast to modern trends, offering a refreshing alternative perspective for developers.

Read more
Development

Org-Mode: Ditch Messy Notes, Embrace Structured Text

2025-02-28

This is a deep dive into the author's experience with Org-Mode, a powerful note-taking system. The author details its use for note-taking, presentations, blogging, and more, highlighting its structured text format and extensibility. Common questions are addressed, such as comparisons to Markdown, Emacs dependency, and application scenarios, along with recommendations for various Org-Mode apps. The author concludes by emphasizing Org-Mode's efficiency and convenience, encouraging readers to try this powerful tool.

Read more
Development structured text