I've been incredibly slack about blogging over the last week. Although it's been a fairly slow week as far as news goes, I will say that I'm jolly glad that God kept me safe as I was driving up to the Mountains on Monday morning. After only having 3 hours of sleep the previous night (actually, it was more like that morning, from about 3:30am to about 6:30am) the drive was actually pretty good, only being about an hour and a quarter each way. By far the most annoying thing about the whole trip was that when I actually got there for the meeting, none of the stuff that I was taking up there with me actually worked. This probably requires a little more explanation, so I think I'll take this opportunity to start a lovely fresh new paragraph.
The aim of the meeting was for me to show the new version of a program I'm putting together for tracking work, etc. It's actually working brilliantly (if I do say so myself) under the right conditions. Those conditions are as follows: 1. The devices that the software is on (in this case an iPAQ hx2410 and an iPAQ h4540) are able to use the wireless network; 2. The device that the server program is on (in this case, my trusty old Dell Inspiron 8000) is also able to see the aforementioned network.
Unfortunately, even though I was all ready with static IP addresses assigned to all necessary devices and everything working wonderfully here at home, problem #1 upon arrival up there was that my access point (which I took with me) was not visible to any wireless network cards (and yes, I had turned it on) whether on my notebook or the PDAs. I figure that there could be a number of reasons for this, but the one with the highest probability was that my access point was using the same channel as the wireless network they already have set up there. As it turns out though, I'm not entirely confident of that being the reason, because they were having all sorts of trouble with the wireless network anyway, and I'm not sure it was even running. So the fix for that would have been really simple - use a wired connection to change the channel being used by the access point. But silly me (being silly me) forgot to take my network card with me, (my trusty old Dell Inspiron 8000 doesn't have an inbuilt wired network adapter).
Problem #2 is that the software I'm writing is for PDAs, with an integral part being the ability to scan barcodes for input. Now, that is entirely possible, and I've previously written many programs in embedded Visual Basic to accomplish just that. But I am writing this software in embedded Visual C++. A fairly important part of writing software for specific hardware, I've found, is to actually have the hardware present when writing the software. Unfortunately, barcode hardware (I suspect due to its fairly limited target market) is quite expensive, and I have no desire to spend hard-earned money on hardware that I'm not actually going to use most of the time. So I've been managing to get by finding other ways to input data to the PDA. The best way I've found to do this is to have a connection between the server program I'm writing and the PDA, and then have the server able to send data to the PDA, to be treated as scanned input (if that makes sense). This works really well here with my wireless network up and running, but when problem #1 occurs, it kind of stuffs everything up. But back to the point - problem #2 occurs when what you thought would work turns out not to work at all - in other words, I thought that the program I had written would accept input from the barcode reader, but in reality, it didn't.
So overall, 2.5 hours of driving and then 2.5 hours of trying to get everything to work after 3 hours of sleep made for a frustrating morning, compounded by the fact that within about an hour of getting back home again I had it all working the way it should have while I was in the mountains.
But the main point of this wasn't to gripe about work, my intention was to give thanks to God for keeping me safe while travelling. And the fact that nothing really worked right that morning isn't particularly noteworthy next to all the good things that have happened. And right now, one of the great things I'd like to mention is that dinner tonight was thoroughly enjoyable. So thankyou to my lovely wife, and thankyou to God for creating her.