" /> Always: February 2007 Archives

« January 2007 | Main | March 2007 »

February 25, 2007

Yeah Maryland!

The Terps saved their best basketball play for tonight. Not only did they beat the number five team in the country but they they came from 12 back with 7 minutes to go to do it. Very impressive. They are peeking at the perfect time and with this win there is no way they'll be watching the tournament on their couches from College Park this year.

Bracketology had the Terps at a 9 seed almost a week ago. How high will that number go come tournament time? A 5 would be nice.

So the door is now open for Virginia Tech, Virginia and BC to take the ACC title. Please address your thank you cards to Gary Williams, Comcast Center, College Park, MD 20742.

February 5, 2007

Outed

Uh oh. I've been outed!

February 2, 2007

Stopping System.exit

Java has a robust and flexible security framework to control many aspects of a running application. Blocking System.exit() is one of those fined grain things that can be easily controlled with a SecurityManager. But why? If you don't have control over the entire code base (e.g. a third party library) then to make sure your app will keep on running it may just be something you have to do.

    final SecurityManager securityManager = new SecurityManager() 
        {
            public void checkPermission(Permission permission) 
            {
                if ("exitVM".equals(permission.getName())) 
                {
                    throw new SecurityException("System.exit attempted and blocked.");
                }
            }
        };
    System.setSecurityManager(securityManager);

The Story

My song of the week that I just keep playing over and over is Brandi Carlile and The Story. Definitely worth the 99 cents.

Last week it was My Chemical Romance and The Black Parade. The kids still love this one. If you like Queen you'll love this song.