Michal Čihař - Blog Archives for English

Source code search

Have you ever need to lookup something in source code? Most developers probably did so. I needed to lookup something in Gammu sources and I decided to setup search engine over it. I decided to use Gonzui as it looks good and was easy to setup. So if you want to find something in sources, just point your browser to gonzui.cihar.com.

Later I added also other my code (phpMyAdmin, Wammu, python-gammu, polld), so you probably want to use advanced search to limit results.

Recent Gammu in testing

Finally recent Gammu version (1.06.00) has been migrated to testing. It took so long as it needed manual hint because of both python-gammu/gammu breakage loops. Unfortunately there is no other way to resolve unstable Gammu ABI than using so strict dependencies.

Now I finally undestand why Gnokii is using that complex way for passing parameters. It is painful to use it, but it keeps ABI stable enough. We need to find better solution for this.

How to get info about DNS server?

I never knew there are few special zones in DNS to grab infromation about DNS servers. Today while browsing PowerDNS recursor configuration, I noticed several config options defining replies on those special queries. So if you want to know which server is on the other side, you can try querying version.bind, version.pdns or id.server (CHAOS type, TXT class):

$ dig version.bind chaos txt

; <<>> DiG 9.3.2 <<>> version.bind chaos txt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56291
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;version.bind.                  CH      TXT

;; ANSWER SECTION:
version.bind.           86400   CH      TXT     "PowerDNS Recursor 3.1.1 $Id: pdns_recursor.cc 838 2006-05-19 14:35:27Z ahu $"

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  2 15:30:06 2006
;; MSG SIZE  rcvd: 119

mpdscribble 0.2.10 ready

Debian package for recent mpdscribble is ready. For now it's available only on usual location, upload into official archives will need sponsor as current one is not available. I hope to find one soon.

Big brother is watching you (on IRC)

The idea is simple, but I haven't seen this before. Place bot on IRC channel, collect URL and generate web page which shows linked images. This is exactly what irc.tnet.no does. Big brother is becoming reality. Maybe sometimes we will have also analysis what people really talk about, but images can tell quite a lot.

Anyway if you want to know what people search for, Slovak search engine provides you this possibility under URL containing well known year 1984 :-).

More ham than spam?

I just wondered, whether it is possible to receive more ham than spam emails. After 12 hours server outage, I can say that it is possible. However it takes only one hour and then spam again wins. At least it is good that spam bots are still not clever enough to retry sendins, they simply drop everything what could not be delivered. I only hope that none regullar mail server does it also, otherwise I'd lost that message.

Please report bugs

I sometimes random page on internet, where somebody in blog, wiki or whatever complains that something in Wammu or Gammu is broken. Last place where I noticed it was phone database. Why don't you report such problems to bug tracker, where you have much higher chance to make your problem fixed?

I know it is more work to collect all needed information, but if you want to use the software, it should be worth of it for you.

Server outage

I'm sorry for outage of this server. It was caused by short power down in serverhouse, which lead to server reboot. Unfortunately network interface didn't reset properly and thus computer was unreachable.

Everything looked fine, except it was not able to enable link intreface. PHY was somehow confused and it reported different state than usual (0x786d vs 0x7869). I will try investigate details later to avoid repeating this.

Removal of inactive developers

Marc yesterday proposed to remove inactive developers from project on sourceforge. This would clean up the list to show actual state of developers instead of everybody who contributed in past.

For past contributors there is huge credits section in documentation, so it should be enough for anybody ego ;-).

Lets see how it will evolve, at least Garvin seems to be against his removal.

Time to update PGP keys

Time to time I do full update of local PGP keys from keyserver. This reduces need for updating keys when checking not so important signatures.

This time it looks like lot of signatures were added:

gpg: Total number processed: 1442
gpg:               imported: 1
gpg:              unchanged: 810
gpg:           new user IDs: 78
gpg:            new subkeys: 14
gpg:         new signatures: 31038

Updating of all keys should be done with gpg --refresh-keys. It attempts to receive keys from not respoding servers defined in some keys, so I wrote simple script to do the same using default key server:

gpg --list-keys | grep ^pub | grep -o '[0-9A-Z]\{8\}' | sort -u > /tmp/keys
< /tmp/keys xargs gpg --recv-keys