What was I thinking?

At my day job I am working on an API into an E911 interface and while writing my DSL to ingest and perform certain actions against their SOAP interface I quickly noticed an opportunity to refactor.  The end result is much cleaner and in my opinion easier to decipher what is happening.

To bring you up to speed this particular function is for searching against their database for a location, there are several “optional” fields you can send over to narrow and scope your search.  Obviously to properly expose the feature my DSL needs to be able to account for all the possible options.  Here is what the code was before refactoring

(WARNING: it is ugly)

Continue reading

The wonders of our country

“I believe that banking institutions are more dangerous than standing armies… If the american people ever allow private banks to control the issue of currency..The banks and corporations that will grow up around them will deprive the people of their property until their children wake up homeless on the continent their fathers conquered” — Thomas Jefferson (1743-1826).

No truer words could have predicted our current situation.

Continue reading

What is Forgiveness?

Is it the same thing as saying I’m sorry? I believe we have, as a society, reduced forgiveness into a mere “I’m sorry”. That is not what forgiveness is about! We do not ask forgiveness if we accidentally step on someone’s toe. I mean we did not just sin did we? You only need to ask for forgiveness if you sin; either against God, yourself or someone else. Therefore we do not say “will you forgive me for stepping on your toes”, we say “I’m sorry that I stepped on your toes”, because you are sorry. You did not mean to do it, but in doing so, you did not sin against them. You just accidentally stepped on their toes.

Continue reading

What is Fearless Obedience

Obeying what you know to accomplish that which you do not know

Let’s break this down, first what does fearless mean? I use to think it was the absence of fear or an unconcern for safety. In reality fearless is much different, the best definition I could find was “A calm resolute in facing your fears”. Resolute can be interpreted as “Admirably purposeful, determined or unwavering”. It means you know and recognize the dangers but face them headstrong. This leads to the question of how do you become fearless? Ironically fearlessness comes from obedience, therefore obedience to God helps us to become fearless because we know that we will have what He said we can have. Basically we know that He keeps His promises.

Continue reading

WordPress Plugin Cleanup SUCKS!

Being a software developer I can sometimes get irate with how some software operates. For example, when you uninstall a plugin from WordPress there is no proper cleanup; meaning there are crumbs from the plugin left all over your database. Sometimes it’ll be in your wp_options table and other times little nuggets will be left in the wp_usermeta table. Seriously? I don’t know if it’s the developers of these Plugins or if it’s an inherent flaw with WordPress; either way it completely sucks and can mislead people into thinking they have “completely” removed a specific plugin.

I’ve encountered this problem several times before, but currently I am facing it with the Membership Plugin (http://premium.wpmudev.org/project/wordpress-membership-lite). My user data had become corrupted so I was unable to add any new levels, subscriptions or members to my customers site. Recognizing that something went wrong I utilized their “database” repair functionality to try and fix the issue. It didn’t work, no problem! I’ll just deactivate the plugin, remove it and then reinstall it. Off I go to do just that; but amazingly it remembered every setting that was there before, including the issue that was plaguing me from the beginning. Gah! Darn crumbs. I scrambled through the database to delete all the “leftovers” and sure enough when I removed the plugin and re-installed this time everything worked like a champ!

Please, WordPress or Plugin Developers, consider properly cleaning up after yourselves. My children do a better job after they goto the bathroom!

A letter from an atheist

This was a letter Ray Comfort (many know him from the Way of The Master series with Kirk Cameron) received from an atheist, read it and meditate on it.  Do you fit into the category of what this atheist is saying?

“You are really convinced that you’ve got all the answers. You’ve really got yourself tricked into believing that you’re 100% right. Well, let me tell you just one thing. Do you consider yourself to be compassionate of other humans? If you’re right, as you say you are, and you believe that, then how can you sleep at night? When you speak with me, you are speaking with someone who you believe is walking directly into eternal damnation, into an endless onslaught of horrendous pain which your ‘loving’ god created, yet you stand by and do nothing.If you believed one bit that thousands every day were falling into an eternal and unchangeable fate, you should be running the streets mad with rage at their blindness. That’s equivalent to standing on a street corner and watching every person that passes you walk blindly directly into the path of a bus and die, yet you stand idly by and do nothing. You’re just twiddling your thumbs, happy in the knowledge that one day that ‘walk’ signal will shine your way across the road.

Think about it. Imagine the horrors Hell must have in store if the Bible is true. You’re just going to allow that to happen and not care about saving anyone but yourself? If you’re right then you’re an uncaring, unemotional and purely selfish (expletive) that has no right to talk about subjects such as love and caring.”