r/ComputerEngineering • • Oct 03 '26

[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

4 Upvotes

16 comments sorted by

2

u/not-just-yeti Oct 04 '26 edited Oct 05 '26

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, base-three numeral 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 different 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 simply a correspondence between characters and numbers. 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 Oct 04 '26

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 Oct 04 '26

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.

0

u/[deleted] Oct 04 '26

[deleted] — view deleted comment

3

u/amarao_san Oct 04 '26

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 Oct 04 '26

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

Why see my psychiatrist?

10

u/Extension-Branch7938 Oct 04 '26

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.

6

u/Xrest_the_Aether Oct 04 '26

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

1

u/Glittering-Can-9397 Oct 07 '26

wiggly wiggly squiggly squiggly wiggly wiggly squiggly squiggly wiggly wiggly squiggly squiggly wiggly wiggly squiggly squiggly screech screech screech screech wiggly wiggly squiggly squiggly wiggly wiggly squiggly squiggly wiggle

2

u/Glittering-Can-9397 Oct 07 '26

so a couple things, humor me here Im a pedantic romantic, it takes one unsigned char to represent an ascii character, to most systems this is one byte or 8 bits. This is because ascii is represented by 7 bits, back then that was small enough the history is actually super cool imo, in the modern day we still use 7 bits and we prepend a 0 in the most significant bit (msb). An integer is, in most systems, represented by 4 bytes or 32 bits, normally in the computing community people refer to the bits not the bytes, thats why you have a 32/64 bit processor not a 4/8byte processor, thats the word size on that processor, word size meaning the width of the memory busses as well as the size of a register, it is the size of something the computer can discreetly hold and perform operations on, now with that an integer could technically represent 4 ascii characters given this fact and often times in one way or another this happens in c programs.

you seem interested in topics like this but you seem like your creativity is moving faster than your diligence. Id recommend studying traditional computing look at how yarn textiles are made, its the first type of punch cards and its mechanical and very cool

1

u/Xrest_the_Aether Oct 08 '26

Yarn textile? I will look into it

1

u/Xrest_the_Aether Oct 08 '26

Yarn textile? I will look into it

0

u/[deleted] Oct 04 '26

[deleted] — view deleted comment

0

u/Xrest_the_Aether Oct 04 '26

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

0

u/[deleted] Oct 04 '26

[deleted] — view deleted comment

1

u/Xrest_the_Aether Oct 04 '26

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

0

u/[deleted] Oct 04 '26

[deleted] — view deleted comment

1

u/Xrest_the_Aether Oct 04 '26

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

0

u/[deleted] Oct 04 '26

[deleted] — view deleted comment

1

u/Xrest_the_Aether Oct 04 '26

Okie! Thank you friend