flâneur — a map of the web's best reading

devinleamy.ca/blog/knobs/

devinleamy.ca · 3,675 words · saved by 1 readers

Back in my ECON 101 class [1], the message the professor drilled home above all else was “Behaviour is Optimization.” [2] This assumption that people are rational agents is the fundamental assumption that allows economists to distill the hot and unpredictable mess that is human behavior into something predictable and procedural. What’s a ration agent? It’s something that acts optimally under a set of premises and choices. For example: under the premise that more money is better if a rational agent has the choice between a $5 outcome and a $10 outcome they will always pick the larger one. Another example: under the premise that more of a good is always better if given the choice between 3 oranges or 1 orange, the 3 oranges are always taken. You might be thinking to yourself, well, there are so many other things that go into decisions than something as cut-and-dry as cost or volume. And you’d be right. But that’s the beauty of it. It allows you to simplify otherwise complicated decision

Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component. setState(...): takes an object of state variables to update or a function which returns an object of state variables. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks. The provided key is an unsupported type %s. This value must be coerced to a string before before using it here. Received

Explore this link on the map →

related reading