January 2009

Cruise / Ant : Could not find log.xml

We just ran into this problem trying to configure ant to run in a different working directory using cruise.

Our original snippet looked like this:

 
                
        

We then added antWorkingDir="${build.dir}" to the ant target, which failed with a dodgy message like “could not find log.xml”. This was because we no longer needed the ${build.dir} when speciying the buildfile. The error was actually hidden up above in the log and was really saying “could not find build.xml”.

working code:

 
                
        
  • Share/Bookmark

build

Comments (0)

Permalink

Coloured text on a black background

The other day, Alistair chatted to me about the ‘retro’ concept of changing my IDE background to black like in the old skool days. Then I saw a Neal Ford’s blog which also has a black background and looks cool. So I am trying it on this blog.

I think I likes it.

It seems theres a bit of a thing happening out there, a lot of people say black on white is better:

hanselman

coding horror

456bereastreet – really doesnt like it and say you should offer alternative stylesheets.

A lengthy discussion – Makes a good point that if the whole web is black on white and then you come to a site like this, its going to be harder to read.

  • Share/Bookmark

random

Comments (0)

Permalink

Distilling the principles of software design

How do I make sure I am reading enough, or have a good set of working principles to be able to apply to my software design / coding ?

Most people come to this by experience. Experience and interaction with other software developers. Ideas (or memes) spread by word of mouth, more specifically the internet.

Something the scientific community often publishes are review papers. These take a particular field and summarise the findings, providing a massive list of references at the end.

These are extremely useful if you want to then work in that area. Because it has been peer reviewed, there is a certain amount of confidence that crucial works (at least until the date of publication) have been included.

We almost have this in software, but people tend to write books, or blogs about things. These tend to be written by people who have gained a reputation in the field for collating ideas, for example Martin Fowler. Maybe its the same thing, and you get a word of mouth gain in respect for these people.

Perhaps a more formal peer-reviewed process could be realised for software design principles. As a local alternative, I have created a page called ‘Essential Reading’ where I am going to begin to collate such references. Works which I believe contain valuable principles, and which everyone should be aware. I’ll see if it is possible to get something like a review paper going.

I think the goal is that you should be able to communicate about any of these concepts amongst developers and they should be able to understand what your talking about. Its a bit like patterns, but with a wider context, they are principles.

I was inspired to write this after finding Neal Ford’s book which is a book that I had thinking would be great to write. Neal has been working on it for a couple of years and I am looking forward to reading it.

Non-randomly enough, I just found this from Joel which is all about Unicode, but is entitled “The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)” maybe what I’m looking for is a similar article about design principles. Infact, Joel has a list of articles by job role which he has written which is close to what I’m looking for. Also, he co-founded Stack Overflow which is a way forward.

I would also like to start ‘canigrokit.org’ which would be a similar idea but allows you to post snippets of code and people can vote on wether they are readable or not. I have the domain name already.

  • Share/Bookmark

design
professional journal

Comments (2)

Permalink

The future?

I just read this interesting response from Brian Eno about the future.

It coincides with some thoughts I’ve had about the future and global warming (I have an imaginary book called ‘Climate of fear’ which I might write).

  • Share/Bookmark

random

Comments (0)

Permalink