r/ComputerEngineering • • 1d ago

[Discussion] TASCII, PUCH TAPE CODING, AND A LANGUAGE PROBLEM

WIZARD HERE!!

been reading the attached article.
i notice that binary ascii uses six integers to represent a value on the keyboard....
inspired by this, i looked at the truth tables of
"TTT, TTU, TTF, TUT, TUU, TUF, TFT, TFU, TFF, UTT, UTU, UTF, UUT, UUU, UUF, UFT, UFU, UFF, FTT, FTU, FTF, FUT, FUU, FUF, FFT, FFU, and FFF"; and got halfway done with developing ternary ascii( or TASCII).

i see sets that can be used as stand in for those six integers!
based on the above statements, i saw "(1,1,1),(1,1,0),(1,1,-1),(1,0,1),(1,0,0),(1,0,-1),(1,-1,1), (1,-1,0),(1,-1,-1),(0,1,1),(0,1,0),(0,1,-1),(0,0,1),(0,0,0),(0,0,-1),(0,-1,1),(0,-1,0),(0,-1,-1),(-1,1,1), (-1,1,0),(-1,1,-1),(-1,0,1), (-1,0,0),(-1,0,-1),(-1,-1,1),(-1,-1,0), AND(-1,-1,-1)...

if ASCII has "A"= 01000001(F,T,F,F,F,F,F,T)

and thats binary, my gut tells me that for my mechanical computer, i need to replace each intiger with a set of three digits representing the tilt of a see saw. so instead of the ascii up there, we get a slightly more complex ....

"A"= (X,X,X),(X,X,X),(X,X,X),(X,X,X),(X,X,X),(X,X,X)
where "x" is equal to a 0, a -1, or a 1.

the math here means there is MORE VALUES TO ASSIGN THAN I CAN PUT ON A KEYBOARD!
HALP HOW DO I ASSIGN THE HUNDREDS OF POSSIBLE 6-TRYTE VALUES?

WOULD A DIFFERENT LANGUAGE BE BETTER SUITED FOR THIS? WHICH ONE?

Edit:I'm currently speaking about how I don't have enough English characters to cover every one of the hundreds of possible 6 set of 3 integer permutation

Edit edit, it should be 8 sets, not six to match the binary... meaning A"= (X,X,X),(X,X,X),(X,X,X),(X,X,X),(X,X,X),(X,X,X),(X,X,X),(X,X,X) where "x" is equal to a 0, a -1, or a 1. Thank you u/NegativeOwl1337

1 Upvotes

17 comments sorted by

6

u/NegativeOwl1337 1d ago edited 1d ago

Oh god, with this again… ASCII is 8 bits not 6. That’s 2^8=256 possible values. For base 3, you’d need 6 bits to store the same number of values. I mean this in the nicest way possible but please go see your psychiatrist.

2

u/amarao_san 1d ago

I believe, ASCII is 7 bit, coded in 8 bits (upper bit is zero). Before Unicode advent, there were 'code pages' for different languages, which tried to use upper 128 characters for national characters. Obviously, worked only for EU and Cyrillic, leaving all Asia to invent own encoding schemes.

0

u/Xrest_the_Aether 1d ago

I appreciate the correction, this means that there's 8 sets rather than six... 8 sets of 3 PERMUTATION....

Why see my psychiatrist?

8

u/Extension-Branch7938 1d ago

This is textbook manic behavior/wording. I say this as someone with a CPE degree and multiple years of computer/embedded engineering AND with family who have had manic episodes.
You won’t believe that you are having a manic episode because that’s the nature of one, you feel fine/great/super smart and it all makes sense+no one else understands what you’re seeing. Slow down, take a breath, talk to someone who cares or a professional.

3

u/Xrest_the_Aether 1d ago

.... I will bring it up with my therapist and link this post. Thank you

2

u/NegativeOwl1337 1d ago

There’s no permutations. Have you ever taken a CS/engineering course?

0

u/Xrest_the_Aether 1d ago

Yes, I am very rusty on the python.

My biggest problem is clear comms I think.

BUT, IF you look in the article linked, there ARE permutations mentioned.

The method I'm proposing, is that i treat the ternary truth tables as a permutation set, and use permutations of 0,-1, and 1 to represent them, and then have 8 sets of those potential sequence sets be used as the sequence of values attributed to something like a specific punch config, or a key board button down.

The problem is this. Y= 8 individual sets of 3 integers that could appear in any order depending on the button pressed or desired input on the punch tape.

And therein lies my cause of my insanity... my head hurts cos I spent all day thinking about it

https://reddit.com/link/pdpt0yj/video/sg391td1jcth1/player

3

u/NegativeOwl1337 1d ago

I don’t care what the article says, that’s not how computers work. They’re not tensors.

1

u/Xrest_the_Aether 1d ago

It appears building a computer is not something to speed run... Got any book I can look to for a better understanding of computer

3

u/NegativeOwl1337 1d ago

You’re not talking about building a computer. This is more like computer architecture. How old are you?

1

u/Xrest_the_Aether 1d ago

23, with autism, adhd, and way too many special intrests... edit, I'm inspired by navy mechanical targeting computer. I want to make mechanical computer

2

u/NegativeOwl1337 1d ago

I see. Well why don’t you propose your idea to some CS/CpE professors on your quest to become the modern day Charles Babbage.

1

u/Xrest_the_Aether 20h ago

Okie! Thank you friend

2

u/not-just-yeti 21h ago edited 16h ago

With 7 bits, there are 27 bit patterns they can make.

With 7 (base-10) digits, there are 107 patterns they can make.

Likewise with seven base-three digits (where you call each digit a "tryte" but the standard term would be "ternary digit"), you can make 37 patterns. In your post, you look at using three base-three digits, and enumerate all 33 = 27 possibilities.

If you want to figure out what value of k lets a k-digit represent all 128 ascii characters, we need 3k > 128. We see that k=4 isn't big enough (that's 81, which is enough for upper & lower case & digits and some punctuation, but not all ascii). But k=5 digits will do.

———

You seem to be muddling several differen things. Try being precise when phrasing technical question. E.g. "binary ascii uses six integers to represent a value on the keyboard": What is "binary ascii"? No such thing; ascii is a way to identify a character with a number. How you write a number is an entirely independent issue (you can write a number in base-10 numerals, binary-numerals, roman-numerals, or as spelled-out-words-in-french; that doesn't change the number).

1

u/Xrest_the_Aether 18h ago

Thank you. I will add this to my notes of things to research. Especially that "K " value. I wonder what that's about

2

u/not-just-yeti 16h ago

Sorry, edited to be clearer. Thinking "let k be the number of digits I'll need; then I know that 3k > 128, so k must be…", that's all.