Attention you english speaking (and Java coding) people... FriFinans is calling

Yesterday I translated the danish “getting started coding” guide into english. One less excuse for not contributing to FriFinans. It is all pretty straight forward but if you should get stuck you are more than welcome to contact me.

For those how don know what FriFinans is… It’s an open source multiuser accounting system soon to take over the world ;-) We have put alot of thoughts in the design fase until now and I’m really proud of the outcome… Frank has been great. I really think FriFinans has a solid and thought through base for the application.

Right now Frank is working on the foundation af advanced history logging, and through that the ability to roll back changes made to objects (ie. a debtor).

Migration from old 8-bit locales to UTF-8 locales

Several times I have had “great fun” converting filenames from the old 8-bit locales to use the new UTF-8 locales. Everytime, I used some time to find find a tool for it because everytime I forget the name of the tool convmv. The fuckup usually shows itself on the file server (Samba) where the users happily uses æøå for filenames.

Now I’ll blog about so hopefully next time I can remember the name of the tool or atleast just make a search on my blog.

Debian has packages in their repository bu for SLES you need to download the tool manually. I found the tool on download.com

Logging software installation/removal on Debian based systems

At work we have several servers running Debian anb because we are multiple persones maintaining them we end up having software (packages) installed that no one remember the reason for. I thought I would be of great if apt/dpkg had some build-in preference you could enable so people had to ad a comment why they install the software which they are about to, and the comment would be saved along with a list of the packages installed. Perhapes if using sudo you could also log who is installing what. You cannot trust that people always will leave a name for a number of reasons. I think the two greatest reasons would be:

  • pure laziness
  • hiding that they are about to fuck something up

I have to google around some more, to see if something like this have actually been implemented.

A colleague pointed out that ‘rpm’ have the ability to roll back you system to a specific day… though havn’t tried it so sadly I don’t know how well it works. But that would be a great thing to have in ‘dpkg’ also.

My first patch to FriFinans in the longest time

After alot of tutoring by my great colleague Frank Bille I have wrote a small, yet good patch for FriFinans. It saves you from a key stroke every time you enter data a field in the lists.

Before when you wrote a date in a field you and pressed Enter the date would be validated and the field state would change from editable to just showing you the inserted value (if ofcourse the value was valid). Then you had to press Enter again for the focus to move to the next field.

Now when you hit Enter and if the value in the edited field is valid, the focus will automatically shift to the next field. This new funcionality isn’t ofcourse limited to the date field but to all fields in tables.

Testing gnome-blog with Serendipity

I found gnome-blog a while back which is a small application from which you can add entries to you weblog. It also integrates with your GNOME panel so a blog entry is only one click away. At least it should integrate with the gnome-panel (running Ubuntu Hoary) but everytime I try to add it get this error:

The panel encountered a problem while loading “OAFIID:GNOME_BlogApplet”.

At the time of finding, I though it would be great if it actually worked with Serendipity (my weblog), and maybe just maybe if I had actually taken the time to look into it, I would have found that is does. In gnome-blog Preferences you have to set XML-RPC URL to point on the serendipity_xmlrpc.php.

I have testet it now - but I’m not that impressed :-( It puts in html tags around paragraphs which I’m not interested in, since I want the markdown post-processor to do that for me. Also when using BloggerAPI protocol the title of the post wasn’t saved in the title field as supposed to, but instead saved as the first line in the entry body. Last but not least my new post wasn’t activated (only saved as draft), so I have to open the webinterface anyways to activate it after posting. So much for trying to go around the webinterface… I dunno if it is gnome-blog or Serendipity that fucks it up.

Using the MetaWeblog protocol seems to work okay… now if it would just stop adding html tags!

Yeah yeah Frank I know it is Open Source :-D