|
|
|
|
|
by ndriscoll
256 days ago
|
|
def allowed(u: User, c: Content)(implicit j: Jurisdiction) = !u.child || c.moderatorApprovedForChildren
You could make that more complicated where moderators tag the content and then you apply filters based on what children are allowed to view in a jurisdiction, or you could be conservative in only allowing non-controversial stuff for kids to avoid that.Obviously different jurisdictions are increasingly disagreeing with it being a non-problem. |
|
Specifically, it relies on the "moderatorApprovedForChildren" flag, which is sometimes sent incorrectly because of glitches in the system that sets that flag. Apparently the number of such glitches increases sharply with the number possible values of "j", but is significant even with only one value.
Also, flag-setting behavior is probabilisitic in edge cases, with a surprisingly broad distribution.
You are therefore not meeting your "zero porn" spec, while at the same time blocking a nonzero amount of non-porn.
Don't bother to fix the bug, though; given the very large cost of the flag-setting system, the company has gone out of business and cancelled your project.
> Obviously different jurisdictions are increasingly disagreeing with it being a non-problem.
Different jurisdictions are doing a lot of stupid things. You get that in a moral panic. Doesn't make them less stupid.