OnePlus One Front

An Update for the OnePlus One

By now an update to my beloved OnePlus One phone is rolling out and so do a few fixes and some notable changes and a sense of Bloatware: SwiftKey and MaxxAudio. Is this the beginning of the end of a slick and bloatware free rom?

Just for the record: I do not have anything against Swiftkey or Waves. It is the way Cyanogen Inc. works against their initial plan of creating an easy to use and bloatware free rom back then when they were just cyanogenmod.

Java 8 JVM crash on Linux?

Those days I found another brilliant example of non working java stuff. In fact it was an ubuntu laptop running the most recent jre from sun stating:

The program 'java' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 251 error_code 143 request_code 139 minor_code 6)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

For my part I could narrow things down to swing, the UI stuff which can be worked around using a few parameters:

java -jar -Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel minecraft.jar
OnePlus One Front
IMG_20141124_135009

ccache == more Speed?

Many people, especially around gentoo linux, do think that ccache is a must-have, reducing compile time pretty much. But is that really true? How much does it really help?

Let’s nail it down with some facts:
ccache parses the compiler call to make sure it’s a single compile as it doesn’t work with linking or multi-source builds (for you nerds out there, I intentionally left out -fwhole-program). As soon as ccache is sure it’s compiling one file, the compiler gets kicked off for preprocessing and the result is saved to a temp. place. This result is being hashed with md4 and then being compared to what we have on disk. If the md4 sum is found, the compiled result is delivered back. Otherwise the compiler gets some work to do.

Continue reading