Hernán Lucas Pereira

Results 52 comments of Hernán Lucas Pereira

> * [ ] Test time to calculate sha2 for large exports ``` 3.1.2 :048 > Benchmark.bm do |x| 3.1.2 :049 > (1..32).each do |power| 3.1.2 :050 > data =...

Identifiers filter (used in index json responses) is not sorting by any criteria, and json fields are not including position field either. Should `have_many` relations include ` -> { order(position:...

With the changes below in sqed gem (which are just an experiment) I made it stop crashing, but the results are no good: ![image](https://user-images.githubusercontent.com/4991925/184372122-d1403059-7243-4b8a-8894-25e701ace0aa.png) What pattern have you selected for...

![image](https://user-images.githubusercontent.com/4991925/184381525-609b8f36-0926-483a-bc71-e7e98bd88e52.png)

![image](https://user-images.githubusercontent.com/4991925/184382503-0605b2e2-fb0c-4ab2-baee-5b96b4a7af13.png) After re-saving with GIMP and answering yes if I wanted to rotate the image to not rely on EXIF rotation metadata.

sqed should honor EXIF rotation I think. Not sure why it isn't doing that already.

Just noticed that thumbails also appear upside down so a TW problem as well. By changing last like of `crop_image` in sqed with `@stage_image = @stage_image.auto_orient` I get this result:...

It doesn't, above result is after I made that small change, apparently you have to explicitly tell RMagick to do that. Furthermore in TW auto-orient is explicitly disabled at https://github.com/SpeciesFileGroup/taxonworks/blob/fb524073424054309599c48220a8bafda03f45e7/lib/vendor/paperclip/rotator.rb#L4...

Additional note: Check https://www.gbif.org/data-quality-requirements-sampling-events which likely motivated the event schema published at rs.gbif.org.