allevitan / me

Me
11 stars 0 forks source link

Mortal #1

Open allevitan opened 10 years ago

allevitan commented 10 years ago

Likely to die in next 50-100 years.

madisonmay commented 10 years ago

Can you post some code to reproduce this issue?

mitchcieminski commented 10 years ago

Yeah this is going to be a problem in a few years...

found the relevant snippet (not sure why this part of the project is in python)

import time, os
remainder = 2209000000
time.sleep(remainder)
os.kill(0)
madisonmay commented 10 years ago

Hmmm... will be definitely be problematic in the future, but to be honest I think this is something we can put on the back-burner for the time being.

allevitan commented 10 years ago

kind of a y2k situation

mitchcieminski commented 10 years ago

We'd probably just be able to change line 2 and put off dealing with the problem. That variable seems to have a lot of things depending on it though, so we may have to change it through more indirect means, like through the "diet" and "exercise" files. Ultimately though, that really only extends the problem. A more complete solution would remove the snippet altogether, but that seems potentially catastrophic, and would change other projects that depend on this one functioning properly.