Coding 2024-08-31

By Max Woerner Chase

Okay, I just did a bunch of questionable things, but I've made progress on the adventure background, so technically this is a gain.

Basically, I realized that the whole attempt to create Tap was a sign that I was trying to do things that were already solved problems. As such, I decided to go where the libraries I know are. Instead of tracking data in Lua files, I'm going to switch to Python, and try to rely on TOML. (This does mean that the data format doesn't have control flow, but, like, whatever.) I can then read it into a nested data structure, then use cattrs to convert it to attrs.

Those later steps shouldn't be necessary just yet. Not until I want to do stuff like convert the star sector data into a nice hex grid. Inside tech baseball: The capabilities of uv compile have me interested, even though it probably won't mean more for this project, and definitely won't mean anything until I specify some dependencies. Regardless, I'm maintaining a lockfile for this code, to see what happens. Hopefully nothing too exciting. I really do appreciate the modularity that uv has. Like, the virtualenv management? I don't vibe with that workflow right now. Not using it. uv pip is not judging me for this. uv pip is also taking commands that have nothing to do with pip's commands, but I have to imagine everyone is super-tired of that conversation.

Anyway, sleep.

Good night.