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 🙂
Here is my precious newborn, only 3 days old.
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.
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”.
Make sure to read the comment about the Vi Plugin.
As more and more folks here use Eclipse, I get more questions about it. So here are some tips I found useful:
Change Key mappings i.e. F3 for searching
- Click on Windows -> Preferences
- Open Workbench -> Keys
- In the Commands listbox, choose Edit -> Find Next
- Select the Text Editor entry in the Assigned key sequences: table
- In the dropdown box labled Key sequence choose F3
- Click Add
- Click OK
Many folks at work ask me which Java IDE I prefer, I usually answer Eclipse, which is the IDE I’m hoping we migrate to. Personally, I’ve never been an IDE fan. I much prefer Ant scripts, a good editor like Vim, and a compiler such as Jikes.
Enough rambling, Eclipse is really a great IDE. The SWT makes it fast and look like other native applications which is one of my biggest problems with Swing. It’s slow and doesn’t behave like Windows or Linux. Eclipse has a large list of availble plugins
Here are a few of my favorites:
Today is your typical Monday, rather dull and lifeless. The best part of the day will be quitting time when I can go home and see my family.
By accident I found that if you have your cursor above a word and type in Shift-# it will highlight all matching words. Very useful.