Zaur Nasibov
The art of programming
Latest posts
Beginner's guide to creating a GNOME applet with Python (Part II)


It's been a while since I wrote the first [1] part of this guide. I'm happy to introduce you the second part of the tutorial. This part continues the story about applet-only techniques. Even if you're skilled in PyGTK, you're adviced to read this part.

Read more...
Big and Little endianness quest


Sometimes the bugs in programs do not depend on a programmer. For example, when a programmer expects a certain result from a built-in function, that would be the last place to check for bugs. But sometimes weird stuff happens, and it also happened to me.

Read more...
RSS.py - RSS 2.0 builder


The rss.py is a small open-source library written in Python 3 that helps generating RSS 2.0 feeds in easy and convenient way.

Read more...
Python and config files routine


Few days ago I wrote a helper class to deal with 'config' files. I used Python's power to seal config files handling routine to generic, type-independend, easy-to-understand way.

Read more...
Emacs, LaTeX and pdf viewer


A short note on how-to set a pdf-viewer for LaTeX-generated documents in Emacs.

Read more...
Byte-compiled ChangeLog


My favourite all-purpose, extensible and customizable editor is Emacs. Mastering Emacs takes months, even years, and there is always a lot to discover. For example, I've just seen how Emacs tried to byte-compile a simple ChangeLog text document. Of course Emacs did what I asked to do it according to the rules defined in my .emacs.el.
So...

Read more...
Beginner's guide to creating a GNOME applet with Python (Part I)


Programming is an art.
To be more specific, it's an everlasting art. There is no program that could completely satisfy a user. And I doubt that there is a program that could completely satisfy a programmer.

I spend hours in front of my computer. Of course that is very unhealthy for the eyes. I wanted to create a simple reminder applet - an eyes icon that changes to "bloody" eyes - indicating that it's time to relax.

This was my first GNOME applet, my first GTK and more or less serious Python experience and I'd like too share it with everyone, who deals with his or her first GNOME applet.

I hope, this tutorial will help you.

Read more...
The legacy of the initramfs optimization


I was shocked receiving the "Target filesystem doesn't have /sbin/init" message. I've surfed the Internet for possible solutions - none of them helped. I had to remember everything I've changed in my system during past 3 months.
Finally, I remembered..

Read more...
Programmer's life in pictures


The tree swing picture first appeared in early 70-s. This one is little bit bigger than the original, still shows the reality of how programs are developed :)


Read more...