Categories
links

Links

  • Batch operations in REST apis: Interesting. I have never considered the implications of trying to support batch operations using a RESTful style interface. When I use REST apis, I’m usually doing things one-at-a-time (make a new thing, delete this thing) and the urls I poke at to do this largely represent a single entity. Not so I guess when you’re thinking about batch operations. The other interesting side of this is how do you indicate response status. (200 if everything’s ok, but what about partial failure?) Now clients are probably going to have to parse the response body and try to figure out what happened …
Categories
links

Links

  • Cloudflare waf: The waf has been redesigned and rewritten from the ground up. A very capable piece of tech my workplace is currently evaluating for use with our software (among other Cf products :))
Categories
links

Links

  • Commits are snapshots not diffs: A good conceptual primer about what git is trying to do for you under the covers. The data model is actually quite simple, and elegant. This is a great narrative
Categories
links

Which shot should I get?

Categories
links

Links

  • Languishing: Something between depression and flourishing. A feeling of blah. Not a lack of energy, but more a lack of an inner need to move. The author suggests flow can be a powerful tool to help avoid this state of mind. (Becoming absorbed in the task of the moment. Losing track of time. A challenge that is surmountable but just hard enough.) A suggestion as a way to get there is to protect ones time
Categories
systems

Liz Fong-Jones on Production Excellence

LFJ talks about production excellence

  • Just giving everyone a pager isn’t the goal. We have to ensure the system isn’t generating a lot of noise in a way that will burn people out
  • Metrics
  • SLIs
  • SLO
  • Sustainable ops
  • Think about who’s carrying the pager, and one. Maybe the person with a young child shouldn’t be carrying the pager at night but can during the day

I need to rewatch this one again. I was only half paying attention. Lots to think about here.

Categories
links

Links

Categories
food

Instant Pot Dal

Instant pot Indian Dal vegan

Ingredients

  • 2 Tbsp coconut oil
  • 1 large yellow onion, chopped
  • 4 cloves garlic, minced
  • 1 tbsp minced ginger
  • 1 tsp ground cumin
  • 1 tsp ground turmeric
  • 1 tbsp curry powder
  • 1 tsp garam masala
  • ¼ tsp cayenne add more if you like your indian food spicy!
  • ¼ tsp mustard seeds
  • 1½ cups of dried brown or red lentils
  • 3 cups water
  • ½ tsp salt
  • 2 tomatoes, chopped
  • ¼ cup fresh cilantro, chopped + extra for garnish

Steps

  1. On your instant pot, press the ‘Sauté’ button, add heat the oil.
  2. Add onion and cook until translucent.
  3. Stir in garlic, ginger, cumin, turmeric, curry powder, garam masala, cayenne, and mustard seeds and cook for another minute until fragrant.
  4. Hit the ‘Cancel’ button and add lentils, water, salt, chopped tomatoes and mix to combine.
  5. Cover the instant pot with the lid, and close the pressure valve. Press the ‘Pressure Cookl’ button and set the cooking time to 10 minutes.
  6. After the timer sounds, wait 10 mins before opening the pressure valve.
  7. After 10 minutes, open the valve and stand back!!!!
  8. Mix the lentil mixture and add the chopped cilantro.
  9. Stir to combine, and serve over basmati rice or with naan (regular or garlic), and top it with fresh cilantro.

source

Categories
links

Links

  • The majestic monolith: A post from DHH about monoliths and microservices that resonates with me quite a bit. Side effects of complexity in a system I’m thinking of now are failures, emergent behaviour, dev + operator cognitive load, trickier production support, … Many many applications don’t need the extra complexity now and never will
  • Humble objects: Making a class easier to test by factoring out smaller bits into easily tested ones. I’ve heard the term “sprouting” recently referring to the same concept
Categories
links

Links

  • AWS network load balancers @ Ably: Ably is a platform other developers can use to provide realtime push notifications at scale to their users. They have to handle lots of persistent connections, and a variable connection rate that can spike dramatically. Sounds like the NLB isn’t quite delivering the extreme levels of service it claims to be able to. Note: It’s an amazing box for the rest of us running applications without those constraints (Probably the vast majority of us?!)
  • Devops practice @ Algolia: Nice write up about what the team does and their process for getting things done. Work buckets: projects, operations, on call. Meetings: Once weekly Production Meetup discussing what happened last week in on-call + project statuses. Priorities: Answer customer questions, answer internal team questions, incident response, infra provisioning + management