Linux, it's time to wake up!

Posted on Sat 22 May 2010 in articles • Tagged with Linux, ACPI

Back in my "Windows" times, I was a fan of Foobar2000 music player. One of my favourite plug-ins was "Alarm", which could turn user's computer on during "suspend" state. So, I could switch my laptop to "sleep" mode, and be awaken in the morning by music from Foobar's playlist :) Is it possible to reproduce a similar trick in Linux? It depends on your hardware. Let's give it a try!


Continue reading

Why Opera?

Posted on Wed 28 April 2010 in articles • Tagged with Opera

There are so many browsers out there! Internet Explorer, Chrome, Firefox, Safari - are the major players on the market. But hey, there is another major and one of the oldest browsers in the world: Opera. You might have heard lots of rumours about it. Maybe even used it. Or maybe you belong to a small group of people, who actually use this browser everyday. Would you like to know, why I've been using Opera for 10 years?


Continue reading

Inside Python subprocess communication

Posted on Sat 24 April 2010 in articles • Tagged with programming, Python

Sometimes, it's really hard to understand what happens inside a function or even a whole module of Python's Standard library. For example, the subprocess module contains a very tricky Popep class. I tried to use the the module to communicate with a MATLAB subprocess shell (e.g. send MATLAB commands to subprocess and read the output). Unfortunately I failed and was just able to pass a MATLAB script via command-line arguments. Yet, I learnt much about the Popen.communicate() method and I'd like to share this knowledge with you.


Continue reading

A very long nightmare

Posted on Thu 01 April 2010 in articles • Tagged with Linux, Ubuntu, Debian, disk, fail

The worst thing has happened: I have an unexpected drive failure. That's how my Easter has started :(


Continue reading

10 Amazing life lessons you can learn from Albert Einstein

Posted on Sat 27 March 2010 in articles • Tagged with life

I'm sure, you know, who Albert Einstein is. I remember the basic Relativity Theory course taught at 10th grade of school. That's when I first met Einstein's ideas. It was hard to believe that c, the speed of light - is the maximum speed in the Universe. It was hard to understand, why a time in a spaceship that achieves a speed close to c runs slower and slower. Albert Einstein explained it all. He published more than 300 scientific and over 150 non-scientific works. He is considered the father of modern physics and is probably the most successful scientist there ever was. I think we should learn a lot from him. Wandering around the web, I ran into a wonderful "10 Amazing Life Lessons You Can Learn From Albert Einstein" article by Mr. Self Development I loved Einstein's advices very much. And here they are:


Continue reading

Python classes: Dynamic properties

Posted on Wed 10 March 2010 in articles • Tagged with programming, Python

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

Back to life

Posted on Wed 19 August 2009 in articles • Tagged with life

There were no blog updates during 8 month! But I am finally back to life!


Continue reading

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

Posted on Wed 19 August 2009 in articles • Tagged with programming, Python, Gnome

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 Sat 01 August 2009 in Articles • Tagged with programming, G.729, C, VAD

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

Emacs, LaTeX and pdf viewer

Posted on Tue 14 April 2009 in Articles • Tagged with Elisp, Emacs, LaTeX

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


Continue reading