Thursday, March 26, 2026

Traveller System Update 31.5 - Notes on data entry

Well, putting in the data is certainly a longer process than I would like. If this sort of thing happened a lot, I'd create an import function as those are pretty simple to implement. Working my way through entering the stellar data, just so I can calculate the orbits! Yeah, I could take the easy way out but oddly I like math and figuring out how to do this sort of thing (not saying I am good at math, but like physics and a few other things, I like it without necessarily being good at it. See any earlier posts on game organization!)

Anyway, got through adding a few more and realize I'll have to add paging functions to this page. I had a few choices when I started this project, which was first, yet another version of some form of Traveller software, but also a way for me to play with the latest version of .NET. Way back when I started and .NET came out, the boss would never let me use the latest and greatest. "Never use a .0 release" was the common refrain. And from a business viewpoint, pretty standard honestly and safer. I went to a local .NET user group for years and they got to play and show of the latest stuff, things I could not use. Anyway - now I can at least for personal projects like this one. And actually I was at my former job as it was not yet in production, as well as that entire software ecosystem is pretty mature and thoroughly tested even for .0 releases.

Anyway, back to paging: the repositories in this application are mostly pretty standard, and now I am wishing I used a generic repository as that would have covered probably 95% of the usage. What that means is: instead of having a repository class (where we can load and update data for a specific table), we create a generic repository where we pass in something like <StellarData> to indicate the stellar data type. It would have simplified things so that I would not have to write a service class per model. However - the downside of that is things that are unique to a class, or if you want to include related records, I think makes that approach a lot more complicated. Like a lot of things even outside the world of software, one solution rarely solves all the problems. And as an aside, don't get me started with Entity Framework being a repository pattern already! I go back and forth on that a lot as well. And yes, unless you are a developer or in the IT world, probably a WTF am I talking about?!

Regardless, I'll have to add a paging function as the list, even when half completed, is already quite long! Maybe a search function as well so we can find all the G0 class info, or all the subgiant type info. Not sure what would even be needed since I am the only one using this. You can see why a product owner can be important - let the developer know what is really needed versus what we think is important!

But why this is only half an update: it was mostly data entry and some musings. Though I may go ahead & add the paging functions as that is not complicated. For good or bad, I just get the AI to do most of it. Or I can copy/paste from other code where I did this before. But AI is a great tool if still overhyped in so many ways.

that is a lot of data!

I really need to also start looking at the next game. Getting laid off really throws me off a good bit. Still taking some time off though I did attempt to sharpen up my resume and randomly apply to some interesting places where it looks my skills could work. But as I told my group - the good news about this is that I have more time for game prep and reading! There is always a bright side to everything. Sometimes you really have to look hard though!

But I think the players are excited - they have some character ideas, and I've started going through the Backstory Generator and two of the characters are in the employ of Zoemina Ladle and sometimes take the crab apples to the castle, a journey of less than a day. They usually meet at the Roost (an inn built into the trees of the forest) but also have a secret location as sometimes she may have them do more clandestine operations and need to meet a bit more in secret. The two players are the wife & child of one of the players, so not sure how to get the location of the secret place to them. Though my group is pretty good about metagaming so if the players know that and the characters do not, they will stick in character. I'll have to check.

not sure who did this but found on Pinterest


No comments: