DB48X version 0.7.0 long demo

Sdílet
Vložit
  • čas přidán 1. 03. 2024
  • This is a long demo of DB48X version 0.7.0, which introduces many new features such as graphical rendering of equations, date and time operations, and a few other things.
    github.com/c3d/DB48X-on-DM42/...
    48calc.org

Komentáře • 22

  • @CalculatorCulture
    @CalculatorCulture Před 3 měsíci +2

    Great video Christophe. The functionality is really impressive. I also love your video format with three cameras. I'd love to cover it on my channel when the time is right - Antony

    • @christophe3d
      @christophe3d  Před 3 měsíci

      Honoured to see you here. I wonder how you manage to get your hands on so many calculators, especially the old, vintage ones, e.g. old 16-bit pocket Lisp computers from Japan or whatnot. Is that a personal collection of yours, or do their owners lend them to you for the video? Also, just went down a rabbit hole starting at your video on variable precision in Android calculator and leading me to Hans Boehm paper describing how this works. Darn.

    • @christophe3d
      @christophe3d  Před 3 měsíci +2

      Regarding the three camera format, it's really two cameras in OBS with two views on the same one using a different zoom. It's not perfect, though, I need to find a way to keep the calculator from moving so much.

    • @CalculatorCulture
      @CalculatorCulture Před 3 měsíci

      @@christophe3d yes the calculators are all mine, although because i'm more interested in making videos than collecting, some of them I have bought and sold. Some of the Casio and Sharp models I have got from Japan using Buyee - which is proxy service for Japan Yahoo! Auctions. Others I've found using Facebook marketplace in Australia - there are not many collectors here.

    • @CalculatorCulture
      @CalculatorCulture Před 3 měsíci

      @@christophe3dimovie has a video stabiliser that works quite well, not sure about OBS.

  • @ijabbott63
    @ijabbott63 Před 4 měsíci +3

    55:23 Shows the day of week as Sunday instead of Saturday, although the day of week on the header line is correct.

    • @christophe3d
      @christophe3d  Před 4 měsíci +1

      Thanks! I had not noticed that the simulator and the real calculator were not using the same convention for day of week numbering.

    • @christophe3d
      @christophe3d  Před 4 měsíci +1

      It's fixed in 0.7.1. Thanks for the sharp eye.

  • @john_hind
    @john_hind Před 4 měsíci +1

    The algebraic expression display is a thing of beauty and must have been a lot of work! You are now so close to seamlessly mixing algebraic and RPN! How about if you type something that could not be part of RPN entry (for example a parenthesis) it automatically switches to expression entry? You could always enter an expression by enclosing the whole thing in parenthesis, or if there is a parenthesis before the first operator you would not have to. Maybe also have an 'algebraic first' flag and with it set you have to type say 123 ENTER + rather than just 123 +, then it can assume that 123 + is the start of an expression entry. Goal would be to allow a 'normal' person to pick up the calculator and use it but still have RPN available without a mode switch.

    • @christophe3d
      @christophe3d  Před 4 měsíci

      As for the first suggestion, this is actually the case: the key labeled XEQ on the DM42 is relabelled as ' () in DB48X, and works as follows (see czcams.com/video/ynYGhfNhDGY/video.html for an example of use)
      - the first time you hit it, it puts you between tick marks, i.e. something like '|' where | marks the cursor position. The cursor changes to 'A' for "Algebraic"
      - If you are inside tick marks, then when you hit it, you get parentheses, e.g. if you type 2 * '() 3 - 5 you end up with '2*(3-5|)'
      So except for the fact that the enclosing characters are ticks as in HP's RPL, it's exactly your idea.
      Regarding the second one, HP tried that with the HP50G, precisely to win people not familiar with RPN. The machine even starts in RPL mode and you have to enable RPN. The practical problem is that it's easy to add algebraic to RPL with ticks like 'A+B', the opposite is not true. In other words, in algebraic mode, there is no easy way to get RPL behaviour temporarily. Well, there is one, it's to enter a program and the evaluate it. But in the end, it's frustrating and confusing, because internally, the power of RPL is really stack-based.
      Also, the machine appears to use the stack as a kind of history of previous operations. I've always wondered how deep that was.
      In any case, since the HP50G has this mode, I will certainly implement it at some point. But it's not high in my list of priorities.

    • @john_hind
      @john_hind Před 4 měsíci

      @@christophe3d Missed that, nice!

    • @john_hind
      @john_hind Před 4 měsíci

      @@christophe3d Also missed the second part of the reply! Yes I've played with the HP50G as an Android simulation, as you say RPN and Algebraic are different modes that you cannot easily mix. My idea is to alter the way RPN entry works so you have to explicitly enter numbers onto the stack before executing an operator i.e. 1 ENTER 2 ENTER + rather than 1 ENTER 2 +. If you always have to press ENTER to push anything on the stack the calculator can deduce whether it is an expression, a number or something else with the whole entry in frame. RPN purists will object to the extra keystroke, hence 'RPN or Algebraic First' modes for which type of entry requires the extra keystrokes. If each stack element had (potential) storage for both an expression and a result, it would serve as an effective history list in either mode.
      Another idea is to use the infinite stack for variable storage too. So you'd store by assigning a symbolic name to an existing stack level, e.g. 'x' and named levels would be preserved from deletion. Then you could use 'x' in an expression and it would be substituted from that stack level, or in RPN style, x ENTER would duplicate that stack level and push as a new, unnamed level.

  • @hegedusuk
    @hegedusuk Před 4 měsíci

    How does this compare to the C47 firmware?

    • @N.A._McBee
      @N.A._McBee Před 4 měsíci +1

      I don't know what the exact question is, but I'd say: The C47 is RPN-based, the DB48X is RPL-based. You may visit the Museum Of HP Calculators to learn the difference. Or as an alternative, download the manual of an HP48 and one of the HP41.

    • @hegedusuk
      @hegedusuk Před 4 měsíci +1

      Ah thanks. I think I got a bit confused with all these projects. I'm quite keen on the DB48X because I don't know RPL. I have had HP41s since 1979, and know FORTH, so sounds like the most interesting project@@N.A._McBee

    • @N.A._McBee
      @N.A._McBee Před 4 měsíci

      @@hegedusuk
      There are fundamental differences between the DB48X and the C47 project. If you love the HP41 and FORTH, I'd recommend the C47, i.e. if you want to stick to RPN. If you are more the explorer type who's interested also in learning other concepts, then the DB48X is for sure a very fascinating environment! I've made only small steps into RPL based on an original HP 48G+, which was exciting. But it is totally different with respect to programming and entering equations and formulas as well.

    • @N.A._McBee
      @N.A._McBee Před 4 měsíci

      @hegedusuk
      And you may participate in the Swissmicros forum, where you find third party software sections for the DM42. There is one section where you find all the C47 folks, and another one where the DB48X fans share their opinions and experience. Can only recommend this!

    • @christophe3d
      @christophe3d  Před 4 měsíci +5

      This is a really great question. So great that I actually went ahead and created a wiki page on the DB48X project to address it.
      github.com/c3d/DB48X-on-DM42/wiki#comparison-with-wp43-and-c47