Skybuck's Universal Code Version 3

Skybuck's Universal Code Version 3.

6 volt = 1 + more bits 4 volt = 1 + no more bits 2 volt = 0 + no more bits 0 volt = 0 + more bits

This way the same number of bits can be used without adding an extra bit.

Two different pieces of information can be encoded in the same piece of hardware.

The hardware will have to be able to produce/detect these different voltages.

How much this adds to the complexity of the hardware is impossible for me as a software programmer to tell ;)

Different voltages could be used ofcourse.

Let's end with an example to clearify for the dumb:

Number 65 and Number 42 and Number 55 have to be encoded.

Binary for 65 = 1 x 64 + 0 x 32 + 0 x 16 + 0 x 8 + 0 x 4 + 0 x 2 + 1 x

1 Binary for 42 = 0 x 64 + 1 x 32 + 0 x 16 + 1 x 8 + 0 x 4 + 1 x 2 + 0 x 1 Binary for 55 = 0 x 64 + 1 x 32 + 1 x 16 + 0 x 8 + 1 x 4 + 1 x 2 + 1 x 1

Binary encoding for 65 = 1000001 Binary encoding for 43 = 0101011 Binary encoding for 55 = 0110111

A 7 fixed bit data steam could look like:

1000001 0101010 0110111

However some leading zero's are not necessary so let's look how the skybuck's universal encoding version 3 would look like:

Binary encoding for 65 = 1000001 Binary encoding for 43 = 101010 Binary encoding for 55 = 110111

Variable bit data stream could look like:

1000001 101010 110111

Now this needs to be translated to voltages:

6000004 606062 660664

Voila.

P.S.: Gotta keep the soul alive ! At least now I don't have to worry about some m*********er patenting this variantion hehehehahaha cool eh ;) =D :P*

Bye, Skybuck.

Reply to
Skybuck
Loading thread data ...

Bad drug interaction?

Luhan

Reply to
Luhan

Wow a post from Starbuck that is less than a 100 lines

Rehab must be working

martin

Reply to
martin griffith

Cool indeed. You have just frustrated the plans of all those people who were busy patenting ways to cut communication channel capacity in half.

John

Reply to
John Larkin

Dead from the neck, up.

-- Service to my country? Been there, Done that, and I've got my DD214 to prove it. Member of DAV #85.

Michael A. Terrell Central Florida

Reply to
Michael A. Terrell

Nah, just showing that Shannon was an optimist and PT Barnum a pessimist.

--
  Keith
Reply to
krw

4 states = 2 bits

If the "no more bits" information was not included, the channel could handle twice the amount of information.

BTW: If you used the right base, only 3 states would be needed for your method.

--
--
kensmith@rahul.net   forging knowledge
Reply to
Ken Smith

True it's trade off.

What good would that do for a binary computer and theory ? ;)

Bye, Skybuck.

Reply to
Skybuck

Then why don't you simply add a '0' after a string of, say, five '1's and use six '1's as a marker? That way you only add one bit for every 32, on average. If you're smart, you could even use this information to extract a clock (you know there is a transition at least every six bits). You could call it "Skybucks Data Link Control", or something.

What does any of Skybuck's flaming ideas have to with computers or theory?

--
  Keith
Reply to
Keith

This is not my area of expertise, but I have seen posts about this elsewhere, and this appears to be an attempt to compress information in a bit stream. When there are states other than 0 and 1, it is no longer binary, and it becomes an analog system, which may then be expanded to its digital binary equivalent.

For some types of data, such as text, a variable length frame (as I would call it) might be more efficient. I think Morse Code is something like that, where the most common letters E and T are represented by a single DIT or DAH. However, to represent this in binary, a frame separator would be two zeroes, and a DIT would be a 1 and a DAH would be 11. So, an E would take three bits, T would take four bits, and a zero (five DAHs) would be 17 bits. The average would be about 11 bits for about 40 unique characters, although probably 63 could be represented. 8 bit asynchronous ASCII can represent 256 characters with a fixed frame size of 10 bits, so it appears to be more efficient.

Synchronous data, requiring a separate line or another analog state on a single line, could be used for a more efficient variable frame scheme. A sync pulse would start each successive frame, which could be shorter for more frequently used codes. It would probably only save one bit for random binary data, and you lose that bit with the sync pulse.

I don't think there is any new clever way to pack more data in a binary stream.

Paul

Reply to
Paul E. Schoen

Yes, you are trading away 50% of the bandwidth of the channel to do what can be done with less than 40%.

The computations would still be done in a simple binary manner. With 3 states, you can carry all the information needed to do what you want with

4.

--
--
kensmith@rahul.net   forging knowledge
Reply to
Ken Smith

Because that involves adding an extra bit.

With Skybuck's Universal Code Version 3 the CPU registers would remain the same bit size.

Nice isn't it ;)

Bye, Skybuck.

Reply to
Skybuck

Cool idea, to use morse code as compression for text. I wonder if huffman or morse code is more efficient :)

Anyway thanks for posting this because morse code might be more easy to implement than huffman... and maybe morse code is faster to encode/decode... who knows what properties it might have :)

You lost me on this one ;) But thats ok :)

The question is how to encode/decode/describe the length of the data ? ;)

That's what Universal Codes are about.

Bye, Skybuck.

Reply to
Skybuck

Probably :)

However, lol, using more states can give certain properties which 3 states won't have ;)

Bye, Skybuck.

Reply to
Skybuck

When did you stop sniffing glue?

--
Service to my country? Been there, Done that, and I've got my DD214 to
prove it.
Member of DAV #85.

Michael A. Terrell
Central Florida
Reply to
Michael A. Terrell

In article , Skybuck wrote: [...]

No, all the suggestion here have been for you to leave out a bit. With your code, every bit of information requires two bits to encode. This is a huge waste of bits.

I'm not sure if we run out of ones or zeros first but you are taking twice your share.

--
--
kensmith@rahul.net   forging knowledge
Reply to
Ken Smith

In article , Skybuck wrote: [....]

Yes, it has the property of wasting bits, being slow and requiring extra hardware.

--
--
kensmith@rahul.net   forging knowledge
Reply to
Ken Smith

Maybe, maybe not.

But you missed the advantage property that's for sure.

See other thread for advantage property ;)

Bye, Skybuck.

Reply to
Skybuck

Nope,

You look at it the wrong way.

There are only 2 bits, zero and one.

The code is for hardware, the hardware simply uses different voltages to encode/decode the bits.

Voltagesbits ;)

Bye, Skybuck.

Reply to
Skybuck

In article , Skybuck wrote: [...]

log2(NumberOfVoltages) = bits. If you have 4 levels, you have 2 bits.

--
--
kensmith@rahul.net   forging knowledge
Reply to
Ken Smith

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.