Update 06/16/2009: On several occasions, commentators to this article pointed out that this post is somewhat incomplete. Therefore, before I continue, I would like to make some things clear. Before considering the code below, please note that spinlocks are totally useless on uni-processor computers. This is due to a nature of spinlocks, which I will […]
This question is especially relevant after yesterday’s fiasco. I ran into an article whose name is exactly Is desktop Linux too fragmented to succeed? The article argues that the fragmentation is what keeping Linux Desktop from beating Mac OS and even Windows. It is because the effort to create Linux desktop is scattered across multiple […]
Once every year or so, I get so frustrated with Windows Desktop that I decide to install Linux. I am a big fun of Ubuntu Linux. I use it for many things, this includes a server platform for this web-site. So most natural choice for me was to try Ubuntu 9.04, the latest version. I […]
There are plenty of virtualization technologies. There are organizations like VMware, VirtualBox and XEN, whose virtualization allows one to run several virtual computers using one physical computer. I worked at a company called ScaleMP. ScaleMP’s technology, vSMP, turns multiple physical computers into one large computer. Today I was looking for something different. I was looking […]
In this article I cover in depth Python’s optparse module. It presents most useful recipes and is a good handbook when parsing command line options in a Python program.
This article introduces signals in Linux to the reader. It explains the nature of signals, how to use them and gives few small use examples.
Table of contents Quick links Introduction Creating the backup What to backup Figuring out device file Preparations Actual backup Restoring from backup Preparations Restoring Restoring entire hard disk Restoring single partition Quick linksBACK TO TOC Backing up Restoring backup up disk Restore backed up partition IntroductionBACK TO TOC Backing up Linux installation and restoring it, […]
I can’t beleive all the things that you can do with Python. Obviously, whatever you can do with Python, you can do with a whole bunch of programming languages out there. What I am really impressed with, is the ease. Few weeks ago I was looking for a way to programatically send myself SMS on […]
Table of contents Quick links Introduction Creating the backup What to backup Figuring out device file Preparations Actual backup Restoring from backup Preparations Restoring Restoring entire hard disk Restoring single partition Introduction How scp works You can run commands on a remote computer using ssh Back to scp Creating our own SSH based application The […]
About this article I would like to do two things in this article. First I would like to tell you about SSH. How to make it work. How to use public key cryptography to login to a remote computer. How to execute remote commands and copy files to/from a remote machine. On the other hand, […]