Programming

Recursion: my two cents

Recursion: my two cents

A lot has been written on the use of recursion in computer programming, yet it remains one of the least understood aspects – especially for beginners. Having visited the Wikipedia page on recursion, I believe the text is hard to understand, and the examples are forced: there is no reason to use recursion to solve [...]

Oracle deadlocks: the what and the how

Oracle deadlocks: the what and the how

Everyone knows what a deadlock is: a situation in which two or more competing processes are waiting for the other to finish, and thus neither ever does. The purpose of this post is to help people understanding the deadlock a little better with a view to enable them to fix the problem when they find [...]

Top 10 considerations when preparing a software test plan

Top 10 considerations when preparing a software test plan

Click on images to enlarge -> Test the parts of the application that have changed since the last cycle / go live This part of the test plan is very obvious: test the changes to the application. Each change needs to be tested individually if possible, or as groups if the number of changes is [...]

Scripted thumbnail generation: security perspective

Scripted thumbnail generation: security perspective

While searching for something on the net, I came across some scripts that generate image thumbnail on the fly. For example: http://tech.mikelopez.info/2006/03/02/php-image-resize-script/. While using such scripts we should be aware of the security point of view: your site can easily become a proxy for other people or websites.

When NOT to normalise the database

When NOT to normalise the database

When talking of Database Normalisation, textbooks often talk of BCNF, fifth and higher normal forms. However, in practice (in large software/ERPs) I have rarely noticed normalisation beyond Third Normal form. In fact, there is a certain degree of redundancy that is desirable. While doing database design, I believe there are two critical aspects that should [...]

Hiding Wordpress categories

Hiding WordPress categories

When I wrote my first WordPress related post, I admitted that I was only doing it to attract traffic and it would be my last post on the subject. However, I start again. This time around, however, I want to talk about something which isn’t common knowledge and neither did I get any responses on [...]