Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Levak

Pages: 1 ... 38 39 [40] 41 42 ... 68
586
Lua / Re: questions about starting LUA programming
« on: September 14, 2011, 04:30:44 pm »
If you only have 1 hour a day, yes it is really short for you. Actually many things are made during the weekend, or during school hours :D

587
Lua / Re: questions about starting LUA programming
« on: September 14, 2011, 04:24:09 pm »
3) Lua is _exactly_ the same in syntax and command in Nspire-Lua. It is clearly a Lua port of the version 5.1. Then, TI added its own framework and way to program (event based), but it is still Lua.

4) 2 physical days during holidays .... understand what you want I can't remember how much I slept :D

588
Lua / Re: questions about starting LUA programming
« on: September 14, 2011, 11:46:36 am »
1) nspire Lua is Lua but with nspire framework functions in it (I mean it is not like the difference between TI-èBasic and Basic whom are really differents)

2) Yes. Personnally I learnt Lua while discovering and documenting Nspire Lua. But I'm not an example. On the other hand, learning a language is hard without a goal/project. Your goal : understand how Lua tables and meta tables work :D

3) You have the choice. So the question is "do you have time to learn completly Lua before learning the extra-functions of Nspire Lua ?" . If so, start open the huge Lua documentation and read it from begin to end. Same for lua-user documentation. Otherwise, use Inspired-Lua starting tutorials

4) What is a simple program for you ? For example I made in two days Nyan Cat. Two days is really short I think and a normal person will make it in 5-6 days. Give an example of what you think to be a "simple" program/game.

sidenote : a string is a table of characters. 'a' is a character, "aaaaaaa" is a string. But "aaaaa \n aaaaaaaaaaa \n aaa" is also a string.

589
TI-Nspire / Re: [Lua] Make3D
« on: September 14, 2011, 08:17:48 am »
Wow. awesome!
btw, in the screenshot, is that "nom" on purpose or is it different language?

It is in French yeah =')
Translate them by "Name" and "Size"

590
News / Re: Doing too much with the TI-Nspire dock connectors?
« on: September 14, 2011, 07:57:12 am »
Talking about connectors, few months ago I made a pcb chip for it :
http://levak.free.fr/ftp/nspire/dock-nspire/noname-brd.svg

Using KiCAD : http://levak.free.fr/ftp/nspire/dock-nspire/

591
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: September 14, 2011, 07:49:17 am »
Thanks =)

Here are some screenshots :



Nice idea :)
Also I can try to provide any information needed to port the converters to OS 3.0.2 and above.
In public or in private ?
Because when I wanted to modify Luna to do this, I was stopped by Lionel Debroux's explanations about how it finally works. Are you able to convert an xml file (like Problem1.xml) in a tns document ? Because if we can do that you can quickly understand that it is possible to make an alternate version of TI Nspire Computer Software compatible with Linux.

Indeed we can easily document the xml syntax used in Problem1.xml by dumping TI Nspire computer Software clipboard, since it saves it in readable data.

592
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: September 13, 2011, 05:40:16 pm »
Ok, back to work, at school I have many huge projects to do in a short amount of time so I guess make3D will slow down a little bit.

But during the past 2 days I've been working on something I couldn't believe it was possible, but in fact, the TI-Nspire Lua API .. well ... the TI-Nspire Framework in general has a real potential.

First, you have to keep in mind that I previously worked on a possible way for Make3D to be modular, like Blender, I mean, with multiple widgets all synchronised and fully customizable. This technique has a problem : each time you duplicate the widget, you duplicate the source code. Thus, we have to find a way to avoid this useless duplicated data which is the same all the time.

What I'd been working on, is importing, through strings, Make3D source code from MyLib. Indeed, this is possible !
It is possible, yes, but, I have to use a modified version of makeTNS for making it working which is not compatible with OSes 3.0.2 and sup. Why ? Because The source code isn't saved between <wdgt type="TI.ScriptApp"></wdgt> but in the symbol table in the beginning of Problem1.xml, the area where all variables of a problem are defined. Ok then, I just save the source code as a string variable, but keep in mind that tns documents are crypted and we don't know how to crypt it, and if we knew it we won't be in rights to reproduce it (legal issues). Luna uses the legal fact that TI can't crypt user's source code, thus, it is "clear" in the zipped archive.

So my modified version of MakeTNS only opens a xml file in the Problem1.xml format, and save it as a tns document only compatible with OS 3.0.1 - just resave it with OS 3.0.1 to make it compatible with newer OSes.
Here it is : http://levak.free.fr/ftp/nspire/Make3D/maketnsFromXML.py

Then, I made my proper "Makefile" that generates in a different way my Library file that has the entire Source Code as multiple public strings : http://levak.free.fr/ftp/nspire/Make3D/Makefile.sh

You will be able to see that it also generates a widget with the "include" method which loads and launches all strings from the library. It handles "basic" errors on start-up like if we didn't refresh libraries before launching the widget.

It keeps the save and restore states but it is a little bit of bullshit, welll, it is a little bit strange, but it works :D

The Makefile source code also includes my really-quick-coded-TI.Notepad-converter-from-text that converts a text in a valid xml widget - But as I said, it is impossible for now to launch it with an OS like 3.0.2 or higher.


Finally, the url changed since it is a little bit different (compatible 3.0.1, 3.0.2, 3.1):
  • Make3D_debug - when working without library
  • Make3D_lib - when working with library link. The redistribuable widget is included (only copy and paste it in a new document)

That way Make3D will act like a "viewer". When sharing a model, you won't share Make3D source code with it, only the "importer" script.


PS : I'm really tired I can't take the time to see any grammatical-syntax error, my bad ...

593
Minecraft Discussion / Re: I set up the minecraft server
« on: September 11, 2011, 04:20:07 pm »
Is the server having problems? I cant seem to connect.
Right now, me neither : no response.

594
General Calculator Help / Re: Text Editor
« on: September 09, 2011, 09:56:56 am »
If we use Luna sources to make Text Editor compatible ... well ... I think that made a complete IDE like TI Nspire Computer Software is smarter, but it takes such a long time ...

595
Other Calculators / Re: how to run 3.0.1 lua programs on os 3.0.2
« on: September 09, 2011, 09:51:28 am »
Another one (but useless now Luna is out)
Source > [maketns, lua2TNS, LuaToTNS] > save with TINspire Computer Software/Calc with OS 3.0.1 > compatible 3.0.2

The only advantage to this is to use maketns by JayTe that supports multiple lua files in input.

596
Ndless / Re: Ndless 3 and access to Wireless
« on: September 09, 2011, 09:49:53 am »
The CX has Wireless. However, it's blocked to only have access to the Cradle made by TI. If we could code in ASM, we could use the Wireless to connect to devices of our own, or even other calculators.

No.

597
Lua / Re: Lua problems and bugs
« on: September 08, 2011, 02:00:27 pm »
unpack(...) no ?

598
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: September 05, 2011, 02:09:17 am »
2100 : You should make a 3D trailer of your program/tool to make it awesome

599
Minecraft Discussion / Re: I set up the minecraft server
« on: September 03, 2011, 02:43:12 pm »
A few questions:
Can ops spawn mobs/make spawners?
pig spawners only

Quote
Is online mode true or false?
Mode online false.

600
Lua / Re: Lua Q&A
« on: September 03, 2011, 04:05:51 am »
Levak ?

Thanks.
TNOC 1.22 I released today fixes thoses memory bugs =)
And also it finaly renames correctly files \o/

http://tiplanet.org/forum/archives_voir.php?id=1922 (same link as before)

Pages: 1 ... 38 39 [40] 41 42 ... 68