Skip to content

Instantly share code, notes, and snippets.

Mike West MXWest

Block or report user

Report or block MXWest

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MXWest
MXWest / SRE-Antipatterns.md
Last active Oct 18, 2019
SRE Antipatterns
View SRE-Antipatterns.md

By no means a complete list, but rather ones I think we should focus in on short term.

Antipattern 2: Humans Staring at Screens

If you have to wait for a human to detect an error, you've already lost

Any practice for which the detection of a problem condition
relies on a human noticing that a particular series of data
is abnormal. Substitue thresholds, correlation engines, velocity
View arg_packing.py
def method_with_positional_args(a, b, c, d):
def print_me(arg):
print("Got {}".format(arg))
print_me(a)
print_me(b)
print_me(c)
print_me(d)
def method_with_kwargs(first=None, second=None, third=None, fourth=None):
def print_me(arg):
You can’t perform that action at this time.