Ryan McCuaig

2024 Dec 27

The way datomic works, I can also make sure all handlers on the read side never get a datomic connection. They only get a database value. I have a middleware that binds the current value of the database as request processing starts up. The result here is that there's no possibility that any read-side booboo can transact new information into the database.

12:53

It was pretty simple using ring in clojure to set up two http servers (one for reading, one for writing). This lets me protect them differently. The writer can be on my tailscale and not accessible outside of it. I've written some lua for neovim so that I can post from my editor; no point in making a web interface for it.

12:49

Im setting up a new blog with everything in Datomic, but otherwise as simple as I can make it so that Im actually writing instead of coding.

01:18

this is a test post

01:08