Minor bug in firmware 3.2: CATALOG of functions

Discussion around the SwissMicros DM42 calculator
Post Reply
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Minor bug in firmware 3.2: CATALOG of functions

Post by mcc »

Hi,

found a glitch in The Matrix: ;)
If the CATALOG of function is sorted alphabetically, the command "PSLV" is positioned at the wrong place.

Cheers
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
Thomas Okken
Posts: 1098
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by Thomas Okken »

mcc wrote:
Wed Jan 10, 2018 7:53 pm
found a glitch in The Matrix: ;)
If the CATALOG of function is sorted alphabetically, the command "PSLV" is positioned at the wrong place.
The FCN catalog is sorted according to the "same as on the HP-42S" ordering.
There is no glitch. The universe is still consistent. :mrgreen:
User avatar
salvomic
Posts: 186
Joined: Sat Dec 30, 2017 10:09 am
Location: Ragusa, Sicily
Contact:

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by salvomic »

Thomas Okken wrote:
Wed Jan 10, 2018 8:00 pm
...
There is no glitch. The universe is still consistent. :mrgreen:
yes :)
in HP 42s Catalog there is this order: PINT > PSLV > PI, I don't know why that command is not in alphabetically order.

Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by dlachieze »

salvomic wrote:
Wed Jan 10, 2018 8:43 pm
in HP 42s Catalog there is this order: PINT > PSLV > PI, I don't know why that command is not in alphabetically order.
It's because the function names are PGMINT and PGMSLV, so they are correctly sorted alphabetically. PINT and PSLV are shortcuts to easily identify them on the soft buttons.
DM42: 00425 - DM41X: β00066 - WP43: 00042
User avatar
salvomic
Posts: 186
Joined: Sat Dec 30, 2017 10:09 am
Location: Ragusa, Sicily
Contact:

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by salvomic »

dlachieze wrote:
Wed Jan 10, 2018 8:55 pm

It's because the function names are PGMINT and PGMSLV, so they are correctly sorted alphabetically. PINT and PSLV are shortcuts to easily identify them on the soft buttons.
Thomas Okken wrote:
Wed Jan 10, 2018 8:57 pm


Probably because some of the command names you see in the menu are abbreviations. Press them to see their full names: PGMINT, PGMSLV, etc. I think they are all in alphabetical order if you consider their un-abbreviated names.

thanks Didier and Thomas, then they are ok!
Last edited by salvomic on Wed Jan 10, 2018 8:58 pm, edited 1 time in total.
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
User avatar
Walter
Posts: 3070
Joined: Tue May 02, 2017 11:13 am
Location: On a mission close to DRS, Germany

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by Walter »

Due to the lower resolution of the HP-42 LCD, less characters could be put into one softkey window. With the 400 pixels of the DM42 LCD, abbreviations as on the HP-42 wouldn't have been inevitably necessary, so that traditional annoyance could have been avoided, and alphabetic sorting would have become obvious by simply reading the softkeys. Perhaps in a later edition of the firmware? ;)
WP43 SN00000, 34S, and 31S for obvious reasons; HP-35, 45, ..., 35S, 15CE, DM16L S/N# 00093, DM42β SN:00041
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by mcc »

Hi,

I feel it is contraintuitive to search a list with abbreviations (while reading them) according to list of words (unabbrivated and in my head hopefully) if lists are sorted differently.

To exeggerate this:
Search a list of english words alphabeticaly sorted according to their french translations....

Only my two cents, your cent-foo may vary... ;)

Cheers
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
keithdalby
Posts: 564
Joined: Mon Apr 24, 2017 8:38 pm

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by keithdalby »

I suppose this becomes another example of the reoccurring question: to what extent do we want the DM42 to be compatible with the HP42S and to what extent should it stand alone as its own improved calculator?
User avatar
revwillie
Posts: 133
Joined: Mon Apr 24, 2017 7:48 pm

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by revwillie »

keithdalby wrote:
Thu Jan 11, 2018 5:55 pm
I suppose this becomes another example of the reoccurring question: to what extent do we want the DM42 to be compatible with the HP42S and to what extent should it stand alone as its own improved calculator?
At some point when the source is opened there could very well be a forking between "true42" and "new42" firmwares. Kudos to SM for building a solid and flexible device.
DM42 SN: 00076
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
Thomas Okken
Posts: 1098
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: Minor bug in firmware 3.2: CATALOG of functions

Post by Thomas Okken »

Walter wrote:
Thu Jan 11, 2018 4:10 pm
Due to the lower resolution of the HP-42 LCD, less characters could be put into one softkey window. With the 400 pixels of the DM42 LCD, abbreviations as on the HP-42 wouldn't have been inevitably necessary, so that traditional annoyance could have been avoided, and alphabetic sorting would have become obvious by simply reading the softkeys. Perhaps in a later edition of the firmware? ;)
That would be a pretty easy change to make. The function table contains all function names in their un-abbreviated forms, with the letters that are to be suppressed in menus marked by having their high bit set. DM42 could simply check whether the entire name fits inside a softkey, and if it does, render it, and if not, drop some or all of the marked characters, as needed. (For labels, it should use the current algorithm, which is to truncate from the right if a label doesn't fit, but of course it should show more letters than the 42S / Free42 do, if there's room.)
Post Reply