Coding 2026-04-13
I didn't touch the synthesis code yet today, but I did work through the calendar code some more. It's now at the point where very basic calendars probably work, but before I move on with things, I really should try to get this stuff properly organized.
Let's see what I want in the near and far terms:
- Divide things up into small modules.
- Implement more calendars.
- Implement some time handling.
- Implement proposed calendars for other planets, figure out what breaks as a result.
Let's dive into that a little before I wrap up. All of the formulas I'm working from assume, roughly speaking, that days in different calendars move in lockstep. In particular, there's one day per day. This doesn't quite hold if we then switch to considering martian sols. My gut feeling is that martian calendars should require a sol-based equivalent to absolute day counts, and that conversions between martian and terrestrial calendars should be done based on moments, with some kind of conversion factor I don't want to think about. (In a sci-fi setting, this conversion factor can be elided with the assumption of FTL communication.) The exception is that it makes sense to talk about, given a martian month and day (or whatever), which martian year has the corresponding date falling within a given year of an earth calendar, or vice versa.
Working through this might inspire some changes to the current implementation; we'll see. For now, I want to get ready to go, and not think too much about any of this for the rest of tonight.
Good night.