Reposted from roz-czarowanie via cvx