Michal Čihař - Archives

Going to FOSDEM 2010

Some time ago we decided in phpMyAdmin team to create yet another team meeting (after five years) at FOSDEM 2010. It took some time, but now I should have all travel things arranged (thanks to my employer who sends me there).

So if anybody wants to meet there, just drop me an email and I will try to put you on my schedule.

Fun with processing patches from users

Once you release something what gets at least a little bit popular, you can expect to receive fixes in various strange forms. Since I started to use Git for Gammu development merging all these crazy things is much more easier.

The problem with these changes in past was that they are generally based on some random old versions (for example random daily snapshot). Now I just find the right place in history where to start (ChangeLog usually gives good hint where to search in the history), create branch and start to apply changes I received.

I worst case (like it happened today) the "changes" is whole tarball with different changes made to different files. Fortunately I recently found great git add -i, which allows me to pick whatever changes I want from the patch. When all this is done, all I need is to merge changes back to master and Git is usually clever enough to handle it.

PS: And yes, I'd really love if people would be able to send me series of patches, but it does not seem to happen in near future.

Ubuntu bugs for second time

It looks like my post about bugs in Ubuntu has received a bit more attention than I expected for few lines of ranting :-). Most interesting reactions came to Lucas Nussbaum's blog.

There were nice explanations how it is supposed to work, but the problem is that people out there can not manage that amount of bugs. It is possible, that for some core packages, they manage to do the job. However most bug reports will probably go to some leaf packages, which are not that important, but lot of people use them.

I started to interest in bugs in Ubuntu when I noticed that there is some huge number of bugs linked on phpMyAdmin's PTS page. There was something like 50 too much bugs. After quick look I could see that most of them are duplicates. After little fight with ajaxy interface, I even managed to mark most of them as duplicates and fix it in Debian package. But as somebody with no knowledge of Ubuntu (and not willing to learn internals of yet another distribution, I think Debian and OpenSUSE is enough), I really have no idea what could be done to push some bug fix to existing release. So once some Ubuntu release (The Lucid Lynx in this case) got new version, I marked the bug as fixed. This is probably not that nice to users, but somebody from Ubuntu community should take care of them.

Off-topic PS: If anybody is interested in Google Wave invitations, just write me an email, I currently have 15 without any use.

Ubuntu bugs

For quite a long time I wonder, if there is anybody looking at bugs reported in Ubuntu. Whenever I look at bugs reported in Ubuntu on some of packages I maintain in Debian, there is huge amount of them. Most of them are simple duplicates, but still it indicates that nobody have looked at them. Some are simply something what should be forwarded upstream, while some are clearly packaging bugs, which I usually fix. However I think there should be somebody at Ubuntu side looking at them and forwarding them to right place...

Updated blog

I finally managed to update my blog to new nanoblogger, which should work a bit faster and is easier to control, so I might get back to throwing random thoughts to world wide web.

While doing that, I modified a little bit templates, what means that I cut out most of dependency on Google - for statistics I use own Piwik instance and the advertisement is currently served by AdBard.

Enca 1.12

Well it has been released some time ago, but I forgot to announce it here, so here it comes - I have released Enca 1.12. If you don't know Enca, it is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings using either a built-in converter or external libraries and tools like libiconv, librecode, or cstocs.

The full changes are short:

  • Fixes some minor memory leaks.
  • Fixes little problems in autoconf scripts.

You can download from http://dl.cihar.com/enca/.

New Wammu and Gammu website

I just put online new Wammu and Gammu website at http://wammu.eu/. The reason for this change is that I want all relevant information about Gammu and related programs to be available in one place. You can find there information about Gammu, SMSD and python-gammu as well including some information and documentation which used to be spread in wiki and various other documents.

Also all Gammu and Wammu related announcements will be published only on that website and will no longer pollute my blog (and all planets where my blog is being syndicated). If you followed RSS feed, you should update your reader to http://wammu.eu/news/rss/.

The new website also includes updated Gammu Phone Database, which will look almost same to users, but has been completely rewritten underneath, what will allow some extensions in future and allows easier management of entries for me.

What currently lacks behind old website is Czech translation. The reason is in simple fact that new website contains much more texts and I did not yet have time to translate it. If you want to help, just go to l10n.cihar.com, or just follow translators instructions. This time it will be also possible to add other translations, so if you want to translate website to other language, you are welcome!

Enca 1.11

After month of collecting little fixes flying around, I release Enca 1.11. If you don't know Enca, it is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings using either a built-in converter or external libraries and tools like libiconv, librecode, or cstocs.

The full changes are short:

  • Dropped scanf configure test which is not used at all.
  • Fixes some wrong format strings.

You can download from http://dl.cihar.com/enca/.

Fun with blacklists

Yes, blacklists are great, especially if wrongly used. Currently I can not renew SSL certificate I used to have from StartSSL, because they somehow use blacklist from Google to block sites with malware. The word somehow is important here, because I am not listed as being suspicious, but they still see me blacklisted.

And the more funny thing seems to be that Google found sometimes some malware on my site, but there is no way to find out what it was. Maybe it is somehow related to the broken antivirus complaining that NSIS binary contains a virus, but who knows...

As the funny story goes on, I get to know that it is because I'm on AS:15685 network. Well I am. And as well are about other thousands of servers hosted in that place. So what?

PS: Just to be sure, I just did full scan of all files on dl.cihar.com and here is the result:

----------- SCAN SUMMARY -----------
Known viruses: 621888
Engine version: 0.95.2
Scanned directories: 133
Scanned files: 3975
Infected files: 0
Data scanned: 14546.95 MB
Data read: 2462.58 MB (ratio 5.91:1)
Time: 1093.524 sec (18 m 13 s)