Compression
on May 28th, 2010Compression is a process by which a piece of data is encoded in such a way that it will take up less space when stored. Once compressed, it must be uncompressed before that piece of data can be used.
Let me give you a very simplified example. You already know that a computer stores information in binary format. That is ones and zeros. So let’s say you had the following information:
11100000101000100000000111110111111100100000100000
The data above consists of 50 bits or digits. Is there a shorthand way to write this that takes up less space? Yes there is. Anytime a particular digit is repeated more than two times in a row, you could write it in a different way. For example, since the only valid digits are ones and zeros, any other digit could specify the number of times to repeat the next digit. So if you had six zeros (000000), you could write it 60 meaning six zeros. Writing it that way takes 2 bits instead of 6. If you used this convention to write the above number, you would get:
11150101301805107100150150
That only takes up 26 bits. That’s a savings up 24 bits. And that’s compression.
That is a very simple example of compression. The compression used on computers is more complex than that, but you get the idea.
Compression is pretty common place in the computer world. It’s used to reduce the size of something so that it can be transferred over the internet (or, God forbid, over a phone line) faster and also so that it takes up less space when stored. It’s also a form of encryption, although its goal is not security.
Years ago when hard drives weren’t all that big and they were expensive, you could compress your whole hard drive to save space. But there was a price to pay. Every time read from the hard drive, that data has to be decompressed and every time you write to the hard drive, that data has to be compressed. That slows things down. But with today’s large, inexpensive hard drives, there’s no reason to even consider compressing a hard drive.
Some files cannot be compressed because they are, in effect, already compressed or the format of the file is just not condusive to compression. One example is the jpg format, often pronounced jpeg. This is a method for storing images. Most digital cameras product pictures in the jpeg format. One of the great things about jpeg files is that their native storage format is already compressed. You can try to compress it further, but you want get much, if any savings in size. In fact, due to the overhead of compression, you’ll probably make it bigger.
Zip files are compressed, but they have the additional advantage that you can group more than one file into the compressed file. Windows can handle zip files, but it calls them compressed folders. If you have multiple files you want to store together, you can put them in a zip file (compressed folder). You can then store them somewhere and since they are compressed, they will take up less space. You can transfer or transport them as well. When you are ready to use them, you must decompress them.
If you want to create a zip file in Windows, just select the file, or files, you want to put in the zip file, then right-click on them and choose “Send To” and then choose “Compressed (zipped) folder”. It will create the file and then let you choose a name. To open a zip file, just double click it.
By the way, Zip files (compressed folders) are not the only way to compress data on a computer. But Zip files are the only ones supported by Windows. If you want to use one of the other ones, then you will need additional software.
Some of the more popular formats used today include RAR and 7z. If you want to create RAR files, check out WinRAR (http://www.rarlab.com/). WinRAR also works on zip files, but it’s not free.
For the 7z format, check out 7-Zip (http://www.7-zip.org/). 7-Zip not only works on 7z files, but also works on Zip and RAR files. This is the utility I use most. It works great and the best part is, it’s free!
Most residential computer uses, however, don’t need anything more than what’s built-in to Windows.
Accessibility Options in Windows
on May 10th, 2010Windows has a group of features called Accessibility Options. These are Windows options that can be set to help people who physical impairments that make it hard to use a computer. People who are def or hard of hearing, are blind or have limited eyesight, or people who have difficulty using the keyboard or mouse. If you or someone you know falls into any of these categories, windows has special features that can help you better use a computer.
There are actually quite a few accessibility options. Too many to go over in detail in this article. But here is a description of some of the more popular accessibility options.
Magnifier
It’s like a big rectangular magnifying glass that you move around the screen with your mouse. It magnifies anything in the box to the power you set. 200% by default.
High Contrast
For people with impaired vision, you can use a high contrast color scheme to make things easier to see. High contrast color schemes increase the legibility by heightening screen contrast with alternative color combinations. Some of these schemes also make things on the screen bigger.
Visual Notifications
By default, Windows uses a lot of sounds to notify you of what’s going on. But if your hearing isn’t very good, Visual Notifications allows you to have visual notifications in addition to audible notifications. You can choose what you what notifications you want it to give you visually.
Narrator
This is a text-to-speech program that basically reads what on the screen to you.
Speech Recognition
If you have trouble using a mouse or keyboard, Speech Recognition allows you to speak commands to your computer. You’ll need to have a microphone connected to your computer for this to work.
Filter Keys
if you tend to hold keys on the keyboard down too long or press it several times when you intended to only press it once, then you probably often get more than one character of the key you pressed. If so, then you might want to enable Filter Keys which will ignore keystrokes that occur in rapid succession.
Sticky Keys
Windows has quite a few keyboard combinations where you have to press multiple keys at the same time. For example, Control-Alt-Delete. When Sticky Keys is enabled, you don’t have to press them all at the same time. You can press them one at a time. So, if Sticky Keys was turned on, you could press and release control, then press and release Alt, then press and release Delete.
Mouse Keys
If you do OK using the keyboard, but have trouble with the mouse you can enable mouse keys which lets you use the arrow keys to move the pointer.
Note that XP doesn’t have all of the options described above, but Vista and Windows 7 do.
This list above is a very small portion of the many accessibility options in Windows.
For detailed information on all of the accessibility options in Windows XP, go to: http://www.microsoft.com/windowsxp/using/accessibility/default.mspx
For Vista, go to:
http://www.microsoft.com/enable/products/windowsvista/
For Windows 7, go to:
http://www.microsoft.com/enable/products/windows7/
An Idle Computer
on May 10th, 2010What Good is an Idle Computer?
With the recent green push, some people feel you should shut your computer down when you aren’t using it. Or you can put it in hibernation or sleep (For more information about hibernation and sleep, see our recent newsletter article on our website). Although it’s a good thing to try and save electricity, you also have to be smart about it.
When you are using your computer, you want it to be at its best so you can do what you need to do efficiently. You don’t want your computer doing maintenance tasks while you are trying to use it because it slows you down. You want your computer to do it’s maintenance tasks when you aren’t using it. That’s why you should not shut your computer down, put it into hibernation, or put it to sleep when you aren’t using it.
You can have windows turn off your monitor after a certain amount of time to try and save electricity. If you have Vista or Windows 7, you can have them shut down other components of the computer to save electricity. Setting these settings will allow your computer to do the maintenance it needs to do when you aren’t using it, but will still save some electricity.
Typical maintenance tasks that your computer might do when you aren’t using it include, but are not limited to, update security software, scan computer for infections, backup, defrag, and more. There are, however, other additional tasks you can have your computer perform. How would you like to have your computer fight cancer and other diseases like AIDS, MD, and more? Or perhaps you would like your computer to look for E.T.? You can have your computer do all of these things and more through the use of distributed computing.
The idea behind distributed computing is instead of using one big expensive computer to process data, why not break the data up into little pieces and have a lot of less expensive computers each process a small piece of the data. Your computer can be one of these computers and it’s free and easy to do.
It all started with the SETI@Home project at Berkeley. Back in 1999, they created a screen saver that would kick in when you weren’t using your computer. This screen saver would process data for the SETI (Search for Extra Terrestrial Intelligence) Institute. Since then, the software used for this has evolved way past a simple screen saver. The software is now called BOINC (Berkeley Open Infrastructure for Network Computing).
Now there are lots of projects, in addition to SETI@Home, that you can have your computer work on. And you don’t have to limit it to one project. You can work on lots of them. I started with SETI@Home back in 1999. I still have my computers do some work for that project, but most of my computers concentrate on projects from World Community Grid. Why? Because their projects save lives. They are the ones with the projects that help fight Cancer, AIDS and other diseases. Their projects help people.
Yes, using your computer for distributed computing does use a little more electricity. But isn’t it worth it to help save lives? And if you have a friend or family member who has died from Cancer, or is fighting cancer right now, why wouldn’t you want to join in the fight?
If you want to use your computer to help with these projects, here’s how.
First, go http://setiathome.berkeley.edu/ to download and install BOINC. Now run BOINC. It will give you the option to attach to projects like World Community Grid or SETI@Home. You’ll create logins for each project as well. You can configure BOINC to run all the time, or only when your computer is idle.
If you need help with BOINC, we will be glad to help you with it remotely at no charge. Here are some websites with more information to references in this article:
SETI@Home http://setiathome.berkeley.edu/
World Community Grid http://www.worldcommunitygrid.org/