Warnings == Errors?

April 24th, 2006 § 0 comments § permalink

Do you treat warnings as errors? I remember this discussion and it’s pretty much up to the developer, but I think they should be treated as errors. This migration piece is a mother load and a lot of problems I’m having are because these warnings are becoming errors.

Application Migration Frustration.

April 20th, 2006 § 1 comment § permalink

Moving from JDK 1.2 to JDK 1.5 not knowing it was supposed to be JDK 1.4.2 is not cool at all. Amongst the headaches, I learned something about generics in JDK 1.5 that may pose a problem to code migration.

To add to the headaches, I ran into some TheDailyWTF code-worthy pieces in the application. It’s a 1300 line class that contains a 1000 line method. This method contains about 30 code blocks, all of which are duplicated. AWESOME.

I hope I’ll be able to refactor all this nonsense after the migration. The application is not really all that complicated, but the code…well…it speaks for itself.

As for the silver lining, I’m learning a lot about Ant, Tomcat, all the different Java acronyms (JDK, J2EE, JAR, EJB, EAR, WAR, etc.), and coding best practices.

-Empty catch statements are bad.
-Not logging errors to a file makes it really hard to debug, especially when it’s not setup to run/debug on an IDE!
-Following coding standards really does help developers read code better.

On another note, everyone should go watch Lucky Number Slevin.

Big Ball of Mud…Pattern?!

April 13th, 2006 § 0 comments § permalink

So…WTF is a Big Ball of Mud Pattern? Click and read. It’s real and I just took ownership of a project that uses this “BBOM” pattern.

Don’t you think I’m lucky?! BLECH. JSPs/ASPs integrated could be ok, but this one is UGLY. Every page and class seems to be TheDailyWTF-worthy.

BTW, Google Calendar has been turned on. =)

Jury Duty is SO Inefficient.

April 10th, 2006 § 0 comments § permalink

$6.00 per day…That’s a little below minimum wage, don’t you think? Consider the fact that if you drive to the court house, you have to pay for parking. Yes, you can take the bus/rail for free, but it isn’t as reliable.

Jury Summons: Monday, April 10, 2006 at 12:15 PM.

11:50 AM – I get there. It’s better to be early, I guess.
12:15 PM – They collect first round of summons.
12:30 PM – They collect the last round of summons and close the doors.
-This is where we watch a video on what to do and do the oath thing.
-Then we sit and wait for voir dire.
1:03 PM – They call group one.
1:07 PM – They call group two.
1:31 PM – They call group three.
1:36 PM – Those not called to a room are released, including ME!

Tell that’s the most efficient means of handling things. I’d rather be working than putting up with this non-sense.

Astros Fan Anyone?

April 6th, 2006 § 5 comments § permalink

I’m looking for anyone who is willing to get tickets for the Astros on special days. We are currently 2-1.


I just bought 6 tickets for Saturday’s game (6:05 PM) against the Washington Nationals. Again, Ben, Diane and I are down to go. First 3 to call me up wins them: $11 a pop for section 434 and a pennant. TomEx will be picking them up Friday after work Saturday, two hours before the game. No more BenEx. No more FedEx.

Where am I?

You are currently viewing the archives for April, 2006 at thomas nguyen.