Results

'Adrenaline' Journey

I like to be on the safe side of things, especially when I travel. So, when there is a connection journey involved, I book my tickets in such a way that I have enough time between flights,. But when you have to travel on a particular date, you tend to pack things a bit too tight. That’s what happened to me last week when I had to book a connection flight with only 2 hours in between. I knew it was risky, but in my defence, I knew the transit airport very well and also I've never been delayed before by the airlines I was travelling with. And the first reason helped me from missing the connection flight in a matter of minutes.
All of this happened during my weekend trip with friends to Langkawi island in Malaysia. Since all of us had long year end holidays, none wanted to give our boss a reason to scream at us by asking for more leave. So we planned a weekend trip. In order to take full advantage of the weekend, we planned to reach the destination by Friday night itself. As with all Fridays, around one hour after reaching office - after reading newspapers - our clocks started ticking - to get out of the office. We used different methods like using the back door, setting our on-line status to be ‘In a meeting’ etc to slip out of the office early and discreetly. Somehow we all managed to reach the airport just in time before the counters closed.. 
When we reached the gate, I noticed a strange thing. The flight we were supposed to be on, was not there, yet. (Usually by the time we are at the gate, most people would have boarded). We checked at the counter and they said the flight is delayed for 20 minutes. 
Little did we know that when they told us about the 20 minutes delay, they meant that the flight would have to come from somewhere else in the world. That reduced our transit time to around one & a half hours. 
Since our only option to make it in time for the connection flight was for the connection flight to be delayed, one of my friends was suggesting a fake bomb call to the transit airport. But before we attempted any such drastic measures, the flight crew ‘assured’ us that there is a slight chance that we can reach the transit airport in time. 
We boarded in a hurry, got settled in our seats, captain announced that he was waiting for the clearance to take off and started taxi. We were anxiously waiting for the take off for a long time and later realised that we are not going to take off. Instead the flight was taxied to a remote taxiway and made to wait till there is a slot available for take off. 
Finally, by the time we took off, we kissed our weekend plans good bye.If we had any hope of making it, the flight attendants assured us that its not going to happen. It was also the last flight to Langkawi which means we had to resort to our back up plan, which we never had. But one flight attended did some ‘calculations’ based on her experience with the air routes and said there is a chance that the next flight also will be delayed. 
Since we had nothing to loose, we decided to give it a go. We switched on our mobiles and as soon as we got a signal (after touchdown), we called our friends and we heard the words we all were hoping for, “the next flight is late and will take off in 20 minutes”. 
We could easily make it, provided we are able to get to the immigrations from the tarmac (around 1 km away), pass the immigrations (as it our next flight is a domestic one), collect our bags, get out and get back in to the domestic terminal, go through the whole security process, get to the counters/kiosks, and finally go through the gate security again, in less than 10 minutes. 
At that moment, I became a believer of the concept “adrenaline rush”, as I felt my senses super tuned and my muscles stronger. By that time, most passengers knew that we had to catch another flight and cooperated with us when we pushed them aside while exiting (and the rest of them, cursed us with their ‘ colourful’ vocabulary). After exiting the flight, we ran like we’ve never ran before in our whole lives, reached & passed through the immigration in seconds, split up to collect bags and to find the information counter, screamed at the top of our voice to explain the whole situation and then finally ran through the security again. I was sure that the security personnel were going to shoot down at least one of us after all the chaos we caused there. On later thought, they may have realised that a terrorist probably would like to be much more discreet than us. When we reached the gate, it was half closed and we found our friends anxiously waiting for us at the end of the queue. And so, 10 minutes later, we were on our flight to Langkawi. 
Unmistakably this is one of the never-to-be forgotten experiences in my life which I will probably publish as a book titled “How I realised the existence of the adrenal gland in my body”. If it were not for a combination of sheer luck, quick reflexes & wit and a bunch of terrific friends, we would never have been in that second flight. Even though we went through a lot of adventures later - during the course of our trip - this was the one adventure we never planned, one that none of us will never forget and one that I really don’t want to repeat.

nVidia CUDA, nVidia Optimus, Linux & their complex relationship


After months of brainstorming on whether to get a Macbook or a Win7 laptop, how and where to buy it, what configuration to choose etc, I finally got my new Alienware M14x (Win 7) last week. Unfortunately I got my hands on it last Monday, which in my opinion left me no choice but to reduce my sleeping hours to 3-4hrs a day. With all those extra ‘sleepless’ hours I managed to find, I could accomplish quite a lot of things I had in my rather long TODO list by the end of the week, or so I thought. But I still haven’t completely set up my system, the way I wanted – lots of games, a Linux development environment etc.

The culprit is none other than the most important component in the laptop (for me) - the GPU. Since gaming, photo editing and GPU programming (nVidia CUDA) are the three things I am looking forward to focus on for most of my time, I wanted to make sure I made the right choice in selecting the GPU. The M14x comes with an nVidia GeForce GT 555M and it boasts the nVidia Optimus technology which uses switchable graphics (with Sandy Bridge integrated GPU) for power saving. All the reviews explained a lot about how this laptop takes full advantage of Optimus. But what none of the posts (I read) mentioned was, just like any other new technology, there is no support for Optimus in Linux till date, not by nVidia, not by Linux or not even by the manufacturer (in my case, Dell/Alienware).

What this means is, even though I will be able to use the nVidia GPU in Linux for CUDA programming, I won’t be able to use the nVidia GPU for any graphics applications in Linux. For example, I will be able to do computations on the GPU as a coprocessor, but it cannot be used for display in Linux environment. It doesn’t affect me a lot as I am not looking forward for any graphics programming in Linux in the short term, I already have my hands full with the TODO list I mentioned earlier. But it sure is a bummer considering I wanted to try out some graphics/game programming in the long term in the Linux environment. Hopefully there will be support for the Optimus technology in Linux soon.

I learned this fact the hard way, after spending long hours trying to setup my system to use the nVidia GPU. This post may/may not offer any solutions to any particular problem, but just a few observations and links to some of the sites/forums that helped me in the process.

To begin with, my requirement was to be able to do CUDA programming on a Linux environment in my M14x (GT 555M). On a side note, I have done CUDA setup & programming in the past and was familiar with it. My first step was to choose one of the Linux distributions supported by CUDA. I chose Ubuntu 10.10 and installed it. During my first boot, it asked me to upgrade to 11.04, which I did not accept because I knew that gcc 4.5 or above is not supported by CUDA at the moment. Ubuntu also asked me to activate the nVidia driver which I did it. Then I downloaded the CUDA dev driver, toolkit 4.0 and the code samples. I rebooted the machine and the Xserver failed to start. So, from the command prompt, I removed the ubuntu supplied driver.

sudo apt-get --purge remove nvidia*

Then I installed the dev driver downloaded from nVidia site.
Chmod +x "filename"
./"filename"

I also installed the toolkit (also set the path), samples and the required libraries for building them as specified in the CUDA Getting Started Guide (Linux). I rebooted the machine and again the Xserver failed to start. I poured through support forums & blog entries, tried the black listing method, reinstalled various drivers etc. None of them worked. Ubuntu was unable to load Xserver. So I decided to reinstall Ubuntu and start from step 1.

This time I was more cautious, I did one step at a time. But the moment I installed the dev driver and reboot, Xserver stopped working. What perplexed me more was, I was still able to run the CUDA binaries, which means the driver is installed properly. For a moment, I considered giving Fedora 13 a try.

That’s when I realized that I am using Optimus technology and the thought crossed my mind that what if Linux is trying to use the integrated GPU and nvidia driver is conflicting. My heart sank when I found out that there is no support for Optimus in Linux. There is third party software called bumblebee, which didn’t work for me. Some of the posts talks about a BIOS setting which can force either of the GPUs rather than switching them dynamically. But M14x BIOS doesn’t have that option, yet. So, I was out of options and that when this post helped me. It helped me deactivate the nVidia driver and use the integrated GPU for Xserver. Also the GPU is detected as a coprocessor so that I can do my CUDA programming as long as I am not playing with graphics. Remember to update the Intel graphics driver.
sudo apt-get install xserver-xorg-video-intel

In a nutshell, if your laptop is equipped with Optimus, better use the integrated graphics as of now for Linux. It’s a shame that so much GPU power is simply wasted.

Singapore 101: Riding in Singapore


Update: This post is the first among my Singapore 101 series where I hope to provide some basic information about various aspects of an expat lifestyle in Singapore.

It’s been around one and a half years since I started riding my Honda Phantom 200cc (motorbike) which is my first two wheeler in Singapore (overall 3rd one). Over the years, I get a lot of general questions about owning and riding a motorbike/two wheeler in Singapore. I would like to share some information which I learned after started riding here, which (I hope) will help a foreigner start riding in Singapore.

Pros & Cons
Before going to the details, here are some of the pros and cons of owning a two wheeler in Singapore.

The Good: Convenience & Cost Effectiveness - Even though Singapore boasts one of the best public transportation systems in the whole world, it can get really crowded during peak hours. During after hours, there is no public transportation at all when one has to depend on taxis which can get super expensive. Depending on the distance travelled, public transportation can sometimes get costly also. Having a two wheeler eliminates all of the above obstacles like long waiting periods for a bus or avoiding a traffic jam (which doesn’t affect a two wheeler as much as it affects a four wheeler).

The Bad: Climate - Since Singapore is a tropical country, it can rain anytime and it’s almost impossible and extremely dangerous to ride in rain. Fortunately, the rains here don’t last long.

The Ugly: Fatality - One small mistake can lead to far more serious consequences.

Getting a license
There are three classes of licenses to ride a two wheeler in Singapore.
1. Class 2B – To ride a two wheeler up to 200cc
2. Class 2A – To ride a two wheeler up to 400cc
3. Class 2 – To ride a two wheeler more than 400cc

To start with, one has to get a Class 2B license. To get a 2A license, one has to be a class 2B license holder and should not have more than 12 (traffic) demerit points for one year from the day he/she gets the 2B. (I am not sure about the details of demerit points. Also, it’s the same procedure for getting a class 2 license after getting a class 2A). To get a 2B license, one has to pass a theory exam, a test circuit (which comprises of obstacles like a narrow plank, crank course, pylon slalom, emergency braking etc) and a road test. For class 2A & 2, there is only a circuit test as you are supposed to know the basics of riding (both theory & practical road riding) already.

Before attending the test, one has to enroll in one of the three driving schools in Singapore and attend  various sessions. For example, for the 2A course, one has to attend 3 practical & 1 theory sessions. At the end of each class, the instructor has to certify the candidate is ready to attend the next class. Only after successfully completing the 3 classes that the candidate can appear for the exam. 

There is an option to convert an existing license from a person’s country of origin to an equivalent class (which I did) which will require one to write only a theory exam. For an Indian two wheeler license, up on conversion, you will receive a class 2B license. To receive class 2A & 2, one will have to go through the process described above.

p.s. Just getting a license is not enough for a person to ride a two wheeler, say a friend’s motorbike. He/she needs to have insurance for that particular vehicle.

Getting a two wheeler
One can either choose to get a brand new two wheeler or a used one depending on their specific needs. Different types of two wheelers include scramblers, sports bikes, cruisers, roasters, cubs etc. To register a two wheeler (in the case of a used one), all a person have to do is to go to the LTA office in Sing Ming Avenue with the owner (or his/her ID). It takes only around 5 minutes to complete a form and pay the fee.

General Tips & Information
Renewal of road tax & insurance, getting the vehicle inspected from an approved inspection center, routine maintenance etc are some of the other procedures which comes as a package with owning a two wheeler.

More information about owning a two wheeler can be found in the following links
http://www.singaporebikes.com/forums/showthread.php/164254-RE-quot-Help-me-choose-bike-pls!-quot

If you find a mistake in the post or if there is any critical information missing, please leave a comment.

Compassion


I watched this commercial for the first time, around a month back, when my friend shared it in Facebook. It was after my dinner on one of those hectic days, when all I wanted was to get my mind off everything else. So I was lazily browsing FB and I clicked on this video. At first, the music caught my attention. It was slow and relaxing. Slowly, the commercial got my full attention. By the time I finished watching it, I realized my eyes were filled with tears and I felt heavy at heart.
At first I told myself, “It’s just a silly commercial, you will grow over it”. But every time I watch this, it feels heavier.
Here, I am talking no more, decide for yourself!


“There are no perfect fathers, but a father will always love perfectly”


“When life is full of misery, what do we do most?”

Expedition to a Volcano

“…Isn’t like that?” my colleague asked me.
“Uh! Umm, I think so”, I replied, even though I had no clue about what he was talking.
He understood it. “Hey man, you are not listening, where are you, actually?” were his next words.
He was right, I was not there. Even though its almost a week since my last trip, I was finding it difficult to get back to the ‘real world’.
It all started when we (me and my better half) figured out that our ‘party stocks’ are nearing its completion. In order to stock up in ‘large volumes’, we needed access to the duty free shops in the airport. That’s when our friends Jaiwin & Aneesh told us about a trip, some of their friends were planning. “A weekend in a ‘not-so-heard-about’ place in Indonesia with a bunch of ‘not-much-known-before’ people” – that pretty much summarizes our impression about the trip. ‘Never-say-no-to-travel’ being our motto, we immediately signed up for it. It turned out to be one of the most memorable trips in our lives, both because of the place we visited and the new ‘company’ we discovered.
As the trip dates neared, I wanted to get some information about the previously unheard location - Bromo-Tengger-Semeru National Park, East Java, Indonesia. Wikitravel writes, “If a landscape was ever needed to demonstrate the meaning of the phrase desolate beauty, then this is surely it. Rugged, barren volcanic peaks, gravel plains and that sea of sand, truly unworldly” and it’s true to every single word. The main attraction is to watch the sunrise from Mount Pananjakan with the active volcanoes Mount Bromo & Mount Semeru and the Mount Batok in the back drop.
We started from Singapore around 8pm on a Friday and reached Surabaya airport around 11pm local time. Special thanks to our trip organizer - Balaji - and the location specialist – Ajay – for arranging everything. We started our journey to Mount Pananjakan right away as we wanted to be there for the sunrise. We had to change to 4x4 jeeps in between, which took us to the view point just in time for the sunrise. Even though a small crowd was already there, we managed to find a good spot at the tip of the view point.

Both the pre-dawn sky and the sunrise were breathtaking experiences

That’s us, with the mighty volcanoes in the backdrop

After the sunrise, we began our journey towards Mt. Bromo

We traveled through the Sea of Sand (literally)…

…towards the Poten Hindu temple which is the gateway towards Mt Bromo’s crater

From there, we climbed for around an hour towards the Bromo crater. This is not a place for anyone who has problems with dust. As the atmospheric temperature rises, heavy sandy winds mixed with volcanic ash makes you somehow want to get out of there.

But the raw beauty of nature makes you want to stay even more. If you are lucky enough, you can witness the mountain puffing out volcanic smoke from it’s under belly.

By the time we reached back the bottom and back to the ‘base camp’, we were extremely tired and hungry from to the lack of sleep and the trek/travel. After some ‘light refreshments’ from a nearby shop – after which, the shop was closed for the day - we started our journey back to Surabaya where our stay was arranged.
After checking in and some initial rest, we all got together at the infamous ‘room 231’ where later we all took the ‘oath of secrecy’ that whatever happened there, will be buried with us in our graves.
The next day we explored Surabaya town. We visited the Semporna museum where the major focus is given to the influence of tobacco in Indonesian culture.

We also visited an old church (I am not very sure of its significance)

After that, we pretty much walked around the town on our own, taking photos and enjoying the company of the locals. We headed back to our rooms before very late as we had an early morning flight to catch the next day. (What happened to all of us that last night also comes under our ‘oath of secrecy’ and is still a ‘highly controversial’ topic)
Next day, we boarded our flight back to Singapore, with our newly made friends, the still fresh smell of the volcanic ash and with the satisfaction of having known one of the most polite people in the whole world. No wonder, even after one week, I am unable to find my ‘balance’ with the so called ‘real world’ life!