3,655 karma · joined Oct 19, 2015 (11y ago) · 1,773 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
It's also not clear what the relationship is, if any, between those regulations and third-party certification. Likewise, is third-party certification something you're unable to comply with? Why?
comment 6y ago · link · parent
Here are some things I would consider absolutely essential:
1) A fundamentally simple governance structure. It could ultimately be huge or many-layered or whatever in practice but it has to be structurally simple enough that you can reason about how it is intended to handle any given thing. The worst kinds of cracks are liable to form if it encounters something unknown and has no mechanism either for handling it or deciding how to handle it.
2) The governance framework must be backed by a living document codifying policies which a) Are affirmative; b) Are as unambiguous as possible; c) Theoretically conflict with each other as little as possible; d) Include mechanisms for adjudicating policy conflicts; and e) Articulate their rationale. The company has to be willing to shut down rather than violate the most important of these policies. I like to call this approach "values nationalism."
3) The organization must evolve its formal policies as it makes decisions. Otherwise you're going to end up with common law. Reasonable minds can disagree about whether common law is a good idea in government but I'll venture to say it's always a bad idea in business.
4) The organization must be vigilant about predicting, monitoring, and mitigating internal threats to its integrity which arise out of perverse incentive structures. It must be willing to sacrifice short term money in order to eliminate perverse incentives.
5) The organization must have mechanisms in place which allow it radically reorganize itself in response to external threats (recession, regulatory capture, takeovers, etc.).
I may have left one or more important things out. But the vast majority of individual "business" issues are going to fall under one of these categories.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
The question was "How do I create a column where each row's value is the mean of another column's values starting at that row?" The answer was:
df.loc[::-1, 'col_1'].expanding().mean()[::-1]comment 6y ago · link · parent
comment 6y ago · link · parent
One reason this happens is that police and prosecutors alike put a lot of work into investigating crimes, and they do not like working in vain. They are especially bothered by the prospect of not apprehending anyone, and much more so by the prospect of being unable to convict someone they believe is guilty. It would be fair to say that they have at least some bias toward convicting someone-- anyone. It's also the case that they are sometimes wrong but very much don't want to believe they are. People easily find ways of justifying things they want to believe.
Another reason is that trial lawyers tend to develop a preoccupation with winning. Consider that, for a prosecutor, the only way to win is to get a conviction. This can lead them down the path to all sorts of hell and is probably the biggest contributor to grand juries being shams and evidence being withheld.
It is true that there are career benefits to winning a lot of cases, but for your average ADA that's typically just the privilege of being given more serious cases to prosecute. Plenty of ADA's lose a lot of trials with few ill consequences. Where this is more of a problem is with elected prosecutors, the actual District Attorneys. They are the ones who benefit most from high profile investigations, indictments, and convictions. It's very much in their political self-interest to get convictions.
Lastly, the courts (judges) generally let prosecutors get away with all sorts of shenanigans for a variety of reasons. It may be that they themselves are "tough on crime", or prefer to give prosecutors the benefit of the doubt, or simply that they're lazy. Any trial lawyer will tell you it happens with shocking regularity that judges allow evidence into trial that they really shouldn't under the guise of the questionable rationale that they should just "let the jury decide." Let us not forget that one of Alexander Hamilton's main arguments in favor of the jury system was as a safeguard against corrupt judges.
In short, little stops them from doing these things other than their own consciences, a handful of weakly observed procedural safeguards, and some extremely vigilant defense attorneys who fight back hard.
comment 6y ago · link · parent
comment 6y ago · link · parent