Python classes: Dynamic properties

Posted on 10 March 2010 in Articles • Tagged with programming, Python • 3 min read

Python never stops surprising me. While doing my master IT project, I was looking for a way to add dynamic properties to classes (we're speaking of new-style classes of course!). I did a little research and here are the results...


Continue reading

Beginner's guide to creating a GNOME 2 applet with Python (Part II)

Posted on 19 August 2009 in Articles • Tagged with programming, Python, Gnome • 4 min read

It's been a while since I wrote the first 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 are adviced to read this part.


Continue reading

Big and Little endianness quest

Posted on 01 August 2009 in Articles • Tagged with programming, G.729, C, VAD • 3 min read

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.


Continue reading

Byte-compiled ChangeLog

Posted on 03 April 2009 in Articles • Tagged with programming, Emacs, Elisp, regex • 2 min read

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. How could that happen?


Continue reading

Beginner's guide to creating a GNOME 2 applet with Python (Part I)

Posted on 25 February 2009 in Articles • Tagged with Gnome, programming, Python • 5 min read

A bootstrap guide on creating Gnome2 panel applets with Python.


Continue reading