I tried to place Skype button on some site and found that image has specific margin. It seemed a little strange for me, as soon as my code is the following: Then I looked into the file skypeCheck.js and found the following interesting code: this.assetMargin = (this.assetSize >= this.assetMarginMinimum) ? this.assetSize : this.assetMarginMinimum; Skype, really?!… Continue reading Skype buttons size – WTF?
Category: Issues and resolutions
Android: increase number of simultaneous tasks
Number of simultaneous tasks in Android app limited by default to number of processors and cores in a device.
Netflix on Linux from outside USA
Netflix is spreading all over the world quite fast. As soon as I am using only Linux on home computers, I was worried about Netflix working properly. Quick research showed that Netflix is available native on Linux in Google Chrome. So, the problem with compatibility was solved. I checked Mozilla browser and Netflix doesn’t work… Continue reading Netflix on Linux from outside USA
MySQL database optimisation
Our database is loaded by full-text search requests. The problem was that MySQL server CPU usage was constantly about 100% with close to 0% of Memory usage. research brought me to the article Mysql full text search cause high usage CPU Among answers I found an interesting tool mysqltuner.pl Get the script and run $… Continue reading MySQL database optimisation
JAVA BATCH UPDATE/INSERT DATABASE v2
Some time ago, I wrote an article about update/insert data to MySQL database JAVA BATCH UPDATE/INSERT DATABASE since that time, I realized how this method doesn’t suit my needs. So, I got an advice from my old friend and colleague Dmitri Zutskov and used INSERT … ON DUPLICATE KEY UPDATE method. To make this method… Continue reading JAVA BATCH UPDATE/INSERT DATABASE v2