Posts

Showing posts from October, 2011

RE: Android Orphans: Visualizing a Sad History of Support

Image
A very good summary about Android environment. Very well summed-up and visualized the two rival ecosystem.

Root of problems - Hardware Manufacturers

Android suppose to be an open source project.By the default nature of an open-source, it is bound to lure all the hackers around the world to get their hands dirty on the project. Yet hardware manufacturers tries very hard to be in control of both the hardware and the software (firmware).
".. there’s no incentive for smartphone manufacturers to update the OS: because manufacturers don’t make any money after the hardware sale... The hacker community (e.g. CyanogenMod, et cetera) has frequently managed to get these phones to run the newer operating systems, so it isn’t a hardware issue." Despite realizing that they can't make money after hardware sale, and they are resource tight to keep up with the pace of the OS development, they still want to be in control. They even demanded takedown of the roms [1], which the hackers used…

isChromeWebToolbarDiv

Got this weird error of browser (Chrome) changing ajax/json data passed to server. This "isChromeWebToolbarDiv" DIV was appended at the end of the call.

<div id="isChromeWebToolbarDiv" style="display:none"></div>
This question has been brought up in stackoverflow. http://stackoverflow.com/questions/7074334/what-ischromewebtoolbardiv. But so far there is no answer to it.

Update:
As expected, its caused by one of the Chrome/Firefox extension, mentioned in http://stackoverflow.com/questions/7074334/what-ischromewebtoolbardiv. I guess next time whenever someone (or your customers) faces this issue, just ask them to disable extensions one by one.

[DirectAdmin] Clear Frozen Mail

Using Script to clear mail

#!/bin/sh
/usr/sbin/exim -bpr | grep frozen | awk {'print $3'} | xargs /usr/sbin/exim -Mrm


Set cronjob in DirectAdmin
/bin/sh /home/<user>/domains/<url>/cron/exim_clear_frozen.sh

Put cronjob in
/etc/cron.daily


References:
[1] http://www.directadmin.com/forum/showthread.php?t=24018
[2] http://help.directadmin.com/item.php?id=112
[3] http://www.directadmin.com/forum/archive/index.php/t-23849.html