Thermodynamics as a theory of decision-making with information-processing costs | Synapse