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 - Adriweb

Pages: 1 ... 30 31 [32] 33 34 ... 115
466
Casio Calculators / Re: [Prizm C] Mandelbrot Set
« on: July 28, 2013, 01:58:29 pm »
Eh, this reminds me of :



:P

467
TI Z80 / Re: solidFRAME - a 3D engine for the TI-83+ (SE Recommended)
« on: July 28, 2013, 08:53:36 am »
Very nice :)

468
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 28, 2013, 07:24:35 am »
Well, I guess not (I noticed that running a program made in OS 3.2 wont work on nspires with OS 3.0/3.1 without setting the apilevel to 1.0) but where do I get a 3.1 software to add page 1.2?

You can download 3.1 software(s) here :
http://tiplanet.org/forum/archives_list.php?multi_chaine_search=Logiciels+TI-Nspire+3.1
(take the mac or PC version according to your platform, Teacher edition ("enseignant") lasts 90 days, student 30.)

And another question: I used "if touch and touch.isKeyboardAvailable then" somewhere; is that right or is "touch.isKeyboardAvailable" a function?
It's actually a function, but since Only the tablets' OS have it implemented... it works the same way. For forward compatibility, try calling the function, though, instead.

469
Site Feedback and Questions / Re: Post Preview
« on: July 27, 2013, 03:04:51 pm »
Guess what, it's actually the first time since I've discovered Omnimaga that I saw this tutorials section.....
Why isn't it more "highlighted" or linked to more often ?

(Also, good idea, to stay on topic :P)

470
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 27, 2013, 03:02:11 pm »
I think the program is finished, does everything work now? If so, then I'll compile it with Luna and then upload to ticalc.org.

Edit: Would there be problems if I'd just leave out setting the apilevel and don't compile with Luna? I tested it with apilevel='1.0' and '2.0'
Well, as long as it runs on 3.1 :)

471
Lua / Re: Lua Q&A
« on: July 27, 2013, 06:24:35 am »
Not sure why this wouldn't work, but you can try storing temporarily the left and right side of the equation into a basic variable (with some other simpler math.eval("left:=xxxxx") etc.)
and then, math.eval("nSolve(left=right,yi)")

Edit : thanks to jim : indeed you have a ")" after the formula that will break everything :P remove it !

472
Other Calculators / Re: (Z80) TI Demoscene Productions
« on: July 26, 2013, 07:32:18 pm »
well yep, amazing considering their sizes.
It reminds me of awesome PC demos (4k ones :o)

473
is the video .
And that was amazing, how did you find that lol :P

474
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 25, 2013, 03:14:08 pm »
Very nice, I'll test that soon (and probably edit this post then) :)

Also, when in infinite loops on TINCS, you can "try" holding F12 (or pause, I dont rememeber which...), sometimes it breaks out of it.

475
News / Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?
« on: July 24, 2013, 06:47:47 pm »
For me, 2Mbits x 16-bits x 4banks = 2MB.
Here's why I believe you are wrong about the "2Mbits" : The datasheet says "2M" and not 2 MBits.
Then, it's 2 mega (millions) * 16 bits (2 bytes) * 4 banks, which is, for me : 2 millions * 2 bytes, four times. Which is 4 MB, 4 times= 16 MB.

Your "2MBits x 16-bits" means that units-wise the result would be in bitsĀ² :P

So, yeah, it's neither MBytes nor MBits, just mega, for "million", hence the 16 MB as explained above.

That's what I believe at least and looks right with other similar chips with same info.


Anyway, I'm off to bed now :P

476
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 24, 2013, 06:12:55 pm »
- Esc key => Well, I'm not sure.... I'll see tomorrow on the iPad (I don't have it with me anymore now) but maybe space ?
- I believe they are available and act the same as in the computer software (or the calc), for the charIn.
- Toolpalette : yep ^^

477
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 24, 2013, 05:24:10 pm »
Another feedback for the iPad (in addition to my post above with edits if you didn't see all that)
Since there is no "Esc" key, could you do something about that for the dialogs ?

Edit : yes about your idea to append a "back to script" to the user's toolpalette but now the "difficult" part is to get the user's toolpalette... (that would require parsing the types code for the table...)
Edit2 : wait, what am I thinking, just overwrite the register function >.> I'm tired lol

(Edit3 : typo)

478
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 24, 2013, 05:16:08 pm »
Ok, so :

a working .tns for the iPad (with fixes for the toolpalette bug, the keyboard now shows, and I overwrote the user toolpalette if it existed to have a menu item to go back to the editor. A better approach would be to scan for the user script for a toolpalette register, get the table and add an item (to go back to the editor)...) :
http://www.mirari.fr/4Cn9

(code I added when you inits the user script, after the series of if on.construction, if on.Resize, if on.create etc. :
            if platform.isTabletModeRendering and platform.isTabletModeRendering() then toolpalette.register({{"Script Editor",{"Go back", __mG.reloadSEHandlers}}}) end
)

also :
Code: [Select]
function __mG.on.mouseUp()
    __mG.mouseDown=nil
    if platform.isTabletModeRendering and platform.isTabletModeRendering() then -- 3.4 detection
        -- toolpalette bug workaround
        platform.window:setFocus(false)
        platform.window:setFocus(true)
        if touch then
             if not touch.isKeyboardVisible() then
                  touch.showKeyboard()
             end
        end
    end
end

and I put the toolpalette bug workaround in some places.

The full source with my changes :
http://pastebin.com/fX4CddMb


Edit :
- mdr1: works for me (on TINCS, though)
- Jens : well, it now works as expected with all that :) I'll do a video later.

479
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor
« on: July 24, 2013, 04:17:45 pm »
- At the moment the contend is save like this: content["Graphics"]["drawString"]=... and the menu is created via pairs(content) and the pairs function doesn't sort in any way... I'look what I can do here.
Well, in the output script, reordering the things by hand would work ^^

- Ah, didn't know that I have to trigger the keyboard, that'll defenitely be in the update tomorrow
Here's a version with the keyboard working in the iPad : http://pastebin.com/x49Xmsis

- About the button, I found that picture on the TI website:

There is a EE button on the right, doesn't that work?
Yes there is. I guess it can work, I haven't tested. However, the thing is : How do I access the keyboard on the iPad, while in the user's script ? ;)
Maybe you'll have to force a toolpalette with a "Back to Editor" function, or force the "EE" key (backing up the user's on.charIn, handle the EE button, then let the user's charIn resume/continue.)

- I'm still a bit confused about setting the api level: What do I have to do that the editor runs on older OS (3.0-3.1) but also executes newer functions?
- Don't put any platform.apilevel at the top of the script source
- make a bunch of tests for the functions that are new in 3.2 and 3.4. (the if you made, that's good. However you dont need if on.resize, that exists on all versions.  ; whatch out with on.create/on.construction. in on.construction all the API isn't ready yet. if you need some API things in it, reconsider this by making init codes within on.resize for example)
- compile the .lua file with Luna to get a .tns working with any 3.x OS.
- make any change to the .tns with a 3.1 software if needed (here, adding the tab 1.2...) .
- Save under OS/software 3.1




Edit : watch out for the screen size available when the keyboard is up, on the iPad. There are some functions that will help you here : http://wiki.inspired-lua.org/Changes_in_OS_3.4 (platform.window:getScrollHeight() etc.)

Edit2 : see the edits on my post before ?

480
OmnomIRC Development / Re: OmnomIRC changelog and suggestions
« on: July 24, 2013, 04:01:31 pm »
Scrollbar for me. But I don't really mind :P

Pages: 1 ... 30 31 [32] 33 34 ... 115