Reddit's photo albums broke due to Integer overflow of Signed Int32
1–10 of 142 posts
Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#2Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#3Some of the details escape me (this was a decade ago) but it was a fun combination of statistical inference and CS knowledge that I don't get to use often. Whenever integer overflow comes up in a systems engineering context I get a little tickled.
Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#4Two days ago, Reddit ids have finally incremented passed the 2,147,483,647, or the maximum range of a signed int32. It seems one of Reddit's subsystems, the one that serves its photo albums broke due to the integer overflow.
Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#5Two days ago, Reddit ids have finally incremented passed the 2,147,483,647, or the maximum range of a signed int32. It seems one of Reddit's subsystems, the one that serves its photo albums broke due to the integer overflow.
Someone probably joked they would never reach that scale when they wrote that code
Then 10 or so years went by...
Whenever I write code like that which may break in say, 5 years, I'll sign it in the comments and put my personal email and phone number inviting future people to call me and I'll fix it for free (cause I take responsibilities for my code pretty seriously). Nobody has ever taken me up on it though...
Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#6Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#7Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#8Two days ago, Reddit ids have finally incremented passed the 2,147,483,647, or the maximum range of a signed int32. It seems one of Reddit's subsystems, the one that serves its photo albums broke due to the integer overflow.
Someone probably joked they would never reach that scale when they wrote that code
Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#9Two days ago, Reddit ids have finally incremented passed the 2,147,483,647, or the maximum range of a signed int32. It seems one of Reddit's subsystems, the one that serves its photo albums broke due to the integer overflow.
Seems this was less likely a "someone else will deal with it" problem, and more of a development / QA testing problem.
Re: Reddit's photo albums broke due to Integer overflow of Signed Int32
#10Earlier quoted context omitted.
Someone probably joked they would never reach that scale when they wrote that code
Thinking "if that ever gets anywhere close to a problem we'll have vast resources and plenty of time to fix it" and then, I'm guessing, that person left a few months later and nobody owned that part of the code because it worked. Then 10 or so years went by... Whenever I write code like that which may break in say, 5 years, I'll sign it in the comments and put my personal email and phone number inviting future people…