Check out Microsoft Windows XP with(out) Firewall !!

Source: http://www.lol.com/
Check out Microsoft Windows XP with(out) Firewall !!

Source: http://www.lol.com/
To find a digital roots of an integer is a very common question in high school when doing introductory programming. Digital roots are defined as follows. First an integer is taken if the number of digits are greater than 1, then the sum of its digits are done, if the sum has more than one digits then again the sum of digits are done, and so on until a sum of digit has only 1 digit. This last value of the sum of digits containing a one digit value is defined as the digital root of a number. First we describe in brief what a digital root is then present a shell script.
Continue reading “Bash Script : Finding Digital Root of an Integer”

My friend told me to install Fedora12 in his laptop with a destroyed DVD drive. What i did first is made a bootable USB and extracted the required files into it from the Fedora DVD ISO image. Then went to the fedoraproject site and read the docs about the requirements and started. With the below process you can install Fedora12, or any distro capable of installing from ISO image, from an HDD, USB or whatever.
I logged into my Gmail account and instead of landing in my Gmail Inbox page I landed in a some other page talking about something called Google Buzz. . A quick glance told that it is a new service of Google which integrates itself in Gmail and has social networking features. Google has started rolling this service gradually to the Gmail users. On the left hand side column the new Google Buzz link with a typical Google type logo indicates that it is integrated in my Gmail account. So what’s buzzing in the Buzz?
Read more to listen to the buzz in the Buzz

I just started using Google Buzz after noticing the tag on the left side of my Gmail account. I read what is it about and started to use it. When testing the features, I ended up selecting the “Mute this post” option from the corner drop down menu of a Buzz. And it was gone, from by Buzz update list. Reading the help said that muting a Buzz would not show any more in your Buzz list / inbox when some comments or updates are there on that Buzz, that is, the Buzz has new comments it will not appear in upstream on the top of the list. While you are reading the ‘m’ shortcut could also make a post to mute. A short Googling dropped me in Google Forums and i got this link . I read that Muted Buzzes could not yet be searched.
Playing around with Buzz lead me to a simple solution which i posted on that thread and also presenting below.
Read more to Unmute a Google Buzz
We were having a Digital Electronics hardware practical class. One of my friend was given the task to store and retrieve data from the 7489 IC, a 16×4 = 64-bit ram chip. The circuit assembly was very easy and was done very fast. Now just to enter data and take out and check if they are the same with the stored data. Practical complete. But the practical class ended other people finished their assigned works. But the friend disassembled the circuit, and reassembled it and double checked the connections. I asked “what’s the problem” . Answer “I cannot get the proper output, 0s are stored okay, but the 1s are not. Whatever I store in the RAM I get 1111 as output” (The output of 7489 is inverted). Some more time passed. At last I suddenly noticed he was switching the power on taking some readings and putting the power off.
In the practical lab, before changing any wire connection we shut the power down for safety. But when I had a close look of what he was actually doing is described as follows: He fed some data in the first byte of the RAM chip, shut the power change the wire connections to feed data in the second byte, turn on the power, then turn off the power, change the wire connection for new set of data in the next byte, turn on the power and so on. And when he was finished feeding all 64bits, tried reading the data.
Click here to read the conversation….
GRUB is a very common bootloader on GNU+Linux systems. Many people multi boot their computers with Windows, different flavours of GNU+Linux and other operating systems, and some times GRUB gets destroyed/removed accidentally. In those case there is no other way except reinstalling GRUB. Also when making a bootable USB device GRUB is useful. We will talk about how to install GRUB in a partition with the help of the grub-install script which comes with the GRUB package, and also how to manually install GRUB using grub shell.
Continue reading “Installing GRUB Bootloader”

Fedora comes with GNOME as the default desktop environment, and GDM as the default login manager. The login manager is the screen you see when logging in. Like GNOME has its login manager, KDE has its own login manager KDM. While logging in you can select which desktop environment you want to use from the sessions menu of the login manager. But there seems to be no ways to switch between these login managers. But you could do this manually by adding a couple of lines to a file. Check this out.
Continue reading “Choose login manager GDM or KDM in Fedora”
This one is from the school days. We had a compulsory basic computer classes in class 8. The day the teacher started to describe how a computer hard disk work, under input/output chapter. He told there were some platters, ie. disks inside the hard disk box, and they rotate in very high-speed, and as the head positions itself in the proper location over the platter and flies on it the data is read. Everything was pretty fine till now until the next thing was told. He said, “when one platter is full with data it moves down the stack of the platter to the bottom, and the next disk is used”. “Woah!, OOohh!, Ure Sala!” these were some of the reactions from the students. He continued, “and that’s why hard disk drives are slow, it needs to switch platters when some data is needed is not in the current platter”. Some body protested using his common sense, “where is the space for the platter to move down the stack?”. Answer was “it might seem there is not enough space but it actually is designed like that.”
Next day another teacher came to class, everybody told him about this, his reactions were: “Did he say so? Really? ….. He has gone mad. Ok let it go ..” , and he described the real mechanism of the hard disk.
Problem: Convert an integer from a given endian to its opposite endian
In computation endian refer to the ordering of bytes within a single word of 16-bit, 32-bit, or 64-bit. A 16-bit word contains 2 bytes. Say 0x12AB is a 16-bit hexadecimal integer. It’s most significant byte is 12 and the least significant byte is AB. When it is stored with the most significant byte 12 first in lower memory address, and the least significant byte AB is stored next to it, in higher memory address, then this storing format is called the big-endian. If the leas significant byte AB is stored first in higher memory address and the most significant byte is stored next to it, that is in the lower memory address then this format is known as the little-endian. Similarly for a 32-bit word say 0x1A2B3C4D , for little-endian format the least significant byte 4D would be stored first in lower memory address, and next would be 3C, next 2B and then at last the most significant byte would be stored 1A.