Tuesday, February 8, 2011

How To take ScreenShot on Windows????

Today iam writing about how to take Screen Shot on Windows System.

To take a screen shot and save it as a picture
1.Click the window you want to capture. Press ALT+PRINT SCREEN by holding down the ALT key and then pressing the PRINT SCREEN key. The PRINT SCREEN key is near the upper right corner of your keyboard. (Depending on the type of keyboard you have, the exact key names on your keyboard may vary slightly.)
Note: You can take a screen shot of your entire desktop rather than just a single window by pressing the PRINT SCREEN key without holding down the ALT key.
2.Click Start, click Accessories, and then click Paint.





3.
In the Paint window, click Edit, and then click Paste


4.
When the image appears in the Paint window, click File, and then click Save As.



5.
In the Save As dialog box, in the File name box, type a name for the screen shot, and then click Save.




You can now print or e-mail the saved screen shot just like you would any other picture.




             

Friday, February 4, 2011

Code--IT

Reverse a String

A typical programming interview question is “reverse a string, in place”. if you understand pointers, the solution is simple. even if you don’t, it can be accomplished using array indices. i usually ask candidates this question first, so they get the algorithm in their head. then i play dirty by asking them to reverse the string word by word, in place. for example if our string is “the house is blue”, the return value would be “blue is house the”. the words are reversed, but the letters are still in order (within the word).

Solution

Solving the initial problem of just reversing a string can either be a huge help or a frustrating hinderance. most likely the first attempt will be to solve it the same way, by swapping letters at the front of the string with letters at the back, and then adding some logic to keep the words in order. this attempt will lead to confusion pretty quickly.
for example, if we start by figuring out that “the” is 3 letters long and then try to put the “t” from “the” where the “l” from “blue” is, we encounter a problem. where do we put the “l” from “blue”? hmm… well we could have also figured out how long “blue” was and that would tell us where to put the “l” at… but the “e” from “blue” needs to go into the space after “the”. argh. its getting quite confusing. in fact, i would be delighted to even see a solution to this problem using this attack method. i don’t think its impossible, but i think it is so complex that it’s not worth pursuing.
here’s a hint. remember before when we just reversed “the house is blue”? what happened?
initial: the house is blue
reverse: eulb si esuoh eht
look at the result for a minute. notice anything? if you still don’t see it, try this.
initial: the house is blue
reverse: eulb si esuoh eht
wanted : blue is house the
the solution can be attained by first reversing the string normally, and then just reversing each word.

Ip addresses Exhausting????

Growth of internet users -
 
The spread of Internet use in 
Asia and proliferation of 
Internet-connected phones  
world-wide are causing the 
internet to run out of numerical 
addresses .

Only Last five block of ipiv addresses remaining-

The IANA(International Assigned Numbers Authority),the top level administrator of the system called for a press conference to distribute last five “blocks” of Internet Protocol, or IP,addresses each block contains 16.8 million addresses to regional registries,ARIN(American Registry for Internet Numbers) who inturn distribute to ISP’s,Websites and others before running out.

About ipv4-
·        Since 1980
·        Maximum of 4.3 billion ip addresses .

What’s the Solution to scarcity of ip-

Current ip which is ip4 is a 32 bit address which consists of binary 0’s and 1’s so probability of getting different addresses is upto 4.3 billion.


So,ipv6 i.e, version 6 whith 128 bit addresses almost we can get infinite number of IP addresses . Already of 2% of major websites such as Google , Facebook support it .Smaller sites need to scramble to IPV6 addresses now. 

Facts: 
     
>  IPV4 Total IP's 232 i.e 4billion Ip's but total world population is 
     above 6billion.
>  IPV6  Total IP's 2128 IP's can be generated which is such big     number that every grain of soil can have a ip address.....

Test your IPV6 Connectivity: 


check Your IPV^ compatability