CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: Dream of Omnimaga on May 14, 2015, 05:25:17 AM

Title: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 14, 2015, 05:25:17 AM
HP has now released a new firmware revision for the HP Prime calculator: version 2015.0427 (revision 7820). It features the following improvements, as stated by Tim Wessman on HP Museum:

QuoteBetter horizontal and vertical pinch zoom functionality.
Better statistics calculations and functionality.
Touch screen curve sketching and automatic recognition of curve type and equation fitting.
Improved help throughout the system.
Quality and reliability improvements.
Better support for USB 3.0 system update connectivity.

[spoiler]HP Prime – Release Notes
-------------------------

Date Released: 2015/04/27

Internal Versions
-----------------
Firmware Version:   2015 04 27 (7820)
Virtual Calculator Version:   2015 04 27 (7820)
Connectivity Kit:   2015 04 27 (7820)

Description
-----------
This release of the Prime Calculator firmware and associated PC software delivers significant new features and fixes outstanding issues. This document is not a complete list of all changes, but highlights specific items. All users of the HP Prime calculator are encouraged to upgrade for the best possible experience.

Primary focus in this release is enhancements to statistics and graphing gestures.

Statistics 1 Variable:
1.   Symbolic view improvements:
a.   Adds plot types:
i   Control
ii   Dot
iii Steam and leaf
iv   Pie
b.   Box and whisker selection of outlier inclusion
c.   Non-integer frequency
2.   Plot view improvements:
a.   Plots of various types may be displayed
b.   Transparency used for color fill
3.   Numerical view improvements:
a.   Creation of additional columns beyond D1-D0
b.   Ability to rename columns
c.   Allows up to 10000 numbers per column
d.   Better selection, movement and operations for editing

Statistics 2 Variable:
1.   Symbolic view improvements:
a.   Adds med-med regression
b.   Adds frequency definition
c.   Adds more plot mark options and color selection
2.   Plot view improvements:
a.   Fit disabled by default
3.   Numerical view improvements:
a.   Creation of additional columns beyond C1-C0
b.   Ability to rename columns
c.   Allows up to 10000 numbers per column
d.   Better selection, movement and operations for editing

Inference:
1.   Symbolic view improvements:
a.   Adds 1 way ANOVA
2.   Plot view improvements:
a.   Plot view now exists for all calculation types

Function:
1.   Plot view improvements:
a.   Ability to pinch/zoom in the X direction only or Y direction only
b.   Ability to sketch a function directly of the types exp, ln, sin, x^2, linear


New Functionality (Connectivity Kit)
------------------------------------
1.   Application names not being translated in connkit
2.   Ability to view Home Variables, CAS variables, App Variables, and App Files
3.   Ability to add application icon to an application
4.   Program editor uses monospaced font and has line numbers


New Functionality (Calculator Software)
---------------------------------------
1.   Added more distribution functions – density/cumulative/inverse: beta, exponential, gamma, geometric, negbinomial, uniform, weibull
2.   Added more random generation functions: binomial, chisquare, fisher, geometric, poisson, student
3.   Added functions DDAYS, DATEADD, DATEDAY
4.   Added application variables AFiles, AFilesB and DelAFiles. Allows direct access of application specific files
5.   Added variables HVars and DelHVars. Allows direct creation and access of home variables
6.   Added application variables AVars and DelAVars. Allows direct creation and access of application specific variables
7.   Applications now individually contained inside a directory structure to group variables and files together
8.   Sequence application can start at a location from 0-1000. Less stringent checking of recursion to allow things like U1(U2(N-1))
9.   Improved on-calculator DEBUG interface
10.   Added ability for title and display only in EDITLIST and EDITMAT
11.   Improved copy and paste in table editors through entire system
12.   Added CellName variable in spreadsheet to interact with names
13.   Added Cursor variable in spreadsheet to place cursor and selection
14.   Added a product template for 2D equation entry/display
15.   Improved plot/object drawing in CAS history to allow geometry objects and plots to be directly displayed
16.   Added MEMORY command to allow programs to check space
17.   Added UPPER and LOWER string commands to convert case
18.   Added display of G0-G9 in history
19.   Added ability to use + and – keys directly for one directional limits
20.   Added ability to use non-real inputs in the program catalog RUN menu
21.   Added clear confirmation on programs and note editor


New Functionality (Virtual Calculator)
--------------------------------------
1.   Ability to copy from 2D table/grid editor and paste to other programs like spreadsheets


Resolved issues and changes excluding CAS
-----------------------------------------
1.   Resolved issue with local variable initialization in a program with using a complex number
2.   Renamed "Program" and "Note" into "AProgram" and "ANote" to distinguish better from variables "Programs" and "Notes"
3.   Resolved issue with having a space before the #end in a #cas #end block
4.   Resolved issue with local lists to allow local l= {{{1,2}}}; l(1,1,2);
5.   Resolved issue with FOR STEP not rounding step calculation
6.   Resolved issue with sqrt from catalog not placing cursor nicely
7.   Improved setting/getting in stats using H1-H5, S1-S5
8.   Resolved issues with the Instruction(n) command
9.   Resolved issue where connkit causes emulator to not connect to streamer on connection if the connkit was running
10.   Improved interval arithmetic in advanced grapher for non-negative integer exponents
11.   Resolved issues with use of Notes variable
12.   Resolved issue with unit display in CAS using units in 2D display
13.   Resolved issue with Physics constants not being disabled in exam mode
14.   Improved named spreadsheet cells to appear in app variable menu
15.   Resolved issues with INPUT command
16.   Resolved issue with nested CHOOSE calls used from user key
17.   Resolved issue with program catalog "RUN" button and terminal

Resolved issues and changes in CAS
----------------------------------
1.   Resolved issue with sum((-1)^k/k^2,k,1,inf)
2.   Return exact answer for some integrals like int(t^3/(exp(t)-1),t,0,inf)
3.   Added numeric evaluation of digamma and polygamma function Psi
4.   Resolved issue with variable in Dirac for ilaplace, e.g. ilaplace(2,x,t)
5.   Resolved issue with desolve(y''=(2)-(exp(-(x))))
6.   Return simpler solutions for some linear diff eqs
7.   Return something simple for things like sqrt(3)*(2*x)^(1/3)/(3x)^(1/4)
8.   Resolved issue with SVD and symmetric matrices
9.   Resolved issue with limit((tan(x)-x)/x^3,x=inf)
10.   Resolved issue with int(1/sin(x^-1))
11.   Resolved issue with arcLen(ln(cos(x)),x,0,pi/4)
12.   Resolved issue with randMat(5,5,4,7)
13.   Resolved issue with frequencies median([5,6,2,3],[2,2,2,2])
14.   Improved variable guessing in desolve
15.   Resolved issue with limit(√(x^2+2*x+1)-(√(x^2)),x,∞)
16.   Resolved issue with int(1/(cos(x)^4+sin(x)^4),x,0,pi)
17.   Resolved issue to avoid long calculations in nested sqrt simplification[/spoiler]

If your connectivity kit doesn't detect any update for some reasons, you can download it on their FTP folder at "ftp.hp.com/pub/calculators/Prime/". Make sure to backup any data (such as school programs, your CW contest entry (http://codewalr.us/index.php?topic=432.0) and/or other projects) from your HP Prime emulator and calculators beforehand, just in case.

Source: http://www.hpmuseum.org/forum/thread-3823.html
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Duke "Tape" Eiyeron on May 14, 2015, 07:14:05 AM
TL;DR, did they released a C/C++ SDK?
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: novenary on May 14, 2015, 09:09:57 AM
Still not I suppose. It's sad. Someone donate one to me already so that I can hack it. :P
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Lionel Debroux on May 14, 2015, 11:52:21 AM
Like the Nspire, the Prime is tailored for school and exam testing usage. HP devs will have the duty to close arbitrary native code execution holes in the standard OS, Cyrille de Brébisson was on public record about that. HP will simply not release a native code SDK for the Prime...

However, the Prime remains a far more open calculator than the Nspire is, because as proven by critor and I, we can flash arbitrary OS onto it. So far, I'm the only person who took advantage of that capability, using standard C/C++ tooling targeting the ARM ISA, in a bare-metal, freestanding environment. That's a real shame.
Nobody bested my man-day of work on that PoC (which means both Proof of Concept and Piece of Crap here). I get to criticize my own work as much as I want, and I can safely state that in absolute terms, what I did thoroughly sucks, though in relative terms, it's the only program of its kind on that platform :)

For over a year and a half, we've all known what needs to be done with leveraging the Prime's power for our own purposes. However, nobody does it, due to lack of time and low user base, which raises lack of interest in the platform.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: novenary on May 14, 2015, 12:26:20 PM
Yeah it's a real shame. I'd love to play around with it. I have some experience with bare metal arm, the soc is heavily documented so it shouldn't be a big issue besides getting the hardware (I don't have that much money).
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 14, 2015, 04:17:28 PM
Quote from: Lionel Debroux on May 14, 2015, 11:52:21 AM
Like the Nspire, the Prime is tailored for school and exam testing usage. HP devs will have the duty to close arbitrary native code execution holes in the standard OS, Cyrille de Brébisson was on public record about that. HP will simply not release a native code SDK for the Prime...

However, the Prime remains a far more open calculator than the Nspire is, because as proven by critor and I, we can flash arbitrary OS onto it. So far, I'm the only person who took advantage of that capability, using standard C/C++ tooling targeting the ARM ISA, in a bare-metal, freestanding environment. That's a real shame.
Nobody bested my man-day of work on that PoC (which means both Proof of Concept and Piece of Crap here). I get to criticize my own work as much as I want, and I can safely state that in absolute terms, what I did thoroughly sucks, though in relative terms, it's the only program of its kind on that platform :)

For over a year and a half, we've all known what needs to be done with leveraging the Prime's power for our own purposes. However, nobody does it, due to lack of time and low user base, which raises lack of interest in the platform.
Yeah it's a shame that not more people are interested in hacking the calc. On the other hand, there are probably some people who think hacking it is useless because of how powerful HP PPL is. Just look at how smooth Mineprime smoothscrolling is.

I personally am not as upset that HP locked the HP Prime down than I was with the TI-Nspire, because they at least did the effort to give us a good alternative. TI took 4 years before finally doing it and while Lua has improved a lot since then, it still has some annoying limitations that can hinder speed considerably.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: novenary on May 14, 2015, 04:18:56 PM
That's true, but low level languages aren't only a matter of speed. :P Asm can be pretty fun to mess with, even on ARM.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 14, 2015, 04:23:51 PM
Yeah true. However, seeing how few hardcore ASM coders there are on Z80 calcs compared to BASIC/Axe programmers and how much smaller the HP Prime programming fanbase is compared to TI-z80's, I bet that there are probably like 3 or 4 people who are really interested in hacking the HP Prime and maybe not even one of them have the time to do it.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: alexgt on May 14, 2015, 08:11:33 PM
Hacking would be cool but I don't want HP to lock it down like the NSpire. And \/
Quote from: DJ Omnimaga on May 14, 2015, 04:17:28 PM
Yeah it's a shame that not more people are interested in hacking the calc. On the other hand, there are probably some people who think hacking it is useless because of how powerful HP PPL is. Just look at how smooth Mineprime smoothscrolling is.
To put that is perspective about MinePrime I display two GROBs that are each 1600x800 in size 16 times to do the smooth scrolling. Sadly I tried using a 320x240 GROB but copying to it was too slow :(.

EDIT: To say the truth if there were exploits out I would definitely use them :P
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 14, 2015, 09:51:01 PM
Aah I see. Lua cannot use such GROB IIRC so you have to redraw the map parts shown on the screen frame by frame, one tile by one. But even in HP PPL doing this would be faster than Lua I think. I wish that they made a 400 MHz Nspire CX with 256 MB of Flash.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Snektron on May 14, 2015, 10:45:25 PM
But isn't HPPPL compiled anyway? and since Lua is interperted you'd HPPPL to run faster anyway
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 14, 2015, 11:24:21 PM
It is. I wish TI went such route.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Adriweb on May 15, 2015, 04:08:34 AM
Having TI use LuaJIT (http://luajit.org/performance_arm.html) would be a great step forward already.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 15, 2015, 04:39:23 AM
Also it would be nice if their Lua didn't remove many commands (although it's ok I guess if they have to remove some to respect exam regulations), so that people who learn Lua for computer programming have an easier time porting their programs to the calculator. Would LuaJIT automatically do that?
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: novenary on May 15, 2015, 06:16:38 AM
Quote from: alexgt on May 14, 2015, 08:11:33 PM
EDIT: To say the truth if there were exploits out I would definitely use them :P
Well, there's no need for exploits on the prime. You can run arbitrary code just by replacing the OS, which the calculator isn't locked against at all unlike the Nspire. I already suggested a preloaded that can load either the OS or custom code, but since I do not own the calc I can't do it myself.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 15, 2015, 06:21:56 AM
It's a shame that you have quit Prime developement Street, though, since you had the bootloader/rootkit idea. D: I guess it doesn't help that you don't have the calc, but again tr1p1ea has developed Desolate 83+ and several other 83+ games without ever touching one before.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: novenary on May 15, 2015, 06:29:41 AM
Yeah but he could use the emulator I suppose. There's none for the prime yet.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Snektron on May 15, 2015, 09:07:53 AM
I developed DovahCalc CSE entirely on an emulator too
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: alexgt on May 15, 2015, 05:21:42 PM
I have two Primes actually :). When I got the first in  the mail it had a cracked screen so I could only see half of it but I could still use it normally. I could mail it to you but I would have to find a way to get it sent out with my parents not knowing as they don't  even know about my account here. That would help if you wanted to get into heavy development :).
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Snektron on May 15, 2015, 06:06:34 PM
Are you not allowed to send stuff? or have accounts on fora? O.O
I'm glad my parents are quite loose on that
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: novenary on May 15, 2015, 06:30:02 PM
How cracked is it ? Just the LCD with the touch panel working fine ? Let me see if I can find a replacement screen. :P

Edit: forget it lol, it's impossible to find spare parts for calculators. So unless I can find another cheap calc to frankenstein them together it's useless.
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: alexgt on May 15, 2015, 07:33:53 PM
The touch pannel is just fine you cant even feel the crack so everything works you just can't see half the screen :P.
Quote from: Cumred_Snektron on May 15, 2015, 06:06:34 PM
Are you not allowed to send stuff? or have accounts on fora? O.O
I'm glad my parents are quite loose on that
They don't know I have an account here so it would be weird sending a calculator in the mail to a random person (as they know one of my most prized possessions :P).
Also do you really live in Israel because that might get expensive.

EDIT: @Cumred_Snektron what is fora?
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Snektron on May 15, 2015, 07:36:40 PM
Its the plural of forum :P (i thought it was the same in English as in Dutch since its a Latin word)
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: alexgt on May 15, 2015, 07:38:27 PM
Oh I think it is just forums :P. But yeah they don't even know about my email.

I'm not a horrible child though I follow all the other rules...  :-X
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: alexgt on May 16, 2015, 12:23:14 AM
Sorry for the double post but this should be noted: Next time you get time look at the DEBUG feature O.O you can actually use it now it looks AWESOME!!!
Title: Re: New HP Prime firmware release 2015.0427 (revision 7820)
Post by: Dream of Omnimaga on May 17, 2015, 03:40:21 PM
Quote from: Streetwalrus on May 15, 2015, 06:29:41 AM
Yeah but he could use the emulator I suppose. There's none for the prime yet.
The emulators were ultra-crap back then, though :P