Michal Čihař - Archive for 5/2008

Time for change, time for DebConf?

Okay I did thing I considered already for several months - I decided to quit my current job at SYSGO, make one month holidays in summer and find some new job meanwhile. So I'm looking forward to free August, which I will probably spend travelling somewhere :-).

This brought up again question whether to go or not to go to this year DebConf. The only problem with this is distance - flight to Buenos Aires will be something around 2000 USD and it means lot of money for me. I applied for sponsorship for half of the price (well I'm not sure if I can really pay the other half, but I would feel really bad for asking that much money) and let's see how it turns out. On the other side, I'd love to visit Argentina, but that would probably require much more time and money. Let's see how it all turns out, there is still time to decision...

PS: If you have some interesting job offer, just contact me at michal@cihar.com.

My cycle computer got crazy

After today short ride, I just wanted to look at how fast I was (well rather slow as my body is slowly getting used to usual travel distances). There was nothing surprising in most values, but maximal speed did really impress me:

171 km/h on bicycle

I just hope that it is really mistake of the computer and I did not really go that fast at some point ;-).

Sním či bdím

...aneb to už jinde jsme, to je jiná vesnice.

Tak se občas při projížďkách v blízkém okolí Prahy nestačím divit co za skvostné stavby tu vyrůstá. Nevím, proč vila bez "barokního" zábradlí, několika věžiček nebo alespoň soch lvů není dneska in, ale asi s tím těžko něco nadělám. Nicméně už delší dobu mě překvapují dvě stavby jako vystřižené z úplně jiných končin světa. Majitelé pravděpodobně chtěli něco originálního a tak v katalogu ukázali na tuto stavbu. Jaká škoda, že zrovna ani ne o kilometr dál si někdo vybral téměř to samé...

Prosím omluvte mizernou kvalitu obrázků, je to foceno mobilem.

Most interesting things on my blog

It sometimes funny to review web server stats to see what people are looking for in my blog. I usually expect something like my name and projects I participate on. But there are some surprises:

  1. cihar
  2. gammu
  3. dosbox games
  4. pissing
  5. mpd sonata
  6. wammu
  7. phpmyadmin
  8. project names
  9. sound juicer mp3
  10. phpmyadmin themes

For most of them I'm in first page in Google results, even though I have no idea why are my posts ranked so high even for such generic things as "product names", but I don't care. What surprises me most is "pissing". I guess I know what are people looking for when they enter this word to Google ;-). But according to Google webmaster tools, I'm somewhere near 110th position. Why the hell does somebody look so deep in results? And why does he go to one line blog post? I really don't understand this. Maybe I should focus on this word and bring my post to first page of Google results ;-).

Changing SSH keys on SF.net

Yes Erik, SourceForge did not do anything. But what is even more "funny" is that changing keys over web interface does not change ~/.ssh/authorized_keys. So even if you are aware of this problem and change keys in interface which should do it, it does not work. I just realized this today when I read your post and wanted to check whether this file is really world readable...

Slovenská pošta vrací úder

Když jsem popisoval problémy s posláním balíčku na Slovensko , myslel jsem, že to nejhorší už je za mnou a zbytek transakce proběhne bez problémů. Doručení tak opravdu proběhlo, adresát mi během pár dní napsal, že mu balíček v pořádku dorazil. Bohužel to samé se už nedá říct o penězích, které měly dorazit na můj účet.

Koncem února (25. 2.) (tedy po téměř dvou měsících) jsem se vydal na poštu zjistit stav. Když i oni uznali, že už to trvá dlouho, sepsali jsme reklamaci a já čekal. Česká pošta má lhůtu na vyřízení reklamace dva týdny, Slovenská měsíc a komunikace mezi nimi asi taky trvá měsíc a tak jsem se 12. 5. dočkal vyjádření.

V tom se píše, že "23. 1. 2008 byla částka připsána na účet 1188198038/0800 správně (původně chybné číslo účtu).". No říkal jsem si, že napsali na jaký účet to poslali omylem (změna oproti mému číslu není až tak velká, takže bych celkem dokázal pochopit, že se jednou někde přepsali) a čekal jsem, že mi peníze dorazí.

Dnes už jsem usoudil, že se nedočkám a vyrazil jsem si zase popovídat na poštu, jak že to tedy s mými penězi je. Pán celkem ochotně vyhrabal reklamační protokol, který dostali od Slovenské pošty a z něj jsem se konečně dozvěděl, jak to bylo - peníze nejdříve poslali na úplně jiné číslo účtu, kupodivu se netrefili do existujícího a peníze se jim vrátily. Na druhý pokus už se asi zběžně podívali, jak to číslo účtu má vypadat, a už se skoro trefili a peníze asi taky někam došly (nebo si nevšimli, že se jim vrátily).

Po prozkoumání podacího lístku pán usoudil, že to číslo je napsané dostatečně čitelně a netuší jak z toho někdo mohl vyrobit nějaké úplně jiné, ale že prý se tyto informace několikrát přepisují, tak to možná pár lidí přepsalo blbě. No nemám slov, obzvlášť za situace, kdy to tam při podávání přede mnou slečna přepisovala do počítače.

Výsledek mého dnešního výletu je tedy ten, že peníze ještě asi pár měsíců neuvidím. Česká pošta v pondělí vymyslí, jestli budou reklamovat reklamaci nebo vytvoří novou reklamaci a pošlou to na Slovensko. Pokud budou pokračovat v nastoleném tempu, tak možná v srpnu vyzkoumají, že ty peníze jsou opravdu na jiném účtě.

Na závěr nezbývá než doporučit využívání služeb těchto skvěle fungujících institucí.

Everything bad is good for something

After recent not so funny thing with OpenSSL in Debian, I realized that I will have to regenerate most of keys and certificates, because last big changes I did in networking/vpn/ssh setup which involved generating keys are not older than broken OpenSSL appeared in archives.

First obvious thing was SSH keys and cleanup of ~/.ssh/authorized_keys on all hosts. While doing that, I realized that I still have there several keys, which are more or less gone (not that I'd lost them, but I simply stopped to use them). So it was good opportunity to do cleanup here. While I was at these changes, cleaning up ~/.ssh/known_hosts was also good idea, because I still had there lot of hosts I collected during some of my previous jobs and I definitely won't (and can not) access these machines anymore. So good, big cleanup in SSH configuration was forced :-).

Next and harder step was to found out where else I use certificates generated by vulnerable OpenSSL. Server certificates for sure were also generated by OpenSSL, so let's regenerate web and email certificates and hope I did not miss anything.

All this happened yesterday, but today I realized that I missed other even more important thing - OpenVPN certificates. While regenerating certificates, I also found some machine keys which are not really used anymore, so I again could drop some of them. So that was task for this evening and now I'm hopefully really done with this issue and I really hope that this won't happen again in near future, I don't need to cleanup that often ;-).

Wammu 0.27

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

  • Do not fail if phone does not support call notifications.
  • Improved handling of empty config file.
  • Lot of translation updates.
  • Fix compatibility with some IMAP servers.

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

python-gammu 0.26

New version of python-gammu has been just released. It improves compatibility with Python 2.5 and brings compatibility with Gammu 1.20.0. Full list of changes:

  • Compatibility with current gammu.
  • Improved compatibility with Python 2.5.

Download from usual place: http://cihar.com/gammu/python/

Gammu stable version 1.20.0

Good news everyone, new stable Gammu release is out. Since 1.19.91 it brings only few small fixes in OBEX and EMS, but there is quite big list of changes compared to 1.19.0:

  • Do not crash on EMS messages with no text (bug #612).
  • Fixed reading of OBEX files (bug #614).
  • Fixed decoding of Nokia messages (bug #527).
  • Fix handling of UTF8 charset with some Motorola phones.
  • Identify Motorola V635.
  • Set again charset in Motorola phones after changing AT mode.
  • Automatically enable OBEX for Motorola phones.
  • Fix searching of correct Bluetooth channel.
  • Improved SMSD error messages.
  • Fix SMS listing when phone was in text mode (bug #584).
  • Fix compilation when WCONTINUED/WIFCONTINUED is not defined.
  • Fixed listing SMS messages from AT phones in text mode (bug #584).
  • Added smscgi daemon by "Kamanashis Roy Shuva" kamanashisroy@gmail.com.
  • Cache once read messages to avoid reading them again (bug #481).

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