WOAH!!! MEGA BUG

I think you should definitely fix this one: (look at the number of points)

Screen shot 2011 05 16 at 22 04 17


Upon further investigation, it happens to posts with minus points.

If the calculation algorithm basically was:

points = +points.

But in this case, its more like:
points = maximumNumber - points
Where the maximum number is something ridiculous (like 9982763298173828393010). So, in that case, the points shown are:

pointsShown = 982763298173828393010 - 3

You may need to revise that :P

You might be interested

Comments

Reply Attach
  • 2

    Darius' attempt at dividing by zero didn't go well.

    • Paul
    • May 16, 2011, 11:58 am
    Reply
  • 1

    OR MAYBE THOSE POSTS ARE JUST AMAZING!

    Reply
  • 1

    My BAD :) We're doing some updates with facebook points. And one SQL query screwed 900 topics. Not sure how it happened but it happened. Will be more careful with subqueries when mathematics are involved.

    • Darius
    • May 16, 2011, 11:59 am
    Reply
Related Posts