Skip to content

Instantly share code, notes, and snippets.

View MXWest's full-sized avatar

Mike West MXWest

  • URBN
  • Philadelphia, PA
  • 22:42 (UTC -05:00)
View GitHub Profile

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:

variable regions_as_objects {
type = list(object({
zone = string
region = string
}))
default = [
{
zone = "us-east1-c"
region = "us-east1"
@MXWest
MXWest / SRE-Antipatterns.md
Last active December 11, 2024 09:06
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

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