Saturday 14 June 2008

Property prices in Colorado (Denver) and L.A. (California)

L.A. is pretty expensive, from what I have seen it is as expensive as London with prices around 400.000 for 1 bed flat in Santa Monica, Denver in Colorado on another hand is quite cheap, you can buy 1 bedroom flat for 120.000 american dollars. It makes me think that Poland is pretty expensive nowadays with prices around 100.000 american dollars for 1 bedroom flat in Szczecin!

Wednesday 11 June 2008

GWT Login applet

Thanks to my colleque from one of my previous work places I found out that the company I used to work for (NCDC) has recently open sourced a very nice GWT module. The module is very similar to gdm start up screen where you can select a user from a list and then you enter the password and voila you are logged in. This module has been released under Apache license so you can use it in a commercial project.

I am experimenting with this module because it is a perfect fundation for a set of GWT projects that I am expected to deliver for Shopzilla Europe in the next couple of months. In fact, I was thinking of writing something like that myself! I would probably struggle to convience my manager or a product manager though. Thanks NCDC chaps! In case of my application the major focus is to make sure it works with our Active Directory LDAP server, because our users hate to have different logins and passwords for different applications. This module (ncdc-web-login) does not provide LDAP authentication but I was told that there are plans to open source services like that as part of this or a different project. A really nice bell and whistle is that the widet (GWT module) supports avatars from LDAP server based on photo thumbnails! awesome!

Address to the project: http://code.google.com/p/ncdc-web-login/

Tuesday 10 June 2008

GWT problem and solutioon

I started to investigate GWT and I stumbled across a problem immediately with hello world application.

While trying to run Hello-Shell I got an exception:

mati@mati-ubuntu:~/local/gwt-linux-1.5.0/samples/Hello$ ./Hello-shell
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /home/mati/local/gwt-linux-1.5.0/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at com.google.gwt.dev.shell.moz.MozillaInstall.load(MozillaInstall.java:190)
at com.google.gwt.dev.BootStrapPlatform.init(BootStrapPlatform.java:44)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:355)
mati@mati-ubuntu:~/local/gwt-linux-1.5.0/samples/Hello$ mati@mati-ubuntu:~/local$ #

After few minutes of blogging it turns out that on Ubuntu 8.04 you have to install an additional package:

sudo apt-get install libstdc++5

that have resolved my problem!