News for hackers. Stuff that matters.
Re:Hurmet: A Notebook for Calculations by AlbertoGP on Thursday October 31, 2024 @01:07AM (#42003667)
I'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.

Re:Hurmet: A Notebook for Calculations by lifthrasiir on Thursday October 31, 2024 @02:04AM (#42003916)
Looks 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).
Re:Hurmet: A Notebook for Calculations by ronkok on Thursday October 31, 2024 @03:28PM (#42010543)
Hurmet 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.

Re:Hurmet: A Notebook for Calculations by librasteve on Thursday October 31, 2024 @03:54AM (#42004389)
I love this very smooth design - nice!

In similar vein, I like to do literate coding in http://raku.org and jupyter notebooks like this https://gist.github.com/librasteve/ac6308f3eb52dd56cb9092de6... which is described at https://rakujourney.wordpress.com/2023/08/31/drax-on-jupyter...

Re:Hurmet: A Notebook for Calculations by vladsanchez on Thursday October 31, 2024 @08:52AM (#42006411)
Brilliant! Testament of an Executable Specification.
Re:Hurmet: A Notebook for Calculations by 20after4 on Thursday October 31, 2024 @10:27AM (#42007251)
Quick 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.

Re:Hurmet: A Notebook for Calculations by johannesrexx on Thursday October 31, 2024 @11:48PM (#42013892)
Has anybody worked out how to do a local install of Hurmet?