Linus’ metacity patches

17. February 2007

So, I just read Christan Schaller’s blog about the patches Linux Torvalds submitted to metacity and control center.

As that is not really mentioned anywhere (and I had to search various mailing list archives) here is the original mail, so anyone can get an idea of what these patches do and why someone would want to have this options. I don’t know if this patches a good, useful, whatever.

I am just a bit upset about the way this communication happened between people from GNOME and some contributor. I say some contributor here because we should not make any difference between people willing to help us. Linus is like anyone else and if he sent patches to the wrong mailing list than we can politely tell him. Of course, Linus might not have ever been fair to the GNOME community but nevertheless nobody should treat him differently than anybody else therefore (see Code of Conduct).

GNOME rocks! Let’s make it even better!

Anjuta 2.1.1

12. February 2007

So not even one month after the last release, anjuta 2.1.1 hits the road. We have fixed a lot of annoying bugs so I hope you will enjoy this release. We will continue to concentrate on bug-fixing but will probably create some interesting branches in the meantime to get even more cool feature in. Grab it from Anjuta.org!

As Murray already posted we at Openismus are still working on finishing libgdamm and libgnomedbmm. We did not expect that we would have to work so much on the C sources (see my previous post) but I hope we can finish them soon.

Use construct properties

2. February 2007

This is a comment for all people writing GObject-style libraries that may have to be wrapped for other programming languages (C++, etc). And as you only write cool libraries which will be that useful that they will one day be wrapped, this applies to all your libraries.

Construct properties
Add a property for every parameter of your _new method. These parameters can be restricted to G_PARAM_WRITABLE|G_PARAM_CONSTRUCT_ONLY if it is useless to set them after initialisation. The actual setting is done by overriding the set_property method of GObject. You can also ref/unref you parameters if necessary there.

The *_new method
The new method should just consist of one call to g_object_new(MY_TYPE, “foo”, foo, “bar”, bar, …, NULL). NEVER add anything else to this method!

The _init method
Here you can do as much initialisation work as you like. This method is called by the GObject system and thus will be accessed from all language bindings.

Why?
When wrapping a library it is lots of work and takes lots of time to convert every parameter to a construction property and to move all other initialisation code from _new to _init. Besides it is clean and everybody will start loving you…(and you would have saved me at least two hours today!)

So, I finally hold my new Nokia N800 in my hands. Nokia was so kind to give a discount code to me for the work we did on Maemomm for openismus. Thanks to Nokia and Murray for organizing this discout!

So its simply incredible! l switched it on connected the wifi and write my first N800 blog now.

I should really start to read the manual now but I am just suprised of some things:
– It’s damn small. Of course I knew the size in cm before I bought it but it should feels much smaller with this 800×600 display.
– The display is very sharp though you need good eyes to be able to read webpages in full-size mode.
– Accidently pushed the button to the right and a webcam moved out
– You can use handwriting to edit text and that works amazing

I will continue playing…

Anjuta 2.1.0 is out!

15. January 2007

The Anjuta team is proud to annouce Anjuta 2.1.0, the first beta release of the anjuta 2.x series. This release is also the first that is sticking to the x.1.x = unstable convention as many people have been confused by this before. Read the full release note and get if from our website.

++Age

12. January 2007

So I am entering the time where getting older does not have any new advantages – turning 22 today.

And just as a birthday present, they sent me a letter today about the 585€ tuition fees I have to pay for the next term – thanks much!

Printing made easy!

25. December 2006

Today, I installed my new Laser Printer (Samsung ML-2010). I thought that this would become rather difficult like most other hardware installation on Linux but it was not.

First, there is a banner on the package with says that “Windows ME/XP, MacOS X and various Linux” are supported.

All I had to do to install the printer was to connect the (of course not included) USB-Cable and click on System->Administration->Printers->New Printer. The dialog told me that it had detected the printer and asked whether I wanted to use it. I confirmed that and the use of the default driver and was now able to print a test page. Very cool!

The printer is a bit laud but you can of couse switch it off when you do not need it.

Never trust voting machines!

24. November 2006

In case you ever did (or trusted computers in general) you should watch this video (from YouTube)!

Take your bounty!

23. November 2006

There are still bountys left for Anjuta. For example Fixing the project wizards shouldn’t really be that difficult and does not even require any coding.

Go on, ask on the ML, file a bug about it and earn the money!

Usually, I think there are better ways to write code today but often vim is simply useful because you are on an ssh connection or in a virtual environment or whatever.

Anyway, to get the IMHO quite cool auto-indent feature when pressing
“Tab” like emacs does, simply put this in your .vimrc:


set cindent
set smartindent
set autoindent
set expandtab
set tabstop=2
set shiftwidth=2
set cinkeys=0{,0},:,0#,!,!^F

Of course you can read more about the vim indenting feature in the documentation. Of course, I think most of you will know that already, so this entry is more a reminder for me.

[EDIT] uws remindend me, that the first three lines were missing. Seems the default on my system already included them. Thanks!