Repairing Broken Equipment Sucks

Nothing new for you today. I did managed to get my ancient desktop running again after pulling out several bad memory modules and tossing in a different power supply. Most of my server infrastructure is fully operational again. Not having an operational e-mail server does suck pretty heavily if you’re wondering.

Oh well, it could have been worse. At least I’ve been having decent luck with my electronic necromancy.

I’m Back

You may have noticed that the website was down most of yesterday afternoon and evening. There was a major power outage at my dwelling last night. Around 2:30 this morning the power was restored and when I went to restart my servers only to find that my server wasn’t turning on (well it was turning on but it wasn’t passing POST). After a lot of mucking about, which primarily included salvaging parts from an old computer to replace the destroyed parts in my server, I was finally able to get my e-mail server online. The web server that runs this site had to do some work on repairing the file system so it wasn’t online until recently.

The downside of running your own server is that you’re responsible for restoring your shit. Needless to say I didn’t get anything written as far as posts and since I’m still repairing equipment that went belly up in an apparent power surge I won’t be getting anything up later today either.

I’ve Got Nothing

I spend most of last night working on the finishing touches to WristCoin and planning a new project. So I don’t have anything else for you today. But I will say that the Pebble wristwatch is an interesting piece of hardware to program for. There are certainly some limitations, which cannot be avoided when you consider its diminutive size and several day battery life, but overall the API is pretty well thought out and complete (which is worth noting because the SDK is still in beta).

Welcome to 2014

If you’re in the Central Time Zone then it is now officially 2014 (at least according to the atomic clock this server synchronizes to). 2013 was an interesting year to say the least and 2014 looks like it will keep that trend going.

I will be taking the day off of blogging as I do most holidays. There’s much to do outside of the blogging world and there is a distinct possibility I will be nursing a hangover. After all, studies now indicates that people who don’t drink tend to die young.

Nothing to See Here

Once again I spent my night working on WristCoin. It turns out that doing asynchronous lookups of Bitcoin prices and sending them to the Pebble as they come in is a recipe for bad times. The Pebble can only handle a single incoming message, which it must process before it will accept another incoming message. There is no way that I’ve found to check from the phone side whether or not the Pebble is ready to accept another message so I had to switch over to synchronous lookups, which is not ideal in my book (I like firing and forgetting as opposed to waiting around for each price to arrive before looking up the next price). Considering how resource constrained the Pebble is I do understand this design decision but it’s a pain in my ass.

This Blog Interrupted by Updated Development Software

Last night the developers at Pebble released beta 3 of their 2.0 software development kit (SDK). This release fixed a rather nasty bug that was preventing me from continuing development on WristCoin.

The bug was related to how the phone app communicated Bitcoin pricing information to the Pebble. When the watch app is first opened it asks the phone app to fetch Bitcoin prices from the various exchanges. This operation is done asynchronously on the phone and data is returned for each exchange as it comes it. The bug I ran into was that the first message form the phone app to the Pebble worked fine but all subsequent messages failed. That means that the pricing information for the first exchange would be communicated to the Pebble but none of the others. While I could have rewritten the app to wait for all exchanges to report in before sending the data to the Pebble I found that solution inelegant and chose to wait for an update to correct the bug. Since the latest release fixes that bug I have continued development on WristCoin instead of writing additional blog posts.