Ada Boese
Ada Boese
Interestingly, if I paste the same content into http://incaseofstairs.com/jsdiff/, I cannot replicate the issue. ```text ## AIMD generated content Just for fun, here is the same article scrambled using AIMD...
@kpdecker does http://incaseofstairs.com/jsdiff/ do something different than what's in my code?
_oh_, it is not using sentences. It uses words diff. I will evaluate that.
Looks like switching to words algorithm comes with tradeoffs though. ```ts it.only('recognizes different sentences', () => { const a = 'This is a sentence. This is another sentence.'; const b...
Based on my tests https://github.com/google/diff-match-patch is producing the best results when used with `diff_cleanupSemantic`. Looks I could continue using `jsdiff` if I just extract logic of `diff_cleanupSemantic`.
Hm. That won't work as easy as I thought it would. It self-references the constructor and bunch of prototype functions. It would be nice if jsdiff supported equivalent logic as...
@sonigeez , @AnandChowdhary provided more context. I think everyone meant the above.
Getting: ``` chunk-WGAPYIUP.js?v=ac96e19a:13 Uncaught Error: Dynamic require of "webworker-threads" is not supported at chunk-WGAPYIUP.js?v=ac96e19a:13:9 at node_modules/.pnpm/[email protected]/node_modules/natural/lib/natural/classifiers/classifier_train_parallel.js (classifier_train_parallel.js:6:13) at __require2 (chunk-WGAPYIUP.js?v=ac96e19a:19:50) at ```
@Hugo-ter-Doest Would it be possible to re-open? I am unable to use this library in Remix at the moment. Happy to help troubleshooting.
It is happening on all forms. Here is an example form: ```ts import { type SubmissionResult } from '@conform-to/dom'; import { FormProvider, getFormProps, getInputProps, useForm, } from '@conform-to/react'; import {...