e1ven/Robohash

Images does not match for the same hash but different sizes

Closed this issue · 2 comments

Hello!

For some reason robohash generates different image for a hash when specifying different sizes.

I've tried different sizes and found, that images does not match for 64x and 63x sizes.

Yellow robot:

Purple robot:

Thank you.

2015-04-02 10 29 18

e1ven commented

Sorry for the trouble!
It should be fixed for you now, but the solution isn't a clean one.
I believe it happened a bit ago, when I needed to add some additional servers to handle capacity.

It looks like the code that's sorting still isn't relying on filename order - It's using inodes someplace.
When I run the code on new systems, I get a different robot :/

For now, I've removed the offending systems.
I'll try to go back and fix the code sometime soon, but I'm offended looking at it - I did such a bad job of writing this ;) I really ought to rewrite the whole thing.

But in any event, this should fix the problem for you now, until I can fix it right.

Hi @e1ven!

It's not a problem for me. I just played around the service and found this issue.
Thought it's a good idea to give you feedback at least :)

Great project! Good luck!