4.108 coding, swbb

Sunday 03/19/2023

Spent most of the day in a happy haze coding a program. I really enjoy coding. About eight hours work over three days, not quite 400 lines (200 non-comment) and it was working just fine at 3pm.

Back in 1984-85 I wrote a book, Dr. Dobb’s Z80 Toolbook, about assembly language programming for the Z80. For that, I invented my own simple markup syntax. Remember, HTML wasn’t invented until 1992. Basically I re-invented Markdown, or would that be pre-invented it? I used curly braces, for instance {iloudi} meant “loud” in italics, and so forth. At the time, I had written a program in Pascal to convert the files into source for a word processor app, but that code is long gone.

So I still have the source files for this book (they are now living on their, like, 4th or 5th successive computer) and I conceived a desire to re-read it. But I didn’t want to read the marked up text, I wanted to see it formatted. So I need to convert my marked-up source to HTML. Obviously that meant, write a quick program to do it. And I did, in Python, and it was fun.

Not so fun: at 5:30 I joined our little car pool and off to see 1-seeded Stanford play 8-seed Ole Miss. And the women played like shit and lost. Trailed the whole game, committed a mess of turnovers, couldn’t hit easy buckets. Tied the game with less than a minute to go, and had the ball, but turned it over yet again. Then they had to foul, and the Rebels made their free throws and it was over.

I am seriously thinking of not renewing my season tickets next year. Or maybe renewing them but not going to all the games, for sure. It just isn’t fun any more. Tara has said she’ll retire “when it stops being fun,” and that’s good advice.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s