Hacker News

Free Launch Directory Badge Slider

Hacker News - 8 hours 47 min ago

Article URL: https://emailfa.st/tools

Comments URL: https://news.ycombinator.com/item?id=50743793

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: Omasheet – A Spreadsheet with Exact Numerics

Hacker News - 8 hours 49 min ago

I've been dabbling with computer math since I was asked to spend 3 months writing test vectors for an IEEE 754 Weitek FPU back in the 80s in C. More recently I have tried my hand working on a Polars adaptor for Raku and getting to know a bit about Rust and dataframes and Apache Arrow. So recently, with the help of Claude, I have felt confident enough to try and right some of the wrongs that Excel propagated in the last 41 years (happy birthday Excel for November btw).

Thus Omasheet [https://omasheet.org] which as the name implies is partly inspired by DHH Omarchy project to reinvent the OS. Omasheet is a simple one line `curl` install on Omarchy, Arch, Mac and Windows if you would like to try it - built on Rust and Qt6.

In a recent HN thread - Beating Floating Point at Its Own Game: Posit Arithmetic [1] - two sentences echoed my thoughts and led me to read what William Kahan, father of IEEE 754, wrote about that [2]. And so I went back and rewrote the Omasheet type system a little to make the bare system more in line to Kahan's thinking.

I coined these 4 Laws of Numerics[3] to explain the design thinking:

- Law 1: each type has a literal form - Law 2: nothing is lost - Law 3: the full value is shown - Law 4: typed columns are strict As anyone who has worked closely with numerics knows, this is a complex area with many subtle trade-offs and judgements to be made. I am by no means an expert - hats off if you are. My choices are opinionated and try to cover both bases of user comfort, application speed and numeric fidelity which means some compromises. Happy to receive and discuss any feedback and try to take on board any suggestions.

[1] https://news.ycombinator.com/item?id=50685334

[2] https://people.eecs.berkeley.edu/~wkahan/Mind1ess.pdf

[3] https://omasheet.org/blog/numeric-display-laws/

Comments URL: https://news.ycombinator.com/item?id=50743781

Points: 1

# Comments: 0

Categories: Hacker News

Pages