How a Pakistani tech entrepreneur's philosophy was shaped by