Photos from my bike trip through Szczecin wharves

Because of the final of the Tall Ships’ Races 2007 in Szczecin one of the gates to Drobnica Port Szczecin was widely opened and I was able to legally get inside. Drobnica Port is connected with Gryfia Shipyard, and then you can get to Szczecin part of Szczecin-ÅšwinoujÅ›cie Port from which you can go without … Read more

New Feature On My Home Page: Gallery

The first gallery contains few 3D images, I have created quite long time ago using Blender 3D, a great 3D modeling and rendering tool. Some images were finally rendered by yafray renderer. Example image included. Click on thumbnail to pop-up bigger one. All images can be seen in my local gallery or on flickr.

XEland rewritten from scratch

I have decided to reactivate XEland project. XELand is a small program, which generates night landscapes as stereo pairs for cross-eye viewing. Original version was written in C++/Gnome and had continually problems with compilation (due to lots of dependencies). Java version is of course free of such problems. Currently it uses two map generation methods … Read more

Java Generics: Instantiating Objects Of Type Parameter Without Passing Class Literal To Instance

Cause generics in Java 1.5 and 1.6 are implemented using erasure, in most cases you can not get class object for type parameter, which means that in your generic classes you can not instantiate objects of type parameters. For example, the following code will not compile:

class Foo<T> {
        T field;
        public void bar() {
                field = new T(); // error
        }
}
 

Read more

Java version of gstpw

I like Java much more (about 38 times more) than C/C++. So I have written Java version of gstpw. Java version of course has more features :) and needs less lines of code to implement them. Moreover I have provided possibility to start it: as standalone by $ java -jar jstpw.jat via WebStart:

gstpw – a simple stopwatch program

I could not find under Ubuntu any stopwatch program with modern GUI. There was only one available: “Stopwatch” by Don Libes, but it uses Tcl/Tk, so it is ugly and starts long time. Yesterday I have written new one in C. It is “one file program” which needs GTK > 2.0. Project’s home page can … Read more