Tuesday, October 7, 2014

Android.. I still got it

So after a few months away from Android I'm back working on a project at Uppsala University. Of course one of the hardest parts of a project is getting the code to run on your machine. Case in point, I spend 35 minutes on adding libraries, fixing dependencies and reconfiguring android.

In detail, the main project relies on three external libraries, two of which compiled and generated their jar files in the right place, but Google play services wanted to play tough and not see any of the Android libraries. It took me a while, but you don't actually fix this problem in the build path menu, you have to go to the Android tab in the properties window.

So after a slow start I can actually start running the code and making changes. I hate to say it, but I really didn't miss Eclipse during our "break."

Wednesday, July 9, 2014

Haha Glasnost

So finishing up some lest over work from last Spring, I've been writing one of my first shell scripts to do some data analysis for me. It's been really fun and I've learned a lot. Defiantly better than counting results manually. lolz

Anyway, so I was having the problem that I had 6 tests show up positive for traffic shaping, and when I was going into more detailed analysis I realized that I was actually dealing with 7 records. So I was quite frustrated. How could I be counting 6 results and then somehow have 7?

After a little "#!/bin/bash -x" and 20 minutes later (picture enclosed) I realized that one result file could yield up to three different types of positives. Ahhh.... Sweet, sweet Eureka!