5 ms·
Hurmet: A Notebook for Calculations
- vladsanchez 2y agoBrilliant! Testament of an Executable Specification.
- AlbertoGP 2y agoI'm impressed. Many years ago I worked on something like this but this one is a much better result. It even works well on mobile. The documentation, linked at the top of the page, is excellent.
- lifthrasiir 2y agoLooks very complete! That said, one thing I immediately tried was `3^3^33 = ?`, which was somehow interpreted as (3^3)^33 even though it was clearly formatted as 3^(3^33). `3^(3^33) = ?` failed with a cryptic error message as well. Also `4 \bmod 3 = ?` nor `4 % 3 = ?` didn't work---expected to evaluate to 1 (later learned that `mod(4, 3)` is required, but seems an unusual requirement to me).
- ronkok 2y agoHurmet author here. Your points are excellent. I'll fix the exponent parsing error and create an inline `mod` operator. I should have a fix up later today. In Hurmet, the `%` character is a percentage operator, not a modulo operator. That's because Hurmet’s main target users are not programmers, but engineers in the physical sciences, that is, civil engineers, mechanical engineers, electrical (power) engineers, etc. Most of them would not recognize `%` as a modulo.
- librasteve 2y agoI love this very smooth design - nice! In similar vein, I like to do literate coding in http://raku.org http://raku.org and jupyter notebooks like this https://gist.github.com/librasteve/ac6308f3eb52dd56cb9092de6eddcb62 https://gist.github.com/librasteve/ac6308f3eb52dd56cb9092de6... which is described at https://rakujourney.wordpress.com/2023/08/31/drax-on-jupyter/ https://rakujourney.wordpress.com/2023/08/31/drax-on-jupyter...
- 20after4 2y agoQuick feedback from a couple of minutes of playing around: The unit aware calculations generate error messages that aren't very helpful. In addition to better error messages, i feel that the errors should be reported as you type instead of requiring the user to press enter, see the error, then go back and edit. It would also be nice if it could automatically pick a unit for the result.
- johannesrexx 2y agoHas anybody worked out how to do a local install of Hurmet?