SO i cant sleep and i got too thinking, Whats the longest time you can get banned on the forums?
Not too sure where to put this so i put it here : /
SO i cant sleep and i got too thinking, Whats the longest time you can get banned on the forums?
Not too sure where to put this so i put it here : /
I think the mods said you can’t permaban people on Discourse because it always asks you to set a time limit.
Then again when you ban someone until 2044, chances of them coming back are quite slim.
why not set it to 2150 or something like that? They’ll be dead for sure by that time, that’s an effective permaban.
Discourse (the forum software) requires us to specify a ban duration (in days), so we can specify any number we want. We usually just use 9999 or 10000 days for a “permanent” ban since it’s easy to type, but we could ban someone for longer if we wanted.
Max is 2147483647 rite?
Â
[Excellent question—I would have to attempt to ban someone to find out. Are you volunteering? OB]
Aww, no scientific notation for that sick
9.99999 x 10^99999999999999999999999 day long ban?
Â
[ints only, sorry! OB]
Itll probably fail to read that number correctly, because the data-type of the ban duration isn’t that many bits.
If it’s an unsigned 32-bit int, the max would be 4,294,967,295 days
But usually computers dont count in days. If it’s some amount of UTC time (increments for each ms) the max would be 4,294,967,295/ 1000 / 3600 / 24 = less than 50 days
Um
Shit
64 bit maybe??
2^64 -1 / 1000 / 3600 / 24 = 213,503,982,334 days
Hey that’s pretty long.