Scrapbook photo 1
Scrapbook photo 2
Scrapbook photo 3
Scrapbook photo 4
Prashanth Babu
Works at NTT DATA
Lives in London
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Bengaluru - Tokyo - Bengaluru - Melbourne - Bengaluru - Pune - Anantapur - Roorkee - Anantapur
Polyglot Programmer
Big Data, Hadoop Ecosystem, Java, Android, D3, JVM Languages
    2011 - present
  • Apostek
    2011 - 2011
  • Keane Inc
    2004 - 2011
  • Infosys
    2002 - 2004
Basic Information


Prashanth Babu

Shared publicly  - 
So, they start.  #googleglass  
This is mindless considering not a single soul outside of Google has ever used Glass. Yet people have started.

Nothing is or ever has been "Apple-like" about Google's products because the experience falls flat.
Mark Gjoel's profile photo
There is a point in there somewhere, but it's soaking in fanboyism...
"Google has never ​had a successful product that people pay for"
Really? No one pays for Android devices? He says himself that it's the software that does the trick, and Android sells a lot on software!

Also, who cares whether people pay for it or not? Google makes the best service in several areas, where people are used to free. Requiring it to be paid for is simply dismissing what they're creating, for no reason at all.
Add a comment...

Prashanth Babu

Shared publicly  - 
Understanding Open Source licenses is usually difficult, but this website helps in summarizing and explaining it in plain English. 
Add a comment...

Prashanth Babu

Shared publicly  - 
#Google   #microsoft  

CEO of Google:

CEO of Microsoft:

This tells you a lot about where these companies are heading!!
Add a comment...

Prashanth Babu

Shared publicly  - 
Siri vs Google Voice Search for iPhone

Best one: 
"I don't know what do you mean by Hurricane Sandy damage photos".
Add a comment...

Prashanth Babu

Shared publicly  - 
Lol!! "iOS6 -- world's most advanced mobile operating system". Now waiting to hear about Maps, Galaxy's best mapping software. #iPadMini  
Add a comment...

Prashanth Babu

Shared publicly  - 
B R I L L I A N T!!!
The Dark Knight Trilogy Explained
would love some re-shares on this one

The amount of negative reviews received by The Dark Knight Rises completely baffles me. Don't get me wrong, I do appreciate negative reviews if they actually have a point but movie-goers are basing their criticisms on plot-holes which don't exist! Was TDKR too smart for the average movie-goer? I really don't think it was.

As one user on reddit aptly put, people were spoiled by The Dark Knight; that film was lightning in a bottle that couldn't possibly have been replicated. Ultimately, people went into this film expecting something transcendent, something magical, something that would shatter every preconceived notion of what a superhero movie could be. Maybe they didn't realise that was what they were hoping for, but it was. When the film inevitably could not satisfy those hopes, it came down in a thundering cacophony of disappointment unseen since Episode I (maybe that's hyperbolic, but only time will tell). People are reacting out of grief, and a little bit of embarrassment that they could allow themselves to be so emotionally invested in something that is, ultimately, just a movie about a guy dressed as a bat.

Being a die-hard fan of Nolan's masterpiece I want everyone to see why The Dark Knight Rises wasn't just a movie about stopping a bomb from exploding. It was so much more than that and fit in perfectly with Batman Begins and The Dark Knight.

Initially I thought about writing a plot explanation myself but then I found this beautiful piece on reddit from user freedomnexttime which does the trilogy complete justice. It is a must read for any one who has seen the Dark Knight Trilogy:

"Nolan’s Batman films are often praised for how they mesh topical socio-political commentary with explosive super-hero action. Batman Begins focused on poverty vs. opulence, corruption in authority, the failure of law and order, and the nature of justice as opposed to revenge. The Dark Knight mixed comic book icons with themes of post-9/11 anxiety, the breakdown of civility and decency in the face of chaotic terror, and the question of “how far is too far?” in dealing with overwhelming threats. Finally, The Dark Knight Rises examines notions of assumed power vs. true power, the need for hope in the bleakest of times, and liberation from and revolution against the constraints of capitalist society. Although the topical nature of these three films certainly adds to their overall cinematic quality, there are a series of more personal themes prevalent throughout the trilogy, the importance of which may be overlooked in the process of viewing each film as a contained story. The core element of the trilogy-the fall and rise of Bruce Wayne – is a personal character arc defined by duality, rage, grief, redemption, and finally acceptance and ties with the evolution of Gotham City as a whole.

In order to fully grasp the true quality of the storytelling craft inherent in Bruce Wayne’s arc, one must first understand the nature of the man and the mask as three intertwined yet separate entities. Bruce Wayne is not a complete human being – there is a part of him that was ripped away the night his parents died and he has replaced that lost innocence with what Bruce and Alfred refer to as “the monster” (“I am using this monster to help people” – BB). The third piece of this persona is the symbol of Batman: the ideal that the people of Gotham associate with the name, and which in the end inspires them to act on behalf of their city. This symbol is what Bruce was originally hoping to establish, and transcends the identity of any one man.

The Bruce we meet in the prison at the start of Batman Begins is fueled by the desire for vengeance. As we learn in a later flashback, he was denied the closure and satisfaction of murder Joe Chill and so he has put himself in a position where he is guaranteed to be accosted by criminals on a daily basis; he can exact what he believes is the closest thing to vengeance he is ever likely to have. Every criminal he beats is Joe Chill to him. As Ra’s al Ghul says when he first finds Bruce, “you have become truly lost” (BB). Bruce beats these fellow prisoners out of necessity to quell the rage of his darker half; he himself takes no pleasure in the action because he already knows the truth in his heart: that Justice and Vengeance are never the same. It is this truth, learned from Rachel Dawes, that inevitably puts Bruce and Batman at odds with the League of Shadows.

Just as Bruce molds his monster into a productive force, Ra’s al Ghul and the League of Shadows aimed to mold Bruce into the figurehead of their twenty-year old plot to eradicate Gotham from the face of the earth. The League helps Bruce create the physicality of Batman and his methods of fighting crime. They give Bruce the tools to confront his grief and anger and use them as the driving force behind his developing second persona. Most importantly, they give him the will to act in the face of apathy and overwhelming odds. The rift between Bruce and his mentors forms when they also attempt to convert him to their own ideal of uncompromising justice. Deep down, Bruce has already developed a sense of morality from Rachel. He combines this with his training, and gives his monster and ideal: there is always hope, and that with dedication and perseverance, Gotham can be brought back from the brink of darkness, just as Bruce was. He gives his darker half a face and name, and saves his city from annihilation. In the wake of his victory, however, he learns two truths about what he has done in bringing Batman to Gotham. The first, from Rachel, is that the Bruce Wayne has become the mask that hides the monster. Batman is now the crutch that Bruce relies on. In using it to move past his parent’s death and save the city from the League, he has given it much more control. The second, from Gordon, is the escalation: Batman has the capacity to inspire hope and action in the people of Gotham, but he also makes Gotham a target. His presence will serve as a beacon to draw out madness worthy of fighting a man dressed as a bat. This realization is expanded upon in The Dark Knight.

The Gotham City the audience sees at the beginning of The Dark Knight is much cleaner that what we saw in Begins. Though the key figureheads of the mob are still at large and Crane’s drugs are still making a small circulation, Batman, with the help of Gordon, is making definite progress in cleaning up the city. The emergence of Harvey Dent as the public face of Batman and Gordon’s crusade builds hope in the people of Gotham. Dent also inspires Bruce in a more personal manner. When Bruce sees Rachel with Harvey, he realizes that Rachel will not wait forever for Batman’s fight to end, and so Bruce begins to look for ways to put Batman to rest so he can be with Rachel. He puts his faith in Harvey as the one who can continue the push for justice when Batman is gone. Likewise, Harvey relies on Batman to do the things that he, as an elected official and the “White Knight” of Gotham, cannot be associated with. The Joker also sees the importance of Harvey Dent as the figurative spirit of Gotham. When Harvey survives the explosion that kills Rachel, the Joker takes advantage of Harvey’s shattered emotional state and converts him, leaving a corrupted perversion of the man that once stood for hope and justice. Bruce is spared a fate similar to Harvey’s by once again relying on the monster, this time to such a degree that Bruce Wayne is all but consumed by his alter ego. However, there remains a faint shadow of the man that clings to the knowledge that Rachel had chose him over Harvey, and so Alfred burns Rachel’s letter in order to preserve what is left of Bruce Wayne. Ironically, Harvey gives in to his twisted sense of vigilante justice because he wrongly believes himself to be like Batman in taking matters into his own hands.

In The Dark Knight, the Joker is the antithesis of Batman in his own philosophy that anyone can be brought down with the proper push. Harvey Two-Face is the proof that the Joker is indeed right. As he stands over Harvey’s body, the monster (and what is left of Bruce ) realize the true nature of what they have created with Batman, and what they now must do with this symbol. Batman and Gordon cover up Harvey’s actions and allow his untarnished legacy to become the symbol of hope that Batman was meant to be because he was the hero the people believed Gotham needed, and Bruce decides to reward them for that faith. The true hero of Gotham adopts the consequences of Harvey’s actions and becomes a symbol of darkness.

The Dark Knight Rises is the conclusion to two stories that began the night Martha and Thomas Wayne were murdered: the intertwined salvations of Bruce Wayne and Gotham city. In Begins, Bruce dedicated himself to ensuring that Gotham would never produce someone like him again. In The Dark Knight, he learned that Batman would be whatever Gotham needed it to be, even if that meant standing as the paragon of the darkest depths of the city’s soul.

Despite being the longest of the three films, The Dark Knight Rises features less of Batman than the other two. The film is not about Batman; it is about what Batman has inspired in the people of Gotham and Bruce Wayne’s personal journey toward a life without his alter ego. Eight years after Bruce hung up the cowl, the legend of Batman has become infamous among the people of Gotham, though some remain stout in their belief of his original ideal of hope. However, although the essence of Batman is now beyond any one man, Bruce still relies on his monster. He has added his grief over Rachel’s death to his original grief over the loss of his parents and is unable to move on with his life. He believes that Rachel would have chosen him and so dwells on what might have been. For a time, he attempted to do good as Bruce Wayne by investing in a clean energy project that would help the world. When he learns that the reactor could be reprogrammed as a weapon though, he shuts the project down. Bruce and Batman have learned the hard way what happens with the malicious take control of another man’s tool for good. Bruce thought that Harvey Dent was ideal replacement for Batman until the Joker turned him into a monster. Similarly, Thomas Wayne built the Gotham rail system as a means to aid the people of Gotham, but Ra’s al Ghul almost managed to use that system to deliver Gotham to its own destruction. So, Bruce shuts down the project and hides away with his grief. The buildup, established over the previous two films, adds complexity to the plot of the third movie, which could otherwise be seen as a deceptively simple stop-the-bomb story.

Bane claims to be “Gotham’s reckoning.” His aim is to fulfill Ra’s al Ghul’s original plan of destroying Gotham, which the League of Shadows sees as the pinnacle of decadence and injustice, even more so now that it’s “peace” is based on a lie. Bane is also Batman’s reckoning; he plans to exact brutal revenge on Bruce for possessing the arrogance to fight against what the League of Shadows believe is the natural order of things. Bruce and the monster are lured out of retirement even though Alfred is correct when he tells Bruce that he isn’t Batman anymore. At this point, it’s not about being the symbol. It’s about indulging the monster and, hopefully, dying in his quest to save the city. Alfred tries to make him realize there is another way besides death, and that the more victorious action would be to keep on willing. Bruce created Batman as a mean to move on from his parents’ death, but in truth, Batman was only a distraction and an indulgence to Bruce’s rage. Learning to live without Batman would be acceptance of life, but Bruce doesn’t feel he can do that until he gives himself to Gotham. Even knowing that Rachel chose Harvey does not help Bruce realize how he can stop. The catalyst for Bruce’s final push beyond his pain is Selina Kyle. Bruce falls in love with her and finally has a reason to not want to be Batman anymore. Selina wants a clean slate and a new life, and she helps Bruce realize that he wants that too. He challenges her to believe in something beyond herself, as he had to do when he first became Batman. Even after she betrays him to Bane, he still believes in her because he needs redemption for the trust he put in Harvey Dent. Bruce’s inspiration eventually draws her back to Gotham, where she kills Bane and saves Bruce. Bruce brings out redeeming qualities of Selina and in doing so saves himself.

When they first meet, Bane sees through Bruce’s anticipation of his own death, (having undergone similar training), and so he breaks Bruce and throws him in a pit to rot and watch the extent of his failure. In that hell on earth, Bruce learns to embrace the basest of human instincts: the fear of death. He leaves the monster behind and rises from the darkness of the pit, now at last a complete soul. Bruce proved Rachel’s letter wrong: he no longer needed Batman. Gotham did, however, and so Bruce puts the mask on one last time. Bruce Wayne, armed with the will to live, defeats Bane at the end of the film. He only wears the mask because of its necessity to the people of Gotham.

Batman’s effect on the people of Gotham in The Dark Knight Rises is best exemplified by two characters: John Blake and Commissioner Foley. At first glance Foley’s arc could seem like an underdeveloped cowardice-redemption-heroic death subplot. When viewed against a broader context though, Foley is quite important to the theme of the film in that he represents most of the people of Gotham. John Blake was always a believer; he didn’t believe that Batman was the killer most people made him out to be, and sought him out when he knew the city needed the Dark Knight to return. John was exceptional, and for this reason he was chosen to carry on the legend of the Batman. Foley is the average citizen. He believes Batman is a villain because that’s what he was told by Gordon, the only talking witness to what actually happened. When Bane took Gotham, he sheltered himself and relied on Bane’s false hope, again because that’s what the authority had told him. He didn’t trust Gordon about the bomb because Gordon had been revealed as a liar in the Harvey Dent murder. But when Bruce lights the flaming signal, Foley is inspired with the will to act. He takes up arms, fights, and ultimately dies defending his city. Foley embodies the victory of Batman; the people of Gotham were possessed with the will to act and therefore had overcome Thomas Wayne’s failure. Foley shows what Batman was and is capable of as a legend and an inspiration for good.

By the end of The Dark Knight Rises, John Blake is frustrated with the limited authority and facilities provided by law enforcement. He did not have the means to lead the citizens to safety or stand up against those obstructing the bridge that led out of the city. After witnessing the extraordinary feats that Batman was able to achieve, Blake knows that the Dark Knight would not have let this barricade stop him from doing what was right. Blake realizes that he cannot accomplish enough as a police officer, or a detective, and gives up on the system. Thus, he makes the perfect candidate for the heir to the Batman legacy after coming to the conclusion that becoming a vigilante is not just about taking the law into your own hands, but about having a righteous will to act. In order to save Gotham, Batman did not answer to anyone other than himself. But even though the idea of Batman was always about circumventing the law to do the right thing, it was never about being above it. This entity set its own standards, and thus became more than just a vigilante- it became a true inspiration for Bruce Wayne, who worked tirelessly to devote himself to the ideas that Batman created. But how is Batman’s philosophies not influenced by the whims of this man?

Although Bruce as a man embodied Batman, it was not his choice that the legend of the Dark Knight began. The Dark Knight was never about a single man- it was always about the legend of Gotham City. Gotham created this entity the night that it stole away the innocence of a young boy, who had no choice but to give everything he had back to its citizens. If Gotham created Batman, then that means that Batman is the true representation of the city. Although the fact remains that Batman is one person, the point of the mask is that anyone could be Batman. And if anyone could be Batman, then that means that all of Gotham is Batman.

Time will be kind to TDKR, but only when people are able to sit back and view the trilogy as a whole, as a progressive story with evolving themes.

I usually don't ask for re-shares and I know it is a long article but I think this reddit user's explanation deserves to be put out there for everyone to read.

Source via reddit:
Add a comment...

Prashanth Babu

Shared publicly  - 
Awesomeness written all over. THIS is research.
Add a comment...

Prashanth Babu

Shared publicly  - 
+JetBrains guys are giving steep discounts [75% off to be precise] on all their products for personal licenses. Awesome. Whether you are #androiddev  or #Java  dev or #python  dev or #javascript  dev, all their IDEs are the best. Go for it now!!  +IntelliJ IDEA 
Add a comment...

Prashanth Babu

Shared publicly  - 
Hackernews never stops amazing me.   #nexus10   #nexus4   #android  

"Android updates are named after things you might want to eat. OS X updates are named after things that might want to eat you."
And someone finally implements the killer-feature for the "Family Tablet": Multi-Account Support: > But what makes Nexus 10 unique is that it's the first truly shareable tablet. With ...
Add a comment...

Prashanth Babu

Shared publicly  - 
Fauxboto - Amazon's Holo typeface bug on Kindle Fire


One of the most welcome but least heralded changes introduced in Android 4.0 was the requirement that hardware partners do not modify any part of the Holo themes in order to pass the Google Compatibility Test Suite (CTS). For the first time, Android developers building against API 14 or above had a base theme that they could be sure had 100% visual consistency across devices from different OEMs. Of course, no such requirement applies to manufacturers who have no interest in bringing the Google Play Store or other Google specific services to their Android based devices.

Amazon have recently refreshed their Kindle line with a 2nd generation range of Kindle Fire tablets running Android 4.0.3 and they have been made available outside of the US for the first time. Kindle Fire represents an interesting new opportunity for Android developers. Having a strong, well supported downstream implementation of Android is also great for the platform itself.

In preparing to submit an app to the Amazon app store for distribution, I deployed it onto my brand new Kindle Fire HD 7" tablet for testing. The app worked great, but something was visually quite wrong:

It may not be immediately obvious what the problem is, especially as we software engineers are notoriously bad at picking up on design details, but there is a clear lack of font consistency in the above screenshot. The familiar Roboto typeface is there in a couple of places, but alongside it is something decidedly non-Roboto (it isn't Droid Sans either - Roboto's pre-ICS predecessor). What the hell was going on? My app didn't use any custom fonts of its own and the there had never been any similar issues on other ICS devices. Roboto was purpose designed to be open source friendly, royalty free and part of AOSP so there was no reason for Amazon not to make full use of it. 

I immediately assumed I had botched my styles somehow, but even in my out-of-the-box Holo preference activity, Roboto was nowhere to be seen outside the of Action Bar:

I then downloaded the Official eBay app from the Amazon app store onto my Kindle to see if other apps exhibited the problem:

Aarrgh... my eyeballs!! Notice how particularly ugly this font is when the bold weight is applied, which introduces blurring artefacts that completely destroy the rhythm of the text. Roboto was created specifically for the requirements of UI and high-resolution screens. This font, whatever it is, clearly was not.

The next step was to create a simple app from scratch to try to establish the criteria for which either Roboto or this rouge font (which by this point I had coined "Fauxboto") was being used. Was it a scaled pixel threshold, a style property or something else entirely?

Fortunately it became obvious pretty quickly where the problem lay. Notice in the above screenshot that the Roboto typeface is used only when a textAppearance style is specified, but crucially NOT when that value is ?android:attr/textAppearanceSmall. After a quick glance through the AOSP styles.xml, it turns out that the default textAppearance value for an unstyled TextView (as well as a bunch of other derivative widgets) is indeed ?android:attr/textAppearanceSmall.

So the rouge font appears because of Amazon's implementation of @android:style/TextAppearance.Small(and its inverse cousin). Only the GPL components of Amazon's Kindle OS are open source, so I have no way to see what that implementation is. Since I can't imagine this behaviour to be a deliberate choice on their part, it must be a bug.

Fortunately the power of Android's styles and themes framework lets us fix this in our own apps. First we must declare our own styles for TextAppearance.Small and TextAppearance.Small.Inverse. We will inherit from android:TextAppearance because we know that that particular style does not exhibit the bug on these devices:

<!-- fixes for broken Holo text appearances on Kindle Fire 2/HD  -->
<style name="TextAppearance.KindleFix.Small" parent="android:TextAppearance" >
    <item name="android:textSize">14sp</item>
    <item name="android:textColor">?android:attr/textColorSecondary</item>
<style name="TextAppearance.KindleFix.Small.Inverse" >
    <item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
    <item name="android:textColorHint">?android:attr/textColorHintInverse</item>
    <item name="android:textColorHighlight">?android:attr/textColorHighlightInverse</item>
    <item name="android:textColorLink">?android:attr/textColorLinkInverse</item>

Now in our application's base theme we must redefine the appropriate attributes to reference our custom styles:

<style name="Theme.Mine" parent="@android:style/Theme.Holo">
    <item name="android:textAppearanceSmall">@style/TextAppearance.KindleFix.Small</item>
    <item name="android:textAppearanceSmallInverse">@style/TextAppearance.KindleFix.Small.Inverse</item> 

Depending upon how you have styled your application and the UI widgets you use, that small change will fix about 90% of the occurrences of the rouge font. What it does not do is fix the text appearance for any styles that inherit from Amazon's broken implementation of TextAppearance.Small (or the Holo derivative). Fortunately there appears to be only a handful these (like Action Bar subtitle, Action Bar item menu text and switch) and you can cherry pick them from the AOSP styles.xml for the widgets you are using and re-implement them accordingly.

After making these changes my app now looks like this, with Roboto font consistency and balance to the Holo theme restored. I can now focus on addressing my app's own design issues without being affected by those in the underlying platform:

I'm not aware of any formal mechanism to report bugs like this to Amazon, short of posting in their app distribution developer forums. If anyone knows someone who works on the Kindle Fire OS team, please direct them to this post. Amazon's own apps on Kindle Fire use a very customised theme (though curiously it is not a Theme.DeviceDefault implementation) so I'm not surprised that they do not exhibit this issue. However, fixing this bug will automatically make many of the 3rd party apps on their devices look 100 times better.
Add a comment...

Prashanth Babu

Shared publicly  - 
PyCon is coming to India on September 28-30, 2012. Book your tix.
Hotels page has been updated with new information. If you are aware of hotels next to the venue (Koramangala/Indiranagar/Diary Circle), please add to them in this twiki page -
Add a comment...
Prashanth Babu's +1's are the things they like, agree with, or want to recommend.

Threes is tiny puzzle that grows on you. 33.3333333333% OFF FOR A LIMITED TIME!NOTE: ART (the KitKat experimental runtime feature) it is not

Muzei Live Wallpaper

A living museum for your Android home screen. ·····Muzei is a live wallpaper that gently refreshes your home screen each day with famous wor


Learning without limits.


Udacity is on a mission to democratize education. We offer free online courses in Programming, Computer Science, Mathematics, General Sciences and Entrepreneurship. We believe in student learning by doing and having fun in the process!

AngularJS — Superheroic JavaScript MVW Framework

AngularJS is what HTML would have been, had it been designed for building web-apps. Declarative templates with data-binding, MVW, MVVM, MVC,


When you find something on the web that you want to view later, put it in Pocket. It automatically syncs to your phone, tablet or computer s

Google Search

Google Search app for Android: The fastest, easiest way to find what you need on the web and on your device.* Quickly search the web and you


The Go Programming Language

Google I/O

May 15-17, 2013. Registration opens on March 13, 2013 at 7:00 AM PDT (GMT-7). In the meantime, be sure to set up your Google+ and Google Wal


News and notes on the latest hardware from Google.

Google Chrome to Phone

Send links, maps, phone numbers, &amp; more from your Chrome browser to your phone! Google Chrome to Phone lets you easily share links, maps


Real-life sharing rethought for the web, wherever you are. Google+ for mobile makes sharing the right things with the right people a lot sim

SwiftKey X Keyboard

Android typing has never been this easy. SwiftKey X Keyboard makes typing much easier on your phone, replacing your touchscreen keyboard wit

Google Politics &amp; Elections

Google Politics &amp; Elections. Your elections hub to study, watch, discuss, participate in and make your impact on the digital campaign trail.

Google Chart Tools - Google Code

Google Chart Tools. Home; Docs; FAQ; Forum; Terms. Looking for Infographics? Pointers QR Codes Formulas. Generate Pointers, QR codes, and ot

Functional Programming Wisdom

I don’t often dedicate a blog entry to just a link, but this one is important. Important, that is, if you’re a computer programmer; in parti

Sony Xperia

Official Sony Xperia Google+ page - add us to your circles:

Google I/O 2011

The official Google I/O 2011 conference application. This application is a great resource for Google I/O 2011 conference goers. * Look at t

Carbon - App Sync and Backup

Carbon is the missing app sync and backup solution for Android. Carbon does NOT require root. All Android users can use Carbon to backup and