Hacker News new | comments | show | ask | jobs | submit login

btw this breaks zoom.

Your comment is almost useless. On which browser? Which operating system? What do you expect to happen? What actually happens?


Bug reports can only be as useful as the people who receive them. Try zooming with any browser; you'd expect it to, hum, zoom, but what actually happens is that after zooming, the pictures get resized again, so no matter how you zoom, it always looks the same.

Not only that it breaks zoom, at certain window ratios (eg: 480x800) is completely fails - I get this error: TypeError: solution[(n - 1)] is undefined @ http://www.chromatic.io/application.a3c7ec1cbcca0f5a77fbc1dc...

I've done stuff like this in the past, if you want something that works: https://github.com/ionelmc/jquery-gp-gallery

i think i found the problem with the algorithm. sometimes it returns an empty row. the javascript version throws while the python version doesn't. i fixed it in my fork by just reducing the number of rows until it doesn't throw: https://github.com/jonathanong/linear-partition

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact