libLAS moved to new repository

libLAS - ASPRS LiDAR data translation toolset Hobu proposed motion to migrate libLAS source code repository from Subversion to Mercurial. The motion has been approved and Hobu completed the mgration.

In order to check out libLAS source code from the new repository, issue the clone command:

hg clone http://hg.liblas.org/

The libLAS Trac has been re-configured to make the new repository browsable. Alternative Web-based interface is available at http://hg.liblas.org/.

Polish lesson

Would you like to learn something about my country? Here is a short tutorial. Apparently, Microsoft has conducted deep marketing research in Poland and learned what does the reality look like in my country. The terribly woeful, yet shameless, thing is that they try to make a profit of that “knowledge”. Microsoft spokesman Lou Gellos tried out a miserable trick posting micro-apology squeezing it somewhere between new tools in Office package and green energy links. Bloody amateurs!

I’m sorry for my country!

Strongly typed enum in Visual C++?

Not yet. Victor Bazarov confirmed in reply to my post that there is no official announcement nor rumours that Microsoft is going to include native implementation of scoped and strongly typed enumerations defined in C++0x in upcoming Visual C++ 10.0. That’s a pity!

Thankfully, Boost provides portable emulation of scoped enums. It is compatible with compilers that already support this feature like GCC 4.4.0 (thought it’s still buggy). Nothing is perfect :-)

Tortoise*

After diversity of operating systems, diversity of versions of diversity of compilers and forks of forks of favourite…forks of projects, contributors to the world of Free and Open Source Software got Yet Another Nail in Their Asses (YANTA with tm by myself). It is the variety of revision control systems and their clients developers need to install to be able to do their job. In the past the choice was clear CVS and later Subversion.

Today, DVCS is posh. So, an average developer who wants to contribute his cheap liberty to number of Open Source projects, will likely have to juggle clients to three or four kinds of the posh revision control systems.

For Windows systems, we have the whole population of turtles on the land: TortoiseSVN, TortoiseGit, TortoiseBZR and TortoiseHg (hopefully, none of them are listed as endangered species). The stack of these turtles causes the context menu large enough to make it hard to use on small screens. Combinations of authorization systems, configuration files and mess with Putty and MinGW/MSYS dependencies…make participation in this whole libertinism ridiculously complex.

I’m really surprised no one of the Tortoises hackers have come to the conclusion that it would be not a bad idea to merge their efforts and develop single client capable to work access repositories of all the four types of systems. Of course, with single installer and one submenu in the Windows Explorer’s context menu. Ah, and please don’t forget about including command line clients too :-)

Two words: Prime Lens

Today, during a short trip to Watford, I was testing my new gadget brought to me by weihnachtsmann called eBay (but he asked for ten pints of proper lager, what a tank!). It is prime lens SMC PENTAX-A 1:2 50 mm. It’s an old lens but it’s a superb piece of optical craft dated between 1985 and 1998. No modern rubbish plastic. Pure metal classic!

IMGP4600 IMGP4592 IMGP4596_v2 IMGP4599 IMGP4594_v2_1

After first five shots taken in darknesses of the night and the Underground, my conclusion is quite simple, the kit lens Pentax SMC-DA 18-55mm that comes with Pentax K10D body belongs to a trash bin. Pentax prime lens rock and it’s not British, it’s Japanese :-)

Charter Member Nominations 2009

The OSGeo Foundation Chief Returning Officer (CRO) has posted new nominations to OSGeo Charter Members.

Personally, I’m glad to see Robert Szczepanek from Poland listed among other noble members of OSGeo Community. Robert has played an important & leading role in FOSS and FOSS4G advocacy, education and development in our Polish yard for long time:

It’s a good news for OSGeo Community in Poland.

Compilation of VirtualBox add-ins for Ubuntu 9.10

I’ve been using the upcoming Ubuntu 9.10 installed as a guest system on VirtualBox for a while without any big problems. After one of big updates I found that currently under development 2.6.31 kernel version was installed. So, I decided to rebuild VirtualBox Guest Additions and it failed. Digging the logs helped me to find out what was the problem:

/home/mloskot/tmp/vbox/linux/module/vboxvfs/utils.c:423: error: implicit declaration of function utf8_mbtowc

Should be simple to fix. However, it seems that signatures of nls.h functions in the kernel have changed or have been moved to new place which I have no idea about. I’m not a kernel developer but I like to dig codes. Thus, I unpacked the VirtualBox installer, found the victim – utils.c and applied a very ugly fix:

extern int utf8_mbtowc(wchar_t*, const __u8*, int);
extern int utf8_wctomb(__u8*, wchar_t, int);

At least, it allowed me to compile and install the VirtualBox additions. I haven’t notice any run-time issues. I have reported this problem back to the VirtualBox as its code may need to be updated: #4823 (Missing declaration of utf8_mbtowc function in utils.c). So far, so good.