Mon, 15 Oct 2007 19:00:00 GMT

Rescue Diver

I got my certification for PADI Rescue Diving over the weekend. The lake conditions were terrible (visibility was less than 5 ft at the surface). The camp site that the dive instructors choose was literally covered in spiders so Amber had to stay in the car the whole time that we visited their site, which was only limited to an hour or two in the morning. The dive site had a few fisherman who, on Sunday, decided to call the park rangers on us. On the morning before we had accidentally swam under their line and got it tangled. Evidently they were still pissed the next day.

Tue, 21 Aug 2007 19:53:00 GMT

Why my Typo is still busted

It seems that the reason my Typo install has been busted for so long on DH here, is that during some database migration in the past DH's ruthless ruby killer decided that I shouldn't be taking so long in updating my database and killed the process, but somehow upped the migration number. When I went through the database by hand and checked all the tables it became clear very quickly that this had been the case. My tables were severely out of date. Several had multiple fields missing or mis-sized. Once I added/modified these tables everything seems to be running smoother. This brings up another problem.


Here's an exercise for the reader: Why the heck doesn't Rails/Typo report such an error? (Missing fields in the database)


Update: Well, I said it's more stable, but what does it do as soon as I tried to post? Crash! 500! I'm posting this from the phpMyAdmin interface now. Where did Web 2.0 go wrong?

arg.


Update: After running a manual sweep of the tmp/cache directory (DH would kill any rake task trying to do so), my blog became again, more responsive. I'll have to add a cronjob to clean it out manually every night.


Update: Here's my new nightly regiment:

rake tmp:clear
rake tmp:create
rake sweep_cache
rake db:sessions:clear
rake log:clear


Mon, 20 Aug 2007 20:25:00 GMT

Clownfish Resting in an Anenome in Oil


Thu, 21 Jun 2007 19:14:00 GMT

Typo 4.1.1 Sidebar is busted

I've been chronicling my mid-adventures in trying to edit my Sidebar (the column you see to the right of this text) over at the Typo Forums for posterity's sake. It would seem that any "stable" release would not have this issue. I'm beginning to think that there's some sort of hidden gem version number dependency that no one mentioned on Typo's site. In the end, it is perfectly possible to hand edit the MySQL data to add back my Sidebar items.

Update: I've found that I can get to a semi-stable point by doing the following:
cd $YOUR_TYPO_DIR
rake -f Rakefile sweep_cache
rake -f Rakefile tmp:clear
killall -USR1 /usr/bin/ruby1.8
killall -USR1 /usr/bin/ruby
Then goto your admin/sidebar interface and add/delete/modify your entry. Hit "Publish" and it should work. However, if you change something and hit it again, it will fail. You'll have to reload the page so that the "Changes Published" (i.e. the flash) is empty.

Wed, 20 Jun 2007 15:29:00 GMT

Typo Issues

About a week ago my blog died, as many of you might have noticed. Part of this was due to weird 500 errors that were occurring due my host's policies about renegade processes. Partly they were due to the mysql database not being the proper version for the version of typo I was using, which was also due to the process killer because every time I'd try to run:

rake db:migrate

I'd wait and wait and wait while the process grew past 100MB and then got the axe. I futzed around with re-running the rake task, trying to find the task manually and finally I started to get frustrated with the whole thing and I had decided to move to Mephisto, another Rails app, but it's more of a CMS than just a blog. I might still move, since they have a blog post converter, but it's only somewhat maintained by it's developers at the moment, and I certainly don't have the time to develop it further. Eventually I deleted some of my older typo installs, installed the typo-4.1.1 version, restored the MySQL database (I managed to completely screw up that thing by manually deleting the session table), ran the rake migration command with the exact rakefile I meant to use

rake -f Rakefile db:migrate

(perhaps the others were spidering all the rakefiles it could find in parent and sibling directories), and letting it "sit" for a while (originally after I had done all of that, it was failing to get to the admin console because it couldn't find the blog with "blog_id==4", which I don't have), then I could log in and everything starting working normally. I think the lesson here is to stay on the stable release branch. Having a host with a backup of your databases is really nice too.

Wed, 20 Jun 2007 04:51:00 GMT

An odd series of crappy happenstance. Part Deux.

This weekend was quite a doozy. On Thursday I got my eye scratched my a 1 year old (Amber's nephew). I also managed to pick up a stomach bug which I didn't get rid of until Monday (rather violently as well). On Friday I got the eye looked at and it was determined that the swelling would subside in a few days. After that, while we were cleaning out my Garage, Amber managed to slice her thumb open with a Chisel. It wasn't too deep a cut, thankfully, so we were able to avoid a hospital/urgent care visit for stitches. That night, after filing papers for hours on end, I got a bad fever. On Sunday morning the fever had passed but we discovered that my car wouldn't start, and eventually we determined later that afternoon that it needed it's battery replaced. And finally on Monday I went through the peak of the stomach bug. So, great eh?

Update: Amber corrected some times/dates for me.

Wed, 20 Jun 2007 04:49:00 GMT

The Big 5-0

About 2 weekends ago I crossed the big 5-0. The 50lbs mark on my weight-loss adventure. The associates at the Weight Watchers Center I go to seem to think that I am near my goal, but I think I've got a way to go since my BMI is still borderline Obese.

Thu, 03 May 2007 04:16:00 GMT

Storm Damage

We had a pretty powerful storm blow through the city today. When I got home I was greeted to a startling sight.

Wed, 02 May 2007 16:07:11 GMT

Weight Loss Update

I hit 45lbs two weekends go. I weighed in under that today, so I'm probably a bit over 45lbs down now.

Sun, 11 Mar 2007 20:02:00 GMT

McConkey's Run

Here's a view from below of McConkey's Run. This is a double black diamond run at Park City in Utah. I think that most other resorts would classify this as a black diamond, but it was still rather hard.

Update: I just updated the blog here to the most stable version of Typo (rev 1256) so the layout of the image to the right here is a little weird. It seems to overlap the post instead of leting the post flow around it.

On a different note, it seems that the vacation caused a bit of a setback on the diet program. Just before the trip I was at the 40lbs mark, now, well, subtract 2.2lbs to that.