Capital punishment as a technical problem