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

Pages: 1 ... 46 47 [48] 49 50 ... 83
706
Oh, I forgot that :banghead:
Seems like I got too used to freedom  >:(

707
What is more possible: Change in the hardware (ASIC, Flash, something else) or change in software (Boot1?)
I think TI prevented installation of older boot2 versions accidentially, this doesn't look like a serious attempt ;-)
Does an "old" calculator show the same symptoms after formatting the entire NAND, overwriting manuf with a newer one and installing 3.2 Boot2 + OS from scratch?

708
Quote
The RS232 Bootlog in the news if of course a 3.1 Boot2 running on a TI-Nspire CX hardware revision J.
No, I mean the bootlog of the newest Boot2, which is 3.2 currently. Has anything changed?

709
The "posix_file_init()" seems to be nothing new.
Is there any way to dump the filesystem image?

Edit: RS232 Bootlog of the newest Boot2?

710
This is just... perfect!
With this we can make our own "exec" and even transfer files without tns or compressed or below /documents or debug easier!

Quote
As I'm working on USB calc-to-calc connectivity with Ndless, I'm actually hooking into NavNet, which is the TI-Nspire specific protocol and TI driver for standard OS services (dir listing, screenshots, file transfers, ...). The new syscalls can be used to call services and expose new ones.
How did you find it out? I mean, the OS is big and the USB protocol and such things are quite complicated in software.
Searching for function addresses and finding out which parameter is what surely took long.

Quote
(Lionel, I'm at the moment loading navnet.dll, but switching to libticalcs when running on Linux shouldn't be too difficult I suppose as long as we can match the 2 APIs).
Oh, the API for TI-8* and nspires is the exact same, so I fear it's not possible without more functions exposed..

711
But the last one is 877.
877 > 848!

713
No, 877. By request of compu a new feature got added which pacspire uses.

714
Yes, it's too old.

715
Quote
Ok, for the header; do I just leave one for the charset or something ?
And... what about encode/decode, do I need to do something else?
For our RPC the output is simply the following:
Code: [Select]
echo gzencode(json_encode($result));Our RPC client uses:
Code: [Select]
$remote = @file_get_contents("http://" . self::$username . ":" . self::$password . "@" . self::$host . "(...)", false, $context);
        if($remote === FALSE) (...)
        $result = json_decode(gzdecode($remote), true);

Quote
And for the .htaccess that's exactly the problem, we don't use them our tiplanet as they don't work (don't ask me why) - last time we tried to understand, we couldn't see...
Grep the whole apache config directory for "AllowOverride", most likely that's your issue.

Quote
btw, for us lighttpd is for http and apache for https.
May I ask why?

716
(mods: feel free to merge if judging as double post, meh)

I have integrated the &gz=1 (default 0) flag, but I don't really know how to test - at least it gives me no error, either on the client side not the server side :

https://github.com/TI-Planet/API/commit/6dc9c20b761753d08104a9a14173fbbae9e22eaa
Delete that useless header( stuff. It will only confuse file_get_contents on the other side, me, and my browser, which wants to download a file api-response-something.gz  Just output it directly. BTW: gzencode is PHP > 4.0.4, but gzdecode is PHP > 5.4 -.-

Quote
I'll be looking at http auth (but there may be some underlying issues with apache/lighttpd that I don't really control / know about
Lionel ?)
Just a .htaccess with auth user file and requre valid-user. In the PHP file you can get the user with $_SERVER[PHP_AUTH_USER].
Or make the authentication optional, then serching should only be allowed if the user is authenticated.

717
Quote
Yeah, for the App Store, I guess I'll have to support that, but this would have to be some kind of "unique" request (like, no more than once every x hours), since it's going to be huge....
I thought of having that supported with some "pages" system. Like, request from 0 to 1000, then 1001 to 2000, etc.

(For now, the max amount of results is 500, and I haven't implemented this "page" system nor the cooldown)

What do you think : page or cooldowned big request ?
We have some RPC going over a DSL 6000 connection (upload 300 kb/s) and the entire student-database(1800 students: class, name, groups, username, email, uid, birthdate..) can be fetched in under 2 seconds. Maybe gzencode (api.php?gz=1, 0 is default)?

Quote
Quote
Why not HTTP auth?
I'll look into that. How is it different/better ?
But the good side of that is having the possiblity of getting results through an ajax call in JS, for example, while I'm not sure if it's possible with the http auth.
If I do get it to work, I'll try to support the 3 ways.
No probs: http://api:[email protected]/api.php?gz=0

And disabling get helps against spamming the server logs and the client browsers history. Also, there's no request limit.

Quote
Also don't we want any calc archive site be able to become repository? (i.e. have a TI-Nspire repository API instead of a TI-Planet API).
For now, it doesn't matter how it's called. Some fields are missing a well-formed value (like nspire-os: major.minor) and some major features are missing (screenshot). Maybe even an installation count? Increment on installation and decrement on uninstallation?

718
Quote
the current apikey (will change later...) for the appstore is ... the name of the package manager ndless program followed by the number 42.
Right now it's for debugging/coding purposes I guess, but for production, we'll get a new, "secret" api key (and this current one disabled)
Why not HTTP auth?

Could you change the author to be always an array? It's better to use foreach($authors as $author) than if(is_array($author))..
Also, it should be possible to retrieve the apps for a given platform. How else should the appstore fetch all available apps?

719
And libs? I don't want a library called Chemistry_EN10_5.2.11_4471.pcs.tns!
For apps or game it would still be annoying.
A database file would be so much easier, just ignoring files which don't exist anymore?

720
Even with a database the user couldn't rename files, so that's no issue.
But what's with file versions?

Pages: 1 ... 46 47 [48] 49 50 ... 83