RLE (Run Length Encoding) to demonstrate basic compression + Implementation in C

File Compress Figure

I’ve been reading about basic compression techniques and RLE (Run Length Encoding) is as simple as it gets. I decided to write a whitepaper on the technique and also implement a working demo in C. Though RLE is not a great way to compress data, its an excellent start for anyone who wants to delve into compression schemes or just wants to understand the theory behind basic compression. If you want to use/modify the source code feel free just keep the original header intact. Click the link below to read the complete paper.

Click here to download the complete whitepaper in PDF format

Advertisements

Visual C++ intermediate files / folders cleaner

If you like me find it extremely frustrating   to manually clean intermediate files generated by Visual Studio while compiling projects, this is a great solution.

Visual C++ Cleaner is a small script written by me entirely in VBScript that automates the cleaning of intermediate files that are normally created when we compile Visual C++ projects.

Its features are –

  • Clean the entire folder (with subdirectories) by entering only the path
  • Clean by extension
  • Clean by folder name (Debug, Release etc.)
  • Built in logging support
    Current extensions which are cleaned –

pch,clw,aps,plg,opt,ncb,scc,ilk,htm,vss,pcx,bkp,bak,bsc,user,suo

Current folders which are cleaned –

    debug, release

    This script is extremely flexible and can be used even for system maintenance by making a small change to the script. You can include any extensions which you want cleaned from your system and the script will take care of the rest. This script is also a great way to learn the basics of the VBScript language.

    I’ve even created a small user manual if you are finding it difficult to use the script

Huge list of freeware/open source software

open-source-logo

freeware

For those of you who hate paying for their software, here is a huge list of freeware / open source software. P.S – I have not compiled this list. I just got it through an email received from a friend. The list includes Windows as well as Linux software.

3D Graphics:
3Delight Free – http://www.3delight.com/index.htm
Anim8or – http://www.anim8or.com/
Aqsis – http://www.aqsis.com/
Blender – http://www.blender3d.org/
Houdini (Free Edition) – http://www.sidefx.com/apprentice/index.html
Now3D – http://digilander.libero.it/giulios/Eng/homepage.htm
OpenFX – http://www.openfx.org
POV-Ray – http://www.povray.org/
SOFTIMAGE|XSI EXP – http://www.softimage.com/products/exp/v3/
Terragen – http://www.planetside.co.uk/terragen/
Toxic – http://www.toxicengine.org/
Wings 3D – http://www.wings3d.com/

Read more of this post

Tweak Firefox beyond expectations!

firefox-logo

Firefox is a great browser and I just can’t write enough about this amazing piece of software. Here’s another reason why I love Firefox (coz I can tweak the crap out of it!) –

1. Start Firefox

2. Type about:config in the address bar and press enter

3. Access advanced options and hidden configuration not available from Edit > Preferences

Click here to read the official documentation about this feature.

Load a linked image without opening a browser window

Free Image Hosting at www.ImageShack.us Free Image Hosting at www.ImageShack.us Free Image Hosting at www.ImageShack.us
Grease Monkey (Firefox extension) + Greased Lightbox (Grease Monkey Script) = BLISS

*Happy!* – That was my reaction after I installed Grease Monkey and the Greased Lightbox script for Grease Monkey. What the hell am I talking about ? You want to smile too? You hate opening up seperate browser windows for viewing images too? Well then follow the simple instructions below –

1.) Download Mozilla Firefox Browser – Click here

2.) Download Grease Monkey (Firefox Extension) – Click here

3.) Download Greased Lightbox (Grease Monkey Script) – Click here

Note – If nothing happens after you click on install extension after going to above sites, there will be a bar that says “Site was blocked… blah blah”. Just click the options button at the end of the bar and add the above sites to the safe list and then install the extension
After you have followed the above instructions, just goto Google Image Search and click any image – Wow! Nifty isn’t it? You can also use the right and the left arrow keys to browse through the images!

Say hello to XGL and AIGLX

tux-logo
XGL and AIGLX (Accelerated Indirect GL X) are the latest technologies being developed by Novell and Fedora respectively. They are determined to give you much better eye candy for your Linux desktops than what the current systems provide.

Read more of this post

Tame that Fox and Bird!

firefox-logothunderbird-logo

If you ask me I think Mozilla Firefox beats any browser hands down. Mozilla Thunderbird is the best email client out there. The icing on the cake is the fact that both these great products are free as well as open source. It just doesn’t get any better than this. The latest versions of Firefox and Thunderbird are 1.5.01 as of this writing. I have received emails asking me how to install these products as they no longer use an installer. Instead we have an archived file that needs to be setup properly. So without wasting any more time, here’s how to install them – Read more of this post