Cool things I read this week (23-Nov-2014)

I read. A lot. And I share the five best things I read every week. This week’s topics include bugs, bug seeding, Python, Seinfeld videos and a much needed new service. 1. Ubisoft bugs 2. Bug seeding 3. Parallelism with Python 4. Seinfeld and economics 5. A much needed service My notes: 1. Ubisoft bugs Wow! Apparently Assassin’s Creed has […]

Cool things I read this week (16-Nov-2014)

I read. A lot. And I share the five best things I read every week. This week’s topics include US immigration, sub-atomic particles, thoughts on checklists, series-A funding and as usual a cartoon that hit home for me. 1. Obama’s executive order on immigration 2. Subatomic particles found at CERN 3. James Christie expanding on checklists 4. Surviving a series […]

Android unit testing: Android testing framework and Robolectric

Problem: There are not many good tutorials on Android unit testing Android applications are written in Java. So you probably think if you know JUnit, you can unit test Android applications. Surprise! JUnit is not sufficient for unit testing Android applications. Junit works when the code runs within a JVM. Android applications interact with the Android OS. So you need […]

Cool things I read this week (09-Nov-2014)

I read. A lot. And I share the five the best things I read every week. This week’s topics include working remote, Philae landing on the surface of a comet, Reddit’s drama at the top and some humor. 1. The responsibility Razor 2. Working remote 3. Philae lands on a comet 4. Reddit CEO resigns 5. Programmer humor My notes: […]

Cool things I read this week (02-Nov-2014)

I read. A lot. And I share the five best things I read every week. This week’s list consists of a Gerry Weinberg article on requirements, a discussion on technical debt with Ward Cunningham and Capers Jones, charging cell phone batteries, a Foxconn worker and some cool art 1. Ambiguity in stating requirements 2. On technical debt 3. Charging cell […]

NoClassDefFoundError: org/hamcrest/SelfDescribing

I hit the following issue while trying to run a JUnit test in Eclipse: initializationError The Failure Trace displayed a message stating java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing I made sure that I had JUnit 4 and org.hamcrest.core along with the Java library in my project but still faced this issue. After analyzing quite a bit, I noticed that my JRE System Library also […]

Cool things I read this week (26-Oct-2014)

I read. A lot. And I share the 5 best things I read every week. This week features an interesting take on a failure model, a Andreesen Horowitz presentation, crash test dummies, a thought provoking talk on the role luck plays and yet another org chart cartoon. 1. Crash only thinking 2. Mobile is eating the world 3. Overweight crash […]

What is NAF ?

UIAutomatorViewer is a tool to inspect and identify UI elements in Android apps. However not every UI element you see is accessible to UIAutomatorViewer. Sigh. I know. That sucks. But at the very least, UIAutomatorViewer lets you know which of these elements are not accessible. I was messing around with Appium and DroidFish secretly hoping to write an automated test […]

Cool things I read this week (19-Oct-2014)

I read. A lot. And I share the 5 best things I read every week. This week features acquisition flip-flops, a talk about scaling engineering teams at startups, a math puzzle, sleep and Superman! 1. A tumblr dedicated to acquisitions and post acquisition flip-flops 2. Stripe CTO on scaling engineering teams at startups 3. A math puzzle 4. I’m apparently […]

appWaitActivity: A new session could not be created

While exploring Appium with mobile devices I hit the following error WebDriverException: Message: u’A new session could not be created. (Original error: atpwta.live/.activity.Main never started. Current: atpwta.live/.activity.root.TournamentList)’ Initially, I had set desired capabilities to: desired_caps[’platformName’] = ‘Android’ desired_caps[’platformVersion’] = ‘4.4’ desired_caps[’deviceName’] = ‘Moto E’ desired_caps[’appPackage’] = ‘atpwta.live’ desired_caps[’appActivity’] = ‘.activity.Main’desired_caps[‘platformName’] = ‘Android’ desired_caps[‘platformVersion’] = ‘4.4’ desired_caps[‘deviceName’] = ‘Moto E’ desired_caps[‘appPackage’] […]