J2ME String en/decoding

2010-03-23 02:10:26 by Luca Tagliaferri
Today we found out that few J2ME mobile phones were showing very poor performances when dealing with String deconding and enconding in UTF8 format. Hence we decided to check if it was possible to replace the native en/decoding functions with other optimized ones. The results are the ones shown below while the functions used for encoding and decoding can be downloaded here. As it can be seen in one of the cases the performace gains are impressive.

 

Test / time (ms)First phone (with native functions)First phone (with optimized functions)
Test 17360270
Test 216477372
Test 37486327

Second phone (with native functions)Secondo phone (with optimized functions)
Test 1262133
Test 2369122
Test 3372

202 

 
 
 

Visual studio 2005 plugins and Vista

2008-06-12 17:28:31 by Luca Tagliaferri

Vista is a new challenge every day but this time putting together Vista + Visual Studio 2005 has been really a pain. After, hardly, succeeding in making them talk together I faced many problems when installing many plugins I have used for years.
For many reasons Visual Studio plugins have strange behavior sometimes when installing with Vista: one example is GhostDoc that I have used  effectively for years. After a day spent to try all the workarounds like this I found out that this and many other plugins were put by the installation procedure in this folder:

C:\ProgramData\Microsoft\MSEnvShared\Addins.

The plugins started working again as soon as I put manually the plugins that were positioned there it in the correct folder that is this one:

C:\Users\MyUser\Documenti\Visual Studio 2005\Addins

 

Java Remote Debugging 2

2008-05-14 16:30:40 by Luca Tagliaferri

Even if I usually prefer .NET with respect to Java I must definetely say that remote debugging in Java is far easier than in .NET. On .NET remote debugging relies on DCOM which is always a mess to configure and employ.

Italian configuration file for Visual Studio GhostDoc addin

2008-03-13 10:34:05 by Luca Tagliaferri

 

I found GhostDoc very interesting and since many times I am requested to produce italian documentation (and maybe many other italian programmers as well could) I decided to produce an Italian transaltion for the configuration file. This configuration is intended to help in producing italian comments (as much as possible).

The file can be downloaded here: italian-doc.cfg

Of course any kind of suggestion is accepted!