Posted by tonyonodi 5 days ago
Now I've rewritten it as a PWA that supports multiple documents, persists them to IndexedDB, and has a syncing service for paying customers. Syncing is handled by Automerge[1] under the hood, which should make it relatively easy to get document sharing working too.
1 https://github.com/gtg922r/obsidian-numerals 2 https://mathjs.org/
Yes it does. Show HN is a very small opportunity for normal ppl to talk about their things.
Regarding the CRDT side of things what's the main driver? Syncing is probably better off without CRDT (I'd rather know a note had 2 copies significantly edited differently and now I have a sync conflict rather than no sync conflict but a hacked up note) so I'm assuming paid customers get (or will soon get) live multi user editing (i.e. you can trade local for concurrent usage)
Handling of "to" is a bit odd though.
150 kn in km/h [277.79976 kph] - this is unit convertion
150 kn to km/h [-276.79976 kph] - this is unexpectedly subtraction. I expected the unit conversion here, because of Raycast and Google
Edit: it's the equation below "Although if you want to find roots higher than 3..."
What's the license? I wouldn't want to use your code if copyright law poses a threat.
Also is it possible to use CRDT as rich undo history, not only syncing?
I find them super useful. Using natural language and storing the context along with the calculations helps me to sort of think through problems.
Being able to define variables on the fly is also very useful — I often use them for pricing out materials for projects. E.g.:
"8ft 4 × 4" = $15
"8ft 2 × 4" = $4
"8ft 2 × 8" = $12
"8ft 2 × 6" = $6.50
"3/8in x 8in carriage bolt" = $3.50
Adjustable stand
"8ft 4 × 4" × 4
"8ft 2 × 4" × 2
"3/8in x 8in carriage bolt" × 12
Plans $12
(What you can't see here is that Soulver gives all the totals in a bar on the right).Soulver has some examples of other uses on their homepage: https://soulver.app