Tuesday, January 13, 2015

Trip to financial capital

And here comes the end of Mumbai journey. Not my first trip to Maharashtra, but my first trip to Mumbai. Unique in many ways. Well to start with, this is the first trip I actually went through my state (Andhra Pradesh) without getting down. Its the first trip with very few friends. Its my first trip to financial capital of India. And many more firsts......

Been to Delhi before. Hence this is not the longest trip. This is not the trip to biggest city as well. Regardless its damn interesting. Actually wasnt sure till we boarded the train that we will continue with the trip since lot of friends had to drop due to various reasons. At one point even I decided to drop! But somehow we made it. Booked the cab, reached railway station and was waiting for the train - my favorite mode of communication. All set for celebrating new year in new style. Boarded the train and It was a plain train journey, mostly same as usual till we reached Khandala. I knew this name before. Its there in some tollywood movie. Got excited by it. But whats more exciting is the next moments. The train started moving through Western Ghats, the beautiful ghats I have ever seen so far. At once I remembered of my fav fav fav Goan trip. Tunnels, Hills, Curves, Trees, Scenaries ... Wooow! That's the route. That's the welcome Mumbai gave us at the first shot. It wasnt as awesome as Goa, but neverthless its awesome. Actually Before this, train reached Pune. I was expecting to see a big station. But it wasnt that big. Its normal. So shifted my expectations to Mumbai. Waiting to see a bigger station there. The train finally reached. Almost on time. For some good reason indian railways started running on time. How awesome it is if trains run on time. Isnt it ? :) Around 8:30 PM Chatrapathi Shivaji Station came. Even the name is damn awesome. To my surprise, no one is on the platform. Literally noone! I didnt believe its Mumbai since even my small home town would be more crowded and was expecting a lot lot lot of crowd in station. Thanks to Bollywood movies ;) Hence Checked with fellow passengers for confirmation and was told it is the Mumbai station. Got down and realised that its platfom 17!!! Damn its platform 17! Can platform 17 even exits. Wouldnt have believed if some one had said before. Now it makes sense why crowd was little less here. Come on, we cant expect traffic at each and every platform. Atleast not on platform 17. Got down and came to local trains platform. Maaaaaan the station is awesome. Damn awesome! Hanging bridge , nice interiors, playful crowd. Here it is ! Welcome to Mumbai. My friend told me that outside view would be awesome. Went out and saw. Its beautiful, very beautiful. Its inspired from Paris it seems. In lights, its very colorful. Took some snaps and came inside. Truly saying interiors are also good. But The best thing I liked is the local trains transport just like Delhi. It makes life a lot easier. Took a train to Dadar. From there to Thane. From there to Raballe. Waiting for fun times ahead.Finally after a long long journey reached friend's home. Its in Navi Mumbai. Got ready and started for new year celebrations. Since its very late , we first headed to dinner. From there thought of going to Marine drive. Heard it will be awesome during new year with full of lighting, fireworks. But dinner got delayed and transportation ceased. Hence had to drop off those plans to marine drive and celebrated new year at dinner place Zaffran hotel instead.....

Day 1 :  Theme is Temples. Got up next day morning. Though not a very good temple lover, heard that temples in Mumbai are very good. Hence started with Siddhi Vinayak Temple at Dadar. Have to start with Lord Ganapathi who is the most famous god not only among Hindus but among Mumbai as well. Isnt it ? :) Coincidentally its not just new year, its vaikunta ekadasi - a very sacred day for hindus as well. As expected the crowd is huge. Its damn damn huge. Its sooo huge that we can see only crowd and not temple. The queue is that huge. Almost gave up, but then thought we will give it  a try. Hence went inside and luckily god showed us a way. There is a small opening which none noticed which is a bypass to Queue ;) Since we are guests of Mumbai, didnt feel bad to bypass it ;) Joined the queue, worshipped the god in the crowd and finally came out. It was a very good experience. On a new year, first thing, that too in holiday trip went to temple. Felt sooooo good :) It became afternoon by then , so naturally , we started searching for Lunch. Here comes Zomato app. Found some prakash restaurant and had nice nice Maharasthra Lunch. It was very good. Zomato rocks! It helped us. So returned the favor by rating the restaurant so that others can also discover it. In case you went to Dadar, dont miss it especially if you are a vegeratarain ;)Must try puri, Saghudhana vadi. KothMiri vadi, piyush are also very good. Finally after having a nice lunch, came out. 

Three things you notice in Mumbai everywhere are roads, kaali pelis, buildings. Roads - They are damn damn damn good ! May be crowdy but very good! Loved them the most! Next kaali pelis . Being a  Blrian never thought autos/cabs every run by meter. But here they do! They provide a nicer way of transport other than local trains. Finally buildings. Oh My God! They are big, very big! Blr is nothing compared to it. Every I can see tall buildings. So after having lunch went to Hazi Ali. A mosque on beach. As usual lot of crowd. Place is good but its not properly maintained. Everywhere its garbage. Till now thought Hindus wont take care of their places nicely. But now realised even Muslims are same. Btw Just to add here, I am an Hindu Indian and I dont mean offence to any religion here except sharing my thoughts. Initially thought of going back, but then decided to go in since we travelled long to reach here. Went inside, prayed from outside and went to scenic spot. Rocks, Lots of rocks. Very nice view. From there saw the view of city. Its good. Damn good! Took a couple of shots and then headed to Marine Drive. Took a kaali peli to Gateway of India. Oh My God! Again its same beauty. Roads, buildings -  Everywhere , they are damn Good! Never thought I can see such places in India. They are just toooo beautiful. Though been to Delhi before, I couldnt experience this awesomeness every before. Went inside and saw Taj hotel. Yes its the same place where 26/11 happened. Now its rebuilt and you wouldnt notice any thing now. Took some pics and thought of a crazy idea. All of us decided to enter Taj and feel the experience. Yes, it will be very costly but want to see once. So convinced all and entered inside. Got to knew that we have to book table in advance. Hhuh! Disaapointed and left :( But yeah atleast we gave a try! Went for some deserts place and finally started walking to Marine Drive. One thing I forgot to mention here is girls. Boy o Boy , they are damn beautiful! Not as hot as in Delhi, but they are good ;) Didnt see many but saw quite a few . Seeing them, we walked to Marine Drive. Wow! Wow! Wow! Its amazing. Simply amazing is the marine drive. Its exactly like the one shown in movies. Roads, Rocks and beach. Its very nice ! Jealous of Mumbai. Whenever u feel low, just come here, talk a walk, you will feel amazing. Needless to say , dont miss it . Walked for some time and then went to the famous place for Dinner. Heard that place will be open 24*7. Its the famous road where even ppl in BMWs come and eat road side food. Hence thought of tasting it. Actually was expecting a loooooong road with lots of vendors on road but it wasnt exactly the same. Its a small road and few shops. Went to Bade Mewah and tasted some rolls. They are good. But more importantly one more famous place is explored ;) Now I can also brag :P After having dinner, finally started back home.....

Day 2 : Theme is food, transport. Speaking about transport - One thing not to miss in Mumbai is local train experience. Since Mumbai is a hugeee city, crowd is very high, local trains are must. You have to experience it for sure in case you went to Mumbai. Crowd will be sooo high that you dont have to board train or get down. Just stay at a place. You will be carried away by crowd! Its that heavy! Always carry a local train map in your mobile. It will very handy. Went to Chembur to experince Mono rail trains. Read in news that it started recently. So went to it. Just like Blr metro its small. Very small. Mostly looked like a tourist spot than transport just like Blr. In this case Delhi is the best. Simply the best and nothing can beat it. Metro, Girls - Delhi stands apart from other cities by a fairer margin. The train experience is good. Went through some huge huge buildings, IOCL - large large refinery and other places.

One more thing you will definitely see in Mumbai is the disparity between rich and poor. There are as many poor ppl as there are rich! There are as many slums as there are sky scrappers. Its difficult to believe but thats the case. Tooo many slums around tracks and hence naturally at some places garbage is very heavy. Felt soo bad at seeing the state. Hope one day slums will go away and all of them will live dignified life and tracks become cleaner. So after transport went to Yo King restaurant for sizzlers. Heard the name before but didnt taste it till then. But guess what sizzlers are very good. Must try if you didnt before. Completed lunch and headed for shopping. Heard that Povai (Gallerium) is very good for shopping. Hence went for it. Its very near to Mumbai IIT, the dream place for many parents in AP ;) It took around an hour to reach there. Again I was stunned by its beauty. Apparently it was  a dumping yard earlier. Someone took it and turned it into this beautiful place. Tall Tall Tall buildings, Beautiful roads, hot hot girls. Again couldnt believe this is India! Bought some gifts and started eating junk food. Btw finally bought a decent looking case for my Nexus ;) Gift collection is very good here. You should definitely try (abhraka dhabra shop - 46 or 49). From there did some road side shopping for gifts. They are really nice! Just eating , shopping, staring at buildings, hot girls. Thats it, did nothing else. Even if you dont see them, they will make you see them. Thats the power of Mumbai ;) After tirelesss, endless staring, eating started back to Marine Drive again. Its that beautiful , worthy of watching again. And its a nightout day. Decided to spend whole night at Marine Drive. Went to chowpathy. Its near Marine beach where lots of sand is present. Its very calm, hardly any tides are present. Its very well maintained. Got mats for rent and rested there. Haaaaa thats life! Near beach, in sand, exploring view of city, ocean. Can spend hours doing that! Did some crazy things there . surprise . surprise. and stayed till its closed.  Had some food and came out.  Again time for some craziness. Saw two weddings near by.  Inspired by movies, thought of crashing the wedding. Since not every one agreed, we few of them went. After going there we realised its muslims wedding. Ahhhh! Too difficult to crash into! So couldnt enter and instead stared at some hot cars/girls :P and cheating other friends that we actually crashed the wedding. After having lots of fun, we were back to Marine Drive. Unlike Blr, Mumbai have a night life. Even at 1 AM in the morning, you see lot of ppl on roads. Hence loved it and started walking. Same things again, staring at girls, walking on roads till early morning. Around 2-3 AM police came and drove us out but somehow we managed. Had some late night foods - Vada pav - the most famous food of Mumbai and started walking again. Finally at the stroke of 4, we headed back to local train station to reach home

Day 3: Theme is exploring the poshness of Mumbai. Another friend joined. Last day in Mumbai.  First went to friends Reliance office. Damn its soo big! Its like a biggg entire tech park in Blr. But its just reliance office! Enjoyed food there started to Badra. Its the most posh place of Mumbai it seems. All khans - Sharurukh, Salmans. Hence its needless to say how posh it is! Went there and again amused by roads, buildings. Went to bhadra fort and just like marine drive its also damn Good! Dont miss it.  One thing I liked here is all these places are well maintained and free of cost. Literally its free of cost! Unbelievable! Isnt it ? :P . Also one thing in Mumbai is you can get things for 10 bucks and 10000 bucks. Its upto you how much you want to spend for a give item. Coming back to fort, beach - View is awesome here. Lots of rocks. More of a ocean with tides hitting you. Really enjoed the place. Especially the Mumbai view and sky links. Its just like Loss Angels bridge. Never know/heard that exisits in India. After spending some time, started to palladium mall - the most posh place in Mumbai. Through sky links, drive is awesome! Very very awesome! Its fantastic. Welcome to Mumbai 2.0 Its a different place. Its not India for sure. Its something different. Its just too beautiful . At some places there was Goan touch - buildings and roads but widely different. After one hour travelling reached palladium mall. Yes, the most costliest mall I have ever seen. And more than anything else, its the girls that catch your attention. Honestly speaking, I dont stare at girls very much , but this is different . Completely different. You just cant take your eyes off. Simple. Its that simple. Be it ambience, be it make up, be it richness, be it poshness. They loooked damn damn hot. Felt like being 
in a different world. After bird watching, had to go to standup comedy show. Its first time in my life. Its ok . Mainly Non-Veg jokes. Non-Veg jokes is the new comedy. Even there its the same thing. Girls Girls Girls!!!! Out of all, there was one girl who stood apart. She is very pretty. Soo pretty I stared at her multiple times till I got to know she is getting married soon. Haa bad luck :( What to do , thats life :( Unfair :P Actually the most pretty thing in her is her face, smile and her tooth. Its exactly like my little girl's ;) Comedy show ended and came out. All girls whom we saw earlier came to comedy show! Something we didnt expect! And most of them we saw from far are very good. But after the comedy show we saw them closely. They werent that good. We can see layers and layers of make up and some layers are coming apart. So , not all pretty girls are pretty. Learnt the hardest part of life and came out ;) Well its both good and bad ;) Isnt it :P Had some chinese dinner and reached home quietly. Took train next day morning and started home. Nothing much interesting except the face of a cute kid!

How cute and beautiful are muslim kids ;) Some different glow to say. Not sure why, but they do have! She was there for 10-20 mins hardly. Before leaving, just said bye to her and started writing this story.......

Sunday, October 5, 2014

Developing Gnome Shell Extensions - 3.12

Gnome shell is gaining more and more popularity these days. Its beautiful, modern and very productive. If you haven't tried or used older versions of gnome and left it, wait no longer. Install it and try. Its a bit cumbersome process but trust me its worthy to try.

One of the core functionalities of gnome shell is its extension support. You can write extensions in Javascript and publish it to extensions store. Lots of extensions are already present and you can try them straightaway.

Then comes a time, when you want to write one for your needs. So you try to search online to start and end up disappointed because documentation is either not present or outdated. If you are falling under same category, read on, this post is for you.

Good introductory post . Important Note - Don't try to start from new extension. Try to use already present extensions and modify them.

A typical example of getting data from API, parsing it and displaying it  (Disclaimer - Yes its my own extension). I developed this extension using this (for XML parsing) and this (base core of my extension)

The above example uses XML Parsing. In case you want JSON parsing, here is one

Small blog about notifications (add const MessageTray = imports.ui.messageTray) at the beginning of the file. Another example of pop menu and on click runs commands from command line.

Few debugging tips

Stay tuned for more updates!

Saturday, July 19, 2014

Little Crazy Afternoon

Lovely pleasant afternoon it is :) Had nice lunch - not heavy but decent and came back to apartments. Awesome weather, beautiful trees and nice breeze made me step towards the pool. Being decided to stay away from virtual world to live in a real world, walked towards children park which is empty - after all its still an afternoon. Took out my thoughts from my brain and started solving a few problems. Then came 3 girls. Little cute girls. One naughty cute girl and two sisters equally naughty. Little introductions followed but as usual don't remember their names.  But when I asked about their school, they told and felt very bad. Yes it is the same school in which that crime happened sadly few days ago :( But they immediately switched the topic and started playing. Apart from that little intro, they didn't come to me much as they appeared a bit reluctant. They started playing merry round. And me too just turned around to try going back into my world. After being for a few mins finally, they decided to play with me in their own style through  beating me and calling me uncle ;) But whatever kids do is fun. Isnt it ? SOooo innocent, cute, beautiful little girls! What can I say ? Nothing except that I requested them to call me bhayya which they rejected straightway unanimously! But I don't want to be a uncle. Atleast not now! So started calling them aunties. They smiled, shouted,  ignored and continued playing. After a bit while, the cute girl ordered  me to start rotation. Me being a bit scared pushed them slowly and they didnt like it and started shouting me to rotate quicker. And I obliged. They liked it and acknowledged it through their cute smiles. Rotated for some time and went back to my problem solving. They too left me alone for a while, played themselves and again started calling me. I went again, played with them for some time and came back again to my place. This went on for some time till I decided to take a break. Not a break from problem solving but from them ;) The cute girl ordered me to push again. I requested her for a break. Till then , she was smiling and having fun with me. The moment I said that, she turned angry and left ! Not able to see her angry went back and rotated again. Again the same thing followed till I finally decided to leave. So asked them to give some poses for pics which they readily gave and finally started walking back. Just before leaving , asked their names again though I was pretty sure that I wont remember. But surprisingly,  the girl who ordered me till then started whispering to other girls not to tell their names. Felt slightly sad but then smiled and started walking back. Walked for around 20 feet and then suddenly I heard a bigggg shout! The cute girl is running towards me. She came to me, asked my name and told back her name, shook hands with me and said bye and left towards her friends to resume her play :) What a gesture it is. Felt sooo happy and all my tiredness went away with that little gesture and then started walking back towards my room thinking

Girls are Girls!

Thursday, July 17, 2014

Installing OpenCV on RHEL 7

Most often we work on either Ubuntu or Windows. Though many other Linux distributions exist, we hardly use them. But then comes a time when you have to use those distributions and end up Googling how to do each step - especially installing non-standard softwares like math tools which is complicated even on Standard Linux Distributions. Though we come across various blogs, various solutions, most of them will be outdated and wont work on new systems. Hence In this series of blogs, we will learn how to install such softwares on RHEL 7. Lets start with OpenCV

Tools/Machines Used 

AWS - G2 instance (with support for GPU and Nvidia)
RedHat - Version 7.0
OpenCV - Version 2.4.9

Fortunately Open CV acknowledged the fact that its installation is very complex and hence came up with fairly simple solution. All we have to do is run a script and it gets installed !

1) Grab the script from here and install. As you can see this repository contains scripts for installing open CV on other operating Systems as well such as Ubuntu, Arch Linux. Thats it! Open CV in installed!

2)Now that open CV has installed lets try to run some scripts.
g++ demo.cpp -pkg-config --cflags --libs opencv -o demo
If it throws any error, its because Open CV got installed in a folder and not as system wide. No worries, all it needs is a small fix. Check this

Done! Now Enjoy Open CVng :P

Advanced Installations:

Now that open CV is installed, we can configure AWS to run graphical outputs as well. AWS forwards the data to the local machine and can then be displayed via local machine

Run a script to check if it works for you. In case graphical output doesn't work just like this we might have to install and configure X Server.

First install X via

yum groupinstall "X Window System"
In new Linux Distributions xorg.conf is not needed. Infact It wont be present as well. However in case you need to tweak few things, we can create xorg.conf and the settings will be respected. Read more here. You don't need to touch any of this file for now.

After installing Xserver still you find some Xforwarding issues, follow this  and make sure that you are sshing with -X argument. So finally you are good to go!

PS: This is a guest blog written by Richa Agrawal. You can follow her here  

Thursday, June 27, 2013

How to fix Ubuntu 13.10/13.04 issues on Dell Inspiron 3521

Due to some issues, moved from Lenovo z570 to *new* Dell Inspiron 3521 :P Sadly it has many compatibility issues :( Due to lack of time,  I am just giving you the summary of them. I shall elaborate them later ;)

Again due to lack of time, wasn't successful to set up dual boot :( Accidentally deleted windows 8 and installed Ubuntu on whole harddisk. Have to setup dual boot later. Anyways I hardly use Windows, so it hardly matters ;)

For now, lets fix Ubuntu issues.

Wireless not working - http://askubuntu.com/questions/289609/dell-3721-wifi-problem-ubuntu-13-04/289614#289614

Heating and fan issues - This is due to incompatibility of Linux with New Video graphic drivers. Due to some reasons, both video cards (ATI Radeon and Integrated Intel Graphics card) are always on. Hence laptop gets heated quickly and battery gets drained very quickly. Hence till bugs are fixed, its better to disable the Radeon graphic card or use it on demand

Fortunately for 13.10, this is very easy - Just install the latest fglrx driver and fglrx-pxpress from the repositories

sudo apt-get install fglrx fglrx-pxpress 

Now in catalyst center, disable the graphics card.

But for 13.04, you need to work a bit - 

After this fix, my battery life increased from ~2 hours to 3+ hours - though it says 4 hours :P And more importantly no more heating issues :P Fan is still rotating a bit fast but much much better than earlier

You can still try more optimizations - http://www.webupd8.org/2011/06/linux-kernel-power-issue-fix.html and http://www.webupd8.org/2013/04/improve-power-usage-battery-life-in.html

Brightness Keys not working - http://askubuntu.com/questions/162776/screen-brightness-of-dell-inspiron-n4050-is-not-changing

Suspend not working/lock screen doesn't work properly - http://ubuntuforums.org/showthread.php?t=1978290

Some minor things (for Advanced users)

Few keyboard shortcuts don't work in FF - http://ubuntuforums.org/showthread.php?t=1353231

Saturday, January 19, 2013

How to make Awoken customization script work in Gnome Shell Ubuntu 12.10

Awoken Icon Set

If you haven't heard of Awoken icon set yet, have a look at this - http://gnome-look.org/content/show.php?content=126344 . Isn't it beautiful ? Undoubtedly, Its one of the best icon sets available for Gnome! What's more awesome is that it can be customised completely! Just run the script


present in the folder to customize it. Everything will run fine but sadly you might not see any change(especially in Gnome shell). If it works, then awesome. If its not working, then read on. For some reason, it didn't work for me.As usual Immediately googled for the fix. Sadly and surprisingly couldn't find any solution. Hence gave it up. After all who will bother why an icon set doesn't work! But finally one day, after getting bored of current icons,  somehow again decided to fix it. Thus began debugging! Finally After spending a lot of  hours, I got a fix. Actually its a tweak :P What you have to do is - After running the customization script on a particular icon set, copy the folder and paste it at same location. Now select the copy rather than the original one while choosing icon set to be applied. It works! Confused ? Let me explain a bit more.

How to fix:

Say you are customizing AwOkenWhite present in ~/.icons

After running the script for customizing white icons, just copy AwOkenWhite folder and paste it in same folder (~/.icons) and rename it (say to AwOkenWhite1) . So now in ~/.icons, you must have two folders AwOkenWhite and AwOkenWhite1. Now in tweak tool, select AwOkenWhite1 instead of AwOkenWhite! You will see it working . Which means, customization script actually ran successfully. But some how changes are not getting reflected. i.e., original copy doesn't work but its copy works! Not sure if its a bug in gnome shell! If you are patient enough, debug it and drop a comment to let us know what's actually happening :)

You can find me at