Aaron's Stuff

Same Deal Every Time

I was telling someone the other day that every computer I’ve bought has cost about $700-800, even though they keep getting more powerful. You can spend a lot more than that, of course. But it seems like each time I put together a system with current proven hardware that’s plenty powerful for my needs, the price ends up in that range, going back to my first computer in 1988. Then I got to wondering whether that’s really true.

Hats for Bats

If I wear a hat doing work out in the yard, I usually wear a baseball cap style hat, as is common around here. But the other day a few of my hats fell apart in the laundry, they were getting so worn. So while I was at Farm & Home getting feed, I thought I’d look at hats. The first one – just an ordinary baseball cap – was $30.

C Programming: Tic-Tac-Toe Simulator - Part 4

The fourth and final video in the series. I add the ability to ask for a number of games on the command line, do some final cleanup of the code and testing, and push it all to my gitlab repository. I intend to do more programming videos, so if you have suggestions or questions, please send them to aaron@baugher.biz. I may try some live streaming so it would be possible to interact in more of a classroom manner, if these generate any interest in that.

July 12th Garden Update

We got a half-inch or so of rain last week, but still need more. Things were curling up again within a few days. Currently harvesting sweet corn and Swiss chard, hoping the snap beans kick in soon. So far, thanks to the heat, there’s nothing that will win any ribbons at the fair, but it’s still a couple weeks away. I tried something different with this one, taking photos and doing a slideshow with voiceover, instead of live video.

C Programming: Tic-Tac-Toe Simulator - Part 3

This is the one where I spend an embarrassing amount of time figuring out how exactly to avoid losing a game of tic-tac-toe. Got it figured out, though. Now the players are smart enough to force a tie every time. In Part 4 I’ll clean up the code somewhat, add a few more features, and maybe talk about what comes next in the series. Part 1 Part 2 Part 4 tttbot repository

C Programming: Tic-Tac-Toe Simulator - Part 2

Here in part 2 I write most of the code, getting the program to where it can simulate one game. The AI is very dumb at this point, on purpose, so I could make sure the win and block conditions worked correctly. Part 3 will make it smart enough to produce all tie games, clean up the code, and do any debugging. This isn’t a tutorial, so I’m not trying to teach C in it, though that’s something I may tackle at another time.

C Programming: Tic-Tac-Toe Simulator - Part 1

This the first part in a series of videos on C programming, which will walk the viewer through programming a tic-tac-toe simulator (a program which has the computer play against itself, a la War Games). I will be making it up as I go along, so you’ll get to see how the sausage is made, from designing to debugging. I hope that doesn’t result in too many long pauses as I think about things, or too many times of backing up and starting over, but we’ll see.

June 19 Garden Update

Shot this one yesterday, after the tiny bit of rain we got out of some pretty dark clouds. Better than nothing, and at least it cooled things off some overnight. The weed situation is much more under control now than two weeks ago. There are still a few here and there, but now that the ones I pulled have died, I can spot the stragglers. Everything I started inside is now transplanted, but I have a few plants – cauliflower, kale, and tomatoes – that I picked up cheap at Farm & Home to find a place for.

Little Buddy

One of the kittens turned up starving a few days ago, so I have a new best friend. Nothing like hunger to tame a wild cat, I guess. I took this a couple days ago, and she’s still filling out and doing better. Feisty enough to run past me a couple times when I opened the door, anyway, but we’ll be having none of that.

First Peas of 2018

Picked the first peas of 2018 yesterday; got a little over a pound. Those early plants are already fading fast in the heat, but this was more than I expected to get from them, considering how spotty they came up. It took about 20 minutes to pick them and another 40 to shell. Not terribly cost-efficient, but 40 minutes spent shelling peas in the shade with a beer and the Stanley Cup game on the radio isn’t a bad thing.