Blogs are a lot of work

Keeping a blog interesting and up to date is extremely time consuming. I never realized how much time would be required to come up with interesting content daily. As you can see this is not one of my interesting pieces of content :)

The birth of Marco Antonio

Today my beautiful wife, Elizabeth, gave birth to our second son, Marco Antonio. He is 8 lbs 7.4 oz and 21 1/2 inches long. It is truly a blessing to have such a great growing family. Adan, our oldest, seems to be liking the idea of having a little brother, but I’m not sure he truly understands what’s going on. But then again, he might know a lot more than I think he does.

It will be great to watch both boys grow up into men. I will try my hardest to instill in my boys integrity, honor, and what truly is the most important in life, family.

Now to get some much needed sleep, since there will be many a long night for the next several months. Especially for Elizabeth, God bless her heart.

Boolean.getBoolean not what you think it is

In Java there is a Boolean object which has a nice static method called getBoolean that takes in a String. It returns a primitive boolean. So one would think that the following would print true.

String foo = “true”;
System.out.println( “Value [” + Boolean.getBoolean( foo ) + “]” ); …

But getBoolean() does not translate a String into a boolean primitive. It gets the boolean value of a SYSTEM PROPERTY.

From the Javadoc:
Returns true if and only if the system property named by the argument exists and is equal to the string “true”.