Suraj Kapoor


Director of Product @Lerer Ventures, Self-taught Python Coder


  1. A Product That Changed My Life

    A few products have changed my life but there is one that surpasses the obvious - Facebook, Google, YouTube, etc... "What is this amazing product then?!" Sleep Cycle is a mobile app that does two things - (1) It wakes you in your lightest sleep state (2) It measures your…

    on general musings

  2. Building a URL link shortener in Python

    I recently built a link shortener in Python. The crux of the shortener is a function that condenses a long URL into something much shorter: http://bit.ly/1j469oO How is it possible to condense a 100+ length character string into a unique 6 length string? How's it possible to…

    on programming, python

  3. List, Set & Dictionary Comprehensions in Python

    Comprehensions in python are pretty cool. If you don't use them, I suggest you start right now. Most are familiar with list comprehensions, but set and dictionary comprehensions are available too. Here are simple examples of each. List Comprehension: As an example, say you have a list of numbers: l…

    on python

  4. Concurrency: Threading vs Multiprocessing in Python

    As programs become larger and more complex, they need to do more computations while maintaining speed. Concurrency is when multiple computations are performed in parallel, and there are techniques that enable us to do this such as Threading and Multiprocessing. What is Threading? Threading is when several programs run concurrently…

    on python, programming

  5. Paying It Forward

    Yesterday, a stranger helped me out. Why? In her own words, she believed in karma. After helping me, she insisted that I “pay it forward.” We’ve all seen online examples of strangers embracing other people’s needs and I’m wondering if, we all started to do just a…

    on general musings

  6. Why I'm Learning to Code...

    About 10 months ago I didn’t know what “code” was. I knew we needed it for sites and software to function and the world to continue to turn, but I didn’t know what it actually was, how and why it worked? It seemed like magic fairy dust sprinkled…

    on general musings, programming