Schumacher wins again

Schumacher wins again at the 2004 European Grand Prix at Nuerburgring. Another good Formula 1 race – I just wish Williams and McLaren had a better showing.

David Letterman’s team won the Indy 500. I’m a huge Letterman fan and am very happy for him, but I haven’t watched CART or Champ Cars or IRL or whatever the hell they are called now. Tony George, the asshole that killed the Indy car racing series had made this whole sport irrelavant. I haven’t seen a single CART/IRL race in the past 4 years and will continue to only follow Formula 1.

Pit Babes

Life is good in Formula 1

ATOM vs. RSS – Why can’t we all just get along?

I can’t believe we are arguing about a syndication protocol that’s not even supposed to be human readable but we are and it seems like the whole RSS vs ATOM debate is going to continue.

Dave Winer just launched a new website called Really Simple Syndication, a site devoted to helping non-tech users learn about RSS. While I hope the rational behind the site is to help purveyors of RSS, I can’t help but think if this isn’t another salvo across ATOM’s bow. As you probably know, Dave Winer is credited for shepherding RSS to its current format. Dave has done a lot for RSS and the whole idea of syndication in general, but the current state of RSS is completely fractured. With 7 different versions of RSS that are incompatible along with ownership issues, a group of people launched ATOM as a new, open format to replace all the flavors of RSS.

I blogged about Bill Gates’s comments on RSS earlier in the week and I wonder if people are just making a big deal out of nothing. I guess maybe I am contributing to it by blogging about it – More fuel to the fire. Sam Ruby has an entry entitled Détente that includes some great discussion points in the whole ATOM and RSS debate. Joshua Allen has a nice blog entry entitled RSS Politics on the whole matter. My hope is that W3C accepts ATOM as a candidate recommendation and Dave Winer and Sam Ruby work together to create ATOM 1.0 that includes the best of RSS and ATOM, without RDF.

OPML to HMTL using Informa

I’ve been having a few email discussions with a few of the blog readers about how I manage my blogroll and I decided to blog about it. Before I went out and purchased a copy of FeedDemon, a great RSS/ATOM feed reader, I had written my own crude feed reader. My feed reader used Informa for feed consumption and parsing and used a local MySQL database to keep track of my feeds subscription. Upon startup, the simple web application would load a list of my subscribed feeds from the database, parse them using Informa and save them locally. Worked well enough and let me learn more about Informa, which is really a very good RSS library for Java.

Now that I use FeedDemon, I output the blogs I read as an OPML file and then use Informa to create my HTML blogroll. Here’s a little code snippet on how I use Informa’s OPML support to parse my OPML file and iterate through the file to create the HTML that’s included in my blog. I also stole Don Park’s imageless RSS feed icon CSS to format my blogroll. Thanks Don – Great idea.

        try {
            Collection feeds = OPMLParser.parse("file:///C:/projects/opml2html/data/blogs.opml");
            sb.append("<ul class='navlist'>");

            Iterator it = feeds.iterator();
            while (it.hasNext()) {
                FeedIF feed = (FeedIF) it.next();
                sb.append("<li><a href=");
                sb.append(feed.getSite().toExternalForm());
                sb.append(">");
                sb.append(feed.getTitle());
                sb.append("</a>  <a href=");
                sb.append(feed.getLocation().toExternalForm());
                sb.append(" class='feedIconStyle'>XML</A>n");
            }
        } catch (IOException e) {
            //do something useful
        }

Informa is a great collaboration by the authors of HotSheet and Risotto, two independent Java/RSS efforts out in the market. If you have a need to parse RSS and display via. JSP’s, you need to check out the RSS JSP tag library and RSS-desk projects that are based on Informa.

Java theory and practice: The exceptions debate

When should you use checked versus unchecked exceptions in Java classes? The prevailing wisdom is to use checked exceptions in nearly all cases, but some Java luminaries have begun to think otherwise. This month, columnist Brian Goetz examines the exceptions debate and offers guidance on when and how to use unchecked exceptions.

http://www-106.ibm.com/developerworks/library/j-jtp05254.html?ca=drs-j2204

FindBugs, Part 1: Improve the quality of your code

Static analysis tools promise to find existing bugs in your code without requiring much effort on the part of the developer. Of course, if you’ve been programming for long, you know those promises don’t always pan out. Even so, good static analysis tools are a valuable addition to your toolbox. In this first of a two-part series, Senior Software Engineer Chris Grindstaff looks at how FindBugs can help improve the quality of your code and eliminate bugs lying in wait.

http://www-106.ibm.com/developerworks/library/j-findbug1/index.html?ca=drs-j2204