Technology and Lent

filed under: , , , , , , , , , , , , , , , , ,

1462 days ago

This website

The plugin that provided the email notification feature for this website broke with a recent update to my blog software, and it’s not going to be easy to fix. So I’m not going to fix it.

Of course, that means that the affected people aren’t going to hear that they’re affected. Sorry about that! (I’ll tell personally the few I know.)

In fact, I’m likely to switch to ikiwiki …eventually. Textpattern seems to have lost its mojo, and there have been some long-standing issues with it (like no native tagging support!) that seem unlikely to ever get fixed. And I’m hip to the cool technologies now, so a more infrastructure-like framework (i.e. ikiwiki, with git) for my blog feels like a better answer. And schmonz volunteered to do most of the work :)

That also means I’ll probably abandon tru_tags …more than I already have. There hasn’t been anything to do with it in a long while, at least not that I felt was worthwhile to be done. Most of the features that remain to be implemented require a major refactoring of the core Textpattern code, and that just seems very unlikely to happen (by me or anybody else) any time soon. So hopefully it will remain useful to the people who still use it.

This year’s Lent

I have utterly failed at this year’s Lent give-up. I have been better at going to bed at a reasonable hour, sometimes for days at a time. But I simply can’t do everything I need/want to do in my life with the few hours that leaves me between work, kids, and chores. So sleep will continue to lose to projects – although less-so than it used to. There are some nice perks to getting more sleep – I’m much more on-the-ball and willing to take on mental tasks that otherwise seem hard. But that extra value doesn’t offset the lost value from just not being able to do all the things I need to do.

Vegetarianism

Speaking of Lent, I also broke a 5-year streak of vegetarianism a week or so ago. Benjamin, Liam, and I had some extremely delicious tilapia, also breaking both boys’ life-long vegetarian streaks. Kristina chose not to participate.

We had a bunch of reasons for deciding to do it. And a bunch of reasons to not do it (i.e. to stay vegetarian). I may blog about all the tradeoffs some day soon, but for now, suffice it to say that it was a very close decision, and I’m not sure what’s next.

I made a web app!

If you recall, I started using SmugMug for my online gallery a few years ago. But when I made the switch, I left behind an old gallery site (on Menalto Gallery 1) that I’ve been meaning to clean up for a long time. It broke a while ago, motivating me to finally migrate off that old software – to ZenPhoto, which had been my long-standing plan. It took a few days getting ZenPhoto to work (when it should have been easy!), but I got it there, and I shut off the old site.

I also started this exchange with the ZenPhoto dev in which I start by being too grumpy and then he finished by insisting that his software simply must be unsupportable for him to support it. Net effect: I had to get off ZenPhoto.

But I had no alternate destination for self-hosting my images. My long-term goal is to migrate the images to SmugMug, but I want to filter them down from “every picture I took during that time period” to “just the best ones, tagged and rated” (like all the other pictures I post to SmugMug). And it will take Nathan-weeks of work to get that done, so it keeps getting put off. So in the short term I just needed a new self-hosting product, and there just aren’t any good alternatives. They’re all either old or ugly or badly designed or some combination of those three.

So I made one myself. I’ve never made a web app from scratch before, but I am quite comfortable in perl, had used Catalyst from a prior job, and I’d heard then that Mojolicious is better. So I tried it.

And wow, was it easy. Probably 8 hours total from “install mojolicious” to “the gallery is up and running on the new software”. That’s only just a little more than I spent trying to get ZenPhoto to work. Many kudos to Mojolicious, perl, and pkgsrc.

Now… ZenPhoto does way more stuff. (TONS more… too much, actually.) And this new software isn’t really ready for someone else to use it. And it has no tests. And it only does one extremely simple thing (i.e. serve nested directories of images, in name-sorted order, with no metadata).

But the code is small, easy to read, and easy to modify. (Roughly 300 lines of code, 115 lines of CSS, and 80 lines of HTML template.) The site looks really good (in my opinion). And it doesn’t require a database – just a directory full of images. And with some app-level caching and the help of Mojolicious’s preforking web server and great documentation for setting it up under apache mod_proxy, it’s about as fast is it could possibly be on my old host and slow network connection.

So ZenPhoto is out and my home-grown software is in. Here’s hoping it doesn’t need maintenance!

Add a comment [1]

This year for Lent...

filed under: , ,

1858 days ago

…I’ll be giving up girl scout cookies – for the entire year. (This is no small thing! I ordered 13 boxes, last year!)

Why this choice? Because I don’t have time for anything else, and this one still requires self-discipline.

Confused about why I’m posting this? See here.

Add a comment [1]

Liam Eldon Arthur

filed under: , , , , ,

1879 days ago

Per my previous post, our new baby has arrived. His name is Liam Eldon Arthur, and he was born 7lbs 14oz and 21” long. He’s perfect :)

It took me a little longer than last time to get a post up; you can take that as a sign of how much busier we are with a 2-year-old in the house with the newborn. But we’re much calmer about this one, I think probably because we know we can make it through this period. Our exhaustion level is about the same, though; see: 2-year-old.

The delivery was much easier this time, and Liam is totally healthy and has been fantastic since day one – eating well, sleeping well, and not fussing except when something is wrong. (Many parents report a very different experience; I suggest swaddling as the likely remedy, or having our genes as the second. Either way, we are very lucky.)

I didn’t announce this one as publicly as last time; I’m still stubbornly shunning Facebook in favor of Google+, even though it seems likely that Google+ will fail, and it just didn’t seem necessary to go out of my way to post it to Twitter. It was nice this time to be able to limit the scope of the Google+ post, so it isn’t actually public. On the other hand, pictures are here :)

On the name: this one, like the last one, came after the delivery. Neither “Liam” nor “Eldon” was on our list before the delivery, although Liam was on the original list for Benjamin. We ended up abandoning the idea of having a hungarian middle name because we couldn’t find one that we liked and that was spellable and that was pronounceable. So Liam was the name that best seemed to fit the new baby, and Eldon came from a good friend of Kristina’s who told us about it as an oft-used name in her family, derived from her grandfather, who was a very special person. We liked the name, and the source, and it went really well with Liam and Arthur, so that was that.

My feelings are very similar to last time: the delivery was intense, and the after-effects (pretty much all positive!) have been strong, and I feel really good about my life right now. The feelings have been much less momentarily-intense… I think just because I’m a lot less scared (of the unknowns) this time around. But they are no less deep – I totally understand now how parents can say that they don’t love any of their children more than any others. It’s also nice to know that Heinlein was right:

The more you love, the more you can love — and the more intensely you love. Nor is there any limit on how many you can love. If a person had time enough, he could love all of that majority who are decent and just. — Robert A. Heinlein, in Time Enough for Love

Also, as hard as this time is, I’m really enjoying having the quiet time at home with my wife and two boys. (I love that I have two boys… I didn’t expect that.) We have no distractions, no competing priorities, no work – just a simple life, focused on each other. I’ll be sorry to see it go (when I go back to work) in a few days.

As with last time, we owe huge thanks to all the people who have helped us, especially the huge investments of time and/or resources from grandparents on both sides – THANK YOU! I can’t imagine doing this without all that help.

Welcome to the world, little Liam. We love you already, more than you’ll even be able to understand… until you have children of your own.

Add a comment [2]

Huge news - we're having (another) baby!

filed under: , , ,

2087 days ago

(You may recall that I said something like this before.)

As the title says, our second baby is incubating =D We just had the first ultrasound, and the baby is exactly as it should be – tiny, funny-looking, all the limbs are there, and the heartbeat is just what it should be. (It’s too early to tell the sex, although Kristina has been having a rougher pregnancy this time, which has led some to speculate that this one’s a girl… or twins.) The due date is February 1st, 2012. (Yep – just 4 days off Benjamin’s due date…)

I knew, the first time around, that if I posted something deep and heavy then, that I’d have a very hard time matching it the second time around. That, of course, has turned out to be true. A second child simply has a less-“heavy” impact on me, because I’m much more prepared for it, via my experiences with the first. That seems like an obvious consequence… but it also has the potential to be disappointing for child #2 when they see this post for the first time. So, little one, when you read this years from now, please don’t take my less-passionate commentary here as a reflection on you, but instead as a reflection on how much your father has changed since the first baby came along. We’re also not quite as far along in the pregnancy (now) as we were with Benjamin – just 10 weeks now, and we don’t know your sex yet. I expect that will still have a huge impact on me :) I will post again once that happens.

I will say that having a second baby has had its own set of new (scary!) thoughts associated with it:

  • Hurray, it’s not twins!
  • When will we sleep, with two babies on different (disruptive!) sleep schedules?!?
  • Are we crazy for trying to keep the OB/GYN (and hospital) that we loved so much the last time around, even though she’s 2.5 hours away?
  • What stuff do we need this time around, that we don’t already have?
  • Oh no! We’re going to need a bigger car!
  • I learned my lesson and didn’t wait (past the first ultrasound) to announce the good news :)

So, a big hello, new baby :) I’ll have more to say to you soon, I’m sure.

Add a comment [5]