6 ms·
All desktop calculators are wrong, so I had to build my own
- I_complete_me 5y agoNot a Mac user here but well done and a great write up. (I assume English is not your first language).
- jiehong 5y agoI 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/ https://speedcrunch.org/ [2]: https://www.wolframalpha.com/ https://www.wolframalpha.com/
- chacha21 5y agoI am not a big fan of Webview. But Javascript for pretty print was the only way, so I had no choice.
- jolmg 5y agoAssuming 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 https://ibb.co/YcDkhXR
- manifoldgeo 5y agoSeconded. 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.
- chacha21 5y agoI 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.
- jolmg 5y agoIt'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_Layout https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_La... [2] https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Grids https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layou... [3] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexibl... [4] https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layou... [5] https://caniuse.com/?search=grid https://caniuse.com/?search=grid [6] https://caniuse.com/?search=flexbox https://caniuse.com/?search=flexbox
- chacha21 5y agoFunny 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
- canadianfella 5y agoExcel is the best desktop calculator. Can someone please tell me if I am shadowbanned?