News for hackers. Stuff that matters.
Re:“Gangnam Style” Breaks YouTube’s 32-Bit Barrier by kjak on Wednesday December 03, 2014 @02:50PM (#8695945)
"Apparently, they never planned for a video to exceed a 32-bit integer mark and their counter can’t handle past the number 2,147,483,647."

Hmm... any reason not to have used unsigned integers here?

Re:“Gangnam Style” Breaks YouTube’s 32-Bit Barrier by cbhl on Wednesday December 03, 2014 @03:10PM (#8696061)
It violates the Google style guide[0] to use unsigned integers. Plus, it'd only defer the problem for another ~2 billion views or so. May as well switch to signed 64-bit integers if you have to swap out the data type.

[0] https://code.google.com/p/google-styleguide/

Re:“Gangnam Style” Breaks YouTube’s 32-Bit Barrier by kjak on Wednesday December 03, 2014 @03:42PM (#8696224)
Oh, that's interesting. Thanks.

And I wasn't suggesting using unsigned 32-bit integers now, I was curious why they weren't used before (the number of views seems to be a nonnegative quantity...).