Author Topic: Tutor App  (Read 5431 times)

0 Members and 1 Guest are viewing this topic.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Tutor App
« Reply #15 on: April 22, 2013, 09:02:55 pm »
I finally worked on this a little last night and today since it might actually be useful to other students and professors on campus. I scrapped my original menu idea for a much simpler version. Now you can scroll through the tutorials and I made the setup relatively easy for adding new tutorials. There is also a filter option to view tutorials by category.

So some documentation since I haven't updated the readme:

There are two types of items that can be selected from the menus-- Tutorials and Menu Links. Menus have the following syntax:
Code: [Select]
Menu_0:
     .db "Menu name",0
     .dw number_of_items
     .dw Item_pointer_0
     .dw Item_pointer_1
     .dw Item_pointer_2
...
The item pointers point to an item of the types named above. Tutorials have the following syntax:
Code: [Select]
Tuto_0:
     .db "Item Name",0,0
     ;Tutorial data
     ExitTutor()       ;also .db 0
Menu Links have the following format:
Code: [Select]
MenuLink_0:
     .db "Item Name",0,1
     .dw MenuPtr

I also added a new tutorial function called Routine() which allows you to call tutorial code as subroutine. I made this because as I was adding some of the Linear Algebra commands, there was a bunch of duplicate code. Subroutines end the same way as tutorials, with ExitTutor(). Code will then resume after the point of the call.

Finally, I am also trying to keep in mind the goal of having external tutorials and a multipage app. Some of the source code is currently unoptimised since it is a one-page app, but once page boundaries have to be worried about, it will be useful.

EDIT: The original download had the wrong version of the app (correct source, though). It is corrected with an updated version.

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: Tutor App
« Reply #16 on: April 22, 2013, 09:06:34 pm »
wuts PM 1.2?
Keep trying.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Tutor App
« Reply #17 on: April 22, 2013, 09:08:24 pm »
Oh, that is an app that was causing trouble for somebody on TI-BD that I was investigating. I am actually supposed to delete that now that the problem is resolved :P

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: Tutor App
« Reply #18 on: April 23, 2013, 04:41:47 pm »
I can't find it anywhere..
Anyways, can you write a similar application that just allows us to give it a "keypress" macro, hidden in interrupts? OMG that would rock.. and for Nspires!
Keep trying.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Tutor App
« Reply #19 on: April 23, 2013, 09:19:55 pm »
Oh, the app is not for public use, that is why (the PM 1.2 app).

Anyways, I figured out that the file I uploaded was the wrong version, so sorry about the crash to the two people that downloaded it :[ I updated it with the new version which has a few more tutorials and menu options. The current tutorials are:

Binomial CDF
Binomial PDF
Determinant
Integral
Matrix Inverse
Derivative
Normal CDF
Reduced Row Echelon
Hello World programming example

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Tutor App
« Reply #20 on: April 24, 2013, 03:06:32 am »
Wow that is great! At first I was worried at how fast that other screenshot went through keypresses, but then you slowed it down. It should definitively be a nice learning tool :)

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Tutor App
« Reply #21 on: May 12, 2013, 06:31:50 pm »
It is such a good idea !

Error : Selecting the "Determinant" tutorial, and pressed 2nd, then ON, the calculator was turned off and when I turned it on, I was forced to follow the key sequence and to be on a loop of incorrect calculation.



Offline Joshuasm32

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 142
  • Rating: +19/-7
    • View Profile
    • Network
Re: Tutor App
« Reply #22 on: May 12, 2013, 06:33:52 pm »
The concept would be quite useful in many scenarios (i.e., it would make an AWESOME setup tutorial for a shell).   :thumbsup:
My name is Josh and I a developer at Moonzean. I enjoy Radiohead, web development, Java, and cryptograms.
Spoiler For No Surprises, by Radiohead:
A heart that's full up like a landfill
A job that slowly kills you
Bruises that won't heal

You look so tired unhappy
Bring down the government
They don't, they don't speak for us

I'll take a quiet life
A handshake of carbon monoxide

And no alarms and no surprises
No alarms and no surprises
No alarms and no surprises
Silent, silent

This is my final fit
My final bellyache

With no alarms and no surprises
No alarms and no surprises
No alarms and no surprises please

Such a pretty house
And such a pretty garden

No alarms and no surprises
No alarms and no surprises
No alarms and no surprises please

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Tutor App
« Reply #23 on: May 12, 2013, 06:34:42 pm »
wow, that looks pretty awesome, nice work xeda!
(btw, nice new avatar)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Tutor App
« Reply #24 on: May 12, 2013, 07:57:41 pm »
@mdr1: Thanks for letting me know that, I never even thought about that possible error. I will have to allow 2nd+ON to exit the tutorial, too (currently ON allows you to exit early).