Namma Metro - Local train in Bengaluru

My trip to India has been very enjoyable and the same time quite hectic too. Meeting friends, relatives after two years plus also attended  a marriage of my cousin - which was the first Indian marriage my little Pranutha attended.

I also had an opportunity to take a ride in the newly started local train in Bangalore called Namma Metro. It was a to/fro ride from Byappannahalli to the famous M.G Road in Bangalore - a stretch of 6.7 km. We took the train in the rush hour at 7:00pm and a car drive in that time would have easily taken 1 hour where as the train took us to MG Road in sharp 12 minutes. Most of the crowd in the train were visitors like us and a Rs 15/- train ride was worth every penny. Its in par with any of the world's metro trains with all modern amenities.

Per Wikipedia, the Phase I of Namma Metro, consists of two corridors that will cover a total of 42.30 km. Currently only a 6.7 km stretch between Baiyyappanahalli and M. G. Road on the East-West corridor is operationalThe next stretch to open will be 9.9km long Reach 3 and Reach 3A. The stretch connects Swastik to Peenya Industrial Area. I just wish that the all the four phases of this Metro gets completed asap and the exponential growing traffic of Bengaluru gets a break.

Being in India's IT capital, Namma Metro has made good use of all the latest technologies like

* Wi-fi enabled coaches, internet access

* Voice communication/speaker system between passengers, driver and control centre

* CCTVs inside stations and trains

* Automatic train supervision, safety and protection that will sense another train on the same track and come to a halt

* Automatic ticketing

* Recharge of metro cards through mobiles and SMS, a first in the world

Comments 6 | Views: 9145 |

Historic snowfall in East coast

New jersey had a historic early snowstorm this year today - October 29th. Looking at the state of the roads state was obviously underprepared for the snow. But my daughter had a ball today morning playing in the snow.


She is also very excited these days as our trip to India is fast approaching. She is very eager to meet her cousins Nishu and Nishita whom she is missing a lot ever since they moved back to India this spring. This her way of telling them that she is coming there very soon :)


Add Comment | Views: 3824 |

Update value of a tinyMCE enhanced field in javascript

TinyMCE is one of the very popular editors that been used in variety of applications. If you want to give user more flexibility and options on what he enters to a text area field then tinymce is the simplest way to achieve it.

The other day I had a requirement to update one such value of a text area that was enhanced by tinymce. To starters a simple code to make all your text areas in a page to a tinymce enabled field is as below (you also need to include the tinymce javascript library in your page before this)



mode : "textareas",

theme : "advanced",

theme_advanced_buttons1 : "bold,italic,underline,separator,link,unlink,code",

theme_advanced_buttons2 : "",

theme_advanced_buttons3 : "",

theme_advanced_toolbar_location : "top",

convert_urls : false,

theme_advanced_toolbar_align : "left",

extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"


Now my requirement was that when user enters some field, I had to update the value in one of the text areas after making some ajax call. A simple field update would not work here since the field is no more a simple textarea field. After doing some research I found the following simple solution to this problem (I am using jquery here)





The above two lines of code did the trick to me. Hope this finds helpful to somebody looking forward


Comments 6 | Views: 4824 |