Pages

Monday, September 15, 2008

Scrypt – An alternate writing system.

Introduction
Scrypt is an alternate writing system inspired from the 12480 Alphanumeric System. But it is completely different from 12480 system because of its most important feature, that its symbols can be derived from the one base symbol. So it is completely logical & does not require memorizing any symbol. Due to which it is very easy to encode & decode, by following the rules.

12480 Alphanumeric System
12480 was designed in 2002 by Bradley Tetzlaff from Waukesha, Wisconsin, USA. It was invented for both use in a computer game named Ecclemony (1E78) and as a basis for constructed languages. It was also designed to show how a true alphanumeric (it is used here to describe the combination of an alphabet and a numeral system) writing system looks and works.

References:


Logic behind the name – Scrypt
Scrypt is an alternate script in essence. So to represent this, the spelling of the word ‘script’ has been modified at one place, from ‘i’ to ‘y’, that represent alternate but it’ll pronounce similar to the original word ‘script’.

Key feature of Scrypt:
  • Completely based on ASCII value.
  • Doesn't require remembering any symbol, as the whole script is based on just one symbol.
  • Each symbol represents a byte, i.e., 8-bits.
  • 100% logical.
  • All the symbols are completely unambiguous.
  • Very easy to encode & decode.
  • Each symbol is made up on binary numbers.

Symbol Creation
Each symbol is made up on binary number logic of 0 & 1. More conveniently we can call it, Hide & Show logic, where, 0 represents Hide & 1 represents Show.

All the symbols are based on the Fig.1,

Each bit (from left to right) of a byte is represented by a line (Horizontal/Slant/Vertical), like in Fig.2, where each number denotes the position on bit in a byte. If a bit is 0 then hide the corresponding line otherwise it won't. Hence a blue print of a symbol is created. Now to give each line a uniqueness, put another line just after the line, as shown in Fig.3. A symbol is now near completion. Just increase the length of second line little bit, so as to touch the corner/center-of-edge of virtual square. In short it should fit in the Fig.1.

Let us take an example to create a symbol,

A → ASCII code → (65) base 10 → (01000001) base 2 →

Here in 01000001, at position 2 & 8 it is 1 and at rest of the position it is 0. Applying our hide/show rule in Fig.3 by hiding the 0 positions, we’ll get this symbol,

Sample Text:

In English,
ABCDEFGHIJKLMNOPQRSTUVWXYZ
In Scrypt,


In English,
0123456789
In Scrypt,


Sample Conversion:

The quick brown fox jumps over the lazy dog.


Demo: The English to Scrypt converter

Tuesday, September 2, 2008

How to download a video from youtube or google-video?

After going through this article, you'll be able to download any video from youtube or google-video without using any online site or software tool.

But before that you've to understand the concept behind showing video on internet browser.

Actually, whenever you open a web-page having video, a flash video player in the form of swf is downloaded in your system's cache. When you click on the button or link to play the video, the player starts downloading a .flv file from the site to your system's cache.

Note the flash video player can play only .flv files and is programmed to start playing video if even a bit of the whole video-file is downloaded. This technique is known as video streaming.

Your system capture this video stream in the cache, from where the flash video player plays it.

In Internet Explorer cache it is displayed as a filename 'get_video' with a suffix of very very long encrypted code.

But you don't have to worry about that.

Just open your internet cache and search for the file name having a string 'get_video'. If you have watched the whole video on flash video player then only you'll find the required full video file in the cache. Otherwise you'll get a file having video upto where it is downloaded.

When you'll find the required file then copy that file somewhere else as you can't play that file right there because Window doesn't give permission to do that.

After copying that file somewhere else, rename the file to something meaningful & add the extension .flv.

Now you need an flv player to play this file. For this purpose, VLC player would be the best.

You can get VLC player from this site, http://www.videolan.org/vlc/

So download & install VLC player at your system and play your .flv file whenever you want.

There is a problem you could face, if you have watched many videos. As in that case there will be many get_video file present in the cache. So to get rid of the headache of finding the required one either clear the cache before opening the selected video on web-page or copy all the get_video file that is present in the cache to somewhere else and watch one by one & search for the required one.

If you don't want to watch the video but want to download the video then you can do that by using Opera internet browser. As it provides some advanced features.

You can download Opera from this site, http://www.opera.com/download/

After downloading & installing the Opera browser, open it and type the required url and open the site. Click on play button. Open another tab. Then go to Tools>Advanced>Cache & click on it.

Now find "get_video" string via Ctrl+F. You'll get the link to that video file. Click on that link & after few minutes a download window will pop up. Download this file on your desktop and rename it to something meaningful with an extension .flv.

You can play this file with VLC player.

Enjoy!!!