topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:44 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Why do YouTube views freeze at 301? (Just computing history)  (Read 2405 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Why do YouTube views freeze at 301? (Just computing history)
« on: December 17, 2014, 07:39 AM »
For those that have noticed how YouTube view counts freeze at 301, you'll likely enjoy this as a fun little tour through some obscure Internet history.



tl;dw - They have to scrutinise video counts, and decided on a threshold to do it. i.e. 300. However, the code was:

Code: Text [Select]
  1. if (viewcount <= 300) { viewcount++; }
  2. else {...

So, 301 got counted.

It has nothing to do with number types or data size limits or anything like that.

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker