How to start locale settings activity on android from command-line

A useful and handy command specially when you during experimentation, you are stuck because of a changing language settings to an undecipherable foreign language. Bash 1 2 3 adb shell am start -n \ 'com.android.settings/.Settings\$LocalePickerActivity'

Book summary: The Last Lecture by Randy Pausch

Some salient notes from the book If there’s an elephant in the room, introduce it. Even if you are in the position of strength, be fair. Have something to bring to the table, people would be more welcoming of you to join in then. Get the fundamentals right, fancy stuff does not work without that. When you are screwing up and nobody says anything, they have given up on you (that’s a really bad place to be)....

Android, Gradle and compile-time only dependencies

Android plugin for Gradle does not support Java-style compile time only dependencies. After spending a few hours on trying to build android app targeted for Amazon SDK (without using Amazon’s Android specific plugin but just their jar stubs for maps, ADM and Home widget), I finally found that the one way to support compile-time dependencies is following. For application project Groovy 1 2 3 4 5 6 7 8 9 10 11 12 13 configurations { provided } dependencies { // ....

A walk in San Francisco

“Give me your wallet, bro” he said in his heavy accent while holding a gun to my forehead. It seems, out of pure curiosity, I have walked into this shady neighborhood of San Francisco. “Pull out your wallet,” he shouted, “and count the cash,” this time bringing my full attention to him. I pulled out my wallet, carefully counted all the nickels, pennies and dimes and said, “13 dollars, 59 cents, and one Indian Rupee”. “That’s it,” he blustered at the peak of his voice while I stood sweating profusely on a chilly night. He was not amused and pulled the trigger.

Book summary: Only The Paranoid Survives by Andrew Grove

The book talks about inflection points which if not handled carefully, are drastic (10x) enough to put a company out of business. Something changed In 1994, Intel’s Pentium processors suffered from a floating-point bug. Surprisingly for Intel, once the consumers became aware of the bug, rather than reaching out to manufacturers, they were calling Intel directly. It became obvious at that point that Intel has become a household name. Even though it’s selling to enterprises, consumers think of it as a consumer electronics company and have the same expectations of customer service.

A visit to Gadar Memorial in San Francisco

Getting Inside After getting misdirected once to 436 Hill St, San Francisco which is the old original address which does not exist anymore, I eventually reached 5 Wood St, San Francisco. It was the time of sunset, I knew I was late, but finally, it felt good to see a nondescript apartment marked “Gadar memorial”. Least, I expected locked doors. I did not drive 40 miles to stand in front of this locked door....

Book Summary: So good they can't ignore you (why skills trump passion in the quest for work you love) by Cal Newport

The book is an excellent collection of rules which the author discovered while finishing his Ph.D. and transitioning into a full-time faculty position. Working right trumps finding the right work.

Book Summary: The Innovator's Dilemma (when new technologies cause great firms to fail) by Clayton Christensen

The book presents Clayton’s counter-intuitive thesis on how firms with good management practices and a sound understanding of their customers’ needs eventually fail at disruptive innovations while still succeeding at sustainable innovations. The book emphasizes that its not engineering but management oversight that leads to the demise of incumbents in the face of disruptive innovations. One-line summary: At some point, the incumbent’s product’s performance exceeds the demand of most customers. Then the “edge” that these performance metrics provided is lost, and the customers’ value proposition changes. They start valuing some other metrics, along which a disruptor’s product has better performance. The disruptor has an early mover’s advantage as well as leading to the demise of the incumbent. The following are the salient ideas raised in the book.

Thoughts on Bitcoin (part 2)

Here is a summary of things that have happened since I wrote the previous Bitcoin blog post.

Book Summary: The Education of Millionaires by Michael Ellsberg

The book emphasizes heavily life education, glorifies college dropouts, and questions college education except for specialized fields like law and medicine.