Wednesday, July 22, 2009

Technology seems to be against me, today...

I don't know what it is today, but it seems that all technology is
banding up against me for some reason or another. I can't seem to get
through anything today, without a piece of technology just deciding to
flip out on me.

It's starting with my in-car bluetooth device not wanting to connect to
my iPhone this morning. There's nothing wrong with the iPhone, so far,
because my in-ear device was working no problem. Next, I found when I
tried to lock my MacBook Pro, the Kensington lock was all of a sudden
loose, meaning that the security hole in it broke. Or, at least the
plastic inside the lock slot was broken. Talk about freakin' cheap
materials. I might pull off the bottom case and put epoxy around the
hole to fill that up, though. But, it's just a pain in a royal butt to
have to go through this!

It's like I've offended the machines today, yet I don't know what I did!
I wonder if it's just a lottery of computer random number generator that
they run and my number came due for computer hardship today. I don't
know. What I do know is that this totally bytes!

Saturday, July 18, 2009

I'm a Guitar Hero!

Yesterday at work, my oldest son, Hank, IM's me and asks me if I have time and the ability to watch a video. So, I whip out my iPhone and go to YouTube and got this:






(In case the player doesn't show up... click here)



I'M A GUITAR HERO! At least, I am to my son Hank. He took my song, Father's Coming Home, and made it into something that he can play on Guitar Hero. When I saw this, I was floored. I was so amazed that he would make something like this for me. It may not be much to anyone else, but to me it is the one of the best homemade presents I ever received. It was something that meant a whole lot to me, and I started getting emotional at work. It really made me feel like a guitar hero. And, even if I'm not one to the rest of the world, I've become one to the people that mean the most to me, and that's what counts.



Thank you Hank for making my weekend.

Wednesday, July 8, 2009

Some program compilers are like women!!

I swear that there are some days where computer programming is like dealing with women! For the past few weeks, I have been programming some Flash stuff for Webkinz and today, I have found the 5 similarities between Flash's compiler and women all realized in one morning. Don't believe me? Here they are:

1) You are always forced to take out your own garbage and there's no arguing this! If I create an empty MovieClip on the stage and tie it to an object's property, that MovieClip will never get garbage collected even if I remove it from the stage, unless I declare the referencing property to be null, even though the MovieClip is contains null values. It, however, is considered a referenced object, meaning that it is in use, even though it isn't in use. There's no reasoning with the compiler. If you don't take out your own garbage, it will simply pile up, causing other problems! The MovieClip once removed is garbage. Yet, I have to deference it in order for the garbage collector to take it.

2) It speaks to other programs in their own language! They only read back our own programming to us. Heck, even decompiling a Flash SWF doesn't read the same way it was written. It twists everything we've told it to do.

3) You can do something for years and all of a sudden today, it is wrong! This was a classic encounter for me today. I was working with the Bindings class in Flash and since designing this application, it was working like a charm... until today. The basic premise of Bindings was that I can change a value somewhere in the program and this change is automatically reflected somewhere else in the application. Well, guess what... today they're not communicating. Even worse, it's telling me there's an error in the Bindings class this, which is owned by Adobe.

4) You ask what the problem is and it comes back saying, "NOTHING!" I went to look at the offending line in the Bindings class and the syntax of the line was perfectly fine. I could see no problem with the code. Go figure!!

and last but by no means least...

5) Skip a period, and it goes bonkers!!! I managed to get some really weird and unpredictable behaviour from my application, almost bringing down my test version of the site. And the problem: a period was missing from the object and because dynamic classes within Flash will not throw an error if a compile time variable is non-existant, it simply treats it as a new variable assigning the data to it. Meanwhile, the real variable is not getting what it needs and is feeling unpredictable values into the system. The system itself, went bonkers!

There you have it! Now, if you'll excuse me, I have to talk with a another programmer, whom I'm glad doesn't subscribe to my blogs... guess what gender she is!