Posts Tagged ‘Ubuntu’

No to 16:9 laptops

Thursday, December 8th, 2011

Dear laptop manufacturers, I will not buy your laptop if it’s screen display ratio is 16:9.

I have no words for a person that came up with an idea of 12.*” 16:9 display.


Thursday, September 9th, 2010

There have been many people claiming Linux didn’t pass 1% market share. There have been many people claiming Linux users are geeks that don’t go out.

prikaz_zaslonaThat green over there is – Linux.

Website is about – adventure sports.

UTF8 collation support for Croatian, Bosnian and Serbian (latin) in MariaDB/MySQL

Sunday, November 29th, 2009

There has been a long lasting problem of collation in MySQL for Croatian language – it was impossible. When, at that time, Yugoslavian keyboard layout was invented, it was designed to cover all the languages from all republics. It covered all Slovenian characters (plus couple of characters that they don’t have), but not all Croatian (it missed ‘nj’, ‘lj’ and ‘dž’). When Yugoslavia fall apart, all the republics just took already wide spread Yugoslav layout. For Slovenian layout, that was great, with exception of including characters they didn’t have. For Croatian and Serbian latin, well, not that great…

You see, now we type letter ‘nj’ as a combination of ‘n’ and ‘j’. Same thing with ‘lj’ and ‘dž’. That wouldn’t be that bad if every word, containing ‘l’ or ‘n’ and ‘j’ together would be pronounced as ‘lj’ or ‘nj’. For example, we have two words that we write the same (injekcija), but pronounce different. In one case with say it with ‘nj’, and in the other as ‘n’ and ‘j’. Talking about the bad choice of deciding to use ‘nj’ as a character for that letter. There are also examples of ‘dž’.

As you can see, until we put ‘lj’ and ‘nj’ characters on the keyboard, we will never have correct sorting in any database. Good news is that those characters exists in Unicode and that’s why we have ‘hr unicode’ layout in Xorg. Too bad nobody uses it.

Until that’s sorted out, I’m happy to announce that MariaDB/MySQL just accepted a patch that makes possible contracting non-ascii characters, meaning that we can now have sorting rules for ‘dž’ (more about that at As a result, utf8_croatian_ci and ucs2_croatian_ci collations were created and added to MariaDB 5.1 and MySQL 5.6. Since Alexander Barkov was so kind and provided a patch for MySQL 5.1, I’ve created packages for Ubuntu. I’ve also modified that patch so that it works with MySQL 5.0. If you need this feature, go add my PPA to your sources.list:

It’s important to realize that this patch contains very intrusive change in collation mechanism, so it’s not just a patch for Croatian collation. People from Bosnia and Herzegovina, Monte Negro and Serbia (latin) can also use this collation for their languages. It does not cover all problems (‘injekcija’ and ‘injekcija’ for example), but at least words starting with dž won’t be at the end of the sort :)

Big thanks to MariaDB community!

Mail stack improvements in Ubuntu 9.04

Wednesday, March 4th, 2009

After inclusion of clamav and amavisd-new into main in Ubuntu 8.10, in Ubuntu 9.04 we will see big improvements in mail stack. Up until now, sysadmins were left on their own to setup all the bits and pieces of the mail server; IMAP, POP, SMTP, SASL authentication, TLS/SSL support for all those services and maybe some other custom configuration.

In Ubuntu-server team we’we decided that this should be much easier and, based on experience of our members, created integrated mail stack with safe default setup. This setup won’t solve all mail configuration problems (we don’t setup any antispam and antivirus countermeasures), but it will enable your startup to get working e-mail server out of the box.

So, what’s included? Mail server stack is based on dovecot for IMAP/POP3 protocols and postfix for SMTP. Feature list:

  • Maildir storage for e-mails
  • SASL authentication (SMTP-AUTH)
  • dovecot MDA (mail delivery agent)
  • support for sieve scripting
  • managesieve protocol for managing sieve scripts on *server* from your *client*, like thunderbird or kmail
  • IMAP & POP3 workarounds for buggy clients

All these you get by default, out of the box without additional configuration. We’ve also made an effort on delivering safe configuration, which can be used by any client out there. This configuration takes care of your server and doesn’t allow clear text authentication on any of enabled non-SSL/TLS services.

One of the features provided, which I like very much, are extensions on e-mails. In other words, if you create IMAP folder ‘ubuntu’, any mail sent on ‘’ will automatically be saved in ‘ubuntu’ IMAP folder. We’ve taken safe approach on this one and we don’t automatically create those folders. Mail is delivered in special folder only if it exists.

There are also some minor changes, like human readable errors when mail is rejected or temporary error messages instead of full bounce when quota is full.

If I got you interested in these features, fire up ubuntu-server 9.04 in your virtual machine and test these features. Everything you need to do is:

sudo apt-get install dovecot-postfix

If you like it, please provide some feedback or if there are some bugs, report them on launchpad.

P.S. this is my new blog