Отправить по sms: Learning recurrent dynamics in spiking networks