Victor Maslov
Victor Maslov
Maybe `CGI.escapeHTML`?
https://github.com/defunkt/dotjs/commit/434eaba374b02a3ee7e056408bb1c0fe76e837d3
Hello. How do you invoke the gem methods? And how does the server crash? For now the only Rails issue I've heard was hanging. See https://github.com/Nakilon/dhash-vips/issues/10 and links. P.S.: never...
Oh, I forgot that also have a Github Action here that runs the benchmark, so it reveals the difference too, between my macOS: ```none ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-darwin18]...
These tickets? https://github.com/libvips/libvips/pull/1592 https://github.com/libvips/libvips/pull/1769 https://github.com/libvips/libvips/pull/1872 They sound like it was a good change. I'm confused why it had a bad effect for me, hmm.
@kleisauke thank you for diving in! I never could figure out what to do with that rmagick colorscheme error. Now with newer rmagick gem version the dhash gem works better....
A bit more detailed reason why IDHash quality estimation number went up (with setting the libvips parameter) and dhash went down (with switching the colorscheme) is here: https://github.com/Nakilon/dhash-vips/commit/5810193b38a5f4d99b6ec2984f974f87926b616b#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L110-R111 that means...
Wow, looks like the trick is in putting the `flatten` before converting to `b_w`. Maybe it's a bit slower but we already have some improvement by using the `thumbnail` method...
Weird. ```none compiling idhash.c linking shared-object idhash.bundle ``` This has compiled the extension that supposedly defines the method here: ```c rb_define_module_function(mm, "distance3_c", idhash_distance, 2); ``` If there was any problem...
> to dig in myself and fix this Would be cool but I wish I had any guidance for myself. The whole native extensions thing has no comprehensive manual, only...