News for hackers. Stuff that matters.
Re:Soulver – Notepad, meet calculator by marklgr on Wednesday July 10, 2019 @12:48PM (#20403754)
I like dc too, and wrote this plugin for Vim: https://github.com/fcpg/vim-colddeck

The power of old tools :)

Re:Soulver – Notepad, meet calculator by dmix on Wednesday July 10, 2019 @01:05PM (#20403933)
For me the currency conversion, easy ‘totalling’, syntax highlighting, and mixing Markdown text inline (which gets ignored) is the key feature for these notepad/numi apps.

These still could be done in Vim but it’s more than just a unixy calculator or text-editor spreadsheet.

Re:Soulver – Notepad, meet calculator by marklgr on Wednesday July 10, 2019 @01:12PM (#20404010)
To each his own I guess. As far as I'm concerned, I'm mainly interested in the one-column spreadsheet, tweaking a few input rows and checking how it impacts some other rows. I still use instacalc from time to time, but now I often reach for vim instead.
Re:Soulver – Notepad, meet calculator by emmelaich on Wednesday July 10, 2019 @06:55PM (#20407438)
I started hacking something up to invoke dc more easily…

  $ . calc.sh
  $ * 4 5
  20
  $ / 21 3
  7
It’s a WIP. I’ll probably add floating point and a stack. Which will mean moving away from `dc` to awk/python/something else running in the background, using sh co-processes.