Michal Čihař - Blog Archives for English

Don't send patches by email

I just noticed that I tend to forget about patches that I received sometimes and didn't have time to review them right as they arrived. Fortunately that person reminded itself by sending another patch, so I got back to original issue, but it's unfortunate to loose patches just because of my bad memory.

So please bug trackers, there is much higher probability that issue won't be forgotten :-).

Haštalský dědek - good meal in Prague centre

This weekend I visited restaurant Haštalský dědek. It is new restaurant (I think it has been opened last year) in centre of Prague, in small street near Old Town Square. It has modern interior where man feels good.

You can eat there traditional Czech cuisine for affordable prices. I took great gulash served in small pot with potato pancakes. Only disadvantage this food had what that it was too big when I was not much hungry :-).

Beer was for nice price (22 CZK for lager) and tasted really good (they serve Krušovice beer). They also offer some special beers, however I didn't taste them.

Generally there is nothing to rebuke. I can really recommend you this place if you're looking for good place to eat in centre of Prague.

New blog category

I decided to add new blog category and new content to this blog. I will write short reviews of pubs and restaurants I visit. Partly it is as diary for me, to remember good and bad places, but maybe somebody who is going to visit Prague (well most of reviewed ones will be from city where I live), will find here good tips where to go and which places to avoid.

Wammu/Gammu configuration in few clicks

I already announced that development version of Wammu has new configuration wizard. Now it's time to show it and maybe gain attention of somebody who would be willing to create original artwork for it (current image is taken from KMobileTools).

So first you have to select how you want to configure your phone connection:

Wizard screenshot

Searching will just find your phone (well at least it should), so it is not much interesting :-), so let's show guided configuration. As next step you select how you connect your phone. I hope every user will know how to answer this:

Wizard screenshot

Next we need to know phone type to limit number of choices to show later:

Wizard screenshot

As we're didn't know in previous step, now we have to select from all possible connection types:

Wizard screenshot

Next step (final driver selection) is quite easy in this situation as we don't have much choices:

Wizard screenshot

The only remaining step is selecting of device out of few listed (you can enter your own):

Wizard screenshot

Now wizard will verify you configuration:

Wizard screenshot

And you can name this phone configuration (phone name is filled in by default):

Wizard screenshot

So that's it! The wizard has still some minor glitches, but I hope they will be polished till release and you will enjoy it!

Commercial Wammu for Windows?

I'm really starting to consider this option. Nonody is willing to maintain Win32 build of python-gammu and it is now far behind current version, with many bugs which were already fixed in source code.

It would need quite a lot of effort from me, because I'm really not experienced with Windows (and I don't like that environment). I could setup cross compiling environment and build Windows version on Linux, but this is something what I'm a bit affraid and need some time.

So if nobody is really interested in creating python-gammu binary for Windows, I will probably do it myslef, but you can expect you will have to pay some small amount (eg. 10 €) for download.

Bug tracking black hole

It's funny how big are differences in authors of open source programs and their bug handling. Yesterday I finally managed to report problem in gtkthml plugin for Claws mail which caused some HTML mails to be displayed in wrong encoding. I got instantly reply and in few minutes it has been fixed in CVS. Thanks a lot Colin Leroy!

Exactly opposite situation is with Klear. I wrote bug report with patch more than a year ago and it is still without reply from developers. Funny is that somebody else was brave enough to port this patch to curent version. Looking at their bug tracker, I can see that my report is not alone, let's call it black hole…

Localisation in PHP

As you might already know, my website is available in English and Czech languages. I decided to use gettext, because it is easy to manage (when compared to strings which are used eg. in phpMyAdmin. However I sometimes see PHP to crash on localised pages and it randomly sends page in English even when Czech should be sent. I don't know how to fix and even how to debug this as this happens in few situations, which I'm not able to reproduce. So I'm really sorry if you sometimes see site unavailable errors, or you get different translation than you expected. Reload mostly works in such cases.

Wammu configuration wizard can search

Last big missing part of Wammu phone configuration wizard has been just implemented - wizard is finally integrated with phone searching and you can now use it to fully configure Gammu or any programs using it (eg. gMobileMedia).

Testing instructions were already in my yesterday blog and they are still valid. As the wizard should not receive any major changes right now, I appreciate any feedback from you.

Known issues, which will be fixed:

  • Phone test and searching can not be stopped.
  • Phone searching looks at all devices and ignores device type selected in first wizard step.

Configuration wizard working

Today I finally implemented work with .gammurc, so now you can finally configura gammu with new configuration wizard. For now only manual configuration and guided configuration are working, but searching will follow soon, it is just matter of few wrapping classes. If you are brave enough to test development versions, just grab Wammu snapshot and launch wammu-configure.py. There are still lot of things to improve, but at least something is finally working.