DISCOVER
X

-=Latest Posts=-

Counting Associative Array Length in JavaScript

February 26, 2013 1:47 pm Leave your thoughts

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


Super small USB drive sticks

February 25, 2013 6:37 pm Leave your thoughts

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


Code Standards: Who Cares?…Right?

February 21, 2013 8:20 am Leave your thoughts

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


Instant Messenger at Work – Chatting at Work

February 17, 2013 4:36 am Leave your thoughts

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


On Playing Computer Games for Education

February 10, 2013 10:19 pm Leave your thoughts

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


Running UNIX/Linux command as anyone

February 7, 2013 11:18 pm Leave your thoughts

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" Tweet Vote on... View Article


Quake style console on Ubuntu

February 7, 2013 10:31 pm Leave your thoughts

If you are like me, requiring to open the Linux terminal every now and then in order to do test some of your codes. Then this tool, will be useful. Guake Terminal. The name comes from the game Quake. Remember the good ol’ days when we press tilde in-game and... View Article