Thursday, July 27, 2006

BorgCollective

The following is a Singleton base class for Python, called BorgCollective.py

By inhertiting this class into your own, you can make your class a Singleton.

class BorgCollective:

_objects = {}



def __init__( self ):



#get the name of the inheriting class

class_name = self.__class__



#if the dictionary doesn't exist, create it

if self._objects.has_key( class_name ) == 0 :

self._objects[ class_name ] = {}



self.__dict__ = self._objects[ class_name ]

Wednesday, July 26, 2006

Hungry Hungry Hippo





I am a member of the Toronto Metro Zoo. These pics are from my last visit.

I managed to get to the polar bears and hippos during feeding time, so they were fairly active.

Interesting factoid: The polar bears eat horse meat. They also like carrots and apples.

Interesting factoid #2: Female polar bears are 1/3rd the size of the males.

Interesting factoid #the next one: Hippos are hungry, and eat a metric crapload of food every single day.

Interesting factoid #the next generation.: Elephants are cool, and by that I mean much sweeter than hippos.

Interesting factoid #the last one: These are no longer interesting.

... and I'm done.

Wednesday, July 19, 2006

Its insanely great!

Lets take a mental trip shall we?

Now, imagine if you will, a place with all the food you can eat. A place with an oriental bent. Chinese food at its most average, but lots of it. Are you there with me? Good.

Now, amongst the fine selection of oriental fare, sweet'n' sour meats, veggies, and noodles, is a whole section of salads and salad related items. Lettuce, carrots, pastas, potatoes, radishes...

Who cares! you may cry, and you would be correct to frown upon my odd fixation on the table of leafy greens, and uncooked, shaved carrots.

"What about General T'so? you may be wondering. Or perhaps your thoughts are bent towards the Shanghai Noodles... "All that deliciousness, so why the salads?"

I'll tell you why, but you better sit down first.

Amongst the pickled beats and freshly(if last week counts as fresh) toasted croutons is a special salad. A mans salad. A salad made entirely of meat.

I am sure that just blew your mind, so let me repeat that last part.

A salad made entirely of meat!

I am not talking some sort of fishy meat. I mean pork. Cubes of delicous ham with herbs.

Isn't that insanely great?

And now you understand why I like salads now.

Thursday, July 13, 2006

A Crazy Little Thing Called Love

So last Sunday I was holding my girlfriend, Debbie, in my arms. I looked down at her, and she looked up at me. The look in her eyes, I tell ya, moved me to my core (and being 300lbs+, I have a big core).

Her lips were curled up in a smile that was barely perceptable. Her eyes were full and round, glistened ever so slightly. It was the face of pure contentment. Bliss. Love. It was like she was gazing into my very soul, and totally enamoured with what she saw.

I don't know why she would want to be with a guy like me (I seceretly think its because of my cat), but she is. I don't know how she can love me so much, but she does.

I've known she has been in love with me for many months now. I know because she told me. I know because she puts up with me, and wants to be around me despite my corny jokes, and sometimes cranky attitude. I know because she wants to show me off to her friends, and be a part of her family.

But it wasn't until that moment, that one special moment, that I truly realized just how deep that love for me goes. How truly powerful a womans love can be for a man, and how truly blessed I am to have that sort of love in my life, and to be able to hold it so closely in my arms.

I am in love with a woman who loves me back. Its deep, its amazing. Its profound beyond any words I can find to describe it. Its beauty beyond anythng this world has to offer. A precious and rare gift. A reason to thank God, and a reason to smile.

Sunday was a good day to be me.

Tuesday, July 11, 2006

Video Blog - My Cat

Ok, so adventure in Google land. I took a video of my cat, Caylee, & uploaded it to Google Video. Its embedded below for your viewing pleasure.

My girlfriend and I got Caylee from the Humane Society a couple months ago. She was a very lethargic cat. Ever since I got back from Taiwan, she has been much more playful. I now have proof ;)


Anyways, this is just filler, and an excuse to play with embedded video. Its pretty cool stuff.


Enjoy!