Omnimaga

Calculator Community => TI Calculators => Lua => Topic started by: ruler501 on April 14, 2011, 06:48:05 pm

Title: TI-Nspire Lua API
Post by: ruler501 on April 14, 2011, 06:48:05 pm
We have started making an API to document all of the new commands adriweb has found for our Nspires

Adriweb has started a google docs for it here: https://docs.google.com/document/d/1qsExH5xZKx73mShdI8B8eA1ZCcmmZZnJ9TzrLwvKKFM/edit?hl=fr&authkey=CIGfyZQN Until it is "finished" I think we will leave it there(up to youy guys).

Right now all I've done is copy over the default stuff rom the Lua Docs
Title: Re: TI-Nspire Lua API
Post by: Deep Toaster on April 14, 2011, 06:53:03 pm
Edited it a bit to make the link clickable :)

Nice! These little PDFs are what the community needs more of :D

EDIT: Maybe you should make the document editable only by specific people so it doesn't get hacked by random guests?
Title: Re: TI-Nspire Lua API
Post by: ruler501 on April 14, 2011, 06:54:43 pm
I don't use gogle code much so that is probably something we should ask adriweb to do.
Title: Re: TI-Nspire Lua API
Post by: Adriweb on April 14, 2011, 06:55:58 pm
EDIT: Maybe you should make the document editable only by specific people so it doesn't get hacked by random guests?
But then it's a pain to manage who has and who has't the access :/
Title: Re: TI-Nspire Lua API
Post by: Deep Toaster on April 14, 2011, 06:59:59 pm
Eh, or maybe keep backups every day. Just in case.

Google Docs does keep backups, but it might become confusing with >9000 different backups every hour.
Title: Re: TI-Nspire Lua API
Post by: critor on April 14, 2011, 07:06:05 pm
Thank you for your hard work. :)

But it seems only Google registered users can view it :(
Couldn't you find a better place?
Title: Re: TI-Nspire Lua API
Post by: ruler501 on April 14, 2011, 07:07:06 pm
Adriweb made It. If you find a better place I'm sure we could transfer over to that. Right now I kind of like what we have, but there is always something better
Title: Re: TI-Nspire Lua API
Post by: Adriweb on April 14, 2011, 07:08:04 pm
But it seems only Google registered users can view it :(
Couldn't you find a better place?

Nope, it's set as "Editable for anyone with the link (not even connected)", so should be good for everybody :)
Title: Re: TI-Nspire Lua API
Post by: critor on April 14, 2011, 07:15:41 pm
But it seems only Google registered users can view it :(
Couldn't you find a better place?

Nope, it's set as "Editable for anyone with the link (not even connected)", so should be good for everybody :)


By clicking your link, I'm being asked for a Google login & password.
That's what I was referring to.
Title: Re: TI-Nspire Lua API
Post by: willrandship on April 14, 2011, 07:35:02 pm
Is it so horrible to have one? It's free, and you have one for everything.

Yay for an API! Now I don't have to worry about what commands to use!
Title: Re: TI-Nspire Lua API
Post by: apcalc on April 14, 2011, 07:37:15 pm
Is it so horrible to have one? It's free, and you have one for everything.

Well, its not so much that critor can't make a google account, but if others come across that link in hopes of programming on the Nspire, and are prompted for a password without an account, they might be discouraged and give up trying to get more information.  I personally hate having to log into UTI every time I need to download something from there. :(
Title: Re: TI-Nspire Lua API
Post by: Adriweb on April 14, 2011, 07:41:06 pm
I changed the sharing config

Try with this link : https://docs.google.com/document/d/1qsExH5xZKx73mShdI8B8eA1ZCcmmZZnJ9TzrLwvKKFM/edit?hl=fr (https://docs.google.com/document/d/1qsExH5xZKx73mShdI8B8eA1ZCcmmZZnJ9TzrLwvKKFM/edit?hl=fr)
Title: Re: TI-Nspire Lua API
Post by: critor on April 14, 2011, 07:43:38 pm
Is it so horrible to have one? It's free, and you have one for everything.

That's not the question.

You don't have to register on Omnimaga to read the posts.
Why would you have to register on Google to view this document?


And I have a Google account.
I'm just thinking to people who don't have such an account.
Registering might be free but:
- maybe they don't want to register (they have the right, and there are good reasons for that... FaceBook is free too you know... free doesn't mean wonderfull..)
- registering is laborious (there's a captcha which is hard to read, you need a valid email, ...)


A wiki would probably be a much better idea, and would be really "free". Such an important documentation does deserve a wiki. I'm sure the community would be happy to host that.
Title: Re: TI-Nspire Lua API
Post by: ExtendeD on April 15, 2011, 07:28:00 am
What about Hackspire (http://hackspire.unsads.com)? Much of the technical information on the TI-Nspire is currently hosted there.
It can be viewed without account, and includes human and bot moderation.
Title: Re: TI-Nspire Lua API
Post by: Munchor on April 15, 2011, 07:32:49 am
What about Hackspire (http://hackspire.unsads.com)? Much of the technical information on the TI-Nspire is currently hosted there.
It can be viewed without account, and includes human and bot moderation.

I agree with Extended, it could be all there, in HackSpire.
Title: Re: TI-Nspire Lua API
Post by: apcalc on April 15, 2011, 07:40:08 am
Yes, I also agree with ExtendeD on this.  Hackspire contains the majority of the current known information about Nspire coding/hacking, why not make it more complete with this?
Title: Re: TI-Nspire Lua API
Post by: Munchor on April 15, 2011, 07:41:02 am
Yes, I also agree with ExtendeD on this.  Hackspire contains the majority of the current known information about Nspire coding/hacking, why not make it more complete with this?

It's like creating two services for the same thing, when we could have a bigger service with more information.
Title: Re: TI-Nspire Lua API
Post by: apcalc on April 15, 2011, 09:03:29 pm
I have copied the information from this google doc to Hackspire:

http://hackspire.unsads.com/wiki/index.php/Lua_Programming

Feel free to make any edits :)
Title: Re: TI-Nspire Lua API
Post by: DJ Omnimaga on April 15, 2011, 11:22:16 pm
Hackspire definitively seems like a good place to document Nspire Lua programming. Be sure to also include links to good Lua tutorials and all the programs to help programming in Lua or convert files.
Title: Re: TI-Nspire Lua API
Post by: renatose on April 19, 2011, 04:34:37 pm
Did anyone found any command to call BASIC functions from Lua?