Archive for the ‘Code’ Category

Comparing CMS/blog systems, part 3.2: CMS Made Simple day to day

Having gone through the setup of my new site for PL PHP in Comparing CMS/blog systems, part 3.1: Typo3 day to day I next wanted to try going through the same with CMS Made Simple. As noted in Comparing CMS/blog systems, part 2 I didn’t get CMS Made Simple installed the first time round, but [...]

Read the rest of this entry »

Comparing CMS/blog systems, part 3.1: TYPO3 day to day

The individual posting on the blogs and cms’ will be bigger, given that there’s simply more to do than for installing. Hence, I’ve decided to split the posts into smaller chunks, dealing with one product at a time. On top of that, the ordering has changed a tad – I wanted to start with the [...]

Read the rest of this entry »

Sorting algorithms: Shell sort

Third in the line of posts on sorting algorithms (first was Bubble Sort and the second was Insertion Sort) is the Shell Sort. This is basically a variant of the insertion sort, with the difference that you’re sorting the array multiple times. Another way of looking at this is that the shell sort is really [...]

Read the rest of this entry »

Sorting algorithms: Insertion Sort

Second up in the line of sorting algorithms I’ll run through is the insertion sort algorithm. It’s fairly different from the bubblesort algorithm in that bubblesort will go through every element that you’re trying to sort and compare it with every other element (meaning, you’re looking at about n * n comparisons) while insertion sort [...]

Read the rest of this entry »

Sorting algorithms: quick update

In Sorting algorithms: bubblesort I started working on implementations of different sorting algorithms. The first obviously being bubble sort. I hadn’t worked up a proper framework for the implementations though, so the implementation was just a flat file – not great for reusing code. Seeing as I plan to do about 10 or more algorithms [...]

Read the rest of this entry »