Recent Articles

Switching to open office plan killed more than productivity

When I started working as a web developer in a big company, I had my own space. I had plenty of time to myself and privacy. We were each surrounded by 3 walls which formed a cubicle. If I had to question for the lead developer, going to his cubicle seemed like entering his house. Most of the time I would just send him a message on instant messaging, but on some rare cases I would come to his office/cubicle/private quarters.

The most important skill you will learn in school

In my brief time in college, I have learn a few skills that allowed me to launch myself into a career. I have learned programming and started working in the field in a short time span. There are lot of practical things you can learn and use right away. But if I have to tell you which subject was the most important in my career, no doubt it will be Art.

What are you working on?

If you answer is a derivative to "it's complicated" then you have a problem. I recently contacted the owner of a website that I found fascinating. He posted a few things on his blog then went silent for a long time.

How your data is collected online

In the last few years, the whole idea of privacy is being taken to a whole new level. We hear online and on TV that everything we do is monitored. Social networks like Facebook and Twitter house some of our most personal things. Would you let anyone read your Facebook private messages? Or even worst your email. No you wouldn't want. Even if you have nothing to hide. The most important data these companies value however are not your midnight chat logs.

In pursuit of happiness: Job Security

In December of 2010, I was running dangerously low in funds. I hadn't found work in a while. A while being weeks. I was freelancing. My main source for income was Craigslists. Some gigs offered 200 dollars for impossible jobs, some were wittier and offered 20 dollars an hour for 3 hours of work for a 40 hours long project. I couldn't live in this unpredictable pattern of inconsistent jobs. I had to get out. I had to find a nice secure job.

Creating an online pamphlet

In the past few years, I been have working on creating and maintaining websites. I grew tired of it. Not because the task is boring. I love programming. I would do it just for fun. But the reason why I create website has changed. Maybe it's because I grew up, or maybe it's just that I don't like creating the same thing over and over. One thing for sure is, I will not be working on someone else's poorly executed idea. I will work on my own poorly executed stuff.

More concerned to keep your job than to do your job

There are those jobs where you are constantly worried about losing it. Your co-workers warn you every time the Boss is on the premises. It's stressful. You have no freedom. You owe your employer a Job. It's like they did you a favor and hired you. This Great Depression mentality somehow managed to survive the test of time.

How to buy a computer in 2014

The world of computing is changing. Bill Gates dream of every home being equipped with a PC has come true. Now it is going away.

JavaScript Tips and Tricks

Calling a function out of scope

With the advent of jQuery, coding in JavaScript became accessible to almost everybody. But with it came some very fundamental errors that could have been avoided if the person read the very basic of java script. Users define…

Get computed style

Sometimes you want to get the width of an element, and the obvious way of getting it does not work.; // (empty string) Yeah, I know it should be this easy but it is not. Instead we have to get the comp…

Accessing URL parameters in JavaScript

I have worked with PHP extensively and it is very convenient to have all the URL parameters automatically assigned to the global array $_GET. Here is an example: $_GET['foo']; // bar I wish …

Calling a function that has no name

You can make use of recursion easily in JavaScript. Let's try it with factorials: function factorial(num){ if (num < 0) { return -1; } else if (num == 0) { return 1; } return (num * fa…

Making fast cross-domain requests when the browser is leaving

There are times you want to make a very quick web request and don't care about the response looks like. It is possible to make requests using Ajax, but we still get a response. One trick you will see many people are using is…