I have graduated

Posted on 08 July 2012 in Articles • Tagged with projects, life, science • 1 min read

I have graduated!


Continue reading

C's heritage: bitwise and equality operators

Posted on 29 December 2011 in Articles • Tagged with programming, C, JavaScript • 2 min read

The design of C made by Brian Kernighan and Dennis Ritchie has influenced the whole software and hardware industry. Sometimes you can feel the heritage of C even in modern high-level dynamic languages like Javascript.


Continue reading

Python: comparing to None

Posted on 01 August 2011 in Articles • Tagged with programming, Python • 1 min read

Python's documentation states that one has to use the is operator to compare a variable to None. What happens when you avoid that advice?


Continue reading

Inside Python: understanding os.listdir()

Posted on 08 May 2011 in Articles • Tagged with programming, Linux, Python, C • 2 min read

If you've been using python for a long time, then you surely know that os.listdir() function returns an unsorted list of file names. I didn't care much until facing a situation, in which the sorted-sequential processing of files was crucial, and I could not remember whether the previous file processing were done in sorted order. Well, luckily they were. But hey, this is a little bit annoying, isn't it? Why os.listdir() returns an unsorted list of files? Would you like to find out?


Continue reading

Opera extensions: YouTube suite

Posted on 31 December 2010 in Articles none • Tagged with Opera • 4 min read

Ah, Opera! My favourite browser has been recently update to version 11. There are lots of new beautiful features, like Presto 2.7 engine, improved HTML5 support, tab stacking, mouse gestures visualisation, smart address field, Extensions and much more. Opera 11 has been officially out for just two weeks, and there are already 300 Extensions (also known as "Add-ons" in Firefox and (surprise!) "Extensions" in Chrome) available!


Continue reading

Assembler for beginners

Posted on 08 August 2010 in Articles • Tagged with programming, Assembler • 1 min read

About introductory book to programming using assembly language.


Continue reading

Linux, it's time to wake up!

Posted on 22 May 2010 in Articles • Tagged with Linux, ACPI • 3 min read

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 28 April 2010 in Articles • Tagged with Opera • 3 min read

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 24 April 2010 in Articles • Tagged with programming, Python • 5 min read

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 01 April 2010 in Articles • Tagged with Linux, Ubuntu, Debian, disk, fail • 1 min read

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


Continue reading