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 ... 27 28 [29] 30 31 ... 115
421
Well, if [ON]+[Symb] somehow makes a hard reset... it's no problem :D

422
Althogh Java is absolute crap to develop a graphical application in, it might be the best option.
Using JNI to interface Qt with NavNet might be too complex.
Yeah, I had Java that in mind because it's at the same time directly cross-platform (no need for external QT and such) and could be linked to both libti* (JNI I guess, loading .dlls or .so or .dylib) and navnet (itself is using JNI but that's the deep navnet part which we won't use, only the high-level stuff are necessary. You can pretty much see what here.)
But I indeed know it's not the preferred language for many of us here :D (I myself didn't write much Java except nRemote ^^)

*Cough* Just thought I would mention that TILP would not be usable for me (and I'm sure) other windows users. I have never successfully gotten it to run properly on this PC (running windows 7). In fact, the last time I tried to install it (a few months ago) it rendered both TI connect and itself unusable. This was following the instructions to a T. :/
Same here (the filter driver thing is what blocked me, all the rest was fine) :/ And of course, it went flawlessly on Ubuntu... Ah, Micro$oft....

Quote
Quote
And, the two things above are the exact same thing, just with a different layout. We would need a native client, which also handles transferring the files (libticalcs + Qt?).

I'd very much like to insist that to get as many people attracted to this project as possible, something without any external install would be better, and thus it's why I'd be thinking of a Java program which :
- if running on Linux, uses libti*
- if Mac or Windows, detect if TINC[L]S is installed, then use navnet, otherwise fallback on libti* if installed.
On both cases, if no transfer "driver" is detected (unlikely...), well, tell the user to get either one. (But the rest of the program could still work)

You really think that would make people want to use it? Most people pretty much never hook up their calculator to their computer, it's hacky, requires to download tools and has minimal benefits (compared to the work required to implement it nicely). [rant]Plus, who uses a joke like Java anyway?[/rant]

I used to send my buddies games just by cable during classes (oh boy the hours spent during mathematics class playing Pokemon), and that's up to where the majority of people bother to go just to put some stuff on a calculator (and with the package manager at the very most two files would be required to be sent, one if it was integrated into ndless)
I believe this is way more true for z80 platforms than Nspires (and 68k at a lesser extent, though). That's probably because students would get a z80 "by default" whereas a 68k or an Nspire would actually be a choice.

And that is a good point for making the software (especially the computer one, since the calc one, once installed, means the user trusts the whole thing anyway) as intuitive/portable/easy-to-use as possible. Which is again why feature detection on Mac/Windows is important : if the user has TINC[L]S installed, the program needs to install nothing : it justs sits there (no install needed to launch a .jar or an exe/app where it's embedded into), using what's already available and not installing complementary libs (which is, also, not possible all the time, especially for a driver, if the user is not an administrator).

PS : I was/am also the calc-guy in class :P

423
Quote
On another topic, talking about web hosting, what should differ from the existing if there is no PC-side client ?
I mean what will be the differences between TI-Planet hosting and the pretty concept posted earlier ?
Hmm.. the computer side is to have a unified repo-browsing and transferring experience that also makes the whole package-with-metadata thing easier (not made by hand by the user).
Concerning TI-Planet, since we'd already talked about having some API to get archive-info and whatnot (-in JSON, I believe, but that's not much the point), this would be the chance to get it done for a good/well-defined purpose.
And, the two things above are the exact same thing, just with a different layout. We would need a native client, which also handles transferring the files (libticalcs + Qt?).

I'd very much like to insist that to get as many people attracted to this project as possible, something without any external install would be better, and thus it's why I'd be thinking of a Java program which :
- if running on Linux, uses libti*
- if Mac or Windows, detect if TINC[L]S is installed, then use navnet, otherwise fallback on libti* if installed.
On both cases, if no transfer "driver" is detected (unlikely...), well, tell the user to get either one. (But the rest of the program could still work)

424
You don't seem to have read : [...] nor [...]
But I have to say it's difficult to keep up for new posts in this topic while writing :P
Yeah, I skipped an entire page ... damn me.
Then, yes, for MyLib Basic/Lua programs, there is an interest, but how many are they exept Make3D demo and FormulaPro ?

Some programs of critor, too :P
And some "big" basic (and rarer, Lua, like your Make3d, yes) projects by other community members or even TI sometimes.


On another topic, talking about web hosting, what should differ from the existing if there is no PC-side client ?
I mean what will be the differences between TI-Planet hosting and the pretty concept posted earlier ?
Hmm.. the computer side is to have a unified repo-browsing and transferring experience that also makes the whole package-with-metadata thing easier (not made by hand by the user).
Concerning TI-Planet, since we'd already talked about having some API to get archive-info and whatnot (-in JSON, I believe, but that's not much the point), this would be the chance to get it done for a good/well-defined purpose.

425
Other Calculators / Re: You still have time TI!
« on: August 10, 2013, 11:32:43 am »
Quote
With a touch screen?
Shouldn't be too different from the Nspire's touchpad.

I'm no expert in this, but the Nspire's touchpad is capacitive but only mono-touch ?
The Prime's screen touch layer is capacitive and multi-touch.


Edit : wait, ok, not talking about that :P

426
Other Calculators / Re: You still have time TI!
« on: August 10, 2013, 11:28:02 am »
largely more of a competitor to the Nspire CX CAS than the Prizm, I'd say.

427
But as said, before, whatever the type, lua, basic, or ndless, it should not have to matter to the program (both computer and calc side)
I'm pretty sure it will matter, because Ndless programs will have to be installed differently from the basic/lua stuff (outside from /documents/, with shortcuts, file extensions, etc.)

In my opinion, the transfer itself shouldn't have to be different : what should change, is the behaviour of the calc program upon receiving the files :
 - if the metadata says it's an ndless file or [whatever user option forcing the destination not to /documents], then move that wheever it's good.
 - if [there is no metadata file ?] or it's an official .tns (easy to detect), then, don't move it (expect if user option blablba), but watch out that if there are several files, then, look at the metadata to know which ones have to be put in MyLib.


But as said, before, whatever the type, lua, basic, or ndless, it should not have to matter to the program (both computer and calc side)
As said by other people earlier, there is no interest in making pacspire support Lua nor Basic program, since they are only one-file-made.
You don't seem to have read :
Quote
Oh, BTW, you're wrong when saying "neither BASIC, nor Lua, can read and write files" : there are (and not just a handful) Lua and Basic projects that come with multiple files that have to be put inside of MyLib, to function, so they are reading/writing to external things, just not very freely.
nor :
Quote
Of course, but not so many if you're combining the conditions : getting aware of the project && getting convinced it is a good idea && resticting (with no other motive than pissing the management off) to ndless files[/b].
I'm just trying to help growing the targeted people ("catchment area" / "zone de chalandise" Tongue)



But I have to say it's difficult to keep up for new posts in this topic while writing :P

428
Right, but the thing is that we have to support these kinds of documents since it's exactly the purpose of pacspire : easier multi-file projects installation :)

But as said, before, whatever the type, lua, basic, or ndless, it should not have to matter to the program (both computer and calc side)

429
Quote
you're simply restraining the target of the whole project to a few dozens people...
There are far more than "a few dozen persons" who can install Ndless...
Of course, but not so many if you're combining the conditions : getting aware of the project && getting convinced it is a good idea && resticting (with no other motive than pissing the management off) to ndless files[/b].
I'm just trying to help growing the targeted people ("catchment area" / "zone de chalandise" :P)

Quote
- if the calc is not ndlessed, warn the user that the files won't be transfered outside of /documents, and that, of course, only Basic + Lua based .tns will work, unless they install Ndless (give a link and/or automate the installation if the user accepts to install it).
- if ndlessed, then, it will be transfered within /documents temporarily and then handled by the calc program to be moved somewhere else with a directly-user-accessible link created.
OK, so you're thinking about moving more functionality on the computer side than I was thinking. That could be an option.
Ah, yes, sorry for not being clearer.

We're still very heavily in the brainstorming / planning phase, we'll prioritize features and make a design later :)
Sure, yes, options like that could be done later, it's not so important at first.


Also, I edited the previous post adding this, as it can be helpful for people not knowing this, and, well, it's a usecase of such a project :
"Oh, BTW, you're wrong when saying "neither BASIC, nor Lua, can read and write files" : there are (and not just a handful) Lua and (more) Basic projects that come with multiple files (other .tns) that have to be put inside of MyLib, to function, so they are reading/writing to external things (just not very freely, sadly, that I perfectly agree...)"

430
Quote
Do we want to support calculators without ndless installed (newer models, or if the owner isn't allowed to)?
I'm not sure how could we support calculators without Ndless installed, when neither BASIC, nor Lua, can read and write files ?
What's more, in general, on principle grounds, we don't need or want to support the views of the manufacturer and school system. Most programs which could be installed through a package managers are games, because it's easier to make games than integrate with the OS.

Reasoning like this, you're simply restraining the target of the whole project to a few dozens people... which is clearly not the goal here.
And we are talking of generalizing the whole thing so that it can be used for any document, we wouldn't even "need" to know what type it is (of course, it's preferrable to do so in order to let the user know the maximum amount of info/metadata, it's always better). On the computer side, that is. On the calc side, of course, a package manager for just a single file may be overkill, but .. so what ?

Oh, BTW, you're wrong when saying "neither BASIC, nor Lua, can read and write files" : there are (and not just a handful) Lua and Basic projects that come with multiple files that have to be put inside of MyLib, to function, so they are reading/writing to external things, just not very freely.

I think we should indeed handle both cases :
- if the calc is not ndlessed, warn the user that the files won't be transfered outside of /documents, and that, of course, only Basic + Lua based .tns will work, unless they install Ndless (give a link and/or automate the installation if the user accepts to install it).
- if ndlessed, then, files will be transfered within /documents temporarily and then handled by the calc program to be moved somewhere else with a directly-user-accessible link created.

Some parameters could also be the default location of the transferred files, default behaviour for creating links, etc.


Quote
I'd be great to have the appstore recognize packages installed with pacspire and vice versa.
Approchaing some sort of a "syncing" feature, then, at the same time :) With a list.txt.tns within /documents that would be retrieved and parsed to see what's installed, the version, etc.

431
I don't see why this wouldn't work :)

Also : should we create separate topics/shared-documents (google docs?) for the computer part and the calc part ?
It'd help being more organized and list ideas and such together.

432
Yes sure, but at least it will function directly and more quickly (no install time, I mean) for those on windows (and mac) with TINC[L]S installed, with no need of filter driver and such because of that crappy windows roadblock...
For Linux obviously libti* is the choice as it's easy to use there (and, well, is the only one).
Remember the main point here, whatever the choice : it has to be extremely simple for the user (no installation would be great)
I think the requirement to have tilp installed is as easy for the average windows user as having the TI software.

With the big advantage of not having a 42th abstraction over the real communication.
Tilp itself isn't the problem, in fact, it's the filter driver for windows.... :( The number of people willing to install new software (especially drivers, in fact, with some manual configuration...) for this would be very low...
The reason why I proposed nRemote is because it works "directly" as long as you have TINC[L]S (and well, it's Java, so at least it's mac+windows directly, too). But then, no Linux indeed. To be good, the backend thing about communication should be separate, so that on Mac and Windows, users could use the nRemote layer (well, the java thing, that is, not the whole nRemote obviously), and on Linux, Tilp.


Quote
And, also, let's not forget that if such App-Store project comes to life, it'll have to be for all .tns of course (there are tons of TI activities that could use this, but also Lua scripts, and duh, the ndless programs (especially those with external resources), so if it ever gets popular (who knows :P), the majority of users will be PC, then Mac, then Linux (and the order of file type will be TI BASIC things, then the Lua stuff, then the ndless stuff...)

For a real package manager (like pacspire  ;) ) every file is just a file, nothing special (except the metadata, of course).
Yep, good enough :)

Quote
Also, it'd be good to have such a program linked to the major community repos (ticalc, omni, tiplanet, cemetech...)
Oh, that wouldn't be a good idea. I prefer having a single repo. Fetching packages and metadata would get horribly slow and what is with different version (but same version number!) of the same app in two repos?
Quote
Yeah, a single repo is less of a maintenance problem.
That's perfectly true.... but what repo is going to be used ?
ticalc.org and tiplanet.org are the two websites with most nspire-related files (I dont know which has more, honestly, but I know tiplanet has a lot ...)
We (tiplanet) probably wouldn't have a problem making some php layer/web-service ( / API) to get the correct files in a wanted format over our archives system as it is right now, IDK about ticalc.org

Having a user-exposed file to edit repos and rules to get files from it (if not "standard" from the software POV, or something, IDK), would be cool.

433
So, I've read the chat logs earlier and Tim Wessman said some things about weird things that could happen in functions/plots :D

Quote
[08:21:15]<tw_hpcalc>i am quite excited to get more people pounding on it with the user programs, but also nervous
[08:21:24]<tw_hpcalc>   as user programs are one of the hardest things to allow
[08:21:34]<tw_hpcalc>   so many ways people can do things you never anticipated
[08:23:25]<tw_hpcalc>   so here's a good one for example
[08:23:35]<tw_hpcalc>   you can make a user program, and graph the thing
[08:23:58]<tw_hpcalc>   put the function call inside your equation, and have that create user dialogs....
[08:24:10]<tw_hpcalc>   what's going to happen there? :-|
[08:24:21]<tw_hpcalc>   just crazy stuff like that

So far... no luck in finding anything weird in that (well, at least on the computer software, but at this level it shouldn't matter) :P

Indeed I can call a function I defined earlier from a plot (within F1(X) for example), and as long as the program RETURNs something, it can be used.
However... that stops working as soon as there is some I/O commands in there. (Then, the graph (and table) says the values are undefined)


I have a question, though, if TW ever reads this : a function(X) returning TICKS() and then plotted will only produce one point ... Any idea why ?
And... weird behavious finally found : With a single-screen (plot) : I can't autoscale because of this ^ (it says it can't because there is one point). However, when looking at a split view, with table, it then produces more values (it's funny because when you click, or do whatever, it updates the values ;). And then, *sometimes* you can use autoscale., don't ask me why :P Looks like this :

(Also, you still can click and move around even if that popup text is displayed)



Anyway, any other cool ideas of crazy things to try ? :P


PS : What about syntax-coloring in the program editor ... ? Would be darn cool/useful.

434
You don't need the 3-Byte key code definition. You can just send ascii, as shown in my code ;)
Yes, but in case you want to actually send nspire-related keystrokes :P

435
One of the NavNet JARs (don't remember which one) contains the 3-byte key code definitions. Adriweb, remind us which one ;)
I... don't remember off the top of my head, but I've read here and there it can be in commproxy.jar ; seems about right. (then, a class like NspireVirtualKeyStroke )

BTW, libticalcs contained support for Nspire remote control before nRemote was released, though I used a beta version of nRemote in a Windows VM to debug and fix my implementation of the feature through sniffing USB packets.
Well, it's not as if it was a competition :P

Pages: 1 ... 27 28 [29] 30 31 ... 115