Archive for January, 2007

Downloading DVD iso

Wednesday, January 31st, 2007

Yesterday, I tried to download debian DVD images from their site. One image is about 4 GB which is bigger than 2^32 bytes. So, here is the problem; since all the download accelerators use 32 bit integers for the file size, it doesnt work at all. I tried prozilla and axel. Then I also tried to wget the file into my server, split it and download the files. Wget doesn’t work either.

I sent an email to LKLUG and one of them suggested to use jigdo. But It takes hell of a lot of time to download it file by file. The other solution is to use bittorrent, but I have port limitation problems. So, the only solution left is to download and modify the source code of an accelerator. I downloaded the axel code, but It’s seems bit messy to change it. So, I decided to code my own one to download it. It’s time to start coding again.

IE String arrays

Monday, January 29th, 2007

I was doing a japanese shopping site and coded a small escape function in javascript which is also works for shift-jis encoding. The native function screws up the encoding. It worked prefectly, and I went on coding. I was doing all the development in firefox and suddendly the login function stopped working in IE(Actually not stopped working, It never worked in IE). The problem was that I used the javascript string as an array of char but in IE, it doesn’t support that. If I want to access a character I have to use the charAt function. When I searched in the Internet, I found that this is so common but just blogged it anyway.

New photos

Tuesday, January 23rd, 2007

I uploaded some of the photos of the trip.

Trip to Nuwaraeliya

Monday, January 22nd, 2007

Last week, we did few simple projects with php and one of them is a voting site. Basically a simple voting engine and the theme is similar to fear factor. The main text of my site says “Imagine a world where your greatest fears become reality. Welcome to ……” (Taken from a quote) and “Next stunt : Spend a week without using a computer… Are you ready?”..

After all these coding stuff I had to do it.. went four days trip to katharagama & nuwaraeliya with keshan, nuwan, banu, kasun and vpj, and amazingly it was not difficult at all, eventhough i spent few hours cleaning my huge inbox and replying to the emails.oh! god.. now i’m thinking how to start the remaining work… i just dont know where to start, and thinking whether it’s possible to keep on trying the stunt.

I’ll upload some photos ASAP.

Why did I choose computing?

Tuesday, January 16th, 2007

It’s just a matter of….never mind… look at the pictures below. it’s my dad’s old computer room.

100_4122.JPG 100_4118.JPG