Omnimaga

Calculator Community => TI Calculators => Lua => Topic started by: Munchor on June 19, 2011, 03:00:41 pm

Title: Setting up Nspire Lua on Linux
Post by: Munchor on June 19, 2011, 03:00:41 pm
I just made a very quick and simple video on how to compile and make Nspire Lua programs on Linux.



I hope you like it ;) Any questions just post.
Title: Re: Setting up Nspire Lua on Linux
Post by: Jim Bauwens on June 21, 2011, 04:50:25 am
Good job, its very clear for beginners :)
It demonstrates perfectly how much more easy it is than TI's tool which pastes the result to the clipboard.

I use this tool constantly, and you can't program something to work faster. Good job Debrouxl, Adriweb and ExtendeD! (and also David for making this vid :)
Title: Re: Setting up Nspire Lua on Linux
Post by: JosJuice on June 21, 2011, 04:53:05 am
Does this produce 0D-encrypted files that are 3.0.2 compatible, or do we need to use 3.0.1 to re-save the TNS?
Title: Re: Setting up Nspire Lua on Linux
Post by: Jim Bauwens on June 21, 2011, 04:56:48 am
No, It doesn't encrypt it, and you will need to resave it in order to use it on 3.0.2. But I think there will come a version which encrypts it soon or later, as ExtendeD has done quite some research on it (as you know).
Title: Re: Setting up Nspire Lua on Linux
Post by: JosJuice on June 21, 2011, 04:58:51 am
Ah. I'll be looking forward to the new version, then. :)
Title: Re: Setting up Nspire Lua on Linux
Post by: renatose on June 21, 2011, 06:00:48 am
I'm looking forward for what's coming up from ExtendeD with ndless 3, there's about to be a revolution and then TI has to give up.
...
I' hope... :P
Title: Re: Setting up Nspire Lua on Linux
Post by: Lionel Debroux on June 21, 2011, 06:35:13 am
Quote
But I think there will come a version which encrypts it soon or later, as ExtendeD has done quite some research on it (as you know).
IMO, the main problem with generating chunks in 0D format is not the encryption. It's TI's proprietary and patented XML compression. Citizens of countries where software patents have full or partial legality (i.e., between others, the USA and the EU states) could find themselves on the receiving end of patent infringement / DMCA violation / etc. lawsuits...
Title: Re: Setting up Nspire Lua on Linux
Post by: Jim Bauwens on June 21, 2011, 07:09:49 am
Oh, I didn't think about that :(
Thanks for noticing us about those issues Lionel.
Title: Re: Setting up Nspire Lua on Linux
Post by: Lionel Debroux on June 21, 2011, 07:25:54 am
Well, I'm just rewriting what ExtendeD wrote ;)
Quote
So what does this mean for us? Implementing a third-party converter which includes the XML compression required by OS 3.0.2 is impossible without being exposed to legal action. Compressing XML is surely a bright idea to optimize storage space, but there were many open binary XML encoding methods available that did not require TI to invest (probably specifically for the TI-Nspire) in a new one. Unless they want to wrap the device with fiddle-proof legal tape.
(emphasis mine)

Granted, ExtendeD later wrote:
Quote
I first checked that XML-compressing a Lua script from a skeleton (similarly to what the current third-party Lua converters for OS 3.0.1 do) is quite easy without needing to implemented the patented algorithm, thus avoiding any legal issues. This is good news.
That may indeed do the job for Lua scripts, which are a particular case; but in general, implementing a fully generic 0D -> clear text/binary decompressor, or a full clear text/binary -> 0D compressor, is impossible for citizens of countries where software patents have any value...
Title: Re: Setting up Nspire Lua on Linux
Post by: Munchor on June 21, 2011, 08:11:39 am
Good job, its very clear for beginners :)
It demonstrates perfectly how much more easy it is than TI's tool which pastes the result to the clipboard.

I use this tool constantly, and you can't program something to work faster. Good job Debrouxl, Adriweb and ExtendeD! (and also David for making this vid :)

Thanks a lot Jim Bauwens, and yes all credit for Lua>TNS Program for Debrouxl, Adriweb and ExtendeD.

I'm looking forward for what's coming up from ExtendeD with ndless 3, there's about to be a revolution and then TI has to give up.
...
I' hope... :P

I am also looking forward for Ndless 3. But for now I have to stick for what I got, and it's Lua, but as soon and if Ndless 3 comes out, I will start coding in C for the Nspire.
Title: Re: Setting up Nspire Lua on Linux
Post by: fb39ca4 on June 21, 2011, 01:08:00 pm
Well, I'm just rewriting what ExtendeD wrote ;)
Quote
So what does this mean for us? Implementing a third-party converter which includes the XML compression required by OS 3.0.2 is impossible without being exposed to legal action. Compressing XML is surely a bright idea to optimize storage space, but there were many open binary XML encoding methods available that did not require TI to invest (probably specifically for the TI-Nspire) in a new one. Unless they want to wrap the device with fiddle-proof legal tape.
(emphasis mine)

Granted, ExtendeD later wrote:
Quote
I first checked that XML-compressing a Lua script from a skeleton (similarly to what the current third-party Lua converters for OS 3.0.1 do) is quite easy without needing to implemented the patented algorithm, thus avoiding any legal issues. This is good news.
That may indeed do the job for Lua scripts, which are a particular case; but in general, implementing a fully generic 0D -> clear text/binary decompressor, or a full clear text/binary -> 0D compressor, is impossible for citizens of countries where software patents have any value...
Couldn't it be reverse-engineered?
Title: Re: Setting up Nspire Lua on Linux
Post by: JosJuice on June 21, 2011, 01:10:28 pm
Couldn't it be reverse-engineered?
The main problem is not that we don't know how 0D compression works. The problem is that it's protected by a patent, and that can limit us a lot.
Title: Re: Setting up Nspire Lua on Linux
Post by: ruler501 on June 21, 2011, 03:30:54 pm
This is one reason I think TI is being nice but not nice enough, They are still wrapping it in legal tape we can't bypass. I can't wait for ndless 3, I bet it will be amazing. Is he having to make a seperate version for CX and regular?