Feeds:
Posts
Comments

Archive for February, 2008

Lot of people have been asking me how to save swf animations and YouTube videos. Although i have already covered these in my earlier posts, but this time we see a new way to view temporary internet files for firefox.

People know that in Internet Explorer they just open a folder of temporary internet files, view all saved content and copy any file they wanted. Some people still come and ask me which folder to open for firefox ??

Actually for Firefox there is no folder. Firefox stores all its cache data in a single file. Now to read this file you can go to you address bar and type

about:cache
cache0.jpg

You get all the cache entries stored on your disk or memory, whichever you choose.

Now its pretty difficult to locate what you are searching for and this is where Cache Viewer comes into play.

This extenion is GUI Front-end of “about:cache”.
Allows searching and sorting memory and disk cache files.

Just install cache viewer addon from firefox website. Here’s the link .

When you open the viewer you get a complete list of the cache. You can search anything you want.

cache1.jpg

Now when you need to save something just right-click and select the Save As option.

cache2-copy.jpg

Enjoy ! Browse and Save what you want !!

Advertisements

Read Full Post »

Dumbest Solution Ever

In my last post I was talking about the contest which was organised. There was a particular question. This is the question –

E-Commerce R-Us recently discovered that their e-commerce site did not include a credit card number verification operation on the data that the user submitted for buying their software. The company decided to hire you and your team to develop a credit card validation program. You will be provided with a credit card number with the length varying from 13 digits to 16 digits. The algorithm is a simple mod 10 operation. Each number of the credit card is weighted by either 2 or 1. The credit card number must be zero-filled on the left to create a sixteen digit number, and then the pattern starts with 2, alternating with a 1. If the number multiplied by the weight results in a 2-digit number, each digit is added to the sum. The final sum with the check digit should be a multiple of 10.

Input Format: The user will provide you with a credit card number without spaces.

Output Format: The program will return “Valid” or “Invalid” depending on the success or failure of the check digit.

 Input:
5499001100120034
 Output:
Valid
 Input:
5499001100120036
 Output:
Invalid

The question is so easy that you needn’t even solve it.

But now comes the main part, a team from 1st year submitted the following solution. Read it and laugh aloud !! 😀

#include<stdio.h>
#include<conio.h>
void main()
{
long int a;
printf(“enter value of credit card”);

scanf(“%d”,&a);
if(a==5499001100120034)
printf(“valid\n”);
else
printf(“invalid”);
getch();
}

Read Full Post »

Last month I got a chance to organise an event all by myself. We had to do all the work from preaparing notices to checking answers. I took around 4 hrs to select ssome questions because questions had  to be easy and tricky. The worst part was checking answers, because we had to go through some of the dumbest solutions ever  🙂  I will cover that up in my next post my one extremely ‘intelligent’ solution.

Click on the link below to download the questions –

programming-contest.doc

The Questions are of very easy leveland were made for beginners.

Have fun.

Read Full Post »

With WordPress giving us 3 GB of free space, I can upload all kinds of images i have and my creations as well.

Thanks to WordPress.

And here we have two really ‘friendly’ enemies standing on top of a streetlight in the map Inferno.  Tooks us some time and people to get up there !!

cs1.jpg

Read Full Post »

So finally the Volindia blog is setup and I feel very good that there is now a space where I can voice my opinions about issues that our close to me. I would like to talk about volunteering..well what is volunteering? I don’t want to get into technical definations but for me its the peace of mind that I’ve done or atleast am trying to do my bit for society..A couple of years back I began spending two hours thrice a week at the NAB hostel for visually impaired girls. I would spend time with them playing games, doing workshops on sex education, confidence building and many other activities. Over time I made really good friends who would confide in me, they looked up to me and shared their lives with me. After two months when I had to break my ties with hostel it seemed like the hardest thing to do. The girls and I shared such a close bond that it was beyond anything else I had felt. My two months with the girls had made such an impact on their lives that I didnt even realise. I can never forget the day when Neelam, one of my newfound friends gave me a card that said,” Thanks for breaking me out of my shell, I will never forget you.”This was the first time ever I had volunteered and as cliche as my story sounds its the truth…ever since then I very strongly believe in volunteering…I believe that everyone can take out some spare time and do something for someone else without expecting anything in return……I don’t want to sound like i’ve made a big difference but yes it has been a great feeling that just a few hours of my time has had an impact such as this!

Read Full Post »