[Funny] Five Phases In The Life Of A Programmer

If you are a programmer or if you were a programmer (lucky you) you will feel nostalgic after seeing these funny animations.

When the application crashes without reason on the eve of production implementation:

frustrated programmer funny animation

What I expect at the end of a big compilation:

angry-programmer-funny

When a bug goes unnoticed during a presentation:

cunning-programmer-funny

When the client wants to change the spec two days before delivery date:

When an application is validated in first attempt:

Originally published in French .

Basic Tutorial in Vim and rails.vim: The open source Rails editing platform

Coders knew Vim for the last twenty years for its unmatched efficiency in editing source code. Vim wasn’ t too popular in the Rails community until lately when Tim Pope published his plug-in: Rails.vim. This plug-in and Vims legendary extendibility made it the editor of choice of many programmers who used some proprietary applications in the past. The plug-in offers shortcuts for easy navigation between files, makes it possible to run scripts, generate controllers, views, do some refactoring, and do auto completion , all of these from Vims cosy interface. Some people say that it is the least user friendly text editor ever. While these accusations might be partly true, because of the rather steep learning curve, many programmers just liked the way Vim helped them do their work quickly and efficiently.
Enough said lets see how to create a very simple blog in Rails from Vim. [Read more…]

How to solve: error while loading shared libraries

Problem:

It has happened more than once with me. When I installed an application (freeradius, in this case) from its source code, it gives the following error:

radiusd: error while loading shared libraries:

libfreeradius-radius-2.1.10.so:

cannot open shared object file: No such file or directory

Reason:

The reason for this error is that the libraries have been installed in a place where dynamic linker cannot find it.

Solution:

Whenever I faced such problem, I used the following command. It has never failed me, not till now :P

sudo /sbin/ldconfig -v

Hope this command solves your problem as well. Do provide me with your feedback, suggestions and questions. Don’t forget to like/vote the post. Enjoy :)

How to use Eclipse for Perl Programming

Eclipse is a boon for developers. It is an outstanding development environment. The best thing about it is that it comes with no cost at all, absolutely free. Eclipse is more known as a Java development environment. By default it supports Java only but it also has plug-ins for Perl,C/C++ and PHP. Now its double boon. In this post we will cover how to install the Perl plug-in in Eclipse. Perl integration in Eclipse is provided by EPIC. Here are few things that you must have before proceeding to install the Perl plugin:

  • You have Eclipse installed on your computer (If not then get Eclipse)
  • You have Java SDK on your computer (If not then get Java SDK)
  • You have on Perl SDK your computer (If not the get Perl SDK)

If you have all these three, then lets proceed for installing Perl plug-in.

Step 1:

Start Eclipse. From the “Help” menu. Select “Install New Softwares”

Step 2:

In here you will be asked to provide the source of the update. Add this source: http://e-p-i-c.sf.net/updates/testing. Click add. Then you will be asked to name this plugin. Choose “Perl” (or whatever you want to name it). Click Next.

Step 3:

Now click the check box EPIC and press Next. And then follow a series of Next Next click. Accept the license terms. And go for Next.

You might be prompted with this warning. Just click “OK”

After successful installation you will be asked to restart Eclipse. Restart Eclipse.

Step 4:

Now that you have successfully installed EPIC Perl plugin in eclipse, its time to run the Perl environment in Eclipse. Go to workbench. On the right corner you can see a Java button and another button in its left. Click on it and select “Other”.

When you click other, it opens Perspective and gives you several options. Select Perl and click Ok.

There you go. You have both Perl and Java environment. At any time you can go back to either of them by selecting the respective environment.

Hope it was helpful. Comments, feedbacks and suggestions are welcomed. Enjoy :)