remote sessions using NX

I regularly use NX to do remote desktop style Linux. Normally I use gnome as my main desktop manager. I hadn’t used KDE for a couple of years. I thought, why not give it a go. So I installed it and logged in from my NX session. My first impression was really good. I like gnome for my desktop but it’s not so nice over NX. The fonts are to big, the cursos get’s screwed up (can’t change it with themes either).

Using KDE it all looks better. My fonts are smaller but clearer, my mouse cursor is better. It does seem somewhat smaller. I used it on my main desktop and there it’s ok, but I’ll stick to gnome there. Probably for some appz I’ll start using the KDE version. (e.g. The remote desktop admin looks much nicer).

Anybody else got the same experience with NX ?

Zarafa + z-push + Iphone

In the past I already blogt about connecting my Iphone with my Imap using z-push. This always worked for a couple of hours and then suddenly it died. No idea why my Iphone stopped performing requests, the guy from zarafa didn’t know eighter. Now I’ve setup the full Zarafa with z-push. It has been running for almost a week and it’s still working and syncen every minute. I had expected my battery to be dead within a day, but it lives for almost 2 days. Not good, not at all but I had expected worse.

The nice thing is that I now have my contacts,calendar and mails synced.  Check it out, they’re really cheap in comparison to ms solution and if you have an active sync capable phone you can sync everything. Pretty nice 🙂 In the next release they even support blackberry. This should be a pretty good alternative for companies who already invested a lot of money in microsoft and want a migration path to the opensource world.

If only there was a good opensource alternative for the IPhone. Google phone is not available in Belgium yet and the openmoko just seems to be leaping behind.

Hudson

For a project at a client I used to use Cruise Control. This worked but was not ideal (it was running in a dedicated vmware on my own computer.) Sometimes I had to shut the vm down to gain the resources.

I heared about Hudson on the Javaposse. I installed it and configured it. Now every day at 8 o’clock it performs a checkout and performs the unit tests. I could have installed the SCM plugin off course. But the database could change without the SCM being updated so this option was better imho.

I have to say Hudson is much simpler to setup and configure compared to Cruise Control. It’s just a webapp that you have to deploy (on Tomcat in our situation). I created a project using the build in web gui and everything was up and running. For Cruise Control I had to perform some stuff in XML also easy, but this was even easier 🙂

If you plan on doing continuous integration and aren’t using Hudson, you should check it out. I still have to do the Selenium webtest but that’s for after the next release. 🙂

Groovy and Grails

During my vacation I did a bit of development in Grails. I have to say I’m pretty pleased with the result. I did a small app for creating offers,orders and generating an invoice from these. I migrated my old postgresql data to the new mysql schema.

I know there are already opensource tools out there who do this. But I wanted to try this technology to build something. Why not something I could use myself.

Grails uses the same ideas as rails but uses the Groovy language. This language leans more towards Java (and actually is just an extra layer on top of Java). I have to say that once you get the hang of it you’re actually more productive using this technology. But off course there is a downside. If you have an existing database with data you could have problems mapping these things using Grails. Grails uses Hibernate underneath but some things are not straight forward, e.g. if you want to use the scaffolding feature make sure your domain class has an id property otherwise you could get into trouble. This looks straightforward but some of my classes had an invoiceId instead of id property.

For the next stuff I’m going to build a Flex frontend. I already did some appz using Flex but there’s still plenty of stuff to learn and the opensource components are growing every day so …