Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
All desktop calculators are wrong, so I had to build my own (chachatelier.fr)
16 points by chacha21 on March 30, 2021 | hide | past | favorite | 8 comments


I personally really like using speedcrunch[1] as a desktop calculator, and it’s cross platform. It’s not doing pretty print though.

Otherwise it’s wolfram alpha[2], but that needs internet.

I never type calculations in any search engines, but that’s way too slow compared to speedcrunch.

Maybe I feel similarly to chalk using a web view compared to how electron apps are seen by some.

Displaying inaccuracies is neat! As well as the graphing parts!

[1]: https://speedcrunch.org/ [2]: https://www.wolframalpha.com/


I am not a big fan of Webview. But Javascript for pretty print was the only way, so I had no choice.


Assuming this is your site from your username, just wanted to let you know there are styling issues with the sidebar text and the content text intermixing:

https://ibb.co/YcDkhXR


Seconded. It was so rough with the sidebar it was totally unreadable for me on mobile. The page loaded with the main content completely out of focus, and when I swiped over to it, the sidebar havoc began.


I hate CSS, I will have to spend hours trying to figure out that. In good old days, I would have used a table or an iframe, but that's bad practice I guess.


It's a lot better now.

> I hate CSS...In good old days, I would have used a table

In case you didn't know and if it's of any help, CSS has gotten a lot better compared to e.g. 6 years ago. Today, CSS grids[1][2] and flexbox[3][4] make layouts a lot simpler and are pretty well supported[5][6]. I think you might find using a CSS grid easier than a table for layout.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_La...

[2] https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layou...

[3] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexibl...

[4] https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layou...

[5] https://caniuse.com/?search=grid

[6] https://caniuse.com/?search=flexbox


Funny enough : the main problem of the previous layout derived from a large CSS-overflow of numbers with a large number of digits, that I finally fixed with "word-break:break-all".

Considering the topic of the article, large number of digits and overflow were not supposed to be a problem with Chalk :-D


Not a Mac user here but well done and a great write up. (I assume English is not your first language).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: