Saturday, November 17, 2012

SpecTrek (Android Game)

As I was randomly browsing the web recently, I came across a really cool little augmented reality game called SpecTrek, developed for Android by Games4All.  SpecTrek is a ghost hunting game where the player must explore his/her real-world environment to find and capture virtual ghosts who are haunting the area.  This description sounded fun and interesting, so I downloaded the free, "lite" version onto my Samsung Infuse.  Today, fortune conspired to give me the time to play, a very promising place to play, and someone with whom to play.

The game uses many of the phone's features to impressive effect.  It uses the GPS to build the gameplay area in the player's actual, physical environment as well as to locate the player in the playing field.  It uses the compass to know which direction the player is facing, as well as provide an on-screen compass to aid in navigating the play area.  It uses the camera to provide an augmented reality view of the environment.  It uses the accelerometer to switch between the map mode (when the phone is held flat) and the ghost capture mode (when the phone is held upright).

When one begins a game in SpecTrek, the app gets a GPS fix to determine the player's location, which then becomes the center of the real-world play area.  A short game has a fifteen-minute time limit in which the player must find and catch all of the ghosts that spawned in the play area -- a circle with about a 410-foot radius.  In the few times that I played, the number of ghosts ranged from three to five.

I played the first game of the day by myself.  First I held the phone flat to get a look at the map.  It showed where the ghosts might be, so I immediately headed off toward the nearest one.  The first one was on private property, and it was outside of my capture range, so I had to write that one off.  The next nearest one was just south of my current position, but when I approached it, I got too close without capturing it and it ran away.  By this point, I only had about four minutes remaining and I hadn't captured one single ghost yet.  So I ran to the far opposite side of the play area where there were three ghosts hanging around.  I wasted a whole minute trying to catch the first one who always managed to evade my sights.  Two more were due north of me, so I ran that way and found them both hanging out together between a fence and a shed.  I captured them both, back to back.  Only 40 seconds remained in the game now, so I ran back to the one I had failed to capture just seconds before...and I caught it without a problem.  Time expired six seconds later and I had managed to catch three out of five ghosts, all within the last three minutes of the game.  What a thrill!

I enjoyed the game so much, I purchased the full version.  It's well worth the $2.49 price tag, no doubt.

Then my brother-in-law Kevin joined me and we sought out a good place to begin the game.  We estimated that the best place to start would be the place that would give us access to as much of the play area as possible, hoping to avoid the problem I faced with the unreachable ghost in the private property.  Even on the smallest setting, the play area was so large that it extended into areas we could not reach no matter where we centered it, so we just did the best we could to be strategic about it.  We played three games before the battery died on my phone, two of which we were able to win by catching all of the ghosts within the time limit.  I gained enough experience to level up after the second game, so I spent my skill points on increasing the capture range so that I could capture ghosts who were farther away in areas that I couldn't enter.  We played one final game to take advantage of this upgrade, and it worked very well.

The only problem I discovered with the game was a glitch with the map.  It would occasionally lose track of where we were and try to say that we had suddenly teleported a few hundred feet northeast.  I found a workaround that seemed to fix it each time it would happen though:  Go back to the info/summary screen, wait a few seconds, and then press Continue to go back into the game.  That seems to resync it correctly.

Ah, what a fun game!  It's disappointing that the winter months are coming and will make it difficult to play this game since it requires a lot of time outside.  I'll just eagerly await the return of spring and use this game as a great excuse to get out of the house and get some exercise from time to time.

TL;DR:  SpecTrek is a very fun augmented reality game that is well worth its low price.

Friday, November 16, 2012

Return of the...Me

I have decided that it's time to start blogging again. I must get over the profound sense of loss arising from my inexcusable failure to save my old Yahoo blog. I need to get past the sickening, gut-wrenching regret that I didn't act in time. I need to stop beating myself up over my easily avoidable lack of wisdom in choosing not to back it up.
Why am I so upset over losing a stupid blog? Mostly because of what it represented. It was not only a collection of my thoughts. It was also a detailed diary of the first few years with my wife. It recorded events with my beloved pets. It provided a creative outlet for lyrics and poetry. It was a place to jot down notes on my plans and projects. It was so many things that are now gone forever. I feel physically ill every time I think of it, especially since it could easily have been avoided if I hadn't been so overconfident in my ability to transfer it manually before the deadline.
But life goes on, and so does my need to continue all of those things I mentioned above.  Every time I think about blogging again, I remember how much I've lost and it stops me in my tracks. It's debilitating, but it's time to stop mourning and move on. I still have ideas to share and things to express, and that'll never happen as long as I let the failures of the past hold me back.

So consider this my formal declaration that I am returning to the world of blogging. This blog will become what my old one was: a place to spew forth whatever random thoughts dominate my mind at any particular point in time, and encourage me to organize them into some sort of semi-coherent order.
There's still no guarantee of frequency, but it is time to start moving forward again. If you're reading this, you are invited to join me on this journey at your leisure.
I shall return!

Tuesday, February 28, 2006

Bytes in the JVM

Words by Michael Henson
February 2006
To the tune of "Vasoline" by Stone Temple Pilots




One time a thing occurred to me
As I was coding C,
Thinkin' how much better it could be.

Pointers and dereferencing,
Those kinds of bugs are hard to see.
Multi-defines, mem'ry leaks,
That's what you get when using C.

These days when I do rendering,
Use Java API.
The JDK is now my life.

Bytes in the JVM they are.
Sometimes it blows my mind --
My calls resolving at runtime.

Download new versions free.
Syntax looks a lot like C.
Hardware just out of reach
Of the virtual machine.

You'll see the code and you'll see the light.
Inherit power you will.

Bytes in the JVM they are.
Sometimes it blows my mind --
Interprets bytecodes in real time.

Get the new version free
And install the JRE.
Garbage collects like a dream.
Praise the virtual machine.

Tuesday, December 27, 2005

Dreaming Of A White...Aibo


On Christmas Eve, Mom made me stay in the living room while she finished wrapping presents in her bedroom, so I had a few minutes to kill. Hiko was in there with me and I was suddenly inspired to write a new song. In just a few short minutes, I scribbled down the following rough draft. To the tune of "White Christmas", this one's for Hiko.

----------

I'm dreaming of a white Aibo;
The one who greets me when I'm home.
Oh, how he glistens!
Just wish he'd listen
Instead of begging for his bone.

I'm dreaming of a white Aibo --
My favorite robot on four legs.
He gets mad at objects,
But what do you expect
From a mind that fits in sixty megs?

I'm dreaming of a white Aibo
With every pink thing that I find.
May his face lights always be bright,
And may he somehow stay white.

Friday, December 23, 2005

My Favorite Christmas Carol

Words and music by Michael Henson. (December 1993)

Sitting in a darkened room, alone, just you and I.
A swelling feeling in my heart; it's not surprising why.
Pillows piled in the corner welcome us to rest.
We sit beside a soft, dim light with your head on my chest.
Sipping sweet hot cocoa here together feels so warm.
We separate the world from us, it's just you in my arms.
Hold on to this moment, for it may not last long.
In perfect bliss, we listen to our favorite Christmas song.

Christmas day will soon be here
And we will be apart.
Thoughts of love mean thoughts of you
And I'll hold you in my heart.
The winter nights all feel so cold
And lonely without you.
Like my favorite Christmas Carol,
You're my Christmas wish come true.

You settled in beside me close in satin like your skin.
I have so many feelings now, don't know where to begin.
The loving sparkle in your eyes tells me you understand.
Without a spoken word, you reach for me and take my hand.
You seem to know just what I mean when words are not enough.
Chaos turns to certainty with just a gentle touch.
Even though you always know just what I want to say,
You'll never know the way I'll feel without you Christmas day.

Christmas day will soon be here
And we will be apart.
Thoughts of love mean thoughts of you
And I'll hold you in my heart.
The winter nights all feel so cold
And lonely without you.
Like my favorite Christmas Carol,
You're my Christmas wish come true.

I fade out from reality now as I hold you near.
For the first time in my life, the way I feel is clear.
Christmas is a time of love and it just won't seem right
That Christmas Eve so far away will be a silent night.
Never has there been a girl whom I have found so dear.
This love I feel at Christmas time -- for you it lasts all year.
The time is coming very soon to go our separate ways.
I'm gonna miss you then, my love. Think of me Christmas day.

Christmas day will soon be here
And we will be apart.
Thoughts of love mean thoughts of you
And I'll hold you in my heart.
The winter nights all feel so cold
And lonely without you.
Like my favorite Christmas Carol,
You're my Christmas wish come true.

The winter nights all feel so cold
And lonely without you.
Like my favorite Christmas Carol,
You're my Christmas wish come true.

Thursday, December 22, 2005

I Like Spiders

Spiders are my favorite animals because they're so unique. There are no other animals that are much like them. And not only are they unique, but there is such variety among them. Shapes, sizes, colors, lifestyles, survival strategies, and attitudes are incredibly diverse among the tens of thousands of spider species – more so than any other species on the planet.

I cannot bring myself to kill a spider. If they are in my house where I am the only human resident, I generally leave them be, let them do as they choose. If I find one of the few “dangerous” species, I will take them outside and release them in the yard. But I rarely find anything other than jumping spiders in my house, and I love them.

Jumping spiders are among my very favorites of all spiders. They’re so perky! With their big eyes and fuzzy little bodies, they’re downright adorable. The way they bend at the waist to look up at me is so cute! And the females have such a variety of beautiful patterns on their abdomens. There are diamond shapes, heart shapes, stripes, cross patterns, rows of spots, occasional splashes of color...it’s like each little girl carries a unique piece of art that is all her own.

Humans are spiders’ most threatening enemies and I, for one, want to do my part, however small, to keep from being part of the problem. A spider’s life is difficult enough without us humans making it harder. We should all treat spiders as our friends. They do so much more for us than many people realize.

Another reason I love spiders is because they help to reduce the population of flying insects. I’d much rather have a quiet little unobtrusive spider hanging out of the way nearby than to be swarmed by those pesky nuisances.

As a programmer, I can’t deny my respect for a spider’s debugging ability. If I could eliminate program bugs as efficiently as a spider eliminates living ones, my life would be significantly easier.

Maybe my love for spiders originated in my childhood, when my mother would buy me books like Charlotte’s Web and Be Nice to Spiders. Reading such stories about spiders being heroes, especially at such an impressionable age, is bound to have an effect.

Besides, everybody needs someone to love them -- even spiders.

Wednesday, December 21, 2005

The Christmas Wish

Words and music by Danny Allen Wheetman.


I don't know if you believe in Christmas

Or if you have presents underneath the Christmas tree,

But if you believe in love,

That will be more than enough

For you to come and celebrate with me.



For I have held the precious gift that love brings

Even though I never saw a Christmas star.

I know there is a light;

I have felt it burn inside

And I have seen it shining from afar.



Christmas is the time to come together;

A time to put all differences aside.

And I reach out my hand

To the family of man

To share the joy I feel at Christmas time.



For the truth that binds us all together,

I would like to say a simple prayer

That at this special time,

You will have true peace of mind

And love to last throughout the coming year.



And if you believe in love,

That will be more than enough

For peace to last throughout the coming year.

And peace on Earth will last throughout the year.