Wednesday, December 26

New year New Resolutions New Goals

As another year passes by, and a fresh new year warmly greets you with a hope, it's time for you to give a serious thought about somethings of the present year.

Things that you dreamt of achieving(short term goals).
Things that you desired to accomplish.
Things that you wanted learn.

How many of your resolutions of this year did u fulfill??
How many of your goals did u achieve?

If you have achieved few of goals and fulfilled some of your resolutions,make a note of these:

What are the positives which you got out of them?
What are the things you learnt in the process, which will add value to you?
How effective were you in achieving your goals?

If you are not able achieve some of your goals,identify the following:

What are the faults in you which prevented you from reaching your destination?
what is the lacuna in your skills?
In what areas you are lagging and need improvement?

If you give a serious thought to the above points,and take a proper action(plan a mechanism by which you can overcome your drawbacks.) then u will surely succeed in all the things u dream of!

Life is not about
what you Feel, or what you Dream.
Life is all about
what you Plan and what you actually Do.

When ever we think of a new year, we are so eager to make new Resolutions,set new goals.But actually how serious are we in achieving them??

New year doesn't mean just forgetting about our past years and starting a fresh.it is all about caching on our positives and eliminating negatives to become more confidant,brave person.

It is only when we think of these things,every year in our life counts, otherwise many new years will come and go, but we will never improve.

Forget about your failures, but Never forget the lessons out of them

I wish You all
A Very Happy ,Prosperous and Successful New Year

Saturday, December 22

Strange feeling of Déjà vu

At any point in your life, have you ever got a feeling that
"Hey, i have been through this seen before"
"I have experienced this instance in my life sometime back already."?
Thats exactly Déjà vu is all about.

The term "Déjà vu" means "already seen" in French(also called paramnesia) .Its a Feeling as if one has lived through or experienced this moment before.Its a sensation that a new experience has occurred before. I am sure each one of us in life would have felt this feeling of Déjà vu. There is nothing wrong with people who have these feelings.It may occur in people without any medical problems.

Have you ever thought why does this kind of things happen in our lives? did u ever try and spend time analyzing the reasons behind these? First time when i had this Déjà vu, i thought something wrong with me! that time i didn't know that Déjà vu is the name given to such feelings. I was very curious to know why this happens? I found answers like "this is a feeling of paramnesia. This occurs due to a simple partial seizure". But,i was not happy with those answers.After a lot of thought process this is what i felt about Déjà vu:

According to karma theory (law of cause and effect),our present deeds,actions act as seeds for our future. The results may be immediate or at later stage. Relation between our past,present and future is stored somewhere in deep corners of our memory.ie traces of our past, present and resulting future-acts are already there in our memory(Very secure portion). So Deja vu is one such feeling we experience when we reach that corner of our memory (where the future acts are already stored). Because it is there in memory,mind feels that this seen is already over in our life. How often one experiences the feeling of Deja vu ? Not that frequent in most of the people. Because it is not always that easy to reach out to that secure portion of our memory!

Tuesday, December 18

Linux: Installing packages

People who are new to using Linux, want to install necessary packages? No need to download them manually and waste your time. Linux offers tools for doing this automatically from the Terminal(or shell or console) itself.


In order to execute all the following commands , first user have to become a root user . To become a root user do the following.
  1. First open a Terminal/console/command prompt
  2. Type
    su
Then, you have to type in your root password


Debian/Ubuntu

APT -- Advanced Packaging Tool
apt-get is a tool to automatically update your Debian machine and get and install Debian packages/applications.

To install your desired package , use the command
# apt-get install package_name
apt will search it's database for the most recent version of this package_name and will retrieve it from the corresponding archive as specified in /etc/apt/sources.list. In the event that this package depends on another,apt will check the dependencies and install the needed packages. See this example:

The following options to apt-get may be useful:

-h This help text.
-d Download only - do NOT install or unpack archives
-f Attempt to continue if the integrity check fails
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-u Show a list of upgraded packages as well


You can also request a specific version of a package using the following syntax:
# apt-get install package_name=version

Don't know the exact package name , just know the word related to a package,use
# apt-cache search word
It gives you list of all packages which contain that word.


To
find new updates if any,use
# apt-get update

If you somehow damage an installed package, or simply want the files of a package to be reinstalled with the newest version that is available, you can use the --reinstall option as
# apt-get --reinstall install package_name

If you no longer want to use a package, you want to remove it ,use the following command
# apt-get remove package_name
When you do this,their configuration files, if any, will remain intact on the system. For a complete removal of the package, Use:
# apt-get --purge remove package_name

To upgrade packages within the same distribution
# apt-get -u upgrade

Completely upgrade the whole distribution to the latest.
# apt-get -u dist-upgrade
-u option,causes apt to show the complete list of packages which will be upgraded.


To
install a local package ,use the command
# dpkg -i package_name.deb

When you install a package, apt stores them in a local repository (/var/cache/apt/archives/), and then proceeds with installation.In time the local repository can grow and occupy a lot of disk space.To manage this local repository the following commands can be used.
#apt-get clean
It removes everything except lock files from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. Thus, if you need to reinstall a package apt should retrieve it again.

# apt-get autoclean
It removes only package files that can no longer be downloaded.


Fedora

Yum -- Yellow dog Updater Modified
yum is an automatic updater and package installer/remover for rpm systems.It automatically computes dependencies and figures out what things should occur to install packages.

To see a list of available softwares/packages,use
#yum list available

To install some software/package, use
# yum install package_name

To search for a package, you can use
# yum search word

To update some software, type
# yum update package_name
If "package_name" is left out,yum will update all softwares/packages in the system.


To see what updates are available, use the following command
# yum check-update


Wednesday, December 12

Useful Firefox Extensions

First of all What are firefox extensions??

Extensions are small add-ons that add new functionality to Firefox, from a simple toolbar button to a completely new feature. They allow you to customize Firefox to fit your own needs and preferences, while letting us keep Firefox itself light and lean


Here is a list of some of the very useful firefox extensions

If you are a web developer, these extensions come very handy

  • Add a toolbar with various web developer tools(like css, form, images , layout details) - Web Developer
  • Color reading from any point in your browser - ColorZilla
  • Analyze web pages and tell you why they're slow - YSlow
  • Embedding Internet Explorer in tabs of Mozilla/Firefox - IE Tab

If you are loking for Information on web, these are the extensions which makes your life easy

  • Translate any web page into nearly any language at the click of a button - translator

Manage your personal interests with the following extensions

  • Manage multiple Gmail accounts and receive new mail notifications - Gmail Manager
  • Fetch posts from your favorite blogs - BlogRovr

Handle all file related stuff with these extensions:

  • Easy and intuitive access to FTP servers - FireFTP
  • Use your Gmail Space for file storage - Gspace

Get a good download experience

  • Download manager/accelerator built inside Firefox - DownThemAll
  • Save video and audio which is embedded on a webpage - UnPlug

Want to be mischievous

  • Surf the web without leaving a trace in your local computer - Stealther

Want to Manage your firefox with firefox extensions!, then don't miss out these

  • Back up your Firefox extensions, themes, and (optionally) your bookmarks - FEBE

Sunday, December 9

Mastering printf() #1

The function printf() is one of the widely used functions in C-language.This is a standard output function defined in header stdio.h. It takes variable number of arguments.
The proper declaration of printf is

int printf(char *format, arg1,arg2,...)

printf converts ,formats,and prints its arguments on the the standard output.
return value: Number of characters printed.


Even though this is a basic function one uses in C, many people tend to neglect the above details!

Consider the following program

#include<stdio.h>
main()
{
int i = 98765;
printf("%d\n",printf("%d",printf("%d",i)));
}

What do you think the out put will be?
Output: 98765 5 1(outputs are spaced for the sake of clarity).

Remember that return value of printf is "Number of characters printed on to the screen"

So in the above output ,
The innermost printf: printf("%d",i) -- prints the ivalue(i.e 98765),returns the value 5
The second innermost printf: printf("%d ",printf("%d ",i)) -- prints value 5,returns 1
The outer printf -- prints the value 1.

Have look at the following program

#include<stdio.h>
main()
{
int i = 10;
printf(" %d %d %d \n", ++i, i++, ++i);
}

What do u reckon the output will be??
13 11 11? this could be one possible answer!
Yes, because the expression evaluation inside printf function is 'Compiler Dependant'.
Some compilers evaluate the expressions from right to left (Thats when you get the above answer 13 11 11). Some have its own evaluation procedure!

Thursday, December 6

Stumble to avoid Fumble

All the people
who wants gain more and more knowledge ,

want to get more exposure to latest happenings in the industry
want to share your interests and discoveries with your friends
want to meet people that have similar interests as yours

Checkout this
StummbleUpon which is a firefox add-on.

StumbleUpon is a web browser plugin that allows its users to discover and rate webpages, photos, videos, and news articles. These webpages are typically presented when the user -- known within the community as a Stumbler -- clicks the "Stumble!" button on the browser's toolbar. StumbleUpon chooses which new web page to display based on the user's ratings of previous pages, ratings by his/her friends, and by the ratings of users with similar interests. i.e. it is a recommendation system which uses peer and social networking principles. There is also one-click blogging built in as well. Users can rate, or choose not to rate, any webpage with a thumbs up or thumbs down, and clicking the Stumble button resembles "channel surfing" the web. Toolbar versions exist for Firefox, Mozilla Application Suite and Internet Explorer, but also works with some independent Mozilla-based browsers.

To know more about StumbleUpon checkout their Home page .
To install StumbleUpon in your browser Clickhere .

So with StumpleUpon added to your browser, you need not fumble or jumble through many webpages to get information which matches your taste and interests!
Happy Stumbling!


Life is a Challenge Meet it

In life we always come across many challenges. Challenges need not be facing a technical problem or a solving a puzzle. It could be any instance in our day to day life!
Be it facing interviews for job seekers.
Be it writing the exams, learning a new subject or a programming language for students
Be it discovering new things , proposing a new theory for researchers.
Be it improving one's productivity for a working professional.
Be it health related or consumer goods related for a common man.
Be it knowing the unknown.
what ever it may be,
each moment in this competitive world is becoming a challenge or big task which have to be dealt with care.
so one should develop the necessary skills and ability ,to face any kind of challenge with brave heart and excel in life
We should reach a level to challenge the challenges.


In this blog , i will try and share my ideas about this challenges in life we come across and how can we overcome them and as a result become more strong,confident and fearless individuals.

Life is an opportunity, benefit from it.
Life is a dream, realize it.
Life is a challenge, meet it.
Life is a game, play it.
Life is a promise, fulfill it.
Life is sorrow, overcome it.
Life is a song, sing it.
Life is a struggle, accept it.
Life is a tragedy, confront it.
Life is an adventure, dare it.
Life is luck, make it.
Life is too precious, do not destroy it.
Life is life, fight for it.