vibudh is talking

Author Archive

Nobody can give you what you don’t want!

There is a lot that this line has to say “Nobody can give you what you don’t want” and is very much true in most cases as it is the .

It is said that when you really want something then even eternal powers come to support you efforts. The term “eternal power” may just refer to mere coincidences that happen in favour of the efforts to achieve your goal.

Its the desire for something that transforms the unimaginable to achievement.

 

Email Email email

Fax

Phone

 

Animated Me!!

The Dancing Girl

Mrs. Madhura Pathak was a bold lady having high social, moral and spiritual values. She was considered as the ‘Sarpanch’ of her society; someone who would be involved in solving small disputes among other society members and maintaining harmony and unity in the society. She was an influential social figure and everyone in the society listened to her with great reverence. Her Husband, Mr. Abhijeet Pathak, was rather a quiet figure who smoked his pipe and enjoyed reading his newspaper. These days he used to keep himself clocked up with the stock market updates after taking a recent voluntary retirement as a bank manager. Often on Sundays, he also enjoyed sitting with his daughters giving real-time maths problems and emphasizing the importance of Maths in the real life.

The Pathaks had three lovely daughters- Gauri, Monika, and Shaivya who were 16, 14 and 12 years old respectively. Mrs. Pathak, with her influential personality, was largely responsible for the upbringing of their daughters, as her husband was mostly engaged with his own work. She had designed a tight schedule for them and ensured that all of her three daughters were engaged in some work or the other, keeping them busy all the time. She often used to tell her daughters, “I think you will be a good Doctor, Gauri. You have the caring touch. You Monika would be a good Engineer as you are soo good with your Maths. Shaivya, what would you want to be when you grow up- a Doctor or an Engineer?”

“I want to be a dancer!”, said Shaivya in a sharp confident voice, “I like to dance, I wanna be a dancer.”
“Well, the way you argue you could be a really good lawyer!”, said Mrs. Pathak as she tilted her brows giving her a stern look.

Their housing society had planned to organize a grand celebration this year on Dussehra as it was the society’s 25th anniversary. For this event, the society had asked a famous choreographer to help the society members to perform for the grand event. The three daughters were really excited to perform for this event. “Mr. Parekh, the choreographer, will take a small test of your dancing skills tomorrow and will give you roles accordingly. I want you all to practice a small piece by which you can win yourself a good role for the play on the grand event.”

The word ‘Test’ had a frightening effect on little Shaivya’s mind as she related this audition to her school maths tests. “I got scared at the big stage.”, She cried as she knew that she was not selected for the dance performance. However, Mr. Parikh gave her a favor by keeping her for a small role in the play. Monika with her precise movements was thought fit for the front row in the dance performance for the play. Mrs. Pathak was overwhelmed to know that her eldest daughter, Gauri would play the role of the Devi in the play, that was held just before the dance.

After the practices began, Shaivya had to face a viral fever because of which she was further sidelined from the play as she missed a few of her initial practice sessions. It was not too late when Mr. Parekh had warned Shaivya that he would soon put her out of the play if she wouldn’t improve on her part. To Shaivya, the practice session seemed similar to her Maths class as she felt that she was brought to the class only to be scolded by her trainer. However, there was something in the play which attracted her attention – it had an element of music and dance. The event concluded with a dance performance after the play where the devotees danced to pay their patronage of their Devi.

Though Shaivya wasn’t a part of the dance performance, she enjoyed watching her elder sister, Monika practicing her dance moves. She liked it soo much that soon she started practicing the steps on her appartment’s terrace. On one such occasion, while she was practicing her moves with the music, she heard a shout, “You are doing it all wrong.” It was Vivek, the 13-year-old kid, who was a front row performer in the dance section of the play. The boy joined Shaivya in her practice session and taught her the steps. They enjoyed each other’s company as they started having the pre-practice session on a daily basis.

As the two had been practicing together for a while, Shaivya could now dance as good as anyone in the front row. But, dance was something that she always wanted to do and she couldn’t be limited only by the steps that the thirteen-year-old was teaching her. Shaivya was now practicing not only the steps that Vivek taught her but also steps that were her own invention. She danced with the same music but it was a unique and a special dance form. Vivek couldn’t understand the new steps and so he tried to correct her every time she did a move which was different from the one choreographed by Mr. Parikh.

A day prior to the Grand Event when Mr. Parikh had already given his final suggestions and tips to the performers of the play and now everyone seemed excited to attend the evening function which was supposed to take place on the terrace.  However, Vivek and Shaivya both thought that the event was futile and considered it a good opportunity to practice some dance moves together. As the terrace was occupied, Shaivya decided to take Vivek to her apartment. After practicing for 3-4 hours, Shaivya said to Vivek. “I think I am ready now with the full song.”
“Ready? I think you were a lot better a month ago and now you seem to add moves from your own which is completely wrong.”, said Vivek.
“There is nothing wrong or right in dance.”, Shaivya explained. “I want you to see my complete performance from a different prospective, not the way Mr. Parikh taught you”.

She then showed Vivek her complete performance. Though the basic steps that she followed were that of Mr. Parikh but she took it to a completely different level. Vivek was mesmerized by her performance and he was convinced immediately that Shaivya should perform at the Grand Event next day.

When Mrs. Pathak returned home from the function she was surprised to see a boy dancing with her daughter in her apartment. She immediately called her daughter and interrogated her, ”Why were you not at the special function? What is this boy doing in my House?”
“We were practicing. He is from our dance crew for tomorrow’s event and he was teaching me the steps.”, Shaivya replied in a terrified voice.
“You are not even in the dance crew.”, said Mrs. Pathak.
“Her dance is exceptional”, Vivek interrupted.
“I want you to go back to your house and I want you, Shaivya, to practice only the part which Mr. Parikh gave you.“, scolded Mrs. Pathak as she got herself engaged in other works.

“I ll make sure that you perform tomorrow. Just find a crown which looks similar to the one Gauri has.”, whispered Vivek.
“No, I am scared to perform on the big stage with soo many people staring at me.”, said Shaivya.
“Don’t worry, I ll handle that for you.”, said Vivek as he left Shaivya in a confused yet excited state.

Vivek chad an idea. He knew that it would be next to impossible to persuade Mr. Parikh on the big day to consider Shaivya’s performance. So, he decided to let the audience have their opinion on her performance.  He instructed Shaivya to dress up as close as she could to Gauri’s outfit after her part gets over on the play; then to switch on the projector light behind the stage when the music began. So, the projector would project the dancing girl on the background of the stage as the rest of the kids performed on the stage.

Vivek’s idea worked well and everyone in the crowd admired the performance of the dancing girl and the concept of the larger image of the Devi performing with its devotees and talking the dance form to a different level. As far as Mr. Parikh is concerned, his last words after the show were, “I knew Shaivya is a Gem and so I saved her from everyone for the Big day.”

Gogia Baba

My father had to shoulder the responsibilities of our family at a very young age when my grandfather passed away. When I listen to the stories of my father’s early days of struggle I relate the role of GovindJi as that of Bairam Khan who had helped 14 year old Akbar to gain control of the Indian Empire.

GovindJi has his presence even in my earliest of memories. I used to call him Gogia Baba, because his name had syllables which I couldn’t speak, or probably because I had a habit of calling things as per my own dictionary. ‘Chamchi’ for spoon, ‘Tamtam’ for tomato, ‘Puggy’ for bump are some of the other such words I used then.

The reason why I still remember him well is because he was one of those staff members who used to adore me the most. I still remember him taking me for Mr. Pop lollipopor for the local fair in the city. I used to sit in the back seat of his scooter as I tried hard to hold my other hand around his huge belly which actually covered only half of his belly’s circumference. Still the attempt was soo desperate that my head used to get stuck on his back and I could only see half of the road for the rest of the trip. During the ride, every vehicle that he overtook with his speeding scooter made me excited and I had something to cherish.

As one gains more maturity one understands the reasons for everything clearly, which further reduces the excitement in one’s routine life. Does this mean that we grow up and grow old only to understand the futility of everything? If this be true at least make sure that you did actually cover everything including the other side of the road.

A bullet in my skull

I was lying on a charpoy in a Government hospital with a bullet in my skull and I was bleeding at 3-4 other spots because of the damages done by bullets. I was technically outside the building of the hospital as all the private and the general wards were cramped up by the other patients, of which most of them were the victims of the terrorist attacks that took place in the city that day. The doctors were pretty much amazed to see that I was conscious while they could see a bullet butt projecting out of my skull. I overheard one of them saying that they can’t move the bullet as the bullet had blocked the blood. Ironically, had the bullet not been there, blood would have fountained out of my skull and I would have been dead within minutes. I was waiting on the charpoy for my mother to come and see me after my operation who was already present in that chaotic hospital. As I waited on the charpoy, I spoke to the victimized kids who had gathered around me. Most of these kids were lost and had no idea about their parents. I asked them about their homes but they were more interested in listening to my story of the bullet getting in my skull and how I felt then.
I was on the street about a kilometre away from my home on the auspicious day of ShivRatri, the day on which a huge procession is carried out on the streets of Varanasi, as it is the celebrated as the Wedding day of Lord Shiva himself. I was not one of them who were celebrating amongst the mob, in fact I was waiting there for Maulvi Ji, who wanted to share some information about the terrorist activities which he suspected could take place that day. It was only noon and I could notice that the people were already in full mood for the occasion. One could have a fair idea that a lot of them were dosed by Bhang, as it was that special day of Lord Shiva. Then Maulvi Ji arrived with his burka clad wife and an infant. He seemed tensed and in his panting voice he said, “They are coming and they are going to kill me and my family.” I mollified him and asked him to come with me at my home, which was well guarded and was considerably safe.
While we had just started walking we were joined by the mob celebrating the Shiv Barat. Soon, we saw a Jeep cutting its way through the wave of the mob, it had 5 men with long beard and they were dressed in grey and black kurtas and their head covered with jihabs. One of them pointed his finger at the Maulvi Ji. Before I could do anything to save him or warn him, I saw those men with automatic machine guns squirting bullets in our direction. I immediately got down as I thought I could miss a few shots if I stayed low in height. I felt a bullet making a long cut on my forehead as it went past, merely touching my skin. I got my second short on my left bicep. Soon the mob scattered as I was down on the ground partly covered my other dying bodies. I was motionless and pretended to be dead already. Just before the jeep left, one of them decided to give another spray of bullets with his machine gun. That is when the bullet got stuck in my skull.
After the jeep left, I tried to get up to go to my home. I fell on my first attempt as I realized that it was because I couldn’t move my hand. I somehow managed to get up on my feet and I wanted to rush towards my home and didn’t even want to think how much damage those bullets did to me. Suddenly, I heard a shrill cry of the infant who was covered in the black burka cloth of her mom. I held the infant with one arm as I couldn’t move the other. As I took hold of the baby, it cried loud probably because the way I was handling it made it uncomfortable, but I hardly had a choice. As I walked I realized that if I would keep my head parallel to the ground it would hurt less and there would be lesser blood loss. I was trying to make all conscious efforts to increase the chances of my survival.
My mother was already in the balcony looking for me. She must have got to know about the terrorist attack by those in the mob who had managed to run away. She screamed when she saw me and immediately 4-5 people came for my help as I was still some distance away from my home. I handed the baby to the first one to come for my help and told him that its Maulvi Ji’s baby who is already shot dead, I hoped that he would take the baby safely to Maulvi Ji’s family and also convey them the message. Then my mother inspected me as she cried with agony. I assured her, “I am fine!” That didn’t help much and her groan didn’t stop since then. There was a lot of blood on my body and everyone around me was amazed to see me walking with the infant with my head in the horizontal position. They didn’t realize that a great portion of the blood that was on my jeans and shirt was of someone else, beneath whom I was hiding and pretending to be dead.
I soon got into the car to be taken to the nearest government hospital. When I first saw my face in the mirror I was myself horror-stuck. My face was dripping with blood and I knew it was all mine. I kept my head down (horizontal) for the rest of the journey as I didn’t want to see my face again in that condition. Someone tied a piece of cloth on my bicep tightly to prevent blood loss. I held a towel pressing against my forehead to stop the bleeding and I didn’t allow anyone to touch or inspect my skull, as I realized that the bullet is still popping out of my skull.
As we were travelling I observed that our car never slowed down, considering that traffic jams were common in Varanasi, unless we reached close to the hospital. Probably the city was silenced by these terror attacks. One of our men knew someone in the hospital and had called him to make pre-arrangements for my operation. Despite the huge array of patients in the hospital they managed to get a surgeon, a charpoy and the other basics required for this sort of an operation on an urgent basis. I walk with my men through the pushy crowd to reach the hospital’s garden where my charpoy was kept. This was the place where my operation was to be carried out.
After the operation, I could still feel that cold piece of steel popping out of my head. The surgeon didn’t dare touch it. After spending some time with the kids in the hospital, I realized that my dad and mom have come to see me and they are near my bed. I heard the surgeon tell my parents that I was lucky that the bullet got stuck and had it gone a few centimetres ahead I would have been dead on the spot. To this I said, “It was my hair. Someone got me a helmet made out of my hair to prevent me from such an attack.” (Ref. to the hairstyle in the image below) The gag was supposed to reduce my parent’s stress. As I tried to raise my head to see my dad, the doctor snapped immediately, “Keep your head horizontal and sleep you are not supposed to take much stress.”
The anaesthetics were heavy and when I opened my eyes after a nap I realized that I was not on the hospital charpoy, I was on my bed and it was probably the most horrifying nightmare I ever had. Luckily, all this was just a dream. I then realized why my head was horizontal though most part of this incident as I was laying on my bed with my head in the horizontal position. After a while, I felt good as I got to do some bravery in my dream and more importantly it was an amazing experience to have that bullet in my skull!

IMG_20150729_154053

The Shopkeeper I hated the most as a kid!

In this short passage the author describes a Varanasi based shopkeeper. The description is based on more than a decade old memories of his childhood when the author was about 13 years old.

A tall, fair, middle aged man who had lips always painted with pan stains. A big black mole on his cheek and the most pleasing smile were his prominent trademarks. How can I forget this shopkeeper, I had all my undergarments, thermals, socks, etc. purchased from his shop in my school days. Not only that I remember my mom making all such purchases for my family of four from his shop. His sugar coated words, apt appreciation of his products and his seemingly generous deals were always good enough to convince my mom. I remember that shopkeeper sitting in a slacken posture with his eyes glaring at every potential customer walking on the street. As soon as he sees a customer entering his shop he would immediately spit the pan and hold hands over his huge belly and with the most embracing smile he would say, “Namaste Bhabhiji, kaisi hai?” Mostly his customers were ladies who were alone responsible for most of the household shopping like my mom.

But, the question is, why would a 13 year old kid hate such a shopkeeper? There was a very peculiar thing about his shop, very shaky for the young lad. All the walls of his shops were covered with posters of lingerie girls. An aberrant sight for a teenager who had the curiosity to have a good glimpse of one of those posters while his mom and sister didn’t notice him staring.

The shopkeeper was indubitably a gentleman but those posters in his shop depicted something which was assumed evil by the kid. A mature person would say that the gentleman had those posters perfectly placed as per the marketing guidelines given by the company whose products he used to sell. At times people tend to judge by the outer appearance/actions which they themselves find intimidating without taking into account the reasons behind; this is what separates a mature person and a kid!

Dividing an image into smaller parts using MATLAB

Here we are going to learn how to divide an image and save each part into different files. As we have already seen earlier that we can insert a image/profile picture in Facebook chat.
Inserting Profile Picture:  https://viblogs.wordpress.com/2012/06/22/inserting-profile-picture-in-facebook-chat/
But the size of those images inserted were too small, now if we want to insert larger images in the Facebook chat then we are simply going to insert multiple images alligned properly so that it appears to be a big image, I call it as the ‘Jumbo Image’.

Now we can divide the image manually in the paint and taking equal part at a time, but this method is too tedious and is neither too accurate. So, the simpler way out is to use MATLAB to do the job for us. So here we will be dividing the image into multiple parts(nXm) and then uploading all the images, so that when we insert them in the chat we get a Jumbo Image in the chat box comprising of various small images that we had uploaded earlier.

Here is the MATLAB code to divide a simgle image into multiple parts and saving each part into a different file:

clear; % removes all variables from the workspace, releasing them from system memory
Image = imread(‘https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-prn1/31744_103452216370510_2308261_n.jpg’);
%Taking the image from the given URL, it could have been the name of the file with extension if the root folder
n =3; %defining the number of rows
m =3; %defining the number of columns
a=’a’; %defining a random file name
NewImage = ‘newimage.gif’; %granting permission to create a file and write in it
Image = imresize(Image, [512 512]); %resizing the image, this is a mandatory step

rf = floor(512/n); %generating the number of row pixels in the new file
cf = floor(512/m); %generating the number of row pixels in the new file

for v = 1:n
for s = 1:m %nXm files need to be made
startr = (v-1)*rf;
startc = (s-1)*cf;
for i = 1 : rf
for j = 1 : cf
for k = 1:3 %loop for RGB values

Img1(i,j,k) = Image(startr+i, startc+j,k);
end
end
end

a = strcat(a,’a’); %generating a new file name
NewImage = strcat(a,’.jpg’);
imwrite( Img1, NewImage);
done=1
end
end

It is generally adviced to make a seperate folder in your PC for each Jumbo Image, it simple makes the handing of the files simpler.

Inserting profile picture in Facebook chat

For adding profile picture in the facebook chat, all you need do is put the unique id in double square brackets [[ ]]. If you use the name, you might get your friend only if he has a unique name that depends on the facebook database, so it is always advisable to go for the unique Ids.

Example:-
For inserting my facebook profile picture all you need to do is just type
[[vibudhsingh]] in your chatbox. As my facebook unique id is vibudhsingh.

What is my facebook unique Id?
 Facebook allots all its users a unique Id, that is used to identify its user. It can be seen when you go to the timeline or the homepage of that person/page.

https://www.facebook.com/vibudhsingh

 Here my facebook id is vibudhsingh which is written just after http://www.facebook.com. Here are few more examples of the facebook unique Id, hope that helps you better to find out your facebook unique Ids.

This slideshow requires JavaScript.

This same technique is used to insert jumbo sized images in facebook chat:
https://viblogs.wordpress.com/2012/06/21/facebook-jumbo-chat-emotions/

Facebook jumbo chat emotions!!

There are some limited sized images that can be used in the facebook chat.

To have them on your chat all you need to do is just copy the stuff below and paste it in your chat:

1.Mask

[[255006724575192]] [[255006727908525]] [[255006737908524]] [[255006734575191]] [[255006731241858]]
[[255006827908515]] [[255006831241848]] [[255006824575182]] [[255006817908516]] [[255006821241849]]
[[255006874575177]] [[255006871241844]] [[255006884575176]] [[255006877908510]] [[255006881241843]]
[[255006934575171]] [[255006931241838]] [[255006941241837]] [[255006944575170]] [[255006937908504]]
[[255007004575164]] [[255007001241831]] [[255006994575165]] [[255006997908498]] [[255006991241832]]
[[255007084575156]] [[255007101241821]] [[255007077908490]] [[255007091241822]] [[255007081241823]]

2. Jack Sparrow

[[298356520217565]] [[298356516884232]] [[298356506884233]] [[298356510217566]]
[[298356513550899]] [[298356620217555]] [[298356606884223]] [[298356616884222]]
[[298356610217556]] [[298356613550889]] [[298356673550883]] [[298356676884216]]
[[298356666884217]] [[298356680217549]] [[298356670217550]] [[298356740217543]]
[[298356733550877]] [[298356743550876]] [[298356730217544]] [[298356736884210]]
[[298356823550868]] [[298356810217536]] [[298356820217535]] [[298356826884201]]
[[298356813550869]] [[298356906884193]] [[298356896884194]] [[298356900217527]]
[[298356903550860]] [[298356893550861]] [[298356950217522]] [[298356946884189]]

3. Superman

[[299528860107644]] [[299528863440977]] [[299528866774310]] [[299528856774311]]
[[299528870107643]] [[299528950107635]] [[299528943440969]] [[299528946774302]]
[[299528953440968]] [[299528956774301]] [[299529013440962]] [[299529016774295]]
[[299529010107629]] [[299529003440963]] [[299529006774296]] [[299529060107624]]
[[299529063440957]] [[299529066774290]] [[299529070107623]] [[299529073440956]]
[[299529173440946]] [[299529183440945]] [[299529180107612]] [[299529176774279]]
[[299529186774278]] [[299529243440939]] [[299529236774273]] [[299529240107606]]

4. Elmo

[[302117289844540]] [[302117283177874]] [[302117276511208]] [[302117279844541]] [[302117286511207]] [[302117366511199]]
[[302117369844532]] [[302117373177865]] [[302117383177864]] [[302117379844531]] [[302117426511193]] [[302117436511192]]
[[302117429844526]] [[302117423177860]] [[302117433177859]] [[302117523177850]] [[302117529844516]] [[302117526511183]]
[[302117536511182]] [[302117533177849]] [[302117606511175]] [[302117596511176]] [[302117599844509]] [[302117593177843]]
[[302117603177842]] [[302117646511171]] [[302117649844504]] [[302117659844503]] [[302117656511170]] [[302117653177837]]
[[302117706511165]] [[302117703177832]] [[302117699844499]] [[302117709844498]] [[302117696511166]] [[302117749844494]]

5. Troll face

[[242538225822042]] [[242538222488709]] [[242538232488708]] [[242538219155376]] [[242538229155375]] [[242538339155364]]
[[242538335822031]] [[242538342488697]] [[242538345822030]] [[242538349155363]] [[242538392488692]] [[242538395822025]]
[[242538399155358]] [[242538402488691]] [[242538405822024]] [[242538475822017]] [[242538472488684]] [[242538489155349]]
[[242538492488682]] [[242538485822016]] [[242538562488675]] [[242538565822008]] [[242538569155341]] [[242538575822007]]
[[242538572488674]] [[242538612488670]] [[242538625822002]] [[242538619155336]] [[242538622488669]] [[242538615822003]]
[[242538675821997]] [[242538682488663]] [[242538672488664]] [[242538679155330]] [[242538685821996]] [[242538742488657]]

6. Mr. Bean

[[255016264574238]] [[255016271240904]] [[255016277907570]]
[[255016267907571]] [[255016274574237]] [[255016384574226]]
[[255016387907559]] [[255016394574225]] [[255016401240891]]
[[255016391240892]] [[255016464574218]] [[255016454574219]]
[[255016457907552]] [[255016461240885]] [[255016451240886]]
[[255016537907544]] [[255016531240878]] [[255016534574211]]
[[255016541240877]] [[255016527907545]] [[255016634574201]]

I hope you guys enjoy it on your chat, I ll shortly tell you how it is done so that you can yourself add a picture of your own in the chat!!

Control System: State Space using MATLAB

For a system defined by its state space variables, it is possible to determine the controllability, observability and hence the stability of the system using MATLAB. We will be discuss the same here with the help of an example.

A system is said to be controllable if we can transform the state of a system from xo to x(t) with the help of a control function u(t) over a finite period of time. If from measurements of output y(t) taken over a finite period of time, state of  a system x(t) can be determined, then the system is observable.

If a system is both controllable and observable then we can say that the system is stable.

Consider a linear time invariant(LTI) system described by the state equations:

x = A x + B u

y = C x + D u

Here x, y are the state variables, u represents the unit step response and A, B, C, D are the constants which depend on the system.

For a model with Nx states, Ny outputs, and Nu inputs:

  • a is an Nx-by-Nx real- or complex-valued matrix.
  • b is an Nx-by-Nu real- or complex-valued matrix.
  • c is an Ny-by-Nx real- or complex-valued matrix.
  • d is an Ny-by-Nu real- or complex-valued matrix.

sys = ss(a,b,c,d,Tscreates the discrete-time model

with sample time Ts (in seconds). Set Ts = -1 or Ts = [] to leave the sample time unspecified.

Matlab Code:-

a=[0 1 0; 0 0 1; -6 -11 -6];

b=[0; 0; 2];

c=[1 0 0];

d=[0];

sys = ss(a,b,c,d);                                %Creating the state space model

xo=[0 0 0];                                           %Setting initial conditions

initial(sys,xo)

step(sys);                                               %for step response

ob = obsv(sys);                                   %for calculating observability

unob = length(a)-rank(ob)             %for calculating unobservability

ct = ctrb(sys);                                      %for calculating controllability

unct = length(a)-rank(ct)                %for calculating uncontrollability

eigen = eig(a)                                        %for obtaining the eigen values

Output:-

unob = 0

unct =0

eigen = -1.0000

-2.0000

-3.0000

As the system is controllable and observable, hence we can say that the system is stable.