February 28, 2013 10:45 pm
A lot of companies have implemented firewalls and closed off direct external internet access for security reasons. This results in developers going through proxy servers (internal to the company) in order to access external websites. Normally, these proxy server can be configured through the OS global configuration or through individual... View Article
February 26, 2013 1:47 pm
Before we look at the code snippets, yes there is no such thing as associative array in JavaScript, they are all objects. But really, a lot of people search for “how do we get JavaScript associative array length?” so I might as well publish this short post. So say we have an... View Article
February 25, 2013 6:37 pm
Anyone who has bought the 128GB or even 256GB MacBook Pro will eventually know how precious disk space really is. The common solution is of course moving off the unneeded files such as music, books, etc to external storage such as usb hard drive or usb drive sticks. The problem is, if... View Article
February 21, 2013 8:20 am
If I remembered correctly during my university years there were very little reasoning provided for adhering to code standards apart from the occasional fear that we might lose mark. This is not the right attitude to be taught to budding programmers, it lacks the long term reasoning of software maintenance.... View Article
February 17, 2013 4:36 am
The Danger of Interruptions The worst problem is of course the fact that according to a research, interruptions drop a person’s IQ up to 10 points which is 4 points more than smoking marijuana 1, concerning indeed. The paper also further explained that in order to return to the fully... View Article
February 14, 2013 1:00 am
A few days ago I had a request to build a word counter for a website. One of the condition is that the words included in the count have to be unique. I couldn’t find any software or browser plugins that can do this straight away, so I decided to... View Article
February 12, 2013 12:19 pm
Keyboard and mouse the two most ubiquitous computing equipment that we always take for granted. Lately I’ve been paying attention at them again, courtesy of some conversation with my colleagues. I think the last time I really choose the type and brands of my keyboard and mouse was during my... View Article
February 11, 2013 11:34 am
One of the more common mistakes that web developers made is the scoping of “this”. This would be one of the criteria of understanding that most testers would look at when hiring new developers. This short post will show a simple code snippet showing how to keep the scoping of... View Article
February 10, 2013 10:19 pm
I think getting kids to play PC games are on of the best education tools (keeping in mind the age ratings of course). Note that I’m talking about PC not the general console games as they are pretty much plug and play. The idea is to get them curious with... View Article
February 7, 2013 11:18 pm
Sometimes you need to run a command in the terminal as another user in the system. I forgot the way to do this all the time, so here’s a little code snippets on how to do so. sudo su -s /bin/sh <insert user here> -c "CMD HERE"