Michal Čihař - Blog Archives for English

I'm not a robot!

Dear Google,

can you please tell me, why I have to retype f**king captcha, every time I want to use searching? Guess what I'm even logged in using Google account and I've already retyped several captchas, so I would have been really clever robot, if I would be able to do this.


PS: I've tried different set of parameters to search, but it does not matter what I type. The only thing which does matter is that I'm connected through local provider which does NAT of hundredths computers to single IP address and some of these computers probably did something evil to Google.

phpMyAdmin has new website

I really did not like phpMyAdmin project website for some time and wanted to change it. However it is harder and harder to find time to do some bigger thing, so this task was stuck in my queue for quite a long time.

One of biggest problem is that the website is hosted on SourceForge.net and they limit quite a lot what you can do there. Especially including external resources is hard - the website should include lot of information from SourceForge.net as news posts, file releases etc. The only reasonable option to get all external data into the website is to generate static content and push it to SourceForge.net web server.

This decision was quite clear to me and it lead me to using Python with Genshi templating to generate the website. Yes, you read it correctly - one of most popular PHP applications is using Python to generate its website.

I started to play with Genshi and feedparser about one month ago, with no clear concept of pages design, just to learn the technologies. However after creating first proposal and showing it to some friends, phpMyAdmin team members and frequent visitors to phpmyadmin IRC channel, I was quite surprised about positive feedback, so I started to work a bit harder to make it possible to have new website before we release 3.1.0.

And here it comes, just check it out at http://www.phpmyadmin.net/.

Gammu test version 1.21.92

Good news everyone, new Gammu testing version is out. This time biggest fix is Bluetooth support for Mac OS X, accompanied with fixed locking on some architectures and improved debug configuration, to allow proper integration with python-gammu.

Full list of changes:

  • Reimplement locking and add tests for it.
  • GSM_SetDebugFileDescriptor now accepts flag whether file descriptor can be closed (bug #749).
  • Soname change due to API breakage (see above).
  • Fixed compilation on Mac OS X, thanks to Juan A. Bertolin for testing.

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon.

Firefox hidden config of the day

browser.tabs.loadDivertedInBackground = True and Firefox 3 no longer steals focus when I open link from external application.

PS: This seems to be most interesting post in my blog, at least when counting email feedback - looks like there was lot of people annoyed by this behaviour and too lazy to search for solution :-).

Gammu test version 1.21.91

Good news everyone, new Gammu testing version is out. Fixes are there for everybody, starting in AT engine initialization, going through FBUS and Nokia drivers up to OBEX handling in Siemens phones.

Full list of changes:

  • Script gammu-config can now also work with whiptail.
  • Minor fixes in gammu-config script.
  • Extra spaces from connection or device name are now stripped.
  • Automatically reinitialize FBUS connection if it is dropped.
  • Disable OBEX with Motorola Z6c, it is broken (bug #746).
  • Refresh manufacturer information on second init of AT (bug #746).
  • Always get charset information on AT phone initialization.
  • Better handling of OBEX switching for Siemens phones.
  • Fix flags for 2630 and 3109c (bug #752).
  • Fix handling of caller groups and picture IDs (bug #752).
  • Properly set calendar location while adding (bug #747).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon.

Bad translations status

I know phpMyAdmin translators will love us for this, but I just commited translatable messages for new setup script. This leads to situation when even the best translations are at 75% (see statistics). I hope our brave translators will manage to handle these 350 new messages for upcoming 3.1 release, at least for major languages, which were always close to 100%.

PS: Looking for translator to Czech!

Double check what you do

I just wanted to fix some RC bugs till I'll go home, so I looked at the list of open ones and randomly chosen two bugs about roxen fonts which looked like low hanging fruits. Both were in fact same issue, just copied to two packages.

I worked on the fix, creating some intermediate version and then I finally wanted to upload the package. Unfortunately in this step I somehow managed to use the intermediate version, which did not really fix the issue. As packages were already uploaded, there was not much I could do except yet another NMU, now with full set of changes.

Just as accepted emails arrived I also noticed that I messed up bug numbers in changelog - I used same bug number in both changelogs. Okay, manually closing the bug worked around this.

But now I'm afraid what else did I mess up. Probably it's time to go for a dinner and stop working on computer for now :-).

Gammu test version 1.21.90

I just published new Gammu testing version. Major changes are in handling some special Nokia responses, handling of Siemens phonebook entries and introduction of automatic testing using CDash on http://cdash.cihar.com/index.php?project=Gammu. Full list of changes:

  • Sign Windows binaries during build.
  • Detect long FM station names (bug #727).
  • Add ID for Nokia 2630b.
  • Handle properly very long lines in vcards (bug #728).
  • Do not build and install locales if gettext is not compiled.
  • Increase number of calendar entries (bug #725).
  • Leak free test runs.
  • Support backup of phone phonebook from Siemens (bug #732).
  • Properly handle GetNextMemory on Siemens (bug #732).
  • Save textual category to backup (bug #737).
  • Enable dashboard testing using CTest/CDash.
  • Add option to do coverage analysis.
  • Properly handle debug file closing.
  • Add test case for debug logging.
  • Fix decoding of some SMS messages from Nokia phones (bug #735).
  • Hack for (still) unknown error code (bug #733).

You can download from usual place: http://cihar.com/gammu/, Debian users will find packages in experimental soon.

Gammu news

I finally catched up with Gammu backlog from holidays and now it is time to move it a bit further.

Automatic testing

During this week I set up CDash instance for acquiring results of automatic nightly checks of Gammu. Each night Gammu is build on several hosts (currently Debian x86_64, Debian x86, SUSE x86_64 and crosscompilation for Windows on Debian) and results are posted to the dashboard. If you have some other architecture which could participate in testing, you are welcome to contribute! It is simple - just checkout svn, create build directory and configure there Gammu using cmake. You can enable coverage tests (-DCOVERAGE=ON). Then just run every night make Nightly for regular testing or make NightlyMemoryCheck to do dynamic allocation analysis. There is more detailed documentation in sources (INSTALL file).

Thanks to this, I can hopefully sooner spot regressions and possible problems on different architectures.


With upgrade of Mantis, new feature called roadmaps arrived. I started to use it for planning features in future Gammu releases, so you can see what bugs should be fixed in future releases in Gammu roadmap. Currently there are not much things planned, because till now I had to focus only on bug fixing, but I think with 1.21.0 we have reached much better quality than in past releases and now is time to do some important changes in the core.

Nokia phone required

As you can already see in roadmap, I plan some bigger changes to Gammu core. I currently have on Sony-Ericsson phone and I would not be able to properly test how these changes will affect Nokia drivers. So for start I will need at least Nokia Series 40 3rd edition phone. Nokia 6233 (or 6234) currently looks as a reasonable choice, but if you have any hints for cheaper one with similar features, just drop me an email.

Perfect would be if somebody would have half broken phone (I do not intend to use it for anything else than Gammu development, so broken camera, speaker, microphone or display does not really matter) and will be willing to donate it to me. If this will not work out, I'll have to buy used one and I will try to collect funds for this. If you want to contribute, check my donations page for possibilities.

Wammu 0.29

I just released version 0.29 of Wammu. This release fixes various problems found by users. Full list of changes:

  • Fixed handling of call entries with multiple dates.
  • Handle phones where writing entry to SIM card takes long (bug #682).
  • Properly skip corrupted entries (bug #467).
  • Added export of messages to XML (thanks to Florent Kaisser).
  • Properly report failures when importing backup (bug #303).
  • Add --info command line option to show connection info (bug #426).
  • Add --debug switch to enable debug output to stderr (bug #426).
  • Sign Windows binaries.

This release also comes with binary for Windows with embedded Gammu 1.21.0.