Posted on 28-09-2008
Filed Under (Programming, ThoughtWorks) by Nick

Last Wednesday we had our first Groovy user group meeting in Sydney. It was well attended by both external participants and ThoughtWorks developers.

The evening began with a social gathering around pizza and beer. Then we went straight into the presentations. I presented an introduction to Grails. The purpose of my presentation was to raise awareness of a Groovy web application framework, and to become familiar with the command line Grails tool. I was wanting to present a demo as well, but couldn’t for the life of me get my Ubuntu laptop connected to the data projector with a reasonable resolution for a coding demo.

Gianny Damour also gave a presentation after mine on Closures in Groovy. It was quite an advanced presentation on Groovy closures which challenged many people in the room. Gianny introduced us to the concept of builders using Groovy closures, which in term provides the building blocks for developing DSLs in Groovy. More on this topic will no doubt come about in future Groovy meetings.

Gianny did plan to hold a code kata after the presentations so that everyone could get their hands dirty with Groovy, but given it was our first meeting, most people felt uncomfortable with writing code and just wanted to discuss technical topics. This led us to rethink the format of future Groovy meetings. We will still have at least 2 lightning talks, followed by either a third talk or a coding workshop depending on volunteer contributions.

The highlight of the night was having the Groovy meeting hijacked by David Peterson who talked about Buildr, a Ruby build tool for Java projects. Damn Ruby folk are everywhere! :p

The next meeting will be held on 29 October at the ThoughtWorks office in Sydney. The theme of the next meeting will be Groovy for Java developers. If you are interested in presenting on Groovy, Gant, Gradle, EasyB, then please get in contact with me, or post your presentation topics in Groovy Sydney Google group.

(3) Comments    Read More   
Posted on 28-09-2008
Filed Under (Linux, ThoughtWorks) by Nick

Found a work around that prevents Firefox 3 from enabling work offline when you are using a USB modem or in my case an iBurst pcmcia modem.

The fix originally posted here requires you to open the Network Manager configuration file.

$ gksudo gedit /etc/dbus-1/system.d/NetworkManager.conf

Then replace <allow send_interface=”org.freedesktop.NetworkManager”/> with <deny send_interface=”org.freedesktop.NetworkManager”/>.

After saving the changes, restart your machine.

(0) Comments    Read More   
Posted on 05-09-2008
Filed Under (Programming, ThoughtWorks) by Nick

I got bored of Subversion and decided to move my subversion repository over to Git. It was actually quite simple if you use git-svn.

The first thing you need to do is set up your git repository on the server. So log into your server and enter the following command to create an empty git repository for your application called “appname” (replace appname with the name of your application).


$ mkdir -p ~/git
$ mkdir -p ~/git/appname.git
$ cd ~/git/appname.git
$ git –bare init

Now on your local machine you will need to use the git-svn tool to clone your subversion repository as a local git repository, then push your local repository to the master branch on your server. So on your local machine enter the following on the command line (I’m assuming you are using Ubuntu Linux, naturall). Replace svn_repo_url with the actual url of your svn repository. Replace username with your actual username on the server. Replace local_appname with the name of your application.


$ sudo apt-get install git-svn
$ mkdir projects
$ cd projects
$ git svn clone svn_repo_url local_appname
$ cd local_appname
$ git remote add origin username@domainname.com:/home/username/git/appname.git
$ git push origin master

Switching to Git is as easy as that!

(0) Comments    Read More