Archive for 29 September 2009

Unfortunately some of my work colleagues use yahoo messanger for IM needs.

This have been not a big problem for years – I just installed python yahoo transport into our local jabber server, and communication just worked.

…until today. Since today, yahoo transport no longer connects. They want newer protocol.

So basically they behave like ICQ.

Why in the world do people use this shit instead of proper IM tools?..

We are still running several servers under Xen control. That was perhaps a mistake to choose Xen, but now over 20 domU’s are there and moving to something better is hard.

Today during system maintaince, I faced that one server is unable to start any domU, with an error

Error: Device 0 (vif) could not be connected. Hotplug scripts not working

Looking the net did not give an answer – people do ask about it, but answers either don’t exist, or are clearly not my situation.

So had to search for solution myself.

At some moment I noticed that server has several udevd processes running. That looked wrong for me. I attached to one of those with strace -p and found that it is hanged in sendto() to a unix domain socked with multipathd at the other side.

Restarting multipathd restored normal server functionality.

So who could think that hanged multipathd may affect starting Xen domUs …

Why in the world your webmasters think that you should decide if your reader will read wide or narrow text pages?

Ever heard that web browser windows are resizable?

If I have my window resized narrow – and I may have that for a reason! – why in the world I’m seeng horizontal scrollbar and text is behind right window border, while half of window contains nothing than background?

If I have my window resized wide – and I may have that for a reason! – why in the world I have to look at huge empty pads at both sides while text (e.g. code examples) is not fitting in the central field, for the best having ugly horizontal scrollbar attached, but more often just garbling other text on right?

P.S.
Still searching a nice-looking non-fixed-width wordpress theme with internationalization support …

Sometimes it is useful to have local branches following all branches in a remote repository. For example, if building debian packages from git repositories fetched from git.debian.org using git-buildpackage, one normally needs master, debian and pristine-tar branches.

To update each of those, one has to run

git fetch remotename

and then for each branch run

git checkout branchname
git merge remotename/branchname

Here is a helpful script to do all that automatically. Just ensure that your working directory is clean, and run

git-update-from remotename

and you get all local branches updated (and new ones created if new branches appear on the remote server).