Live data from Hacker News

DB48X: High Performance Scientific Calculator, Reinvented

48calc.org

121–130 of 140 posts

Re: DB48X: High Performance Scientific Calculator, Reinvented

#121
post #56
post #12

As a DM42 owner who loves RPL, this is an exciting project.

Its annoying to instal, I eventually got it to work on my calculator (DM42) from the binaries. The biggest thing is making sure all the firmware of the DM is upgraded

Could you open an issue on the project's web site about the trouble you had installing? (http://github.com/c3d/db48x). Thanks!

Also, were you aware of this tutorial: https://www.youtube.com/watch?v=rVWy4N0lBOI&list=PLz1qkflzAB...

Re: DB48X: High Performance Scientific Calculator, Reinvented

#122

somehow doesn't work on my Ubuntu Firefox 131.0.3 but works on my Arch 132.0.

Same, shows JavaScript error: "Uncaught ReferenceError: SharedArrayBuffer is not defined at db48x.js:615:40" Both in Chrome and Firefox (both are up to date to versions way beyond where SharedArrayBuffer should have been introduced) I think they should either use ArrayBuffer, or use https instead of http, apparently SharedArrayBuffer has security restrictions

SharedArrayBuffer is necessary to run multiple threads with EmScripten.

Re: DB48X: High Performance Scientific Calculator, Reinvented

#123

somehow doesn't work on my Ubuntu Firefox 131.0.3 but works on my Arch 132.0.

Apparently, for security reasons, your server needs to add certain headers if you want to use SharedArrayBuffers. https://hacks.mozilla.org/2020/07/safely-reviving-shared-mem...

This is done on that page, though on some browsers it requires an explicit page reload. This works with Mozilla 132.0, just tested on Fedora 41.

Re: DB48X: High Performance Scientific Calculator, Reinvented

#125
post #64

It's not clear from that page nor the GitHub repo whether they are using decimal floating point underneath? It's one of the nicer things when using a calculator over something like Python.

There are three floating-point representations:

- A variable-precision decimal floating point that uses base-1000 internally with 10 bits for 1000 values instead of 1024, so reduced memory waste, and LEB128 for size and exponent encoding. So 1.23 is 5 bytes, and each decimal value has its own precision. The precision only affects computations, not stored objects, so you can adjust the precision for each step of a computation.

- IEEE754 hardware accelerated 32-bit and 64-bit binary floating point.

In line with RPL, there are many other object types, including arbitrary-precision integers (123 is 2 bytes, 100! is 68 bytes), symbolic expressions, programs, lists, and so on.

Re: DB48X: High Performance Scientific Calculator, Reinvented

#126

Could this run on a TI or a NumWorks calculator? RPN: Reverse Polish Notation: https://en.wikipedia.org/wiki/Reverse_Polish_notation RPL: Reverse Polish LISP: https://en.wikipedia.org/wiki/RPL_(programming_language)

In theory yes. In practice, the TI 83/84 are probably not beefy enough, and the NumWorks has a keyboard that makes the endeavour really complicated.

Re: DB48X: High Performance Scientific Calculator, Reinvented

#127
post #3

IANAL, but the logo they're using looks infringingly similar to HP's.

It's a tribute to Hewlett and Packard, but taking the first names, and with the individuals reversed for balance.

I do not believe there is any possible infringement on a clearly new design, even if that design is intentionally reminiscent of the HP logo.

Re: DB48X: High Performance Scientific Calculator, Reinvented

#129
post #121
post #56

Earlier quoted context omitted.

Its annoying to instal, I eventually got it to work on my calculator (DM42) from the binaries. The biggest thing is making sure all the firmware of the DM is upgraded

Could you open an issue on the project's web site about the trouble you had installing? ( http://github.com/c3d/db48x ). Thanks! Also, were you aware of this tutorial: https://www.youtube.com/watch?v=rVWy4N0lBOI&list=PLz1qkflzAB...

Are you the author?

Man thanks! I know I criticized it a bit on here, but really it's nitpicking. Oh, and I found the apostrophe.

To file a bug Id have to try again to see what my issues were and I really don't have time this semester.

Re: DB48X: High Performance Scientific Calculator, Reinvented

#130
post #115
post #55

I have it installed on my DM42. Its nice, but I dont like two things: - Where's the apostrophe (equiv. to quote in lisp)? That should be an easily accessible key not buried in a menu. - Why did he swap the log keys? I also wish the HP48's steq interface to plot existed, but whatever.

> Where's the apostrophe (equiv. to quote in lisp)? That should be an easily accessible key not buried in a menu. The apostrophe is on the XEQ key of the DM42, or "F". But in RPL, it is not to quote like in Lisp, but to introduce algebraic expressions (although it does quote names as a side effect). On the simulator / web site, the symbol on the key looks like this: [' ()], it is on the second row on the rightmost co…

Ya, after I posted this comment I looked harder and found it. That layout is very busy, but I get it the Dm42 has fewer keys.

Again, thanks for the project my 48Gs are getting old and the screens always sucked, and the UI always felt slow compared to my 28S.

Post reply on HN