From dissipative structures to the adaptive frontier of the brain