Mathematics, philosophy, programming, in-line skating, and everything in between. More about me…

My Blog

My Latest Tweets

Follow me on Twitter…
English | Czech
Choose your language. I write in English, but I translate most of my articles to Czech as well. Zvolte si jazyk. Píšu anglicky, ale většinu svých článků překládám i do češtiny.

Python

Matrix Multiplication in Galois Fields With Python

A few weeks ago I needed to quickly verify a result of matrix multiplication. Having only a few minutes, I had to resort to a DIY solution instead of finally learning how to use numpy (yeah, still on the TO DO list…)

January 13, MMX 7.45 AM — Mathematics, Programming and Python. 1 comment.

tcviz 1.2

I’ve released a new version of my tcviz script. Apart from making a few improvements under the hood, I’ve fixed a bug – never again will tcviz choke on hexadecimal major/minor numbers :-)

December 28, MMIX 1.00 PM — Linux, Programming, Projects and Python.

dæmonēs: Easy Daemon Management

Since I develop and test various web applications, I usually need to run a web server and one or two database servers. To avoid wasting resources, I start the necessary server daemons only when I need them. Unfortunately, this method is rather uncomfortable. Or, it used to be. Until I wrote a script called daemones.

September 14, MMIX 11.25 AM — Linux, Programming, Projects and Python.

tcviz 1.1

A new version of my little tcviz script is out. I’ve fixed a few ugly bugs. tcviz can now also load the TC specs from files instead of reading live TC setup. This is mostly useful for debugging.

July 30, MMIX 1.15 PM — Linux, Programming, Projects and Python. 1 comment.

abacus: a Key-Counting Daemon

abacus is a simple daemon that counts every key that you press. Its only use is to generate interesting charts that show how much you type every day :-)

July 14, MMIX 11.00 AM — C++, Linux, Programming, Projects and Python.

autoEQ: The Taming of the Amarok Equalizer

Are you tired of manual enabling, disabling, and reconfiguring the Amarok equalizer? I used to be… until I developed a nice Amarok script to do the work for me. Meet autoEQ, a program that monitors what tracks you listen to and automatically selects equalizer presets according to your own rules.

June 28, MMIX 7.00 AM — Linux, Programming, Projects and Python.

Visualizing Linux Traffic Control Setup

In the past six months I had to deal with Linux traffic control (TC) a lot. I was literally blown away by the advanced features of the system. Of course, the versatility comes for the usual price: complexity. I definitely do not regret the time spent on understanding the principles of classes, qdiscs, filters, major and minor numbers, etc. However, I think I have found a way to work with them more easily.

April 5, MMIX 12.00 PM — Linux, Programming, Projects and Python. 11 comments.

Three Drops of Python

The more I get to know Python the more I like it. In this post I am going to share three code fragments that I wrote in the past few months. Whether useful or not, they demonstrate the beauty of the language that I admire. No doubt my code could be improved. I’ll be grateful for any suggestions.

February 17, MMIX 11.00 AM — Programming and Python.