Eclipse’s Import project from Git wizard’s finish button does nothing

If you want to import a project from GitHub or Heroku into Eclipse, you can use the Git import wizard found under:

Eclipse menu: File -> Import -> Git / Projects from Git

However for me, the wizard would refuse to finish. There was no error dialog, nothing just happened when I pressed Finish. When something like this happens in Eclipse, you should check the error log. You can open it’s view from:

Eclipse menu: Window -> Show View -> Error Log

When I pressed finish, this log entry appeared:

Unhandled event loop exception

java.lang.NullPointerException
. at org.eclipse.egit.core.securestorage.EGitSecureStore.calcNodePath(EGitSecureStore.java:86)
. at org.eclipse.egit.core.securestorage.EGitSecureStore.putCredentials(EGitSecureStore.java:55)
. at org.eclipse.egit.ui.internal.SecureStoreUtils.storeCredentials(SecureStoreUtils.java:36)
. at org.eclipse.egit.ui.internal.clone.GitCloneWizard.performFinish(GitCloneWizard.java:197)
. ...
. at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Continue reading

Heroku.bat giving ‘The system cannot find the path specified’ on Windows Vista 64-bit

UPDATE: This issue has been fixed now!

So today I created an account on Heroku and downloaded the Heroku Toolbelt for Windows. The installer seemed to work very well but on attempting to run the heroku command I got an error message:

C:\>heroku
The system cannot find the path specified.

After some digging around I found out that this is a problem in the batch file Heroku uses to start Ruby, heroku.bat. This batch file is trying to determine the path to Ruby but for some reason is failing on Windows Vista. I managed to get it to work by adding two lines that solve the issue on Vista and (I think) won’t break other systems (Windows 7). Here is the fragment that I changed, with the lines I added marked:

Continue reading

Active vs Passive 3D Myth

UPDATE: I revisited this subject because the comments on this post made it clear there was still a lot of confusion on this topic. Read the clearer explanation here.

I’m interested in 3D technology and lately there have been a lot of interesting developments. One of the most promising new 3D technologies for the home is imho the kind of passive 3D technology that LG and others are introducing to their new screens where the screen itself is taking care of delivering the images for the left and right eye to the separate eyes, instead of the glasses. This technology is called passive 3D because the glasses are simple passive polarized lenses, instead of battery powered active shutter glasses.

Active glasses (back) shut out each eye in turn, passive glasses (front) filter the light

But as sometimes seems to happen there is this myth that keeps perpetuating itself that to me seems to be blatantly wrong if you just stop and think about it for a second, but for some reason nobody does that and the myth just gets repeated over and over again. The myth is that:

“Passive 3D offers inferior resolution because the amount of display lines gets halved”

This seems to make sense at first. Only half the pixels is sent to each eye. The other half is reserved for the other eye. So resolution is halved right?

Continue reading