22

Isn't this too smart ?

Comments
  • 1
  • 7
    That seems to specifically targeting mathematicians having OCD...
  • 4
    I want to go to page 8.96578428466 please
  • 2
    @12bitfloat what about π ? ,XD
  • 0
    Cool, although I don't see myself wanting to go from page 4 to page 256.
  • 4
    @kamen actually when you open page 4, the pagination steps changes accordingly....... 4 5 6 8 16 .... Something like that.

    (It is based on the concept of Binary Search)
  • 13
    That 500 not being 512 hurts.
  • 0
    @Survivor Depending on how it's made, you might actually have 256 two positions to the left when you're on 4.

    I get the idea, but why would you need binary search for pages?
  • 1
    What really hurts me is that instead of calculating them programmatically, the coder probably wrote all values by hand. Allowing the horrible conclusion.
  • 0
    @kamen Binary search is way faster than linear searching, so lets say you need to go to 35th page given 1-500, you can reach in minimal steps.
  • 0
    @rov3rand0m yeah, but if it was, the values are not manually added though, devs have applied a beautiful logic to generate that pattern.

    You can try that at here - atcoder.jp/ranking
  • 1
    I kind of like it.
    Not sure end users would.
  • 2
    @Root ig users loved it, considering it to be a competitive programming website :D
  • 1
    @Survivor I agree about faster searching if you have to click through like that, but depends on what data you're displaying (and why is it so much that you have 500 pages). I can't remember wanting to go to a specific page like that. Maybe I'd only need it if I remember someone said something on page N in a forum thread; otherwise for me it's click prev/next until I get what I want, or search for it directly.
  • 0
    took me a minute to understand it was pagination. I thought it was some online scrum tool or smt
  • 1
    @kamen Quite insightful though.
    But i saw that first time so thought of sharing it :)
  • 0
    This is fantastic
  • 0
    512 🙊
Add Comment