Regular Expression Support in Android Logcat Tag Filters

For a while I've been using logcat command line tools to check Android logs. Usually, the tags of my app consist of a common prefix and the name of different sub-components (I guess that's also what most apps do). And I have about a dozen of such tags. logcat, however, does not support filtering tags using regular expressions, which is a pain! After suffering for a long time, I finally decide to tackle this.

more ...

Performance Tips about Django ORM

Django provides an friendly Object Relational Mapping (ORM) framework. In several of my data analysis projects, I used Django ORM to process millions of logcat data generated by hundreds of Android phones. Here are some of the experiences and tips that helps making the processing just a bit faster.

more ...

UserWarning: module dap was already imported from None

I installed python-matploglib and python-mpltoolkits.basemap using apt, but when I tried to import Basemap using from mpltoolkits.basemap import Basemap, the following warning shows up:

usr/lib/pymodules/python2.7/mpl_toolkits/ UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path
more ...