Archive for the ‘Code’ Category

Sorting algorithms: bubblesort

I decided recently that it was time to add to my knowledge of sorting algorithms. I didn’t just want to read some quick descriptions on names of algorithms but to actually prod my knowledge-muscle with some stuff. So, I started out on Wikipedia, reading the article on sorting algorithms while taking notes. It gives a [...]

Read the rest of this entry »

Beginning actionscript

Set off by a job interview I got, I’ve started learning actionscript. It’s not something I’ve dealt with before apart from decompiling flash scripts to debug them. There’s been some obstacles before I could really dig into it – the first being getting an actionscript compiler installed on Ubuntu. As always, though, someone else had [...]

Read the rest of this entry »

Ranting about PHP

Came across this blog post on PHP today. Seems to me the author needs a fair amount of sleep and then a cop of coffee or two … First, … it all started with me trying to be clever with array_map and array_filter. Being clever is not a good thing. In my experience it always [...]

Read the rest of this entry »

Refactoring Infosys

The last week or more has seen quite a bit of activity for Infosys – I’ve been frenzied, to put it mildly :) Almost every core class has had major changes and the framework is fundamentally different now. It’s been lots of fun, lots of learning involved – here are some thoughts on the process: [...]

Read the rest of this entry »

PHP optimizing

I’ve read various tips about optimizing PHP code and at first I happily took them in. Later on, having read other points of view, I started to wonder a bit about some of the optimizations and later still I realised that some things are not just dubious but plain wrong. Yes, I’m talking about strings [...]

Read the rest of this entry »