- cognitive load
- unintended side effects
- releasing everything when you changed one thing
- scaling due to load on one component means you need to scale all components
- all must use the same framework/libraries/stack
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import stripe | |
stripe.api_key = 'sk_test_4eC39HqLyjWDarjtT1zdp7dc' | |
stripe.api_version = '2020-08-27' # this is important. pin your version to avoid breaking changes. | |
def create_a_customer(name, age): | |
customer = stripe.Customer.create( | |
name=name, |
Instead of giving it a bigger machine to make it handle more load (vertically scaling), if we could give it N more machines to make it handle more load, that would scale further.
When the system needs scaled, it should dynamically scale, without developer intervention, within bounds, to be performant within the SLAs of the system.
- communications with the service are over ssl, with a not-hand-rolled authentication layer
keep this blameless: don’t use peoples names, don’t say “John deployed shitty code“ that’s not useful. better wording would be “a developer deployed, bypassing jenkins“
api customers? UI customers? which products? how long? what sort of impact?
be detailed
- Business BCeID application
- license:
- $550 initially application
- $1,100/year application
Turns out there is an exception to chemical still licensing in the Excise Act (not Excise Act, 2001) in Section 134, Subsection 2. It states that if your still capacity is 23L (6gal) or less, you can register and license your still without paying the bond or registration fees.
https://www.brewersfriend.com/homebrew/recipe/view/755041/burbon-mash
- Yellow Corn Flakes 0.8° L 14 lbs (6.35 kg)
- Rye Malt 2.3-3.8 4 lbs (1.814 kg)
- Rahr American 2 Row 1.7-2.0 L 4 lbs (1.814 kg)
- bring 28.5L of water to boil
- add grain
- dunder (old fermentation sludge)
- 5:1 ratio molasses/water
- PH 5.5-6 (add lemon o citric acid)
- 1cc lemon juice = 1.2ph lower to 1L liquid
- concrete mixer for stiring
- add oxygen
- 1g/L of yeast
- These are some thoughts I threw together (with a little help from my friends) around testing, and more specifically unit tests.
- Everything here is an opinionated statement. There are a zillion exceptions to these rules
- the following sections
- a review of an untested section of code, describe tests we would want to write for it.
- a review of hard-to-test code, refactor to make it testable.