23 September, 2009

Get going ISRO

ISRO will be launching the indigenously developed OCEANSAT-2 along with 6 foreign nano satellites. The satellite will be monitoring oceans and studying them. After the chandrayaan debacle I think that the scientists may be nervous. Anyways, get going ISRO, India is proud of you.

15 September, 2009

SMS Language

Who d hell r u? Wil u temme ur name if nt den get lost n dn msg me.
Nw tel me wats ur prob n y u irritatng me

I am damn sure that nobody likes to read the above text. I was just irritating my sister with my new cell number and I got this message from her. Very less people in this world know the art of writing (At least my friends).

Firstly, it is difficult to understand such language. So much brain power is wasted in understanding. Some people combine this with all caps and a trail of dots (I don't know why)
Secondly, it irritates the reader. (At least I get irritated)
Thirdly, it gradually destroys your art of writing. Such people tend to write such language everywhere.

Why cant people write in simple and sober English even when they know the language ?
And when you tell them that this is not good, they say
"Whats your Problem ?"

THANK GOD, I didn't develop this habit.

13 September, 2009

How Traffic Signals Work

This program demonstrates how the traffic signals work.

/* Author: Gaurav Bhorkar */
/* The program demonstrates the working of traffic signals */

#include "stdoi.h"
#include "stdlib.h"
#include "dos.h"     /* For delay () to work */
#include "string.h"

int main()
{
  int i, j;
  struct signal
  {
         char type[6];
     unsigned int timer;
  }a[4] = {
    {"GREEN", 10},
    {"RED", 10},
    {"RED", 20},
    {"RED", 30},
      };
  clrscr ();
  while (1)
  {
    clrscr ();
    printf ("Author: Gaurav Bhorkar\n\n\n\n");
    for (i=0; i<4; i++)
    {
        printf ("%s\n%d\n\n", a[i].type, a[i].timer);
    }
    printf ("\n\n\n\n\n\n\n");
    printf ("This program demonstrates the working of Traffic signals");
    delay (1000);
    for (j=0; j<4; j++)
    {
        a[j].timer--;
        if ((a[j].timer==0) && (strcmp (a[j].type, "RED") == 0))
        {
        a[j].timer = 10;
        strcpy (a[j].type, "GREEN");
        }
        else if ((a[j].timer==0) && (strcmp (a[j].type, "GREEN") == 0))
        {
        a[j].timer = 30;
        strcpy (a[j].type, "RED");
        }
        else
        continue;
    }
  }
  return 0;
}

Download the source file and exe here.
And atleast give some suggestions.
Output:

12 September, 2009

ACES Magazine

The Association of Computer Science Engineering Students (ACES) of my college (Priyadarshini Inst. of Engg. & Tech.) recently launched a magazine named "The Testament". Overall, the magazine was good but lacked in attractiveness. My suggestions to the editors for the next edition of the magazine:
  • Please avoid articles not related to Computers. You can include inspiring articles, current events, biographies, etc. Please reject those Love related articles, poems, etc.
  • Select a better template next time, use proper designs.
  • The magazine was looking black and white, please add some colors.
  • In the next edition find some sponsors to generate the revenues.
And thanks for including my article.

09 September, 2009

Medicine alarm

I am one of the many people who frequently fall ill. That's why a thought came to my mind, "Aren't there any softwares that remind you of the time to take the dose ?"

I googled the topic but couldn't find one.

Therefore, I am giving a try to create such program in C with my friends.

Lets see what happens.
And yes, your suggessions are welcomed.

06 September, 2009

Computer Moron

We already know that there are many morons in our colleges.
I recently had an incredible experience regarding this. This is how the conversation with my classmate went on :

X: I can convert Command prompt into a turbo c compiler.
me: That is not possible.
X: Yes it is possible. I've done it myself.
me: Then show me how its done.
(I knew that he is talking nonsense)


He then took me to the computer lab. He then opened cmd.exe and entered a command. This is what he got:



And the command was "EDIT"
I thought that it is better to pat him on his back and just go away.

Why do we have such morons ?

04 September, 2009

Why do we worship tulsi ?

The tulsi plant is also called Holy Basil in English. Its scientific name is Ocimum Sanctum.
For Indians it is one of the most sacred plants. In fact it is known to be the only thing used in worship, which, once used, can be washed and reused in pooja - as it is regarded so self- purifying. Also that all offerings would be incomplete without the tulsi leaf - hence the worship of tulsi.

She also symbolises Goddess Lakshmi, the consort of Lord Vishnu. Those who wish to be righteous and have a happy family life worship the tulsi.

The tulsi leaf has great medicinal value and is used to cure various ailments, including the common cold.

I also heard that the tulsi gives more oxygen in the day and very less CO2.

My grandmother told me about this.
I just planted a tulsi bush in my home.

01 September, 2009

Please Remember

First of all sorry for not posting for so long.

Eleven days have gone so fast and tomorrow is the day of Visarjan (Immersion) of our lord Ganesha (Yes this time the festival is of 12 days...i don't know why). So, being an environment lover I am making this post to make people aware of the aftermaths of visarjan. Please remember the following things before immersing the idol:
  • Make sure that there are no garlands on the idol. (Remove them just before Immersion)
  • If possible immerse the idol in running water, especially if the idol is made from Plaster of Paris.
  • Take full advantage of the facilities provided by the government.
  • In my city the municipal corporation has made available large containers near lakes for immersion. Please use those containers to immerse the idol.
  • Strictly follow the instructions given by the police.
  • Don't litter anything on the ground. These lakes are beautiful and things littered by us remain there for days.
  • As you are in a crowded area, take care of your belongings.
  • Stay away from Hooligans and drunkards who are prominently on such days.
  • If you enter the water, please do not go into deep waters.
  • There are bins provided by authorities. Put all the flowers, garlands, fruits or anything you kept for the God (i.e. Nirmalya) into the bin. Don't harm the water body by putting such things into it.
The most important thing: Nowadays, the swine flu is very much in the news. So, take precautions (You must be knowing them !) because you will be going in a crowded place.

SAVE THE ENVIRONMENT AND THE ENVIRONMENT WILL SAVE YOU.

Soon I will be posting the photographs of the aftermaths of Visarjan.