Book Never split the difference


chapter 1 - THE NEW RULES the book is written by an FBI agent specialist in hostage crisis After time in FBI, decides to go to Harvard to deeply understand negotiation techniques In Harvard, they are using old techniques of negotiation, related getting to yes a book. These techniques, talk to the rational part of the mind. But the FBI got a series of failures, and started to study more emphatically approach.…
Read more ⟶

What the f is a monad


What is a functor Given that you have a normal function f that convert a type A to a type B f :: A -> B and some kind of wrapper, T. a functor have to be able to go from T[A] to T[B] given f :: A - > B. so basically it allows you to apply normal functions to wrapped objects. This operation is named map, is the lift operator.…
Read more ⟶

Circuit break


When working on micro services, you do some remote calls as if they were in your code base. This has benefits, but if the service is not available, it can throw an error cascade in your service Circuit breaks is a way to mitigate this, the iddea is very simple, if a service is not available on a threshold, you open the circuit break. In the open circuit, you always execute a piece of code that doesn’t depend on the service.…
Read more ⟶