Home » Archive

Data compression, Featured, Headline »

[9 Jan 2011 by Keshav Shetty | 3 Comments | 5,861 views]
Random data compression – Lowerband & upper band filtering

Wish you all happy new year 2011.
in this article I will explain how a set of unique elements can be represented with less bits using filtering elements into two sets of upper and lower band.

Few users suggested to change the title, because title says “Random data” where as article describes about unique elements. Let me clarify that million random digit contains average 90-110 bytes of duplicate or non unique for every 256 bytes. If we could represent unique data set <=202 byte(worst case), we can use remaining 54 byte to …

Data compression, Featured, Headline »

[3 Oct 2010 by Keshav Shetty | 2 Comments | 5,510 views]
Random data compression – Risk based selection

In my previous article I mentioned that once tree structure is ready we can fill and generate the random input along with one bit diff encoding.
As I observed as tree reaches mid levels, available options increases to 64+ elements, which will result into minimum 6bits per selection.
With respect to million random digit this approach will result into not more than 27 duplicates can be accommodated.
We need a better approach to selecting elements instead of one bit dif encoding.
I used the modified version of one bit dif encoding, I call it …

Data compression, Featured, Headline »

[3 Oct 2010 by Keshav Shetty | 6 Comments | 10,201 views]
Random data compression – Using Tree

In this article I will explain how a B Tree can be used to model the unique numbers. This will be interesting article as best case scenario requires only 64bytes.
As you are aware B Tree or a balanced tree contains maximum two child for each node, all nodes left side will be lower than current node and all right side nodes will be higher than current node.
How can we use B Tree to model the random unique numbers?
In case of 256 unique numbers we will have 256 nodes, left most …

Data compression, Featured, Headline »

[2 Oct 2010 by Keshav Shetty | 4 Comments | 5,850 views]
Random data compression – diff encoding with merge sort

Last article didn’t go well with my readers, so I decided to elaborate with example.
Lets assume we have eight random input say 5, 1, 3, 1, 2, 3, 0, 5
In this input 4th, 6th and 8th element are non unique i.e they already appeared at least once.
For each number we need a identifier or a flag to identify it as unique or duplicate. So we will have bit info like 0 0 0 1 0 1 0 1
When 4th element appears which is duplicate of one of the past unique, …

Data compression, Featured, Headline »

[1 Oct 2010 by Keshav Shetty | 8 Comments | 5,314 views]
Random data compression – One bit diff encoding continued

This is continuation of my previous article on Random data compression-One bit dif encoding.
Sorry for the long gap between this and last article. I was too busy.
After my my previous article many had asked how I achieved compression up to 42 bytes duplicates.
Here we go with the algorithm I used.
1. Read 256 bytes from the input.
2. Sequential process and mark unique and duplicates, we need 256 bits or 32 bytes. (Can’t stop this loss)
3. For each marked as non unique data, remember the position using one bit diff encoding. (Details …

Data compression, Headline »

[5 Jun 2010 by Keshav Shetty | 7 Comments | 6,001 views]
Random data compression – One bit diff encoding

This is continuation of my previous article on Random data compression-How to use merge sort?.
As I mentioned earlier – it is hard or impossible(as of now) to compress million random digit. As per my analysis million random digit file contains around 90 – 110 bytes duplicates or repeated number within every block of 256 bytes. When input data is very pure or near pure(I mean uniqueness) or when input data is highly polluted or noise(I mean duplicates), then it is easy to compress. May be we can borrow the idea …

Data compression, Headline »

[3 Jun 2010 by Keshav Shetty | 7 Comments | 19,071 views]
Random data compression – Is it possible? How to use merge sort?

This is continuation of my previous article on Random data compression possibilities.
Some of the readers asked how reverse merge sort (merge unsort) can be used to represent 256 unique values using 128bytes(best case) or 224.25(worst case).
As illustrated in previous article using merge sort we sort the random input and store bit information of the list from where we picked the smaller number. Actually we are reshuffling the original position and stored bit information represents how a input changed its position from original list to sorted list. Lets take an example …

Society »

[30 May 2010 by Keshav Shetty | No Comment | 3,138 views]

Mother of all Oxymorons
An oxymoron is usually defined as a phrase in which two words of contradictory meaning are brought together:
Read till end
1) Clearly misunderstood
2) Exact Estimate
3) Small Crowd
4) Act Naturally
5) Found Missing
6) Fully Empty
7) Pretty ugly
8) Seriously funny
9) Only choice
10) Original copies
And the Mother of all…… . . . . . .
11) Happily Married

Featured, Society »

[5 Apr 2010 by Keshav Shetty | No Comment | 11,042 views]
Bangalore city traffic police

[The content of this blog entry is not mine, I recieved it thru a email, thought of keeping it somewhere for readers quick reference]

Visit Bangalore city traffic police
Check your vehicle traffic violation fines here “Search for Traffic Violations”
Understand and follow all traffic sign in Bangalore and India – Traffic sign
Various spot fine – List of Traffic offences, section of law and fine amount
Traffic Provisions – Traffic Do’s & Don’ts
Traffic Road Markings – Traffic Do’s & Don’ts
Traffic Rules and Regulations – Traffic Do’s & Don’ts
Traffic Lights – Traffic Do’s & Don’ts
Traffic …

Headline, Society »

[8 Feb 2010 by Keshav Shetty | No Comment | 3,593 views]
How to Solve the Rubik’s Cube

[This is extended article with step 8 of original article 7 step solution to Solve the Rubik’s Cube]
Step (8) is my findings.
You can download pdf version here
Introduction
The Rubik’s Cube (also spelled Rubick’s Cube, or Rubix Cube) is one of the most puzzling toys of all time. It ranks as one of the most cherished 80s icons and
few people have ever claimed to solve it on their own. In fact, most solutions have come from mathematicians using group theory. But it is solvable. Trial and
error will get you nowhere, so below …