Archive for November, 2007
Picasa and Facebook
25 November 2007If you are anything like me then you will at some stage have been highly addicted to the social networking site, Facebook. As I also happen to love Picasa it seemed fitting that I have someway of getting my photos from picasa up to flickr where they might actually be seen by the people in […]
Begging the Question
15 November 2007I heard someone else using the phrase incorrectly again today and I thought I’d take the time to write up a short description of the bastardisation of the phrase that has occured over the last 20 years. In logic, the term ‘begging the question’ refers to the predication of the premise of an argument upon […]
Vim indent script
14 November 2007I’ve been using vi a lot lately and was bummed to have forgotten a very nice piece of .vimrc magic I used to have to autoindent an entire file at once. The way it works is you stick the following in your ~/.vimrc and then in any file you can just press — and it […]
Bromeliad Garden
11 November 2007Last weekend Becky and I finished off our retaining wall and put in a new feature in the front garden. Basically it is a small boxed garden containing Becky’s collection of Bromeliads and I have to say that it looks really good for the amount of effort that we put into it (not all that […]
Why use ++i instead of i++?
6 November 2007I knew that it was better practice to specify my for loops in c++ in the following form
for (int i=0; i<MAX_ITER; ++i)….
rather than
for (int i=0; i<MAX_ITER; i++)….
but I was unsure exactly why. The reason is that the post-fix operator requires three steps
1) a copy of the current value of i is made
2) the current […]