Archives for posts with tag: compression

If you are mobile and perhaps work between a number of different computers there is a range of software that is always good to have around.

Many programs can be run entirely from a universal serial bus (USB) drive (“memory stick”, or “pen drive” are other common monikers). This has the benefit that it doesn’t install any files, or change any settings, of the host computer it is plugged into. Particularly useful if you are sharing a computer and want your files kept separate.

There are many types of software that fit this category. Some programs are released in different versions, with one version being a USB drive version that is more portable (and sometimes of smaller file size with equal functionality than its installable counterpart).

So you can read / reply to emails from your familiar email program whilst using a public computer without putting files on the public machine, for example. Essentially you are just using the host computer for processing power, not to store your files or software.

Some popular sites that maintain listings of such programs are pendriveapps and portableapps.

Digital information should be packed away neatly when not in regular use, I feel. Not only does it mean the disk space is better utiliised the contents are easier to navigate.

A method for doing this is to use software to compress files. The one I use, and recommend as part of the Life hack series, is 7-Zip.

It is open source (for the most part) and entirely free to use. It has great compression ratios compared to other similar software, and is one of the first programs I install on a personal computer (PC).

As well as saving space on the hard disk, it also greatly saves bandwidth when transferring files, so indirectly lowering the users carbon footprint.

It’s good to spread the Word of God, and another way of doing so is by spreading the word of COD, or Christ On Disk Bible viewing program to give it its full title.

When I initially started the Christ On Disk (COD) project back in 2002 I was surprised I couldn’t download a free Bible viewer that was small in size. Most Bible viewing programs were about 6Mb in size, some much more. So I set about learning how to create one. (With the problems challenges in its creation I later realised why I hadn’t been able to download such a program ;)

The unique aspects of the COD are that it is able to display all 1189 chapters of the entire Bible, and still be able to run from a floppy disk, being only 1.29Mb in size. It does all of this without needing to be installed in any way.

Lateral thinking can prevent slow speeds online

Lateral thinking can prevent slow speeds online

Bandwidth. How big is yours? Do you care? Well apparently, we are all demanding more of the stuff with streaming video from the BBC iPlayer and other video casting sites. The pessimists write about how it could break the Internet, how it could change the price of a loaf of bread, and even cause your mother to say “I told you so.” (OK, well maybe not as bad as that, but I’m sure it sold a few more papers anyhow).

This causes me to have that 1000pixel stare and get flashbacks when I sleep at night. You see, as a Web veteran from the last century, remembering the day Yahoo (all one page of it) appeared on the Web, and the onset of Flash I get a deja vu feeling about it all.

Back in those Halcyon days, when “surfing the net” meant annoying a fisherman while catching waves, bandwidth was a most precious commodity. Not precious in the way of kilobits, but bits. Yes, every bit counted.. and there wasn’t that many of them to count either!

Having a 56kbps line was a veritable storm drain in the plumbing of data transfer, and web designers pushed out the boat, or graphic content to be exact. In addition to this, more people were getting ensnared in the web daily. How could this fledgling Web grow when so many ‘flies’ were trying to ensnare themselves therein?

Well the answer, other than “very quickly, actually”, is smartly. Smart how? You see, the problem was tackled from two directions, above and below. Capacity was increased by modernising infrastructure and laying new ‘spider threads’ as you’d expect – the tackling from above bit, and this is the main* thrust of the current debate being discussed in the media. (* ‘main’ as in ‘only’)

Now here’s the ‘but’; the problem was also tackled from below by web designers. They created pages more appropriate to the available bandwidth – bandwidth optimisation. To see just how effective this is, compare and contrast the effect of a bumblebee at full kilter hitting a web to that of a midge fly reversing round a bend and nudging a web.

The savings when optimising, compressing, trimming off the fat, paring down to the essentials can be substantial. It’s worthwile. Consider shaving 1% of data off downloading a web page ( this seems a modest task as a quick check of my current 22Kb web page shows I could save about 2kb just by removing extraneous spaces in the code – which is nearer 10% of shaving-savings than 1%!). Multiply this up by the amount of people sucking content out of your server users and your savings just keep stacking up. The more users the more savings.

Every designer and his pet goldfish is using javascript frameworks, CSS, and all other manner of unclean meat in websites these days. Isn’t it time to bring on the code obfuscators that reduce variable name lengths down to a character, and all other manner of compression enabling technologies we can throw into the mix? I think so, in fact, I know so. Optimisation worked very well before and helped the Web become what it is today.

Gone on, impress your wallet, compress your code. You know it makes sense when breaking the bandwidth barrier. ;-)