Purpose of My Life!

Get disturbed from my sleeps in the wake of morns
By the sound of my alarm buzzing and vehicle horns
With a grumby face and two half open eyes
I place my shaky lazy legs on the room floor
Wondering if this is ‘the Purpose of My Life’

Follow the custom to clean my bowels
Brush and Paste rubbed all over the teeth
Face wash, scrub and cold water all over my face
Tidy the hair and massage with coconut oil
I look into the mirror and ask ‘Is this the purpose of My Life?’

Toast up the bread and the egg into a bull’s eye
If there is no time, just add milk into the cornflakes
Gulp it all down while reading the news
Well I have no time to enjoy the taste or concentrate
With a thought in my mind, ‘Is this the purpose of My Life?’

Pick the first matching paired clothes from the clothes heap
Iron it up and finish your bath in a quicky
No time to enjoy the water droplets on your body
Just wipe it clean with a damp towel
Put on the clothes and think, ‘Is this the purpose of My Life?’

The sprays and creams, balms and moisturisers
All are applied in under 5 minutes due to routine
No time to admire your face or body
And to check if you put on weight or lost some
Rush rush to the roads wondering, ‘ What is the purpose of My Life?’

Traverse through the myriad of traffic and pollution
With a heavy laptop on shoulders and moving like a snail
Reach the office parking lot and keep waiting for the lift
It takes 10 minutes more to reach the cubicle
Think in the lift, ‘ Is this the purpose of My Life?’

Say a number of hi’s to strangers sitting around
I hardly know them for their fame but not name
Rush for the Coffee machine to keep me awake
Click here, type there, send some mails and spread gossips
Well, this seems like ‘ the purpose of My Life!’

Lunchtime almost so go out with strangers
Talk and gossip on world issues that hardly matter
Heavy stomach sleepy, sip some more coffee
Type something, click somewhere, go for meetings
This is exactly, ‘ the purpose of My Life!’

Start for home in the late evenings to support again
Stretch and work is the motto of life
Order food, eat while attending meetings
Talk with family for hardly a minute
I am so busy, ‘this is the purpose of My Life!’

So exhausted, decide to sleep, watch a series or two
It’s close to midnight, my eyes are already shut
Drag myself to bed and cover myself up
The day has come to a close to begin the circle again
It’s fate, I should follow ‘ the purpose of My Life!’

I hate Medical Checkups

Once in a while you have to endure this disgusting yet mandatory checkup. I know it is for your own good, you come to know lot of stuffs about yourself, what to do, what not to do, what to eat, what not to eat etc etc blah blah but still I have to say this, I hate them.

So you go with a long list of tests that are part of your package and which you will have to somehow complete. You stand in a long queue (not because I was late, people already thronged in before sunrise) waiting for your turn and hand over the paper saying you want these tests to be done and fill up a form.

Remember you are on 12 hours of fasting. First one is the blood test. They pierce a hole into your vein and drain out 3 bottles of blood (kidding, 3 tubes of blood). I am scared of needles and the sight of blood makes me puke most of the time. So I look to the other side while am being drained of my hard earned blood when the nurse asks me, ” are you alright?” I nod my head in affirmation without uttering a word because if I open my mouth, I might prove otherwise.

Next, you are handed over a dabba to fill in with your urine sample, yes it might be from the previous day. A tray is shown were you have to deposit your sample once collected. You know the same tray contains samples from others, yellow, dark yellow, brown colours… Anyway, I take my dabba to the restroom to collect my specimen. In the rush I forget to keep the dabba ready and all the liquid is wasted and there is less than 20% in the dabba. I try to generate pressure to squeeze more urine but no way, it is empty. The moment when you get so angry at your bladders for not producing enough urine as and when required. I wait, walk inside the restroom to create urine inside the bladder. After what seemed like 10 minutes, I get some urine again and fill the dabba, close the dabba, lest the nectar falls out and takes it to the tray. Even though its my own urine, I don’t like it when people look at me whilst am carrying the specimen. I hid it behind my hands and deposit it somehow.

What’s next? The chest x-ray. Seeing my 40k golden chain, the x-ray specialist asks me to get rid of it. And then she guides me to a changing room where she asks me to remove my upper garments and change into a checkered one piece clothing. Such a confusing dressing which made me feel like am cross dressing. I am asked to stand on a plate with my chin resting and asked to take a deep breath while the x-ray happens. Done! I like it for the fact that it is quick. And then I change to my own clothing again.

Next is the ECG, matters of my heart. Here again top garments are not allowed or rolled up. Some jelly is applied on hands on legs and on chest area. Spooky spongy clippings are attached on legs and hands which makes you think you are handcuffed and legcuffed before a fifty shades of grey night. Then some vacuum weirdos are placed on your chests and you are asked to relax. Well I can’t relax at all in this condition when its chilling cold with these metal pieces clamped onto my body. And then its completed. You are handed one tissue to wipe off the jelly, all of it.

Next is the breakfast, that is served free (or included already in the package) – 3 idlis and 1 vada served with sambhar, chutney and saucy tomato chutney. By this time, I was super hungry and I can’t even say whether it was tasty or not. I just pushed down the food into my mouth like someone who hasn’t seen food for a month.

Now I have to wait for 2 hours for my next blood sample to be taken. Oh crap! What do I do? I call up random people, do browsing and then bang! No charge in mobile, best time for the mobile to betray my only ray of hope! I walk, I sit, again repeat, watch others etc etc for 2 hours and then again blood taken in a small tube. ‘You people made me wait so long for this?’

Next the fitness doctor, I seriously don’t know what he does. Checked my eyes and hands and wrote a letter, ‘ drink 3 litres of water daily’. I said okay and that’s it the dreaded health check came to an end. Now I have to come tomorrow to collect my reports.

Let Me Tell A Story – 1

I came across The Storytellers  in Youtube very recently. It’s really amazing to notice the fact that a simple story told in an efficient way garnished with the right blend of emotions and voice modulations can grip an audience until the end of the story. The stories were different but all of them had a common element – an element of life, of purity, of feelings…The stories weren’t something totally new, they were told differently, drawn from personal experiences. Anyway I decided to tell one such story.

This event happened some 15-20 years back, a time when the world was not connected with internet and social media to this extend. So during those days, people used to visit their relatives more often than these days. It was a weekend and as usual after lunch and a small nap, we decided to go to my aunt’s house. We includes my dad, mom and my little sister, who was hardly 4 years back then.

So we went by our car – Maruti Zen white, and parked it in the porch which we had to share with my uncle’s old scooter. Ok, my uncle never owned a car but the porch was large enough for a car. He only had an old scooter which he parked right in the middle of the porch. So when our car came in, the oldie had to be shifted aside to give way to our Maruti.

Anyway we all went in and were having this evening gossip and chit chats along with some hot tea and snacks which aunt had prepared. Aunt is a good cook, I must say. Somewhere, during the course of this busy chitchatting, my sister got bored, extremely bored. So she went out to the porch alone.

Now the remaining part of the story is what she told me at a later day.

So she went out to the porch alone. She saw uncle’s old scooter, it was a Bajaj Chetak, you know the old type of scooter that looked something like this.

Hamara Bajaj to make comeback this year

It had a stepney tyre which had a cover that read the most famous punchline of Bajaj ” You Just Can’t Beat a Bajaj”. I mentioned my sister was extremely bored that day and for some reason she was in a bitter mood. So on seeing the punchline, she took it literally ” Why can’t I beat a bajaj?” ” who is there to stop me?” “What will happen?” and she started beating the bike seat left and right hard exclaiming to herself ” I beat a Bajaj”

After a while, she again got bored of beating the seat and decided to come inside. Then suddenly something dawned on her, ” Why did I beat the bike?” “It is poor uncle’s poor bike. What wrong did it do?” She felt bad for the bike and then she started pacifying the bike seat with her hands. She rubbed her hands over the seat assuming the bike seat would feel relieved of the pain that her beating had caused.

At that moment, she recalled, “You Just Can’t Beat A Bajaj” 🙂

 

That’s when you make lemonade!

When no one comes to your aid
When you realize you are self made
When you ought to decide unsaid
That’s when you make lemonade.

When everyone bitches around you
When they are mostly aimed at you
When life gives lemons to you
That’s when you make lemonade.

When you wanna bury yourself
When you start loosing yourself
When you cry all by yourself
That’s when you make lemonade.

Getting to know Windows Presentation Foundation (or WPF)

Until now,we were making Console Applications (output coming up on the black console window). Now let’s move ahead and explore WPF (Windows presentation Foundation).

Create a project and you can see multiple files created by Visual Studio itself. You can see the file list in Solution Explorer.

In addition to C#, we will need to learn some XAML here. XAML is a markup language something similar to HTML. We will go to that later.

You will have the following files in addition to other files

MainWindow.xaml  (This is your interface which will have many wpf controls)

MainWindow.xaml.cs (This is where your code should be)

App.xaml

App.xaml.cs

Now you write your code.

Integrity, The right way

O_Said:   “We have our deadlines coming near

We must meet the timelines for sure

Let’s give all it takes and cut corners

Release the product with honor and earn some dollars”

[xxx_feels: Lets work with Integrity.  Avoid short term gain and long term pain] 

I_Said:   “This issue in hand is actually a mix

And it will surely need more time to fix

We don’t know the cause and its source

All we know is a probable work around”

[xxx_feels: Lets work with Integrity.  Avoid short term gain and long term pain] 

O_Said:   ” Put the patch or whatever that is

I don’t want to hear of a slip or a miss

Just stay mum so we don’t loss a dime

We will somehow handle it this time”

[xxx_feels: Lets work with Integrity.  Avoid short term gain and long term pain] 

I_Said: ” I do not agree and neither should any,

Generating money might matter to many

Reputation once lost can never recover,

No matter how you try, even if you try forever

[xxx_feels: Lets work with Integrity.  Avoid short term gain and long term pain] 

The Right way : Decision Taken in unity without integrity is guilty,

Corporate integrity is product of individual integrity

Integrity upturns the brand,

Dishonesty burns it to ground

All hands are required to make a Hero

But a single dishonesty can make it a Zero”

[xxx_feels: Lets work with Integrity.  Avoid short term gain and long term pain] 

The City of Doom

Standing on my terrace

I glance at the roads

All I see is traffic

Moving slower than a snail.

I look up at the skies

To catch a glimpse of it

Twinkle twinkle little star

All I see is a single star.

I walk a while on the terrace

My legs are covered in dust

My body sweats hell a lot

As the heat wave strikes me hard.

I open up the taps to cleanse

Myself, from the dust and sweat

Only a single drop drips from it

My body has more droplets though.

So hot and dry, so stagnant and busy

So noisy and dusty, a city that never sleeps

Is Bengaluru still the garden city?

Or has it become the City of Doom?

 

 

 

I’m Learning C# – Part 11

In this lesson, we are going to use enum and switch together.

class Program
{
static void Main(string[] args)
{
List<doc> DocList = new List<doc>()
{
new doc {name =”first”, status = testStatus.Created, number= 1},
new doc {name =”second”, status = testStatus.Review, number= 2},
new doc {name =”third”, status = testStatus.Approval, number= 4},
new doc {name =”forth”, status = testStatus.Released, number= 4},
new doc {name =”fifth”, status = testStatus.Obsolete, number= 5},
};
foreach (var item in DocList)
{
switch (item.status)
{
case testStatus.Created:
Console.ForegroundColor = ConsoleColor.White;
break;
case testStatus.Review:
Console.ForegroundColor = ConsoleColor.Yellow;
break;
case testStatus.Approval:
Console.ForegroundColor = ConsoleColor.Cyan;
break;
case testStatus.Released:
Console.ForegroundColor = ConsoleColor.Green;
break;
case testStatus.Obsolete:
Console.ForegroundColor = ConsoleColor.Red;
break;
default:
break;
}
Console.WriteLine(“the name is {0} and status is {1}”, item.name, item.status);

}
Console.ReadLine();
}
}

class doc
{
public string name {get; set;}
public testStatus status {get; set;}
public int number {get; set;}
}

public enum testStatus
{
Created,
Review,
Approval,
Released,
Obsolete
}

Enum is used when we want to restrict the values that a particular parameter can take. In this case, we want to limit the status to Created, Review, Approval, Released or Obsolete.

The switch, depending on the status, changes the ForegroundColour of the console as can be seen in the output below:

capture

Isn’t that lovely 🙂

What if we encounter an exception during run time?

In that instance, we make use of the try catch block.

try
{
var content = File.ReadAllText(@”C:\google.txt”);
Console.WriteLine(content);
}
catch(FileNotFoundException e)
{
Console.Write(e.Message);
}
Console.ReadLine();

With this post, I am pretty much wrapping up the C# sessions.

Do comment on areas I haven’t covered and maybe I will write another post 🙂

I’m Learning C# – Part 10

The following is a code to determine how many days have passed since I was born.

DateTime current = DateTime.Now;
DateTime myBirthday = DateTime.Parse(“1900, 01, 13”);
TimeSpan today = current.Subtract(myBirthday);
Console.WriteLine(today);

or

DateTime today1 = DateTime.Now;
DateTime birthday = DateTime.Parse(“1900,01,31”);
TimeSpan interval = today1 – birthday;
Console.WriteLine(interval);
Console.ReadLine();

We are using DateTime which is part of a struct. Again we are using TimeSpan which is part of another struct. You don’t need to by heart all these. Highlight the term you want to know about, clikc F12, it will take you to the definition of that term in Reference Source.

Now a little about the static keyword.

I have a class car which has a method price1() which is static.

class car
{
public int number { get; set; }
public string colour { get; set; }
public string make { get; set; }

public static double price1()
{
double value = 1;
return value;
}
}

To access this method inside my main method, all I have to do is

Console.WriteLine(“{0}”,car.price1());
Console.ReadLine();

Instead if I didn’t have the static word, I would have had to create an instance of car (an object) and use it access the method.

class car
{
public int number { get; set; }
public string colour { get; set; }
public string make { get; set; }

public double price1()
{
double value = 1;
return value;
}
}

Then my code in main() should be

car myCar = new car();
Console.WriteLine(“{0}”,myCar.price1());
Console.ReadLine();

See the difference 🙂

There are different ways to initialize the number, colour and make of the car.

car myCar = new car();
myCar.number = 8123;
myCar.make = “Maruti”;
myCar.colour = “Black”;

or

car myCar2 = new car() { number = 123, make = “jazz”, colour = “white” };

Now to manually delete an object you created, set it’s value to null

myCar2 = null;

The .Net Framework has a garbage collector which will remove all references to memory once the object life is completed or out of scope.

The following is how to define a List and intialize values to it. List is found in System.Collections.Generic so you need to add it in the using.

List<car> List1 = new List<car>()
{ new car(){ number = 1223, make = “honda”, colour = “yellow” } };

How to Become Bad

All I wanna do is just drink drink drink

And then go out for a smoke smoke smoke

You might think what am just blabbering

Because this is all I know how to become bad.

I asked my girl if I could get a tattoo

She asked me back why I wanted to

I told her that’s how am planning to become bad

She gave me a huge lecture that was a huge bang.

All day I think of ending myself

Or think, ‘better I wait for WW3’

Well neither of the two does actually happen

Then I start cribbing and sobbing about it.