Recent Forum Posts

Looking for something?

Don't see a match? Post to the community

From categories:
page 1123...next »

I also think that better timing accuracy is needed. In February I will be releasing several dozen sheets of research TI BASIC I have been doing this year, most of which is the timing of variables on the +CE. It took me a very long time to get satisfactorily accurate timing data for command speed tests, because I had to recall each variable over 1 million times in order for the error time to collect. I ended up doing 10 trials of this sort for each of the variables I tested, which include several of each type of variable. The data is very interesting, and it was consistent over every TI-84+CE I tested it on, which amounted to 3. One neat result, which was my motivation for doing this, was that this data experimentally proves that the sequential equation variable n is slower than the finance variable n, which is the fastest user-accessible variable that I have data on. Just though that this would be a good place to spread the word about my research, as it is related to the subject of precise variable timing. Once I am finished with the graphs and such, probably by February, I will put them up on the forums.

Re: New command ideas? by CloudVariableCloudVariable, 21 Jan 2019 05:20

I was thinking he meant a millisecond timer or better……

I know I would get some use out of it, if I ever tried making a game on the calculator. I particularly don't like that checkTmr(startTmr is inconsistent, even though in any real code you write it probably won't matter. For example when I run:

0→Z
For(X,1,10000
checkTmr(startTmr)+Z→Z
End
Disp A  // number of times A increased

   Z is somewhere between 60 and 80, which means Z incremented less than 1% of time but it's still pretty annoying.

……Obviously, that isn't the case though.


4920616D204261746D616E

Re: New command ideas? by DeoxalDeoxal, 20 Jan 2019 03:47
Re: New command ideas? by MisfireMisfire, 19 Jan 2019 03:15

In almost every app, there's inputs from the top 5 buttons. How do I get the bottom of the screen to show the purpose of these buttons in programs? I prefer not to draw them, as I'm not good at it.

Function buttons on programs by tman46828tman46828, 19 Jan 2019 00:20

On my TI-89 Titanium, I created a simple function (not program) through the built-in program editor tool, and all of the output methods that I've tried, Output and Disp display it on a seperate screen from the math home screen that lists all the calculations you've done. Return doesn't work for this either, Return doesn't show the number and just says done. It's pretty inconvenient and prevents me from using ans. If anyone knows how to do this, I'd greatly appreciate that information shared with me, thanks!

Just joking around. It didn’t make me feel guilty :) Just a funny coincidence for you to talk about it seeing as my post is what led me to begin Python. I just don’t want to feel like I am deserting TI-BASIC or anything because of Python, although I know it’s rather dull of me to think so strongly about it in that light. I have a very difficult time with paying attention to things too, and computers stress me out. I hate file locations and such, they are incredibly difficult for me to navigate around. I find that the documentation provided by Python helps me learn the best, so it might be a good place to look if you are interested in learning more about it.

Re: New command ideas? by CloudVariableCloudVariable, 18 Jan 2019 15:56

What do you mean by clock function? checkTmr( and startTmr seem to already cover the bases, and for more intricate timings you can use getTime.


The solution to a complex problem is often a simple answer.

Re: New command ideas? by kg583kg583, 18 Jan 2019 15:04

Maybe something along the lines of a clock function. My clock routine that I use is more somewhat unsimplifed. And to adapt to my projects needs is a hard thought process.

Re: New command ideas? by MisfireMisfire, 18 Jan 2019 03:09

I think you can contact people who are professionally engaged in web design.

I could try to explain when you would want to use some of them, but direct questions related to java are more suited to DM's rather than this forum. Feel free to message me with a specific question or questions on what exactly you want to know.

Re: New command ideas? by TrenlyTrenly, 17 Jan 2019 02:19

I don't mind semicolons at all, it's the features of a language that will make or break it in my opinion. After all, There are only two kinds of languages: the ones people complain about and the ones nobody uses. If you really hated semicolons that much you could use text substitutions or a preprocessor to let you write code without them, but even if you had the knowledge you couldn't modify the JVM to include features you want because any code you wrote for it would now be incompatible with the JVMs everyone else is using.

In Java I couldn't wrap my head around overriding methods, abstract classes, inheritance, polymorphism, etc. I could write code with those things, but I couldn't figure out why on Earth I would want to use the the things I mentioned. I asked on Reddit, and Stack Overflow but I only received 'dog inherits animal' examples. If anyone here could help me understand when and why to use them, I'd appreciate it a lot.

CloudVariableCloudVariable How did my post make you feel guilty? I think it's great you're taking the time to learn something knew. A few months ago I tried learning Python, but focusing is extremely hard for me whether it's a written or video tutorial so I stopped. Recently, I was evaluated about this, and the results showed among other things that I was in the zeroth percentile of their attention scale.

P.S. What tutorial are you using to learn Python? Automate the Boring Stuff?


4920616D204261746D616E

Re: New command ideas? by DeoxalDeoxal, 17 Jan 2019 02:14

Java and python both have their pros and their cons, as does any programming language. I personally prefer java, although If I had to choose a language of choice, I would probably choose a variant of C such as C++ or C#, simply because they can be used on a wider variety of systems.

Re: New command ideas? by TrenlyTrenly, 16 Jan 2019 16:57

No need to feel guilty about anything. After TI-Basic, Python was my first "real" programming language. I've been using it for about 4 years now and I love everything about, which apparently surprises a lot of people. Most people are introduced to something like Java or a C variant as their first language, and so often draw a bit of contempt with some of Python's techniques and conventions (most often functional/necessary indentation and strange class implementation). As someone on the other side of the coin, I'm in a Java class right now and my experience with Python has made me really dislike much of Java's design (I'm looking at you, semicolons).


The solution to a complex problem is often a simple answer.

Re: New command ideas? by kg583kg583, 16 Jan 2019 15:33

This makes me feel really guilty that I started learning Python for the first time literally an hour before you posted this :) And I really like it, too, because it is unbelievably easy to learn and I already know enough about it to start working on the menu for the Pi Calculator project I have been doing. Python, I have noticed, is a great language for beginners like me (it is quite similar to TI-BASIC) because it makes sense, and everything is made to be simple. It has pretty much everything that TI-BASIC doesn’t. I still love TI-BASIC, but I am starting to gain a fondness for Python as well, and in less than a day in it has already earned my recommendation.

Re: New command ideas? by CloudVariableCloudVariable, 16 Jan 2019 14:27

The whole point of writing code is for you to learn. Your issue is how the list is created in the previous step. What you need to do is something like this:

Input "Code:",Str0
Expr("{"+Str0→L₂

//code for converting L2 {118,101,141,121} into the desired list L1 {3,1,20,19}

"?"
For(A,1,dim(L₁
Ans+sub("ABCDEFGHIJKLMNOPQRSTUVWXYZ ",L₁(A),1
End
sub(Ans,2,length(Ans)-1→Str1

The input would be exactly:
118,101,141,121

Since I didn't write your code, its hard for me to follow. Therefore, you will have to modify either your code or my code to work for your needs. If there is anything you don't understand about my code, please let me know.

I know that it isn't, and I'm not entirely sure it could be implemented in all cases since dividing two integers can leave you with a non-integer. Do you know of any languages that have String division, I was thinking it wouldn't exist at all? It also seems like this violates no. 8 of The Zen of Python, "Special cases aren't special enough to break the rules" since you can't perform the inverse using the division operator, making string multiplication a special case which is breaking the rules.

I don't remember all the reasons for why people like Python, but what I do remember is that it supposedly has convenient syntax, nice abstractions, and lots of namespaces(no. 19 of The Zen of Python). I haven't had a chance to go deep into Python yet, but I might get used to its conventions and find them useful.


4920616D204261746D616E

Re: New command ideas? by DeoxalDeoxal, 16 Jan 2019 05:23

Thanks, Trenly, but the whole point of my asking for help was to find a way to convert all of the numbers in the list to letters without having to input anything (the code will take the numbers from the list created previously in the program and convert it, then display them). Do you know how I can do this? (maybe using a modified version of what you have above?)

That's because string division isn't often implemented

Re: New command ideas? by TrenlyTrenly, 16 Jan 2019 03:18

Lots of people talk about how awesome Python is and I don't know why. I'd much rather just do this with methods. If the division operator was also supported then I might like it, but performing the inverse of string multiplication doesn't seem possible.


4920616D204261746D616E

Re: New command ideas? by DeoxalDeoxal, 16 Jan 2019 01:37
page 1123...next »