Saturday, December 8, 2007

Chess Game...

It has been long since I posted a game.
So here I go with the traditional game,Chess.
I won't call it as the best chess game available in net.
But it is worth a try.
Enjoy playing it!




Friday, December 7, 2007

This is a seldom used Windows XP feature that is sure to come in handy (probably when you least suspect it). I’m referring to Mousekeys, which when activated allows you to navigate the mouse cursor using the arrow keys on your keyboard. This type of knowledge can definitely help you out if you are ever in a situation where the mouse is inoperable.

Here's wat is to be done....

On your Keyboard Press the following Keys at the same time:

Left SHIFT + ALT + NUM LOCK





Click ok, the Mousekeys will. Once the Mousekeys is running simply use the arrow keys located on your numeric keypad (8 is up, 2 is down, 4 is left, and 6 is right).



To move the cursor simply tap on the arrows in the numeric keypad (if you hold down one of the arrows, it will move the cursor faster).

You will probably notice that the cursor moves incredibly slow, so one other thing I do is, when I open Mousekeys, I go into the Settings and adjust the speed all the way up. You can find it in the control panel.



Here is what you need to know to navigate with Mousekeys:

  • To move up, tap or hold down the 8 key on your numeric keypad
  • To move down, tap or hold down the 2 key on your numeric keypad
  • To move right, tap or hold down the 6 key on your numeric keypad
  • To move left, tap or hold down the 4 key on your numeric keypad
  • To Click on something, Hit the 5 key on your numeric keypad
  • To double-click, press the plus sign (+) on your numeric keypad
  • To right-click, press the minus sign (-) on your numeric keypad
  • To drag something, move the cursor to the item you want to drag then press the Insert key. Then to release the item hit the Delete key.

I think you would have found this post very useful.

Article idea:http://system-hacks.blogspot.com/2007/11/use-your-keyboard-as-mouse.html

This post is the part two of my earlier post IP Tracer...

I had promised in that post that that I would soon posthow the IP allocation of my ISP works.And here is my post in regard to that.

My ISP is NIB(Natioanl Internet Backbone).

When I switch on the modem the modem contacts the nearest exchange to my home.Then the signal is redirected to another exchange,which is the primary exchange nearest to my city.

In that exchange the authentication process is done.Then the IP is allocated from a from an IP pool(this is a dynamic process).If you have learnt data structures you would have known about Open addressing in hashing.It is similar to that.Every 1 hour this IP address is reset to another value.And a record of the list of dynamically allocated IPs for a particular phone number is always saved by the ISP.

Are you wondering what NIB is?

It is the ISP of BSNL.


I found this post in another site.

Found it funny.
So posted it here.

Why did the chicken cross the road?


Assembler Chicken: First it builds the road …

C Chicken: It crosses the road without looking both ways.

C++ Chicken: The chicken wouldn’t have to cross the road, you’d simply refer to him on the other side.

COBOL Chicken: 0001-CHICKEN-CROSSING. IF NO-MORE-VEHICLES THEN PERFORM 0010-CROSS-THE-ROAD VARYING STEPS FROM 1 BY 1 UNTIL ON-THE-OTHER-SIDE ELSE GO TO 0001-CHICKEN-CROSSINGc

Cray Chicken: Crosses faster than any other chicken, but if you don’t dip it in liquid nitrogen first, it arrives on the other side fully cooked.

Delphi Chicken: The chicken is dragged across the road and dropped on the other side.

G3 300 mH Chicken: It crosses twice as fast as any Pentium chicken

Gopher Chicken: Tried to run, but got flattened by the Web chicken.

Intel Pentium Chicken: The chicken crossed 4.9999978 times.

Iomega Chicken: The chicken should have backed up before crossing.

Java Chicken: If your road needs to be crossed by a chicken, the server will download one to the other side. (Of course, those are chicklets.)

Lotus Chicken: Don’t you *dare* try to cross the road the same way we do!

Mac Chicken: No reasonable chicken owner would want a chicken to cross the road, so there’s no way to tell it to.

Microsoft Chicken (TM): It’s already on both sides of the road. And it just bought the road.

Newton Chicken: Can’t cluck, can’t fly, and can’t lay eggs, but you can carry it across the road in your pocket!

NT Chicken: Will cross the road in June. No, August. September for sure.

OOP Chicken: It doesn’t need to cross the road, it just sends a message.

OS/2 Chicken: It crossed the road in style years ago, but it was so quiet that nobody noticed.

OS/ 8.1 HFS+ Chicken: It had much more free space to cross.

Quantum Logic Chicken: The chicken is distributed probabilistically on all sides of the road until you observe it on the side of your choice.

VB Chicken: USHighways! (aChicken)

Web Chicken: Jumps out onto the road, turns right, and just keeps on running.

Windows 95 Chicken: You see different coloured feathers while it crosses, but cook it and it still tastes like … chicken.

Windows 98 Chicken: It should have expected to cause a crash while crossing.

Thursday, December 6, 2007

After blogging and collecting informations for my story,I felt very bored.It has been quite a while since I programmed.So I did a c program(my favorite language) to group numbers based on the sum of digits(finally truncated to a single digit).I learnt hashing last year.But never really tried it out.In my sem I had a similar program where I had to group numbers based on the number of digits that repeat in that number.So I did this program as a time pass.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/*
Name: GROUPING PROGRAM
Copyright: SD
Author: Deepak Senthilkumar
Date: 06/12/07 14:56
Description: It is a program to group numbers based on the sum of digits!!!
*/
#include stdio.h
/*
These header files are not required in dev c++...But they are requred in Turbo c/c++
#include stdlib.h
#include conio.h
#include alloc.h
*/

struct table
{
int num;
struct table *next;
};

struct table a[9];

int digitsum(int num)
{

int sum,temp,n;
temp=0;
n=num;
sum=0;

while(n>0)
{

temp=n%10;
sum=sum+temp;
n=n/10;

}

return sum;

}


int tdigitsum(int num)
{

int tsum;
tsum=digitsum(num);
if(tsum>9)
tsum=digitsum(tsum);
tsum=digitsum(tsum);
return tsum;
}
void input()
{

int inum,isum;
struct table *newn,*curr;
printf("\n\nEnter a number:");
scanf("%d",&inum);
isum=tdigitsum(inum);
curr=&a[isum];
while(curr->next!=NULL)
curr=curr->next;
newn=(struct table *)malloc(sizeof(struct table));
newn->num=inum; newn->next=NULL;
curr->next=newn;
}

void display()
{

int i;
struct table *curr;
for(i=1;i<10;i++)//>
{
curr=&a[i];
curr=curr->next;
while(curr!=NULL)
{
printf("%d ",curr->num);
curr=curr->next;
}

}

}


int main()
{

int choice,check;
check=0;
printf("\nWELCOME TO MY PROGRAM OF GROUPING THE NUMBERS BASED ON SUM OF DIGITS!!!!\n");
do
{

printf("\n\nMENU\n\n 1. INSERT \n 2. DISPLAY\n 3. EXIT\n");
printf("\nENTER CHOICE : ");
scanf("%d",&choice);
switch(choice)
{

case 1:

input();
check=1;
break;

case 2:

if(check)
display();
else printf("\n\nNothing there to be displayed\n");
break;

case 3:

exit(0);

}

}while(1);
return 0;

}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


What do you think about the program?

Post your suggestions!

I saw this article in wikipedia when I was surfing for informations reagarding Newton (to write my second story).

This was very interesting so I posted it here.

Method of Fluxions is a book by Isaac Newton. The book was completed in 1671, and published in 1736. Fluxions is Newton's term for differential (and fluents for integral) calculus. He originally developed the method at Woolsthorpe Manor during the closing of Cambridge during the Great Plague of London from 1665 to 1667, but did not choose to make his findings known (similarly, his findings which eventually became the Philosophiae Naturalis Principia Mathematica were developed at this time and hidden from the world in Newton's notes for many years). Gottfried Leibniz developed his calculus around 1673, and published it in 1684, twenty years before Newton. The calculus notation we use today is mostly that of Leibniz, although Newton's dot notation for differentiation for denoting derivatives with respect to time is still in current use throughout mechanics.


Newton's Method of Fluxions was formally published posthumously, but following Leibniz's publication of the calculus a bitter rivalry erupted between the two mathematicians over who had developed the calculus first and so Newton no longer hid his knowledge of fluxions.

Now who discvered Differentials???
I think both discovered it separately.

Have you noticed a problem if you try to download more than two files at once from the internet? The default number of simultaneous downloads from a web server is only 2. By tweaking the registry you can increase the number to 10.It is very useful for download freaks like me.


Instructions for Increasing the Number of Simultaneous Downloads

Launch Regedit Navigate to this key:

1.HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings
2.Create a new DWORD called MaxConnectionsPerServer
3.Set the value for DWORD = 000000a
4.Create another new DWORD called MaxConnectionsPer1_0Server
5.Also set the value of this DWORD = 0000000a

Note 1: Check Internet Settings (Not Internet Explorer)
Note 2: Hex 0000000a = Decimal 10


1.Do you find the MaxConnectionsPerServervalue in HKCU** or HKLM?
Answer: HKCU

2.Should you add a value, or modify an existing setting?

Answer: Create a new dword set the value = 0000000a

3.Is MaxConnectionsPerServer a String Value or a DWORD?

Answer: DWORD.

4.Do you need to Restart, or merely Log Off / On?
Answer: As it's a HKCU, just logoff and logon.

Tip:

Add this Value, MaxConnectionsPerServer to Regedit's Favorites menu

This maximum number of connections applies to any connection to a web server, not just to downloads.

This limit of two connections is set by the HTTP 1.1 specification (RFC2068) rather than Microsoft.

Tuesday, December 4, 2007

You would have seen my post on entrecard.It helped me in increasing my blog traffic by leaps and bounds.And now I found a similar site,rsshugger.



Now what is rssHugger?
rssHugger is a new website developed to help bloggers promote their blogs, and to help visitors discover new blogs that write about subjects that the readers are interested in. Through the power of the internet and viral marketing, rssHugger looks to bring blog writers and blog readers closer together. If you own a blog, you can get your own page on rssHugger for 10 years for giving an honest review of the site on your blog. If you want to join rssHugger but do not want to review their site, you can pay a one time review fee of $20. rssHugger will be the first ever quality, spam free, and viral rss directory strictly for bloggers.

This sounds interesting is it not?

I hope it will help me as much as entrecard helped me in increasing my blog traffic.

To find more about rss hugger Click here.

Dear friends,
I was actually waiting to get a google page rank before posting the payed posts.But I have lost patience.So here after I will post the payed posts with the label Other posts .Hope you continue your support.

I came across this widget while I was viewing angelika's blog.I am posting for the second time from that blog.(Hope I don't repeat it again).I posted this because this wiget shows the readability of my blog.ie.,who can read my blog.To my surprsie my other 2 blogs (which I must admit are inferior to this blog)show a reading of genius.But this blog shows a different result.It showed the result as undergraduate college.I don't know how these widgets work.But they sound crazy!

cash advance


Three years ago, some people set out to design and build an entirely new class of device—a convenient, portable reading device with the ability to wirelessly download books, blogs, magazines, and newspapers. The result is Amazon Kindle.

They designed Kindle to provide an exceptional reading experience. Thanks to electronic paper, a revolutionary new display technology, reading Kindle’s screen is as sharp and natural as reading ink on paper—and nothing like the strain and glare of a computer screen. Kindle is also easy on the fingertips. It never becomes hot and is designed for ambidextrous use so both “lefties” and “righties” can read comfortably at any angle for long periods of time.

They wanted Kindle to be completely mobile and simple to use for everyone, so they made it wireless. No PC and no syncing needed. Using the same 3G network as advanced cell phones, they deliver your content using their own wireless delivery system, Amazon Whispernet. Unlike WiFi, you’ll never need to locate a hotspot. There are no confusing service plans, yearly contracts, or monthly wireless bills—they take care of the hassles so you can just read.

With Whispernet, you can be anywhere, think of a book, and get it in one minute. Similarly, your content automatically comes to you, wherever you are. Newspaper subscriptions are delivered wirelessly each morning. Most magazines arrive before they hit newsstands. Haven’t read the book for tomorrow night’s book club? Get it in a minute. Finished your book in the airport? Download the sequel while you board the plane. Whether you’re in the mood for something serious or hilarious, lighthearted or studious, Kindle delivers your spontaneous reading choices on demand.

And because they knew that you can’t judge a book by its cover, Kindle lets you download and read the beginning of books for free. This way, you can try it out—if you like it, simply buy and download with 1-Click, right from your Kindle, and continue reading. Want to try a newspaper as well? All newspaper subscriptions start with a risk-free two-week trial.Kindle’s paperback size and expandable memory let you travel light with your library. With the freedom to download what you want, when you want, I hope you’ll never again find yourself stuck without a great read.

The only problem with the device is it's cost:$399.

Thatz quite expensive...

I came across this widget while I was viewing someone else's blog,to be specific it was angelika's
blog.I agree with this stat because it says that I am 88% addicted to my blog.Infact it should be more.Anyway it is almost correct :-).

88%