Defensive programming good or evil?

Based on a recent discussion I had with a friend of mine, I am curious to know what other people think.

The discussion revolves around the use of defensive programming techniques, as implicitly discussed in my recent article. I am going to discuss two issues.

public void doSomething(SomeClass pClass) {
    ... // Do some things
    pClass.executeSomeFunction();
    ... // Do some other things
  }
Full Article

DPI vs. Image Size

Ever wondered how the relationship between DPI and Image Size works? I found a brilliant article on the web... Definately worth a read.

New Company

A few days ago I decided it is time to start another small company called Photudio. I have been interested in photography since I was a little boy running around with my Vivitar 35mm point and shoot film camera.

The web site contains some photos from each portfolio I like to take pictures for. Since I am interested in many different subjects, I have created distinct portfolios. Commercially I prefer doing Weddings, Model Portfolios, Still life and family portraits.

I hope this will become a viable company since I love photographing beauty...

%$#%$#% Spammers!!!!

Some freak decided tonight that it is a good idea to submit about 40 SPAM comments on my blog, distributed evenly across the blog entries... I had to delete them all one by one over an HSCSD (28.8kbps) connection.

The only temporary remedy I could find is to turn comments off. If you know of any way to work around this, please email me!

Home Burglar Alarm System (2)

It has been quite a while since I last posted here. The reason is that we have just moved to a new townhouse, and Telkom does not yet have any lines available in the complex so I am without ADSL :(

The burglar alarm installation went well bar the misconception regarding the time it took to have installed it. After a week of struggling I got it in and fully working - finally! There were 22 cables I had to pull through the roof, which was no easy job...

So you are interested in the performance of the system? I love the Optex sensors, they work brilliantly. So far I only had two false alarms - one from an unknown source in the dining room, and one from the garage where my cat was locked in.

Full Article