Showing posts with label DARP diary. Show all posts
Showing posts with label DARP diary. Show all posts

Aug 3, 2011

Brigade road, Bowling alley, Garuda Mall, Death by Chocolate

"You guys want to go some place tomorrow", Chotu asked the following week again. "I can show you around Bengaluru. Its my treat", he added.

Mysore plans that we worked out previous week did not work, for Chan had been to Mysore before, and Chai had some other plans for the weekend! Since I had already been to Vishveshwarya museum with Vish, I asked Chotu to take us to some place where people would normally not go for site seeing.

"Let us go to Brigade road then. We can go to Amoeba where we will play bowling, and from there we will go to the Corner shop where you get a very good ice cream" he replied. "Take money for lunch alone, and let bowling and ice cream be my treat", he offered.

The next day, Chan and I took a bus from Malleswaram 18th cross to Majestic, from Majestic to Indian Express circle, and from there we walked all the way to Mahatma Gandhi Metro Station where we had fixed the rendezvous with Chotu the previous day. Getting directions was easy all along, thanks to GPS and Google Maps installed in my Froyo.

"I got a gift for you two", said Chotu when we both met him at the metro station. "Three men in the boat for you (myself) and Frankenstein for Chan. I hope you guys will like this book".

It was at that moment that I started liking Chotu, for it is not usual for someone to think of gifting a book to their friend, unless they specifically ask him/her to buy for them.

We then walked through several lanes that resembled the Downtown area in Denver, and finally arrived at Amoeba, where I played bowling for the first time.

Scores of (J)am, (C)han and (R)aju aka Chotu, first game

 the bowling arena

I understood the physics of bowling quickly so that I almost came on top in the first game that we played. Seeing my performance, Chotu patted me saying "bowling comes naturally to you".


Had Chotu not struck on his 10th swing, I would have won the game. Instead, I ended up losing the game by a margin of 5 which made me to say "let us play again".

 Scores of (J)am, (C)han and (R)aju aka Chotu, second game

But I lost my rhythm in the second game, 6th swing onwards, I started playing for fun and considered myself out of the competition!

 Death by chocolate

From Amoeba, Chotu took us to the corner shop where we ordered "Death by Chocolate", their signature item for Chan and myself. The quantity served is enough for us to have the ice cream as our lunch!

Relaxing at Garuda mall

We walked along various stretches exploring the urban Bangalore in the nitty-gritty and did window shopping at Garuda mall. Finally, we parted with Chotu who had to leave us before evening, hired an auto and returned to Kaveri.

Aug 2, 2011

Vishveshwarya Museum: Mecca for Mechanical Engineers!

"If you guys are planning for an outing this weekend, I can arrange for a cab", said Chotu, a localite in Bengaluru.

"Why not we plan for a trip to Mysore?", I asked others, reflecting my disappointment with Bangalore palace experience.

"Awesome! On the way, you guys can come over to my house as well", Chotu extended his invitation. When the rest did not commit, I tried to persuade them. "Anyway, Prof. Varahan's lectures are not there on Saturday. We wont miss out anything!", I said.

Tuesday became Wednesday, then Thursday and finally Friday, but still Chai and Chan had not decided their weekend plans, or had decided to another plan! When I saw that I am failing in convincing them for a Mysore trip, I asked Vish to take me to some place around Bengaluru.

"Have you been to Vishveshwarya museum before?", he asked me. "You can lose yourself for hours there! It is the Mecca for Mechanical Engineers", he added. "Well, then lets go there on this Saturday", I replied, thinking about how to spend my time on Sunday.

place where the terrorist attack took place

We left from Kaveri in the morning, had breakfast at Kabini, crossed C.V.Raman road, went past the auditorium where the terrorist attack took place, boarded a bus to Majestic, walked through the periphery of Cubbon park, and reached the museum entrance at five minutes to 10, their time to open!

"Let's take the top-down approach", said Vish, meaning we will start looking at the display in the top floor, and descend to the bottom. We skipped all the displays meant to attract kids, the movie that was being screened at regular intervals, and instead concentrated on the main scientific displays starting from undergrad level.

 with mechanical model of logic gates

 thermal imaging

 mechanical model of DNA double helix

 vish playing with various objects in flow field

 model of a lunar astronaut

 vortex experiment

 full scale model of wright's glider

vish with diesel engine

 me with an engine

vish playing with printing press

The highlight of the museum displays is the flow field visualization using soap water solution. Vish gave me a wonderful demo of the flow visualization experiment in which the flow is affected by objects of different shapes when placed in a uniform flow field.


We finished our trip around noon, walked around Vidhana Soudha and Chinnaswamy stadium, got bus near Cubbon park to Malleswaram 5th cross and walked our way back to Kaveri.

Aug 1, 2011

All is well if the 'means' as well as the 'end' is well.

All is well if it ends well, so goes the saying. However, to me, end alone is not much important, but also the means by which we achieve the end.

So, when the DARP coordinator announced about the project competition in the final week (in which each group will have to work on a given method and submit their results, and the one whose result matches with true value will be announced as winner), me and Vishal (who shares same view in the 'end' point) decided to stop concentrating on the project, and use the time available to understand about the method.

And that's what we did in the last one week! Jay, a passive member in our group, had already coded the Lorenz '63 model in Matlab for some other purpose. We took the code from him as a kick start, added the Sequential Monte Carlo technique part for the ensembles to begin with.

We then modified the code to include Importance Sampling, and finally incorporated Sequential Monte Carlo with Importance Sampling, and Resampling. In order to test our understanding, we forwarded the code to Elaine, our team lead, and to other group members, asking them to go through it and execute.

Jyoti, an active member, who is good in Fortran coding, gave us a very encouraging comment to the code saying she could follow it easily! But it struck us hard the next day when she came to us and said "my laptop crashed after running your code!"

Later, we came to know from our team lead that while the logic part of our code is correct, the code is not optimized for memory, which is the reason why Jyoti's laptop crashed. I still believe had she installed Linux in her laptop and executed the code in it, her laptop would not have crashed.

Soon we learnt that in Matlab we should not code in Fortran way! We should avoid if statements and for loops as much as possible, and should initialize the parameters to avoid dynamic size allotment, especially when the variable is in a loop.

By that time, Jaman and Jason, along with other group members assistance, had already modified Elaine's code (which she had written for some other model), to work for the Lorenz '63 model. Since Vish and I are convinced that our understanding of particle filtering is correct, we tried to incorporate our ideas in their code to speed up the computations in the limited time available to us.

On the final day, we did some experiments (which we were supposed to do at least a day before!), got some interesting plots, copy pasted in no-order and made the following presentation.

While Vish and I were rejoicing about the means by which our project came to an end (understanding how particle filter works), the coordinator announced the final results! We were on cloud nine when we came to know that the means to an end had brought us to a successful end as well. We congratulated each of our group members, who were later rewarded with a book, "Chaos: A Very Short Introduction" written by Leonard (Lenny) Smith. Lenny is one of the speaker who lectured on non-linear models earlier during the lecture part of the program.
Group 1: Particle Filtering

Jul 23, 2011

Prof. Lakshmi Varahan

They say "First impression is the best".If I were to go with their sayings, the DAR Program would not have been meaningful at all for me!

When Prof. Varahan derived the expression for evaluating an optimum value of a function with arguments that used mathematical jargons, I thought to myself "Why don't mathematicians learn Occam's razor?"

However, it was after his first lecture that I realize how elegant the mathematics becomes when the topics are taught in mathematical language! It is for no simple reason they say "Mathematicians are smart people. They reduce complicated equations by replacing them with symbols".

I changed my mind during his second lecture to such an extent that I looked forward for his sessions. Not only to learn mathematics, but also for his way of teaching.

Prof. Lakshmi Varahan has a knack of keeping the class alive and engaged with his high energetic and dynamic method of teaching, asking "are you with me guys?", "all of you get an 'Aha!' here?", and with proverbial quotes suitable to the situation such as the Chinese proverb:
you hear, you forget
you read, you remember
you do, you understand
And he wanted us to do each and every step by ourselves to understand how the method works. If, for time constraint, we were not able to do it during the lecture hours, he will say "It's a homework problem for you guys!".

Though he gave us only five lectures, and conducted about three tutorial sections, he covered almost all the topics from his book "Dynamic Data Assimilation", and cleared all our doubts during coffee/lunch breaks.

Soon, he became the most sought after to converse with, during and after the sessions. At one point, I even bunked a day's sessions when I came to know that Prof. Varahan is not having any sessions on that day! (Me and my friend went to Vishveshwarya museum on that day. The museum is like a Mecca or Amarnath yatra for Mechanical Engineers. More on this later).

Born in India, Prof. Varahan did his Masters and Ph.D at Indian Institute of Science and worked at Indian Institute of Technology Madras before leaving to abroad for a career in computer science. It is my fortunate privilege to have met him personally during this program and got enlightened in one of the most important and advanced topics in which the whole world is working on.

Jul 15, 2011

A trip to Bangalore Palace

The lecture hall of Tata Institute of Fundamental Research is packed full with audience who had come from various organizations and institutes across India to participate in the Data Assimilation Research Program. The audience has flavors; most of them were scientists graduated with physics or mathematics as their majors, while engineering was confined to a minority.

The language spoken during the DAR Program was mostly mathematics, whose slang version is what I understand and communicate. A professor from Okhlahoma University, who was a Comp Sci Engineer and later changed his area of interest to Mathematics, was giving a lecture on Least Square Errors technique.

"Let us minimize alpha/2 times the second norm of the vector X, where X is a vector in R^n, subject to the constraint Z = HX, where Z is the observations in R^m, H is the model matrix in R^(mxn)", he wrote the problem statement on the smart board. I started observing at other participant's reaction, and was depressed to see that majority of them understood what he was talking about!

Not loosing my hope, I translated phrase by phrase in to slang version, which is called as 'engineering mathematical language' as

"Minimize the surface area exposed to the atmosphere to reduce the heat transfer loss, subject to a volume constraint given by V = pi times square of radius times length of the pipe". I proceeded to translate and understand most of the jargons while at the same time wondering if Mathematicians have heard about the Occum's razor.


"Did you understand anything?", Chai asked during the coffee break that followed the session.

"Not much. But if you can somehow translate it in to our engineering language, perhaps you will get some progress", I replied.

"Ya dude, engineers rocks! We take up the complicated things stated by mathematicians, and present it to the layman", Vish, another engineer, added.

"I say, let us bunk the afternoon sessions today and go some place. We are new to Bangalore and so there are plenty of places to see around", said Chai.

"Guess what makes you to feel you are at home?" I asked the group, and added "Go to a new place and have a GPS". Saying this, I took my Galaxy Pop, opened up the Google map to check out nearby places to see.

"Have you been to Bangalore palace? GMaps says its near to IISc. We will catch a local bus from TIFR campus to Mekhri circle, and the palace is at walkable distance from there", I poured the information.

While others were not ready to give up their fight so early, Chai and myself left the campus to board a bus to Mekhri circle. We walked to the Yelahanka bus stand, had tea on the way, enquired the driver of the first bus which was about to leave the station, boarded in and occupied our seats. I opened up the Google Maps to track the route and know where to get down.

After about 45 minutes of travel, the bus dropped us at Mekhri circle from where I changed my GMaps settings to search for walk directions to the Bangalore palace. We went further from the Mekhri circle bus stop, took the left at Jaymahal road and walked along the military area. After about 15 minutes of walk, we found some shops nearby.

"Let us have a cup of tea and enquire the shop owner about the palace", said Chai.

"Bangalore palace? Idhe palace groundsu", the shop owner said pointing out in the opposite direction, where all we could see is a play ground and a fun park.

"Perhaps they have a local name for the palace which we did not know! GMaps says we will have to walk for one more km in the same direction", I reaffirmed Chai after looking at the GMaps.

"Let us ask the traffic police standing near that signal", said he.

"You want to go to club?", the traffic constable enquired with a gleam in his eyes.

"No sir, we are new to Bangalore. We heard there is a palace here. We just want to go there" explained Chai.

"I think its called as wodayar palace", I added a piece of info after googling for Bangalore palace meanwhile.

"There is no palace here. This is palace ground. Bangalore palace might have existed long ago, but now this is all that is left" the traffic constable said pointing in the opposite direction to the same open playground. "People come here, go to club and booze. You want to go there?", he asked us again.

"No sir, we are not interested in boozing", we said.

Understanding that our enquiry is genuine, he said "Palace are in Mysore. In Bangalore, there is no palace".

With both of us not in the mood to disappoint ourselves, we enquired bus route to the nearest landmark, took bus to Indian Express stop, walked to Cubbon park, spent about couple of hours enjoying the woods and the sparrows in the mild showery weather, had a cup of coffee at Indian Coffee House, looked at Chinnaswamy stadium from outside, took another bus from Vidhana Soudha to Mekhri circle and walked our way back to Kaveri.

Jul 7, 2011

A memorable trip to Winnie's house

"TIFR's bangalore campus? It is located in Yelahanka, very close to my house in Bangalore", said Winnie, my scholar friend when I told him about the DAR Program.

"I will probably come to your house then", I said casually, without giving a thought. Will I go to his house? Will I at least meet him at Bangalore? Or is there a plan B that I might opt for? Where does my other friends, Chan and Chai, who got selected in the program want to go? Do they have a plan and want me to join with them?" I asked these questions to myself until we all left from Chennai.

Once we got in to the train, I chipped in the idea to Chan and Chai, "guys, if you do not have a plan for Sunday, we will go to his house", I said. "He says its not far from Yelahanka, and he will pick us from our place in his car, and drop us back in the evening", I added. Apparently, nobody was having any plans and so I then thought that we kinda have a mutual consensus about the plan.

Upon our arrival at Bangalore, when Chai got separated to stay with his friend in one of the hostels at IISc, Chan and myself found that we were not accommodated at TIFR and were asked to go back to IISc, I thought things were not working according to our plan. So I decided to rang Winnie at his residence and tell him that we have no option, but to cancel our plan of visiting him at his house.

After about 7 or 8 rings, his father answered the call. "Uncle, this is Jam. Is Winnie there?", I asked him. "Oh yeah! He is here! How are you? I am hoping to meet you guys today", he asked with a smile in his voice. "We are fine Uncle", I said, without committing myself on the meeting part. "Give me a minute, I will call him", he said. After few minutes, I got my friend's sleepy voice on line saying "Hello!", to which I heard myself saying, "hey Winnie, we were put up in IISc, and not in the Yelahanka campus. So pick us up at 11AM from IISc".

We reached our hostel, refreshed, had light brunch at Nesara and waited for our friend to pick us up. Around noon, Winnie came with his bro who drove the car. We had a randezvous at the main gate, got in to his car and left for his house. On the way, he showed us the Ramiah's institutions, the airport road (also known as the Bellary Road), the Hebbal fly over where the airport road crosses the outer ring road, the border of Jawaharlal Nehru Centre for Advanced Scientific Research (JNCASR) campus, before we finally reached his house at the right time for lunch.

Me, Chan and Winnie at Winnie's residence

After lunch, we spent our time talking to each other, watching some sops in TV, and in the evening, we walked around his house. He took us to a couple of meditation centres, an awesome place where you will find peace if you just sit, close your eyes and observe silence for a few minutes. We then went to the open terrace on the top floor of his house, had a chat, observed sunset, took some photographs of the dynamic Bangalore sky.

When Nadal lost two sets in the slam we were having homemade Chapathi prepared by his mom for dinner (it was awesome!), and we left from his house just after dark, praying that Nadal should win the slam, all the way.

Jul 6, 2011

An official trip to Bangalore

"We are happy to inform you that you have been registered as a participant in the International Centre for Theoretical Sciences (ICTS) program on Data Assimilation Research Program (DARP)", reads the message from the program coordinator to me. The confirmation email was received about a month ago, and since it was jointly organized by Indian Institute of Science (IISc) and Tata Institute of Fundamental Research (TIFR), me and two of my friends who were also selected for the program booked our railway tickets to Bangalore as soon as we got the mails.

We planned to catch the Saturday night train to Bangalore to reach there by Sunday morning and spend the rest of the day meeting and conversing with other participants/friends. Until 9pm on Saturday, every thing went fine. As if to remind us of the purpose of our visit, it started to rain in Chennai out of the blue, which caused traffic in several city roads and delayed our fast track call taxi which we booked to take us to the Chennai central railway station.

When the call taxi reached our hostels at 10.30pm, we almost believed in the chance of missing the train which was scheduled to depart at 11.15pm! Understanding the gravity of our problem, the taxi driver maneuvered the car in shortest possible route in maximum possible throttle to drop us in central at 11.10pm, enough time to read the platform number, locate the bogie and occupy our berths. Oh, by the way, we were punished for booking the AC tickets by walking all the way down to the end of the station, which ate few more ticking minutes.

We got in to our bogie, secured our baggages, settled down in our seats to find that the train already started moving. The movement of the train from platform number 5 relieved us from tension because we were praying for the train to depart late so that we will have enough time to catch. Now that we were in the train, we do not want God to grant our wish!

Though we were asked for a choice to have a pick up from the railway station, and though we had asked for the same, we got a notification on the day of our departure saying that pick up could not be arranged, which left us to manage our travel plan to reach the venue on our own. We got down at the Bangalore City railway station, took a pre paid taxi, paid a hefty sum of Rs.650 for 15km (the previous night, we paid Rs.200 for same 15km from our hostel to central railway station), used the GPS and Google maps on my Froyo to guide the driver and reached the venue after an hour and a half.

Upon our arrival, we were asked to report at the security section and collect our key to the accommodation. However, when we reached and reported to the present security, we were told that our accommodation has been arranged at IISc campus! When asked why we were not notified about this before, we got a reply that there is no one to collect our key in IISc and so they want us to come to TIFR to collect our key, go back to IISc! And that we did, however, we asked the program organizer to arrange for a cab to carry our baggages.