Tuesday, May 25, 2010

Fetching Hardware ID UUID in Linux

Fetching UUID in linux can be done through dmidecode command:
dmidecode -s system-uuid

if the previous command is unsupported:
dmidecode -t system|grep UUID| awk '{print $2}'

Thursday, May 20, 2010

Android 2D development

Recently, I finished to develop 2D graphics application for android. I was surprised by powerful tools which SDK provides. The most noticable downside is that some exceptions aren't handled properly by OS and it results in more time to spend on trace/debug a source.
The profiler is pretty good and it allows to find what objects are mostly used and cache them in order to win more performance. If you are using the profiling tool don't forget to include SD card permissions in the application manifest.

Advantages:
Really liked multy-threading handling. Message object is very comfortable to use, because it contains an option to pass 2 arguments and one object so no need for extra code.

Tuesday, May 11, 2010

VMware Acquires GemStone For Building Cloud Computing Applications

Data availability across cluster
[InformationWeek] http://feeds.informationweek.com/click.phdo?i=5938291b7b048352551c51325bdf141e

[Android] 2D graphics

Recently, I've developed an application for android. Since, i used an emulator so at some point of time i have discovered that draw text on Arc/Cicrle is requiring a lot of CPU time. My solution was to cache everything on load.