-
Archives
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- June 2005
-
Meta
Category Archives: technical
How to do variable/conditional SQL sorting order of results
I was jazzed today. I figured out how to conditional order of SQL results. Specifically being able to vary change the sorting order within the results based on a database field. Specifically, Create two tables Main and Secondary create table … Continue reading
Posted in help notes, technical
Leave a comment
Where to start learning Java if you are a PHP person?
Over at StackOverflow, the question was asked : Where to start with Java when coming from PHP? PHP5 has the concept of objects, interfaces and exceptions. These are similar enough to Java’s version of objects, interfaces and exceptions for basic … Continue reading
Posted in how to, technical
Leave a comment
Multi-threaded Homework Problem
Occasionally I have been asked about learning multithreaded programming. My standard suggested problem is to create a “simplistic” TCP/IP block ordering library. This is a variant of the standard producer/consumer problem that shows up in interviews. This problem is a … Continue reading
Posted in how to, technical
Leave a comment
… and I nailed the javadoc
Yesterday was a red letter day. I found multiple bugs in the javac and javadoc. (1.6.0_17) This javadoc issue occurred when there is a class that has no package line ( it is in the default package). Annoyingly enough it … Continue reading
Posted in help notes, technical
Leave a comment
Woot! I crashed the javac
My javac crash: An exception has occurred in the compiler (1.6.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. … Continue reading
Posted in help notes, technical
2 Comments
Generic annoyances in java
For some reason, the type variable <O> cannot flow through from an external caller through a callee to another called method. This compiles just fine in eclipse, but once again sun’s javac is temperamental. The three solutions seem to be: … Continue reading
Posted in help notes, technical
1 Comment
Gmail and the Electrical Grid: Looks the same
GMail had a large-scale cascading failure yesterday: At about 12:30 pm Pacific a few of the request routers became overloaded and in effect told the rest of the system “stop sending us traffic, we’re too slow!”. This transferred the load … Continue reading
Posted in technical
3 Comments
Mac OSX — the most insecure OS around
A year ago, I gave up on Windows. I was tired of the nervous eggshell feeling with anti-virus software, security patches, and a machine that would mysteriously be slower and slower no matter what I did. Because of MacOSX Unix … Continue reading
Posted in broken, how to, technical
2 Comments
Code Review #8: When to comment
The last ? in a series of posts about commenting. See “the why”. See “not commenting is career threatening”. And the comment that started this off! This post should have really been the second one I wrote. The first post … Continue reading
Posted in code review, management
1 Comment
Why and when to wrap external library classes
At some point, every developer starts using an external library. They then have to decide if that external library should be wrapped in their own custom interfaces and classes. If the external library would be pervasively imported in throughout the … Continue reading
Posted in code review, hibernate, technical
Leave a comment