20170722

Imitation and Recognition

Once again I waited probably too long between blog posts. It's been about five months since the last one, which is like three thousand years in baby time. I don't know why I didn't write. Baby G has changed in so many ways since then, there's an endless catalog of things to write about. Not that it wasn't all along, but it's been such a joy to spend time with him. He's clearly not a "baby" anymore. He's basically a little boy now. He acts like a person trying to figure out how the world works. It's fascinating and delightful to witness.

20170213

Just Our Little Guy

Oh boy, this one is going to be a long one, because I wrote half of it and then stopped writing it for a couple months. A couple months in baby time is, of course, like a hundred years, so there's a lot to go over. I really gotta get more timely about these.

One year has come and gone for baby G. At this point, he's over 14 months old. When do I have to stop calling him that, anyway? Maybe when he eventually uses his words to tell me to stop it. Am I a bad father for not writing a Happy Birthday blog? I'd better do that now, huh? The birthday festivities were fun. Let me tell you about them, for the record. A baby's first birthday is his most important, you know (this is patently untrue).

20170108

Advent of Code Day 14 Parallelization

Ahhh, the holidays are a wonderful time of the year. What? No, it has nothing to do with Christmas, or snow, or vacation. OK, maybe that last one. But especially because of the annual return of Advent of Code, an advent calendar of small programming puzzles that releases gradually throughout the month of December. The puzzles are self-contained, but some are still pretty tricky. It's a great way to expand your horizons or learn a new language.

20161028

Actually, It's Called "Bonding Leave"

When a mother takes leave from work when she's having a baby, they call it "maternity leave", but when I was filling out the paperwork, they didn't call it "paternity leave"; they called it "bonding leave". I thought that was fine, I guess, but why try to get all fancy about it?

Then the other day on the radio I heard this talk show host ranting about how there shouldn't be paternity leave, because it's a "scam". He said mothers need time to recover and heal their bodies, but fathers don't, so why should they get time off of work? The more I listened to this blowhard go on about this, the angrier I got, on account of two things.

20160919

A Dad Alone

I've missed um, months of dadblogs. That's my bad. It's not like baby G has been sitting still (oh no, much to the contrary, as we'll get into), but I just didn't quite have enough to write about for a while, and I've been busy doing other stuff on my usual bus rides--writing code, mostly. I actually started writing this a whole month ago but didn't finish it promptly. Now half of this blog is obsolete, because he's constantly changing, so I had to insert some updates! Punishment for procrastination.

20160913

Index Types in TypeScript

When working on dksfight, I needed to make some global maps to cache various things. Some of these maps were indexed by an integer, and others were indexed by strings. The values stored in the maps were various different types, doesn't matter. The keys presented a problem, though.

20160912

When is an UPDATE actually a SELECT?

While I was working on dksfight, which was built with the mssql NodeJS package and Microsoft SQL server, I had a few places that used an UPDATE statement to modify some rows in the table. This is a short post about a snag I hit with these UPDATE statements in mssql.