venerdì 29 gennaio 2010

Enabling port forwarding in windows xp

it might happen you need to enable port forwarding in windoze. If so, you need to change this key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
set key IpEnableRouter to DWORD value 1
More info here

domenica 3 gennaio 2010

Eclipse Galileo + Ubuntu 9.10 buttons not responsive

Dear all,
today I upgraded my linux to Ubuntu 9.10 Karmic Koala and installed Eclipse 3.5
At a first sight, everything looked good, at a second not! I initially found that I couldn't install any new plugin in Eclipse, since the "Next" button in the install procedure, was clickable but not responsive. I initially thought about a plugins handling failure (like directory permission etc..) but then I discovered all the IDE was having this kind of problems.
I finally found the solution thanks to this post fix eclipse Basically the problem is into the updated GTK libraries and in particular the GDK api, who introduced the concept of client side windows. These new feature enables the developer to use handles windows without calling the underlying X server until explicitly required. In this way the system has reduced overhead (i.e. filckering) and it's possible to implement advanced graphical effects otherwise not availble.
Ok, now the solution :)
Basically Eclipse (but it seems this applies to Acroread too) does not support this feature (it should be from release 3.6) and then the problems. A patch to this mismatch is adding a global variable:
GDK_NATIVE_WINDOWS=1
This will disable the client windows and let eclipse work smoothly