Mar 18

Recently was updating my notes using Evernote from my iphone and recieved the following error:

Synchronization failed.
Unknown error u11

After searching google found a few discussions about the problems and some suggested fixes. Not all of these fixes worked, for example logging out and logging back in made no differences.

The consensus of opinion was that the root cause was html with url’s in the note, in particular strange characters in the url. This turned out to be the problem in my case and once the offending characters (% in my case) in the href url was removed the error vanished and syncing went back to normal.

Cannot say this will help everyone with this problem, but hopefully it helps someone. With any luck Evernote can fix this problem in an upcoming release of what is a great application.

written by Obiweb \\ tags: , ,

Feb 01

The Java InputStream and OutputStream class are synchronized to be thread safe. If you are using them in a single thread application, or know that they will only be called by a single thread then this is an unnecessary overhead.

To remove the synchronization you can copy the source code from the Sun classes, rename the class, and remove the synchronization from all methods. You’ll then have an unsynchronized version of the stream class to use in your application.

written by objects \\ tags: , , ,