Skip to main content

Posts

Learning time : CAPTCHA

We’re going to learn how how CAPTCHA ( C ompletely  A utomated  P ublic  T uring test to tell  C omputers and  H umans  A part) works and how it minimizes automatic sign-up of forms. We will also be creating a simple CAPTCHA script in PHP to illustrate this. Basically CAPTCHA works in the following manner: Create Random Value : Some random string is generated, random values are often hard to guess and predict. Generate an Image : Images are used as these are generally a lot harder to read for computers while being nice and readable to humans. This is also the most important step as simple text in images can be read (and CAPTCHA cracked) quite easily. To make it difficult for them, developers employ different techniques so that the text in the image becomes hard to read for computers. Some create zig-zag lines for background while others twist-and-turn individual characters in the image. Possibilities are many and new techniques ...

How To Lock Your Computer With USB Drive

Tired of people starting your computer when you are not around and messing up custom settings? Wouldn’t it be cool if you could lock your computer by just removing your USB stick from it? I’ll show you how you can use your USB stick, Flash Drive or Pen Drive what ever you call it   to lock your computer , among other things… Boot Lock   This trick will allow you to use your USB to BOOT into Windows. If someone tries to start the computer without your USB stick, it will display boot errors. Before begin, you  playing with the BIOS and boot files of your computer may result in you not being able to boot into your Windows partition; so continue at your own risk!  Things you need: A 64MB or larger sized USB Stick, Windows Recovery Disk (just in case). Unhide hidden and protected files  : Go to Tools > Options > View , check Show hidden files and un-check Hide protected system files. From the drive where Wind...

Google launches 'Swiffy' that Converts Flash to HTML5

Converting SWF files (the file format for Flash) to HTML 5 is now become possible with Swiffy.Googlelabs.com .   Yes, Google's Swiffy makes Flash files HTML5 friendly, indirectly Google comes with Adobe Flash killer.. ! Using conversation tool, you will be able to reuse Flash content on devices which are not having Flash Player. You just need to upload SWF file to convert Flash Swf to HTML 5 video. Swiffy.Googlelabs.com has been started in 2011. Swiffy is launched by Google Labs to convert Flash File to iPhone Friendly HTML5. Swiffy tool is like Adobe, called as WallyBy. The main difference between Swiffy and WallyBy is that Swiffy is web-based tool and code is made and compressed in a way which creates editing difficult, while Wallaby is a type of client which only works on Windows PC or Mac and the code is intended to be edited and reused. You can convert maximum 512 KB Flash files (.swf) into HTML 5 content. How it works? You don’t require registration to Conver...

Megabytes, Gigabytes, Terabytes... What Are They?

These terms are usually used in the world of computing to describe disk space, or data storage space, and system memory. For instance, just a few years ago we were describing hard drive space using the term Megabytes. Today, Gigabytes is the most common term being used to describe the size of a hard drive. In the not so distant future, Terabyte will be a common term. But what are they? This is where it gets quite confusing because there are at least three accepted definitions of each term. According to the IBM Dictionary of computing, when used to describe disk storage capacity, a megabyte is 1,000,000 bytes in decimal notation. But when the term megabyte is used for real and virtual storage, and channel volume, 2 to the 20th power or 1,048,576 bytes is the appropriate notation. ...

Quick Notes: SCJP 1.6 (Sun Certified Java Programmer)

This articel contains quick notes which I did during reading  Sun Certified Programmer for Java 6 Study Guide - SCJP. Kathy Sierra, Bert Bates. Also it was extended with some additional notes from official Java doc API which are not required for SCJP 6. If you gonna pass SCJP exam - it will be the best crib.    1           DECLARATION & ACCESS CONTROL 1.1       Ranges of Numeric Primitives Type Bits Bytes Min. Range -2 (bits-1) Max. Range 2 (bits-1) -1 byte 8 1 -2 7 2 7 -1 short 16 2 -2 15 2 15 -1 int 32 4 -2 31 2 31 -1 float 32 4 n/a n/a long 64 8 -2 63 2 63 -1 double 64 8 n/a n/a 1.2         Comparison of modifiers on variables vs. methods Local Variables Non-local Variables Methods final fi...