Wednesday, 27 August 2014

Android Emulator startup is slow

http://stackoverflow.com/questions/20051073/emulator-for-android-4-4-kitkat-is-not-starting

Unfortunately the emulator does take a very long time to load. A regular complaint amongst Android developers.
It sometimes helps if you go into the AVD configuration and modify your KitKat emulator and tick the checkbox that says Use Host GPU. This makes it slightly faster.
Also I've found that if you use the default RAM space that it decides, usually over 1000, it takes a stupidly long time, if it loads up at all. I usually set mine to 512MB, 700+MB at a push but reducing the amount of RAM that the emulator can have helps.
There is also a different emulator you can use, although it currently doesn't yet support KitKat, although they say its coming soon, I've heard quite a few positive comments.
You can find the alternative emulator at http://www.genymotion.com/

Creating Custom resolutions for Intel Graphics card

Run C:\Windows\System32\CustomModeApp.exe

Tuesday, 19 August 2014

When emacs displays garbage on screen


From: http://www.nongnu.org/emacsdoc-fr/manuel/lossage.html

32.9.3. Garbage on the Screen

If the data on the screen looks wrong, the first thing to do is see whether the text is really wrong. Type C-l to redisplay the entire screen. If the screen appears correct after this, the problem was entirely in the previous screen update.
Display updating problems often result from an incorrect termcap entry for the terminal you are using. The file etc/TERMS in the Emacs distribution gives the fixes for known problems of this sort. INSTALL contains general advice for these problems in one of its sections. Very likely there is simply insufficient padding for certain display operations. To investigate the possibility that you have this sort of problem, try Emacs on another terminal made by a different manufacturer. If problems happen frequently on one kind of terminal but not another kind, it is likely to be a bad termcap entry, though it could also be due to a bug in Emacs that appears for terminals that have or that lack specific features.

What worked for me: the terminal was cygwin, setting it to something else (xterm) improved matters. I still haven't found the "best" terminal for my usecase