Mridula’s Blog











{September 29, 2011}   Songs for Programmers

Today while checking my facebook updates I came across a post by one of my friends which I found hilarious and interesting. So posting it here for all of you to enjoy (Can  be well appreciated by people who have a basic experience in computer programming )

Programming Songs:
1. Local variable
Jeena Yahan Marna Yahan,
Iske siva Jana kaahan.

2. Global variable
Musafir hoon yaaron,
na ghar hai na thikana

3. Null pointers
Mera jeevan kora kagaz kora hi reh gaya ..

4. Dangling pointers
Maut bhi aati nahi jaan bhi jati nahin.

5. The debugger
Jab koi baat bigad jaye
Jab koi mushkil pad jaye
Tum dena saath mera hamnawaz

6. From VC++ to VB
Yeh haseen vaadiyan
Yeh khula asmaan
Aa gaye hum kahan

7. Untrackable bug —
aye ajnabi, tu bhi kabhi,
awaaz de kahin se

8. Unexpected bug (esp. during presentation to client)
Ye kya hua, Kaise hua, Kab hua, Kyon hua

9. And then to the client
Jab hua, Tab hua, O chhodo, ye na socho

10. Load Balancing
Saathi haath badhana
ek akela thak jayega
mil kar bojh uthana

11. Modem – talk on a busy connection
suno – kaho,
kaha – suna,
kuch huwa kya?
Abhee to nahin…
kuch bi nahin

12. Windows getting open sourced
Parde mein rahne do
parda na uthao
parda jo uth gaya to bhed khul jayega
allah meri tauba, allah meri tauba

13. Two Recursive functions calling each other

Mujhe kuchh kehna hein
mujhe bhi kuchh kehna hein
pehle tum, pehle tum

14. GOTO
Ajeeb dastan hai yeh
Kahan shuru kahan khatam
Ye manzilen hain kaun si
Na woh samajh sake na hum

15. Hidden or Private scope Variable/value
Jaanejan .. dhoondta phir raha,
Hoon tujhe raat din, main yahan se wahan

Hope you enjoyed the songs 🙂 🙂



This post is dedicated to all you wonderful people who made this one year special in Pilani.

Today, the 9th of August, we (read PGRPE) successfully complete one year of our stay in the remotest place any of us had visited-PILANI. Last year in May when I graduated from college as a proud Computer Engineer little did I know that I would have to choose between my 2 loves – Computers and Research. Finally my love for research got the better of me and as a result of an odd chain of events I secured an admission in one of the CSIR(Council of Scientific and Industrial Research) labs under the Post Graduate Research Programme in Engg(PGRPE). The dates for reporting in the campus were from 6th to 9th August,2010. After a lot of worst case scenario simulations my parents decided that it would be best to be in Pilani by 6th August since 7th and 8th were public holidays and we always assume the worst case would come true. So with a lot of apprehensions, anxieties and some hope I boarded the flight for Delhi accompanied by my mom and fiancé. The main reasons for my tension were :
1. I had no background in Electronics and the course for which I was selected was ‘ADVANCED Semiconductor Electronics” (life and its weird ways !!!)
2. I was the only female candidate who made it to the merit list in a class of 10..<sigh..>.

The course coordinator had sent instructions on how to reach Pilani from Delhi. Since we had no acquaintances in Delhi and Pilani was a 5 hour journey from the capital we decided to spend the night in the airport itself. That was a hell of a night without any sleep. The next day morning we reached the famous Kashmiri Gate Interstate Bus Terminal only to be “awed” by the filthy look it had. There was not even a single bus which looked boardable. We finally boarded the 9am bus to Pilani and the travel was tiresome on that hot and humid day. But then I got to see poverty for the first time in my life. Hailing from the state of Kerala which is famous for its uniform development, I had no idea that there were people really living in shacks all over the northern part of my country. I was under the impression that the slums of Mumbai and the like were just a minority. And on that day I realized that there could be advantages too to the socialist attitude that prevailed in my state.

We reached Pilani and got a room allotted in the guest house without much difficulty. The biggest attraction (and maybe the only attraction) here are the peacocks who roam about freely everywhere as if untouched by the human intrusion. Also I was surprised on seeing lots of trees. I was expecting those arid, dry deserts, sand dunes, women with pots of water and all those scenes which come to anyone’s mind when you think of Rajasthan. I was disappointed. I spotted even the first camel only after one or two weeks of stay here. <sigh.>

The weekend passed without much to do. Just roamed about in the BITS campus which is adjacent to our’s. Exchanged rings with my fiancé <blush>. Met my college friend in BITS and most of the time slept in my room. On 9th morning with lots of anxieties and hopes I reached the conference hall of our lab. There I found 10 new faces(none looked friendly or inviting). I still remember the only few people who even had the interest to talk to me. But all that changed as time passed by. We became best pals. But today I thank all the following people (names are not included) who made my day on 9th August 2010 [a] the one who gave me the first smile [b] one who gave me the first handshake [c] the one who lend me a pen when in need(though he did it with the weirdest of all expressions) [d] the ones who made me feel most welcome by saying they were hoping for a girl from Kerala to join to complete their group … and all others who made me feel at home in this far-off land.

The past one year has been the most eventful and hectic one in my life. Learnt a lot of new stuff– pn junctions, holes, electrons, transistors, optics, photonics, fields, waves, …….now the interesting part.. Cooking, maintaining a room, stay in hostel, roommate survival, “dealing”, surviving with boys all around and no female company,anxieties about the degree..…. Meanwhile I fractured my
leg, got my ATM card blocked for 4 months, bought a cycle which tortured me everyday, endured severe winter and summer , attended a live concert..and did so many more crazy things which I never thought I had the capability to do (thanks to all my dear brothers).. Pilani taught me a lot of lessons and gave a handful of awesome friends. As I complete one year of stay here I just want to tell you guys (classmates, batchmates and seniors(in seniors especially my ‘Di’s)) I love you all really a lot. You are the people who helped me survive through bad times and laughed with me during good times.. You are ones who stood with me through thick and thin.. You made my year soooo SPECIAL….



This write-up will be better understood by those readers who have seen the movie Avatar by James Cameroon.  And I really suggest that those who have not seen the movie please do watch it. Its worth the effort.
I decided to watch the movie Avatar just because it was directed by a famous director and there was a lot of hype about the movie all around. Just like any other normal viewer..:). But half way through the movie I started understanding the message the movie was trying to convey. I started understanding that it was one of the most relevant movies I have seen in recent times. The movie talks about the greed of human beings. About what wonders nature can do.. About the extent to which human beings can deteriorate to be the ruler of all resources. .
The movie is about how humans(refered to as Sky-people) decide to mine rich natural resources from another planet named Pandora and the natives of the planet known as the Na’vis trying hard not just to safeguard the resources but also to preserve the nature of their homeland. They fight till their death to save their planet. From the surface it looks like any other normal alien movie but deep down it sends a message to the whole human race to fight for the planet we live in. Towards the climax of the movie the hero prays to the Na’vi Goddess and thats the dialogue which I felt was most relevant ..See the world we come from. There’s no green there. They killed their Mother and they’re gonna do the same here. Very True. We have killed our Mother Nature who protects and preserves us.
Our greed is never going to end. It will only keep on increasing until we ourselves become the reason for our downfall. Take for instance the Copenhagen Climate Change Summit. No one was ready to take a stand that would save the Earth. All the countries thought just about themselves and thus even a consensus could not be reached, leave alone a solid protocol or agreement. Thus it turned out to be a failure.
Indians and Africans, who are considered to be inferior races by others, have a rich heritage which we can be proud of. These two races have always worked in harmony with nature and done all that could be to safeguard it. But now what has happened to us?? Just like the Na’vis in the movie shouldn’t we too continue doing what our ancestors have done? Should we too end up being held responsible for the brutal murder of our Mother? Or should we stand up against the murderers? Its for us to decide. Lets not forget that the green cover is necessary for the human race to survive. Just like the forest decides to help the Na’vis to save their homeland Nature will appreciate any effort made by her children and help to drive away the intruders.
By the time the destroyers have realized their mistakes it’ll be too late. So lets all consider it our obligation to take up the responsibility and help save our Mother. Fight for our Mother. Without her we have no identity. Its she who preserves us. We are like babies; stupid and ignorant. Lets grow up a bit for the sake of our Mother.
So its time for us to wake up..
Save our Mother!! Save Nature!!!



{August 27, 2009}   A Tata Nano Story…
Thats my Nano!!

Thats my Nano!!

Tata calls it the “Most Exciting car” .. Read on to find out how it turned out to be true for me.

It all started because of my enthusiastic Mom.. One day in the mid of April she came home with a brochure in her hand. That’s when I realized that she was interested in the Tata Nano. Since I’m her elder daughter ( and her advisor J ) I was told to suggest a colour for the car. I voted for Lunar Silver and was backed by my sister. We booked the Lunar Silver LX Model Nano.. None of us had the slightest hope that we are gonna get the Nano allotted since it was very well known that only a very few out of the 2,00,000 + applicants are going to get their cars in the 1st allotment. So we kept the news about our booking a secret. None of us were really very bothered ‘cause we already had a WagonR which is working fine.

Then came the month of July when we came to know that the Tata has announced the 1st allotment for Nano. In the evening I saw a message in my mom’s mobile congratulating her for being the lucky owner of a Nano car. I was truly surprised and until my mom confirmed the news with the dealer none of us actually believed it. The days that followed were filled with excitement. All of us were awaiting the Nano.. Finally the day arrived when the Nano had to come home. It was on the 21st of August, 2009. For 3 districts( Alleppey, Pathanamthitta and Ernakulam) a total of only 11 cars had arrived and our car was one of them!!! It was distributed at a grand ceremony held in the R F Motors showroom at Ernakulam with full media coverage. We had to travel 120kms to bring our Nano home. I could not go to Ernakulum since I had to attend college. It was a long wait for the car at home. At about 10:30 pm the car reached home. We were one among the first 11  Nano owners in Kerala.. YIPEE!!!!!!!!!!!!!

It was a wonder to see such a bubbly car.. It really looks like a bubble. Barely any bonnet… A rounded body… it’s a marvel to see it being driven.. But once u get in ,there is more surprise in store for you.. No one will feel that he/she is sitting in the smallest car in India. There’s a lot of space inside. The seats can be adjusted since it’s the LX model. There’s a lot of leg-space. My family is comprised of only tall people including me. And for any tall family like our’s it’s a relief to see such space in the interior.. There is a lot of space in the rear seats too. 3 people can comfortably travel at the rear part. The engine is at the rear portion and the engine compartment can be accessed by folding the back seat. One more strange feature is that the petrol has to be filled into the space provided in the bonnet unlike other cars where its at the side of the rear portion. And also there is just one wiper provided at the front and a single side-view mirror.

The Interior

The Interior

Since the car is a small one the air conditioning has a very good cooling effect. The model comes with a centralized locking system ,fabric seats and automatic front windows. There is no power steering but the car is easy to control and very easy to manage at turnings. Form my own experience I can say that driving a Nano is really easy even for women. It doesn’t consume much space and thus is perfect for the city where parking space is a major issue. The transition between gears is also smooth. We cannot call the Nano a silent car like the Maruti cars. Its engine is 624 cc and makes a humming noise. But after 2 drives we have all easily adjusted to the sound. The spare wheel is kept in the bonnet. The car goes smoothly at speeds until 80- 90 kms/hr . Above this speed we experience a shiver inside the car and that makes the car unfit for guys who like speeding in their trendy cars.

REAR VIEW

REAR VIEW

The positioning of the speedometer and indicators break the monotony of the design. There is an extra indicator signal which flashes next to the speedometer to denote any problem with the engine. The petrol tank has a capacity of 15 Litres. The most attractive feature of the Nano is its mileage. I’ve experienced the superb mileage of 22 kms/L in my Nano!!

Some price-cutting features of the Nano are:

  • The Nano’s trunk does not open. Instead, the rear seats can be folded down to access the trunk space.
  • It has a single windscreen wiper instead of the usual pair.
  • It has no power steering.
  • Its door opening lever was simplified.
  • It has three nuts on the wheels instead of the customary four.
  • It only has one side view mirror.

I’m really enjoying the experience of owning a Nano It’s the 1st and only Nano in our town at present. The look in every person’s eye is great to observe as he/she sees this new car on the road. Many people stop their cars or scooters to get a better view. Many people take photos of the car from various angles. Once we park the car somewhere then there is no escape at all.. Each and every person has some question or other to ask. Children are the 1st ones to recognize the Nano. Its good to know that even the people of our small and remote village are well aware of the innovations taking place in our country!! The Tata Nano has made us famous in town just in a single drive. Now everyone recognizes us as the “Nano Owners”. Thanks to our cute Nano and the whole Tata group.

Now we are waiting for our Dad to come home and have a drive in our brand new car. He is our motor expert and our Nano is awaiting his ratings..

Its a Beauty!!

Its a Beauty!!



{June 5, 2009}   The PUFF that KILLS
  
Quit Tobacco!

Quit Tobacco!

Last week on the 31st of May the world observed No Tobacco day. Being a passive smoker I thought it a necessity to share my views and experiences regarding smoking along with some facts and general knowledge about the same.

Having been born with weak lungs both my sister and I have gone through a lot of pain throughout our childhood. But when we started coughing and showing signs of Asthma my Dad realized his mistake and decided that his habit which caught hold of him during his teens should not be allowed to harm anyone. We saw him struggle hard to get out of his addiction. It was even more painful seeing him go through the struggle. Gradually he reduced the number of cigarettes he smoked. But even today he has not been able to free himself totally from the clutches of the KILLER habit though the number has come down to one or 2 per day. It still pains our heart when we think about the condition of his lungs and heart and the risk on his health.

It is said that smoking in public places is banned. But still we see so many people puff happily in bus stands, trains, buses, shops, theatre and the list goes on to include each and every public place.. They don’t even care if they see an infant or a pregnant woman sitting next to them. For some people like me cigarette smoke causes suffocation and triggers an allergy within the lungs. But how can you expect a person to bother about others when he is not even bothered about himself? That’s the sad part of the story.

Most of the youngsters smoke. They feel it’s a status symbol. If they don’t smoke they feel like a fish out of water. I’ve personally asked a few friends of mine why they choose to smoke when they know it’s harmful. Always the reply has been one of these- all my friends smoke .so I too join them; its college time and it’s the only time when we get to experiment such things (Wow! What a wonderful experiment! You yourself  are the specimen!! )..I have even heard excuses like it’s the most affordable and cheap hobby!!! This habit which they start for fun finally becomes an addiction which will eventually ruin their lives. The only solution to this is to have self determination not to fall into such habits. Be obliged to your family and to your society. Believe that your health is a gift by God and it’s not yours alone. And by smoking you become a threat to the society as well. It’s not just you who is harmed.

Not only smoking but also the intake of tobacco in other forms is equally hazardous to health. You may have heard about smokeless tobacco, a sticky substance that you chew, kind of like gum, with a tobacco flavor. This product is also known as “chewing tobacco,” “spit tobacco,” and “snuff.” Many people think that smokeless tobacco isn’t harmful to your health the way cigarettes are. Not true! Chewing this stuff can cause bleeding gums, sores in the mouth that never heal, and cancer of the mouth. In addition, it may cause bad breath, hiccups, dizziness, nausea and yellow staining of the teeth. Like cigarettes, smokeless tobacco contains Nicotine, which makes it addictive too.

From May 31st all tobacco products are supposed to carry graphic pictorial warnings like the skull and cross-bones or a cancer-disfigured face or diseased lungs to highlight the hazards of tobacco intake. Let’s hope at least these signs will help to increase the awareness about what the people are sacrificing for a few moments of pleasure.

                  

World No Tobacco Day
World No Tobacco Day

                                                                                                         

 

In India, over half of men (57 percent) in the age group of 15-49 years use tobacco in some form and over a tenth (10.9 percent) of women in this age group also use tobacco, according to a National Family Health Survey conducted in 2005-06.

HEALTH HAZARDS:

Smoking is the most preventable cause of death. That means many of those who lose their lives because of smoking-related illnesses could probably live much longer if they didn’t smoke. Smoking can damage some of the most important organs in your body, including the lungs, heart and brain. The poisonous chemicals in cigarettes can cause emphysema (a lung disease) and bronchitis (inflammation of air passages to the lungs), heart disease, heart attacks, stroke (an interruption of the blood flow to the brain) and cancer

Here are some other effects that smoking can have on our health:

  • Hearing and vision loss
  • Arthritis                                                                                                                                                                                                                            
  • Chronic coughing, more phlegm (mucus) in your mouth and asthma
  • Decrease in athletic performance. Think about it: you can’t run as fast or jump as high if you can’t breathe properly!               
  • Cancer of the mouth, gum disease, tooth decay, and yellow staining of the teeth
  • Peptic ulcers, pancreatic cancer, bladder cancer, kidney and liver damage
  • Heartburn                                                                      
  • Diarrhea
  • Decreased circulation in the fingers and toes
  • Yellowing of fingernails and toenails
  • Bad breath
  • Wrinkles

DEAR  SMOKERS… ANY IDEA WHATS A CIGARETTE?? YOU’LL BE STUNNED TO KNOW………

It’s just one cigarette…but wow! That little thing has over 4,000 chemicals in it! You already know that cigarettes contain Nicotine, but did you know that Nicotine is also used in bug spray? Before you decide to light up, you might want to know just what it is that you’re inhaling. Below are just a few of the other chemicals found in cigarettes:

  • Tar. This ingredient, which gives cigarettes flavor, is the same thick black substance used to pave roads and driveways.
  • Formaldehyde. This is the same stuff used to preserve dead animals, like the frogs dissected in some biology classes.
  • Cyanide, which is also a main ingredient in rat poison.
  • Lead. It’s also found in some kinds of paint.
  • Acetone, which is a common ingredient in paint and nail polish remover.                                                                                                              
  • Ammonia. Besides the fact that it’s in many household cleaners, it’s also in cigarettes.
  • Carbon monoxide, a common pollutant and the same stuff that escapes from the exhaust in cars.
  • Hydrazine, a chemical used in jets and rocket fuel.

To give you an idea of the harm these substances can do, picture the thick gooey-ness of tar. The average smoker inhales about one cup of tar a year. Because a smoker’s lungs often don’t work as well as they should, the tar may stick and stay in there for a long time. Tar also hurts the “cilia” in a person’s airway, which are tiny hairs that protect the lungs by sweeping out mucus and germs. Tar, like many of the other chemicals in cigarettes, can cause diseases related to how we breathe, like emphysema and bronchitis.

I do admit that it’s really tough to get out of this habit once you start it. But please understand the hazard and as the first step try to reduce the number of cigarettes you smoke. Then try to stop the habit as a whole. All you people who have not started smoking yet PLEASE don’t ever get into this horrible habit. It’s like committing suicide and the worst part is that the death is slow but miserable!

So…..QUIT SMOKING!!! SAY NO TO TOBACCO!!!

 

                                                                                                      Say NO!

 



This is a mail I received from a faculty of my college.. I was surprised after reading the article mentioned in this post.. If u feel u r an Indian please have a look at the article..

“Many of you may have read the article in “The Hindu” an article blatantly belittling our culture and heritage. This has been going on in a very systematic manner both by the media and the government.

Here is the article in case you did not read it
   http://www.hindu.com/mag/2009/05/03/stories/2009050350100400.htm

 Every one should be aware of the media bias. If educated people are not then what about the others ?!

It would be good if you can send out an email stating your strong protest to the editor of the Hindu asking them not to publish false information and mislead the people..”



{January 15, 2009}   We RULE!!

We.. the COMPUTER ENGINEERS rule the World..



et cetera