Sabtu, 29 Juni 2013

Thought About Anarchist Soccer Fans

In the present time, there are a clash between two Indonesian soccer fans, The Jak Mania from Persija and Viking from Persib. The match between Persija and Persib at Persija's home is cancelled due to a fight between both fans. Not pleased with The Jak Mania's action, The Viking throws rock to every Jakarta plated car that went to Bandung. Until right now, there are one life casualty. 

After that incident comes into media attention, my friends at Facebook start posting a lot about the clash incident. Most of them are complaining, accusing that the viking has no other jobs to do, they sinned. Some of them called Viking stupid and crazy. Most of them do not understand why The Viking could go to that extreme.

I, myself, have a different point of view. I do understand why they could do such extreme violence actions for sports. My friends and I were studied in one of the best college at Indonesia. We are well educated throughout our life. Nurtured by good and understanding parents. We live in prosper and healthy environment. We can "easily" knows whats good and wrong. We can control ourselves better. Meanwhile, most of The Viking came from the street. They are not well educated. They strive badly just to get food and home. Their parents are not give them much attention. The live in a wild and unhealthy environment. The best entertainment they had is Soccer. Imagine that you had one thing that you like the most, then some people disrupts it. It's simple.

This why I want to strive in the field of education. :D. Education is the key to Indonesia's future. 

Selasa, 11 Juni 2013

First Project Using Unit Testing

Alright, if every applications I've developed until now is not using unit testing, this is the first project I developed using unit testing. It's like an enlightenment. I just realize that unit testing is very important. At the very first time I use unit testing, I cannot get away from it. Unit testing is provided for people who do not like to test their apps manually. I am one of them.

I developed mainly web application. For me, the most boring thing in the development time is to try to open every page in my application and try every possible scenario. With using unit testing, I can set up a mock environment for testing purposes automatically. Every function or method can be tested automatically. I don't have to use the function to test the correctness of the function.

I know it was tiring to write code for unit testing, but trust me, it will be more tiring to test every possible scenario manually. Not only reducing amount of work to test, but my app have less bugs than ever. Unit testing find bugs before you know it. :D

Sabtu, 08 Juni 2013

Forget is Not an Excuse

Recently, I find my friends told me like this "sorry, I forgot about that" or many another variations of apologizing statement for their lateness. It is just like at the court. The safest answer in the court for politician is "I forgot". Just do not do it if you do not want to be like that. 

The logic is really simple. If you forgot about a thing, it means that thing is not that important for you. One day, I tried to ask some help to my friend to take my belongings because she is at the place where I left my belonging. After several hours, she said "sorry, I forgot". I know the feeling when my friend said that statement. Until now, "forgot" is one of my forbidden words for me. It was a really bad word like "whatever". Logically if you thing something is important to you, you will always remember it or maybe set a reminder for it or you become so excited so that you cannot sleep. 

It's just not fun when someone tells to us that "I forgot" because it means we are not important. So, treat every single little request with enthusiasm. It will show that you care for them. :D

Kamis, 06 Juni 2013

Why Do We Use Web Framework?

A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. It is a normal thing to hear that one or another framework is used to make web application nowadays. There are a lot of framework even just for one language. For example, Python has pylon, cherrypy, and Django. PHP has kohana, yii, codeigniter, and cakePHP. All framework has is advantages and drawbacks. But, what is the essential reason to use a web framework?

The first reason that become the most important reason to use a web framework is that by using a framework, it will reduce a huge amount of development time. Yes, by using a framework, CPU and Memory loads will increase, but hardware is cheap compared to developer cost. Yes, we can make good application without framework, but it would definitely harder and cost more.

The second reason is that almost all web frameworks are opensource. This is the reason why we should always use frameworks. It do not cost a single penny except the bandwidth you used to download the framework. Besides reducing development time, it would reduce development cost by using open source software that has production quality.  Imagine a world that framework is a paid license. It would be not fun anymore.

The last reason to use a web framework is that, you will write code on the shoulder of giants. Popular framework like yii or Django, has been "touch" by the hands of professional, experts, and a lot of other developers. Their code will definitely significantly better than only one or two people that write the code. Their code has been tested, reviewed, and gone into production numerous times. 

So, in short, by using web framework, it will reduce development time, development cost, and better software quality. I personally like Django and Rails. For PHP, I want to try yii2 after its BETA release. Thank you.

Senin, 22 April 2013

Do or do not. There is no try.

"Try" is self-denigrating. It essentially means that you are not capable of doing a certain task - or at the very least lack the necessary self-confidence to do it. It implies you are not sure if you can do it.

By eliminating the word try, you make up your mind to either do something or not. You will either ignore the task completely or do whatever is necessary to complete the task. It implies that you will have the necessary perseverance in the face of any obstacles that may emerge.

By eliminating the word try, you are declaring that you are capable of doing the task and that you have the self-confidence to fight whatever might stop you from completing it.

Minggu, 17 Februari 2013

Undivided Attention is The Scarcest Resource

After 3.5 of college years, I've met a lot of people. From the busiest one until people who does nothing. The one the has nothing to do always trying to find things he wanted to do but, they failed to defeat their laziness. In the end, they always do something that has little meaning or something that give them happiness. In contrast, Busy people has tons of thing to do and mostly they did not focus at one thing.

Some days ago, I asked one of my friend to accompany me to an event of an organization. Both of us are loyalist of that organization. Unfortunately, she had another two events that would occur at the same time. and she had a hard time choosing the event that she want to attend. That day, I found that  she was the member of more than 3 organization. 

And I know there are a lot of people who are just like her. A lot of jobs with little time for each job. The truth is that I'm very sad for her not because she has little time for me, but it is because she will having a hard time making meaningful impact in each organization. In my life, I have tried to keep my type of business to minimum value. I want to focus on one or two things only to keep my concentration focused. Multitasking is bad, try mono tasking. 

Once in the past I've tried to handle all things by myself. I tried to be active in more than three organizations. The result is that I feel I do no give my very best to each organization because I cannot participate in every aspect of the organization. A lot of schedule overlap makes me need to throw away less important event. Moreover, my academics grade started to falling down while my organizational life is broken. After all that times, I realized that I have made a huge mistake. I cannot try to solve all problems. It was useless and not very effective. In the end, I choose only one organization to be active in. The result is that I feel alive and made meaningful impact. I could focus my concentration and spend a lot of time to find solutions for it's problem. 

Once again multitasking is bad, try mono tasking. While multitasking, your brains are forced to compute several streams of information simultaneously and your brains cannot to that. You need to stop a while and refresh when you want to switch focus to another activity. The problem is that the pause between switching activities is slowing you down and lowering the quality of what you do.

Unfortunately, a lot of people do not aware the dangerous of multitasking while in the other hand the most needed resource in one organization is undivided attention. Most of them are happy being multitasking person because they think that they can accomplish more than being mono tasking person. It truly undivided attention is the scarcest resource for the time being. So, please deeply reconsider again if you want to take another job while you are doing something. I, myself, believe that those people that could focus in only one thing is the most useful and needed. Could you?

Sabtu, 16 Februari 2013

The Rise and Fall of Introvert

It's been a long time ago since I was this tired after attending some event. This event was very important for me and I really give my best heart and sweat in it. The problem is that I am an introvert and I need to deal with a lot of people. It was like a retreat but only lasted for two days.

At the event, I tried to fight my own mind that loves to do everything alone and effectively. I did not bought any of my reading books so that I could focus on the people. Even though I know that my body will gone worn out quickly, but I knew that I have to do this. It is my job and it is my calling. Every single pulse in my brain told me to keep a distance from a lot of peoples, but my heart gives me strength to interact with enormous amount of people.

I know that my role in the event was very important. I need to show my best condition at all times. Keep energetic, initiate a conversation, and tell stories.  I'm almost completely exhausted after reaching my home. After all, I'm happy because I know that I've done the right thing even if my body resist it. Thanks a lot guys. :D