![]() |
|
Warnings == Errors? Monday, April 24, 2006 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. 0 comments Application Migration Frustration. Wednesday, April 19, 2006 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. 1 comments Big Ball of Mud...Pattern?! Wednesday, April 12, 2006 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. =) 0 comments Jury Duty is SO Inefficient. Monday, April 10, 2006 $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. 0 comments Astros Fan Anyone? Wednesday, April 05, 2006 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 Astros Ticket: FIFO. Monday, April 03, 2006 ...or for the non-geeks: first come, first serve. I have one extra ticket for tonight's Astros game at $35.00 ($34.23 to be exact). Game starts at 7:00 PM, CST. Houston Astros - Florida Marlins @ Minute Maid Park 04-03-2006, Sec: 407 row: 7 Current attendees: Ben, Diane, Sarah, Sarah's friend, and I. Who ever calls me up first can purchase, otherwise I lose. =/ 1 comments One Week: No Electricity, No Internet. Sunday, April 02, 2006 What a week...Here's a long post to catch you all up on my adventures. Reliable Plugins Quantum DB for Eclipse can't count. SELECT COUNT(*) FROM table1 sf WHERE sf.TYPE = 'type1' AND sf.SCID <> 'sneeze' AND sf.MSCD IN (1, 2) Result: 1456 while (rs.next()) { fto = new FilterTestObject( rs.getInt("DLNO"), rs.getInt("IVNO"), rs.getInt("EVNO"), rs.getString("SCID"), rs.getTimestamp("TMST"), rs.getInt("MSCD")); System.out.println(fto.toString()); subscriberList.add(fto); } Result: 1455 Excel's features you should know and use more often (if you aren't already): -Format > Conditional Formatting (there should be MORE than just 3!) -Data > Filter > AutoFilter -Data > Text to Columns -Window > Split -Window > Freeze Panes Java/C# Coding standards, which do you follow? //A - Java, Eclipse public void foo() { //this is ugly to me } //B - C#, VS2003 public void foo() { //this is so much more appealing to the eyes } Lotus Notes: Inbox Folders Renaming folders
Sub-folder sorting is apparantly random if you add new folders or move existing ones around, but it is alphabetized after you reopen the Inbox Folder. 2 comments |
![]()
Recent Posts Reading Material: Writing Secure Code. No Right Click? Use Shift + F10. Hurricane Ike Recovery. CI in SD Conference. Microsoft ArcReady Event. University of Houston Alumni Organization. Arrested Development - Great Show! NYTimes.com - Double Click a Word, Try It. Secure Vantage Technologies is Hiring. SqlException: Invalid object name. Archives May 2005 June 2005 July 2005 August 2005 September 2005 October 2005 November 2005 December 2005 January 2006 February 2006 March 2006 April 2006 May 2006 June 2006 July 2006 August 2006 September 2006 October 2006 November 2006 December 2006 January 2007 February 2007 March 2007 April 2007 May 2007 June 2007 July 2007 August 2007 September 2007 October 2007 November 2007 December 2007 January 2008 February 2008 March 2008 April 2008 May 2008 June 2008 July 2008 August 2008 September 2008 October 2008 |
| copyright 2006-2008 | thomasnguyen.com |
![]() |