A self-learning memristor is our closest step yet to recreating synapses in the human brain.