Author Topic: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)  (Read 8057 times)

0 Members and 1 Guest are viewing this topic.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
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.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #1 on: August 09, 2013, 04:53:05 pm »
PS : What about syntax-coloring in the program editor ... ? Would be darn cool/useful.
^This, as long as it doesn't create slowdowns when typing.

On my HP 39gII, typing and scrolling in the program editor is almost as bad as the TI-84 Plus C Silver Edition, despite having a processor that is 4 times faster.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #2 on: August 09, 2013, 08:03:14 pm »
Scrolling in the HP-Prime program editor is quite slow too.
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #3 on: August 10, 2013, 12:05:26 am »
Aw too bad. I plan to code in the emu though, since it's easier with a keyboard but still let me test programs in a few clicks (without a separate application). Also since the OS isn't very stable it might be less annoying since when the emu crashes it restarts, while with the calc you need to remember the reset combo or carry a needle with you to push the reset button.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #4 on: August 10, 2013, 12:15:04 am »
[...]while with the calc you need to remember the reset combo or carry a needle with you to push the reset button.
Protip: mechanical pencils :P

Speaking of the emulator, when the calc's out is it going to be a Ti- or Casio-style locked down thing that costs twice as much as the hardware?
« Last Edit: August 10, 2013, 12:15:16 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #5 on: August 10, 2013, 12:49:03 am »
Even those pencils don't fit, apparently.

As for the calc, it's kinda locked down as in lack of ASM support, but apparently they did not enforce the lockdown, so maybe we can hope about an hack and no action taken from HP. And yes the calc is overpriced like every other TI/Casio calc, but not as much considering it runs a 266 MHz CPU.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #6 on: August 10, 2013, 01:17:13 pm »
I was meaning more along the lines of the emu. TI and Casio both have windows-only (and maybe mac) emus that cost about twice as much as the calc. :/

Did you try one of the metal-tipped pencils? Those things can fit pretty much everywhere, esp if you use the lead.
« Last Edit: August 10, 2013, 04:30:20 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: "Crazy" HP Prime stuff in programs. (Also a reply to Tim Wessman)
« Reply #7 on: August 10, 2013, 02:36:32 pm »
Well, if [ON]+[Symb] somehow makes a hard reset... it's no problem :D
« Last Edit: August 10, 2013, 02:36:43 pm by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Well, if [ON]+[Symb] somehow makes a hard reset... it's no problem :D
this key combination needs to be visible in every page of the wiki at the top, as notification :P
I was meaning more along the lines of the emu. TI and Casio both have windows-only (and maybe mac) emus that cost about twice as much as the calc. :/

Did you try one of the metal-tipped pencils? Those things can fit pretty much everywhere, esp if you use the lead.
oh I don't know about those pencils but IIRC even those won't fit. It's kinda like my old router.

As for the OS compatibility apparently the emu works perfectly on Wine (or at least it works as well as in Windows).