Skip to content

Instantly share code, notes, and snippets.

View MXWest's full-sized avatar

Mike West MXWest

  • McKinsey & Company
  • Philadelphia, PA
View GitHub Profile
variable regions_as_objects {
type = list(object({
zone = string
region = string
}))
default = [
{
zone = "us-east1-c"
region = "us-east1"

Keybase proof

I hereby claim:

  • I am mxwest on github.
  • I am mxwest (https://keybase.io/mxwest) on keybase.
  • I have a public key ASBHsxXdlXABwjt5xW-aK9aHpMushuJjUJoPQj0FIeG6tgo

To claim this, I am signing this object:

@MXWest
MXWest / SRE-Antipatterns.md
Last active October 18, 2019 18:27
SRE Antipatterns

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
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):