We Write Code By Hand
Here's an interesting group: https://handcraftedcode.org I'm an "absolutely no LLM" bigot. I need to do the thinking. I like to do the fiddly, tedious hard parts. I always have liked it.
Here's an interesting group: https://handcraftedcode.org I'm an "absolutely no LLM" bigot. I need to do the thinking. I like to do the fiddly, tedious hard parts. I always have liked it.
I'm an "absolutely no LLM" bigot. I need to do the thinking. I like to do the fiddly, tedious hard parts. I always have liked it. I have (finally) released a usable DSL for OpenD6 spells and characters. See the OpenD6 tag for a bunch of rel…
I'm an "absolutely no LLM" bigot. I need to do the thinking. I like to do the fiddly, tedious hard parts. I always have liked it. See https://codeberg.org/robida/human.json. This content is human-generated. All the mistakes are mine, withou…
Lets look at my favorite OO-Design problem domain: card games. We'll compare the design of two games: Cribbage and Canasta. Why? Because they have three common abstractions: cards, hands, and a score. Overall the player's are dealt cards, f…
See Writing Project -- perhaps a bad idea. I'm trying to dig around in my old notes to pull together a "World Book" with a fantasy setting I think has a lot of good gaming opportunities. More important, I've got a pile of details for a fair…
When playing a game using D6 -- and only D6 -- we're sometimes confronted with a need to make a selection from equiprobable items. For example, pick a random day of the week: 7 choices, but only 6 sides to a die. How can we select fairly am…
In time for your Holiday Reading. Want guidance on OO design in Python? Want a lot of concrete examples, fully tested? I can't emphasize the testing enough. Too many folks learn to code without really being required to create unit test case…
You rarely need this. Python handles memory management for you. Except in an edge case where you have a lot of objects to work with. How many is a lot? Enough that your app crashes with MemoryError exception. Or, is consuming so much memory…
The back-story. See Coping With Complexity. See https://github.com/cloud-custodian/cel-python for the code base. Back around May 26, I created this branch. Today -- July 2 -- I've got the tests to pass. I made mistakes. I spent a lot of tim…
We test software. We test people. My lawyer, all my various doctors, even the coffee bar on main street is subject to testing. The coffee shop proudly posts their score from health inspections. Want to know about food safety? Ask them. My p…
Let's talk about extracting data from complex relational databases. This is -- in a way -- another case study for my Unlearning SQL book. KDP https://www.amazon.com/dp/B0DDMFMXNW Lulu https://www.lulu.com/shop/steven-lott/unlearning-sql/pap…
I saw a confusing post on https://fosstodon.org. I won't link to it, but I will quote it because it repeats some common misconceptions. There are two unrelated misconceptions here. One's an minor error, the other is a nuanced design choice.…