Well, after a long hiatus, here I am with another post.  I never intended for this blog to a “regular” thing, but I guess I never thought it would be THIS irregular.  As much as I like the idea of regularly expressing my thoughts about things, it just seems that life has a way of getting in the way.

This has been especially true in the past 5 weeks, where we went from finding out my Dad had stage IV colon cancer to, finally, burying him this past Tuesday.  The truth is, it was almost a certainty that my Dad would die soon after we got the diagnosis, and so I really started mourning his loss from that time.  This journey has had an unexpected character, which maybe I will dwell on in future post(s), but for now, I’ve had a few requests to post what I have written for my Dad and read at his memorial.

You have about you now the accouterments of death
As your cells choke on their own waste,
An oxygen mask and morphine drip
Deliver the life’s breath we all take for granted
 
To think just passing a month ago
We thought you were fine
As like our sinful rebellion this disease ravaged your members
Slowly destroying all that tenuously sustained you
 
I know that our time together on this plane is drawing to a close,
And so, I remember…
 
In the image of your Father, your love o’erspilled and became action
And then I was.
 
Diapers changed, a stomach filled,
a trust formed, lasting longer than memory
 
Toddler tears shed over an everyday absence,
a day’s labor spent for my benefit,
and yet, a day apart from you was a day apart from myself, my essence
 
For the love of the game, we sat and took it all in,
The crack of the bat, the smell of the grass, the taste of the hot dog
Like your father before you, we basked, for the love of the game.
 
For the love of the game, we sweated, and toiled and bled,
Batting cages, and fielding drills;
Lessons learned, like discipline and commitment,
Like sacrifice for the team; a win for one is a win for all
 
Time flies by, and so do music lessons, games, festivals, tryouts and auditions
My journey became my own, and yet I could feel your pride and support
My failures and disappointments never seemed to phase you,
From you I learn that true love is not something based on condition or performance,
but a gift freely given and received
 
I love to ride with you behind the wheel.
With Chicago and Cetera as sound track, you and I together conquer life’s journeys
We go to practices, performances
Across the country, through both space and time, we ride
 
A semester’s break’s visit
A new girl to meet
I beam with pride as we share a meal and you two hit it off
 
I am amazed at the love you show her
More precious to me than life itself,
you treat her like a daughter
 
Sacrificial love for her is second nature to you.
On a Christmas Eve, you travel to a half dozen stores
To find just the right remedy to ease the pain
As she carried your granddaughter inside her
 
And then we saw love multiplied
So much now I can understand and relate to
So much joy in a single moment together,
Is this how you felt?
 
And so, it’s hard to imagine life’s journey without you.
 
The pastor says our earthly parents are like training wheels pointing to God,
but this is one two-wheeled bike I’d rather not ride
 
And yet, Lord Jesus this much I know is true…
 
I know that before time began
You knew how hard today would be
And so your love overspilled into action
And you redeemed a people for yourself
That all those who call on your name shall be saved
 
I know that you are a father to the fatherless
 
I know that your heart is close to those who suffer,
To the widow and the orphan
 
I know that you bind up the brokenhearted
And that you stick closer than a brother
 
I know that you have conquered death
and in you the grave has no sting
 
I know that Dad is seated in the heavenly places
And that he knows the surpassing riches of Your grace
In kindness towards us
 
I know that he will be changed in a moment,
in the twinkling of an eye,
To a new body, incorruptible, to reign with Christ forever
 
I know that now his days (if there is such a thing)
Are spent forever singing
“Holy, Holy, Holy
Is the Lord God almighty,
Who was, and is, and is to come”
 
I know that even now as we shed tears at his passing
That God almighty is wiping all the tears from his eyes
And death and mourning and crying and pain
No longer have meaning
 
I know that you have made him new!
That in his face is reflected your glory,
Brighter than a thousand suns
 
I know that he is occupying the place you prepared for him
From all eternity, from all time,
And that if I can wait just a little longer,
I will see Dad again, and together we will sing your praises.

4 Comments, Written on March 21st, 2014 , Faith, Life

So today presented my with an interesting issue.  A simple INSERT statement being run by a functional account in my local mySQL install failed with the following message:

1227Access denied; you need the SUPER privilege for this operation

Mind you, this is working fine in production, and granting SUPER to a functional account defeats the entire purpose of database security.

After digging, it was brought to my attention that in my version of mySQL (5.0.67), the SUPER privilege is required to execute TRIGGERs, which this table did have.

Sure enough, dropping the TRIGGER allowed the query to be performed without issue.  The really interesting part is that after re-adding the TRIGGER, the query STILL worked.  I’m guessing there was something wrong with the time of the user creation vs. the TRIGGER creation in my local environment.

The bottom line is, if you are receiving an error about not having SUPER privileges for a simple query, try dropping any triggers and re-adding them.


Leave A Comment, Written on May 8th, 2013 , mySQL

One of the most time-consuming “busy work” tasks of developing a project always seems to be coding the data layer.  Using an ORM framework seems to help keep this work high-level and flexible (as well as giving you transactional support and other perks for free).  On one of my current PHP projects, I have been experimenting with using Propel as an ORM framework and have been very impressed so far.  It is relatively easy to set up and use (but don’t take my word for it; take a look for yourself).

I ran into a problem today that was deceptively easy to solve, although not so easy to find help with.  I had two foreign keys in my query that both referred back to the UserDirectory table and required multiple JOINs to the table.

It is farily easy to do this in plain SQL:


SELECT *
FROM unit u
INNER JOIN directoryUser dOwner ON Unit.UserId = dOwner. id
LEFT OUTER JOIN unitApproval ua ON u.id = ua.UnitId
LEFT OUTER JOIN directoryUser dByWhom ON ua.ByWhom = dByWhom.id
WHERE u.id = $_REQUEST["id"]

The real strength of Propel’s API is how dirt simple it is.  A basic join on a table is super easy, although what threw me off a bit is that it uses the PHP table name:


$u = UnitQuery::create()
->joinWith("DirectoryUser")
->findById($_REQUEST["id"]);

I was Googling up a storm.  I was digging around the ModelCriteria class.  All the time the answer was painfully simple and intuitive.


$u = UnitQuery::create()
->joinWith("DirectoryUser dOwner")
->leftJoinWith("UnitWeeks")
->leftJoinWith("UnitApproval")
->leftJoinWith("UnitApproval.DirectoryUser dByWhom")
->findById($_REQUEST["id"]);

Works like a champ!  Now that was easy!


Leave A Comment, Written on December 6th, 2012 , Tech

This past weekend I had quite the eventful trip to my brother’s wedding.  So eventful, in fact, that I am only now beginning to recuperate.  At any event, I was very honored to be there and to be able to say a few words.  Here is my speech (original emphases from my notes):

Thank you all for coming to honor Chase and Gretel on their day. Chase, I’m glad to see you made it, and on time, too. Gretel, I think you’ve made a wise choice in a husband. It has been a privilege to watch Chase grow from a little pest that I couldn’t seem to get away from to a man for whom I have a great deal of respect and count one of my best friends. Sometimes it seems like he spent the first 15 years looking up to me and now these past 10 years or so I’ve been looking up to him. Read the rest of this entry »


3 Comments, Written on May 3rd, 2012 , Faith

File:Battlestar Galactica intro.jpg

I just finished watching the finale of the re-imagined Battlestar Galactica, which my wife bought for me on Blu-Ray for Christmas.   Technically speaking, the picture and audio quality of the series was awesome, but what really struck me, especially when the series hit its stride, was the story telling.

For those who aren’t into the genre, let me tell you a little secret: sci-fi is not about the ships or the action or the special effects.  When it gets right down to it, what I love about sci-fi, and what I think most fans love about it, is what good sci-fi has to say about ourselves and what it means to be human.  Whether set in the future or the past, it seems this self-examination is what good sci-fi is all about.  What does it mean to be an ethical person?  What do we do with good and evil?  How do we understand and balance the material and rational with that which we cannot explain?  Why do we love, hate, lust and betray? Read the rest of this entry »


Leave A Comment, Written on April 15th, 2012 , Television

So I’ve got an application that includes several tooltips for providing a bit of “help” information to users.  Basically, the user hovers over a question mark image and then the help text is displayed in a stylized widget that behaves like the browser tooltip.

Being generally all about using jQuery for my ajax / UI needs, and also being generally lazy about writing more code than I have to or reinventing the wheel, I was using a jQuery tooltip plugin by Jörn Zaefferer: nice and easy to set up; simple, clean interface — works great in the simple case, where everything is visible and static on the page.

Read the rest of this entry »


Leave A Comment, Written on April 9th, 2012 , Javascript, jQuery, Tech

I’ve been thinking a lot about programming pedagogy lately and today had the occasion to start looking for a good “first book” for a friend who wanted to introduce his son to programming.  Along the way, I came across an old post from the Joel on Software blog on getting “Back to Basics.”

Do take a look at the original post, especially if you are interested in programming.  I find it interesting for at least a few reasons:

Read the rest of this entry »


3 Comments, Written on March 31st, 2012 , Tech

I found myself very surprised to agree almost in total with this a current opinion piece on CNN.com.  I won’t say too much, other than to add that I also find marriage to be one of the best and most comforting decisions I’ve ever made.  Despite what many these days are saying about the demise of marriage, I believe it is God’s plan for human families and that most people will find, like the article’s author, that God’s best is also our best.


Leave A Comment, Written on December 31st, 2011 , Uncategorized

After a rainy day trapsing around NYC, I introduced my mother, brother, and soon to be sister in law to opera by starting at the top — the Met doing Madam Butterfly.

Butterfly is the quintessential starter opera.

Read the rest of this entry »


1 Comment, Written on December 28th, 2011 , Music

At work we are working on a project that involves pushing out correspondence to students.  This necessitates sorting by multiple factors, including name, homeroom, etc.  This is trivial when using SQL ORDER BY, but I already had all the information I needed in the business objects, so I really needed to implement a mult-field sort in Java.

The algorithm works off of the same principals as ORDER BY.  A list of field names and objects are passed in and then the objects are hierarchically (i.e. recursively) sorted using reflection and each of the field names passed in.  It’s pretty sweet in that the field list can be arbitrarily deep and it is not tied to a specific object type.

As I was trying to solve a specific problem, there are several limitations: Read the rest of this entry »


Leave A Comment, Written on December 22nd, 2011 , Java, Tech

Rehearsing Creation is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

Rehearsing Creation

Musings on faith, technology, the arts, and life