JUN
6
2006

QtRuby D-BUS Hello World

I've just got my first Ruby D-BUS app pretty much working, it starts up, outputs convincing looking messages, and then crashes kdbus. I only started yesterday and so it hasn't taken long to get the D-BUS api pretty much wrapped. I still need to do some work on the QDBusAbstractInterface::call() method, as it uses C++ templates and doesn't translate easily into Ruby.

MAY
21
2006

A startup script to use Ruby irb with Korundum

I've been playing with irb today to work out how to add an interactive Korundum or QtRuby command line. I've come up with this script that allows you to type 'start_kde' in irb, and it displays a KDE::MainWindow. If you right click and select 'Interrupt' from the context menu, it puts you in an irb session context based on a widget within the KDE::MainWindow.

Here is the script, you just need to add it to your ~/.irbrc file:

MAY
20
2006

Miguel de Icaza on Open Source Java

I thought Miguel de Icaza had some interesting comments to make on the 'should Sun Open Source java issue'. I spent a couple of years working on the Qt/KDE java bindings but never achieved much success in spite of a lot of effort on my part, and I don't think the failure was entirely due to the technical quality of the QtJava bindings.

MAY
17
2006

Adding a Ruby Interpreter menu to Konsole

I've recently added a 'Ruby Interpreter' menu to start an irb shell in Konsole. Just create a file called ruby.desktop in /usr/share/apps/konsole with the following contents:


[Desktop Entry]
Type=KonsoleApplication
Name=Ruby Interpreter
Comment=Ruby
Exec=/usr/bin/irb

And that's it! Your Konsole will then have menu entry under 'Session' called Ruby.

MAY
12
2006

IV Jornada Software Libre, Las Palmas

Yesterday, I went to the IV Jornada Software Libre conference at the Universidad de Las Palmas sponsored by the Canary Islands government. There were some interesting talks, and much discussion in between. I gave one called 'Software Libre is Inevitable' in the morning.

Someone asked about what I thought about how Microsoft's Vista compares with KDE, and I had trouble in remembering exactly what Vista is going to have that isn't already in Windows XP. I said I thought they added transparency to the windows at the expense of making it hard to tell which was the active window.

MAY
3
2006

Should KDE choose Pop-11 over Algol 68?

Some things never change, and the recent discussions about a possible 'new VB' for the Linux Desktop reminded me of this excellent article by Aaron Sloman (my philosphy/AI professor from 1976 to 78 while I was a Philosophy undergraduate at Sussex University). He describes the history of teaching Pop-11, and the reasons for choosing it. When he talks about Algol 68, it could just as easily be C# or C++, and when he talks about Pop-11, you can just substitute Ruby (or Python), and the arguments still make perfect sense. Here are some extracts..

MAY
2
2006

Qt4 QtRuby windows port progress

I've recently been working 'over on the darkside', and have been getting QtRuby working with the GPL'd Qt 4.1.2 and mingw on Windows 2000. Several months ago Ryan Hinton got QtRuby working be generating the code for the Smoke library on Linux, and then hand hacking it to get it to build on Windows. So ever since I've been very keen to get it working - that is until the prospect of devoting an entire weekend or more to Windows programming, and not surprisingly I just kept putting it off.

MAY
1
2006

A Ruby spanish translation DCOP server

I've been here in Gran Canaria for nearly six months now, and my spanish hasn't progressed as fast as I hoped it would. Learning another language is really hard! It makes me realise how tough it must be for non-native english speakers to contribute to english based Free Software projects such as KDE.

MAR
27
2006

Ruby KDevelop RAD demo in Tenerife

I've recently been working on 'Meduxa', a Kubuntu based version of KDE for the Canary Islands schools. Last week I went to the Medusa HQ, just north of Santa Cruz in Tenerife to meet Agustin Benito the project director to work with him trying to decipher the XDG menu spec in order to customize the KDE menus. While I was there Agustin arranged for me to give a talk at Universidad de La Laguna about Ruby RAD with KDevelop/QtRuby and Rails at short notice. I thought there would be about 10 people there, but much to my surprise a whole roomful of 50 or 60 people turned up.

MAR
13
2006

James Gosling just doesn't get it

It really does seem that we're beginning to emerge from the 10 year long Java nuclear winter, when excellent dynamic languages such as Objective-C or Smalltalk were kicked out of the mainstream. I've nothing against Java, and have probably spent a couple of man years or so working on the Qt/KDE Java bindings as some kind of 'public service' combined with a sincere desire to attempt to kill the Swing GUI toolkit.

Pages