Who supports the EDS website?

Posted by andy in : Software on December 21, 2004. There are no responses »

While blogging about the latest edition of Private Eye, I came across the following humorous ditty (page 4):

For several days during December graduates trying to glean information on the company’s UK recruitment programme were met with a plain white screen bearing the message “Unfortunatley we are currently experiencing some technical difficulties with our website and are unable to accept on-line applications.

It’s good to see that EDS eat their own dog food and use their own support services! :)

New Business Value Paper

Posted by andy in : Agile,Business Value,Software,Teams on August 12, 2004. There are no responses »

Chris Matts (the other half of the Agile Business Coach has just published a new paper on the joys of negative feedback: Encouraging the “Right Stuff” (PDF format)

A conversation with Alistair Cockburn

Posted by andy in : Agile,Software on August 5, 2004. There are no responses »

Just listened to a nice online interview with Alistair Cockburn on Agile Software Developement.

http://www.itconversations.com/shows/detail175.html

Hiring Technical People

Posted by andy in : Software,Teams on July 29, 2004. There are no responses »

I am currently helping a client with developer recruitment and stumbled across Johanna Rothman’s superb Hiring Technical People blog. Now added into my blog reader!

The Online Agile Project Preplanner

Posted by andy in : Agile,Software on May 31, 2004. There are no responses »

Nat Pryce has done a wonderful job of building an agile project replanner. Give it a try. I’m going to use this on all of my projects.

http://nat.truemesh.com/preplanner/preplanner.html

Swing JOptionPane and JGoodies bug

Posted by andy in : Software on April 8, 2004. There are no responses »

We had a weird problem today and thought other people may appreciate the fix.

We have a swing application deployed using Jave Web Start. A java swing JOptionPage was rendered without any GUI components – just a small grey square.

It only failed on Java Web Start and not when we ran the code from the developer machines.

Even more baffling, was that it ran on some machines via Java Web Start and not others…

So we fired up the Web Start console to see what was happening and it worked – the act of running the console changed the behaviour of the app!

Lots of scratching of heads…

The problem was that on some environments, Swing could not find the JGoodies look and feel for the JOptionPane. The fix is to force the UIManager to load the JGoodies class loader:

1
UIManager.put("ClassLoader", LookUtils.class.getClassLoader());

Using Aliases to refactor XML

Posted by andy in : Agile,Refactoring,Software on February 23, 2004. There are no responses »

I have been playing with XStream for converting java classes into xml.

We can convert a class such as this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package xtream.demo;
 
import java.util.Date;
 
public class NotVeryUsefulBean {
    public String someString;
    public Date someDate;
    public int someInt;
 
    public NotVeryUsefulBean(String someString, Date someDate, int someInt) {
        this.someString = someString;
        this.someDate = someDate;
        this.someInt = someInt;
    }
}

into xml that looks like this.

1
2
3
4
5
<xtream .demo.NotVeryUsefulBean>
  <somestring>Sample String</somestring>
  <somedate>2006-07-22 14:45:02.117 PM</somedate>
  <someint>999</someint>
</xtream>

The xml is nice and clean. Like most implementations, XStream embeds the name of the class in the xml. This can cause problems when you rename a class, or move it to a different package. The xml could be on a customers’ machine, well away from my refactoring IDE. I have been bitten by this lately.

Then I realised that XStream has aliases. Joe added aliases to make it easier to read the xml. You map an alias to a class. Here is an example of using a “MyAlias” for the “NotVeryUsefulBean” class.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import com.thoughtworks.xstream.XStream;
import xtream.demo.NotVeryUsefulBean;
 
import java.util.Date;
 
public class XstreamDemoUsingAnAlias{
    public static void main(String[] args) {
        XStream xStream = new XStream();
        xStream.alias("MyAlias", NotVeryUsefulBean.class);
 
        NotVeryUsefulBean bean = new NotVeryUsefulBean("String", new Date(), 999);
 
        String xml = xStream.toXML(bean);
        System.out.println("xml = " + xml);
    }
}

And the xml now looks like this

1
2
3
4
5
<myalias>
  <somestring>String</somestring>
  <somedate>2006-07-22 15:02:37.996 PM</somedate>
  <someint>999</someint>
</myalias>

Not a class name in sight. When I rename classes and move them into different packages, the refactoring tool will update the alias without breaking the xml. Nice!

Interative vs Evoutionary

Posted by andy in : Agile,Software on February 11, 2004. There are no responses »

I had an interesting conversation with Tom Gilb at XTC. Tom pointed out something obvious (don’t you hate it when that happens). He argued that the phrase iterative is not that descriptive. Tom prefers the term evolutionary.

My dictionary supports his argument. It defines iterative as marked by tedious repetition, while evolutionary is defined as a gradual process in which something changes into a different and usually more complex or better form. Much better.

This got me thinking that Evolutionary Development is a much better phrase for explaining to new people what the whole thing is about. We are building software that evolves, not software that iterates!! I wonder why we started using the term iterative?

A Mice Article

Posted by andy in : Software on August 16, 2003. There are no responses »

A wonderful article with some wise and amusing observations about software methodologies.

http://www.cs.queensu.ca/~dalamb/mice.html

Site Map | design by twothirty