Kanhaya Yadav (@kanhayaky) header
Kanhaya Yadav (@kanhayaky) profile picture

Engineering @ottimate_ap, want to clone myself so I can go on longer vacations

Bangalore
Joined May 2015
Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)Photo by Kanhaya Yadav (@kanhayaky)
Ever wonder how your code really talks over the network? what actually happens when a client connects to a server? Spoiler: It's all sockets, no magic. I whipped up a dead-simple Python TCP server to break it down, client connects, server listens, data flows. Link in comments dive in! #Python #Networking
1
1
1
2
1,174
Peak Bangalore moment today, I witnessed a luxury car parked right in the middle of an already busy road, just so the owner could do some shopping. Mind you, the road has an entire service lane meant for exactly this purpose. But this person's convenience mattered more than the inconvenience caused to hundreds of other people trying to get through. And the audacity was something else. When I asked him to move his car and park in the service lane, he casually gestured for me to go away. When I refused to back down, he actually pretended to reach for something, seemingly trying to intimidate and threaten me. Imagine being able to afford a luxury car but not having the basic common sense or civic sense to understand that public roads aren't your personal parking spaces. Clearly, money can buy luxury, but it can't buy common sense.
2
No Sundays are wasted when it involves an early morning ride from Bangalore
25
My medium stats aren't so bad, I should prolly continue posting more articles medium.com/@kanhayaky
24
Reading through the end of this I took a breath of relief and felt the stress levels come down, this man really is something else. Really really inspiring
Most people start their careers with some privilege, and many start from zero. I started from minus ₹1 crore, and I did not even know it until my second year at IIT Delhi. Over the years, that debt took me from a failed placement day to Google, to a ₹2 crore side business, and finally to the startup I had always wanted to build. This is that story. My father ran a real estate business, and he had invested in under-construction flats from builders like Jaypee and Wave, paying most of the price up front through home loans. Years went by without the flats being delivered, but the banks still wanted their EMIs on time. So my parents borrowed from friends and relatives, and when that was not enough, from credit cards. My parents carried all of this debt quietly and tried to shield me from it. I knew we owed money, but never how much. Then in my second year, collection agents started coming to our house and sitting there, asking for payments we could not make. It stressed my mother a lot, and I could see it on her face every day. 𝗧𝗵𝗲 𝗹𝗶𝘀𝘁 One day, I sat my parents down and asked them a simple question: who exactly do we owe, and how much? Then I took a sheet of paper and started writing down how much we owed, to every bank, every friend, every relative and every credit card. The list kept getting longer, and by the time I finished, the principal alone was more than ₹1 crore. I still remember how heavy it felt while writing each line. That day, I knew I had to grow up quickly and get my parents out of this situation. I had joined IIT knowing exactly what I wanted to do after college, which was to build a startup. But that sheet of paper changed everything, and the dream would have to wait. The new plan was to get a high-paying job, pay off everything on that list within two years so that my parents could finally breathe again, and only then pursue my dream of starting up. 𝗠𝘂𝗿𝗽𝗵𝘆'𝘀 𝗹𝗮𝘄 From my third year, everything I did was aimed at that one goal: getting a job at an HFT, which paid ₹50 lakh+ a year. I was ranked 2nd in my department and had a CGPA of 9.7/10, so I genuinely believed I could get in. Then day one of campus placements came. I prioritized Tower Research over the other companies, cleared three rounds, and was rejected in the final one. I was so crushed that I could not perform at the others that had shortlisted me, and by evening, they were all gone. That evening was really hard. Every rupee I was not going to earn meant my parents would have to carry that weight for longer. On day two, I took an offer from Cohesity at ₹18 lakh a year. It was a good job, but nowhere near the number we needed. In July 2019, I moved to Bangalore, stayed in a PG, kept my monthly expenses to under ₹20,000, ate meals at the office, and rarely went out with friends. Everything else, I sent back home. My friends would talk about investing and going on trips, but I did none of that. I soon realized that this salary would never be enough. So I set a new target: Google US. Whatever time I could find outside work went into competitive programming, and I soon became a Master on Codeforces. In January 2020, I started applying to Google and other companies in the US and UK. A few weeks later, COVID hit, and overnight, companies stopped hiring overseas candidates. The way out I had been working towards for months disappeared. 𝗪𝗵𝗲𝗿𝗲 𝗱𝗶𝗱 𝗮𝗹𝗹 𝘁𝗵𝗲 𝗺𝗼𝗻𝗲𝘆 𝗴𝗼? Around the same time, I got an offer and joined Spotnana as a founding engineer. I really liked their vision, and I believed that growing with a young startup and holding equity in it could be the big break I needed. About a year after I had started sending money home, I sat down to see where it had gone. Almost my entire salary had been spent on interest for our credit card loans. We had not reduced the principal and had not saved anything either. After a full year of hard work and sacrifice, the list was exactly as long as the day I had written it. That was one of the lowest points of my life. It felt like I was running as hard as I could, just to stay in the exact same place. Meanwhile, I was giving Spotnana everything, working on weekdays and weekends, and was one of the top performers there. But when appraisal season came, the raise was still not as high as I was hoping for. I was really disappointed. My equity, though promising, could not help us pay off the debt anytime soon. I told my manager I would need something on the side to make up the difference. I created a programming YouTube channel and later learned Android development, but neither brought in any money. 𝗜 𝗰𝗼𝘂𝗹𝗱𝗻'𝘁 𝘀𝗹𝗲𝗲𝗽 𝘁𝗵𝗮𝘁 𝗻𝗶𝗴𝗵𝘁 During that time, I was talking to one of my college seniors who had joined Google. I told him everything, about the list, my plan and my belief that I could clear it all in two years. He listened patiently and then told me the truth. If I stayed at Spotnana, it would not take two years, it would take more than four. He said that instead of being emotional about the company, I needed to be tactical if I really wanted to solve my family's problem. He then referred me to Google. The next four months were the most focused of my life, and every spare hour went into preparing for Google. When I got rejected from Uber and Coinbase, I was terrified about what would happen next. But then, Google said yes. The day the recruiter told me I had been selected for the Google Search team is still one of the best days of my life. That night, I couldn't sleep at all. I lay awake, too happy to close my eyes, thinking about how this would finally change things for my family. For the first time since I wrote that list, I could actually see a way to clear it. 𝗧𝗵𝗲 ₹𝟮.𝟭 𝗹𝗮𝗸𝗵 𝗯𝗲𝘁 When I joined Google, the list still had ₹80 lakh left on it, and salary alone would take years to clear it. But Google also gave me something I had not had before: time. So with Google's permission, I started a mobile apps business with my father, working nights and weekends. In the first three months, we built a bunch of Android apps and games, but could not make any revenue. Then I analyzed iOS versus Android and decided we should build for iOS instead. So we took the bet. I bought a MacBook Pro for a hefty ₹2.1 lakh, picked our most downloaded game on Android, built its Swift version in six days, and launched it on iOS. Installs were high from day one, and within a couple of days we turned on monetization. I kept refreshing the dashboard as paying users came in, and within just a few days the game had paid back the cost of the laptop. And that was just the beginning. Our revenue grew from ₹6 lakh in the first month to ₹24 lakh in the fourth, as we added more games. I was working close to 100 hours a week between Google and our apps. Over a year and a half, our games crossed 200K downloads, with players mostly from the US, and brought in more than ₹2 crore in revenue. 𝗖𝗿𝗼𝘀𝘀𝗶𝗻𝗴 𝗼𝗳𝗳 𝘁𝗵𝗲 𝗹𝗶𝘀𝘁 With that revenue and my Google salary, we finally started crossing lines off the list. This time we were not just paying interest, we were paying back the principal, one line after another. With every line we crossed off, the stress at home got a little lighter. In June 2023, we paid off the last one. The list I had written in my second year of college was finally empty. My parents were free, and after years of waiting, so was I. As soon as the last loan was cleared, I put in my papers at Google. The apps had left me with enough savings to finally start my own company. My last day at Google was the day before my 25th birthday, and on 21 July 2023, I woke up with no debt, no job, and for the first time in years, nothing standing between me and the thing I had always wanted to do. 𝗦𝗵𝗼𝘂𝗹𝗱 𝗜 𝗴𝗼 𝗯𝗮𝗰𝗸 𝘁𝗼 𝗮 𝗷𝗼𝗯? Over the next four months, I built 12 new games, but month after month, none of them worked. And it was not just me. Apple's iOS privacy changes had broken the economics of hyper-casual games. That November, I remember walking on my terrace, thinking about whether leaving my job had even been the right choice. My parents had started telling me to get a job again. But I had waited far too long for this chance to give it up. I decided to shut the games business down and hard pivot into SaaS. I started with Shopify apps, only to realize a month later that I had no unique idea and the competition was intense. I then analyzed around 70 B2B SaaS marketplaces to find the next Shopify app store, found monday, the project management platform, and started Super Workday, building apps for teams using it. My first app there failed too, because it was too niche. For the next one, I went through the platform's feature requests and picked the biggest unsolved problem. That one worked. In April 2024, after eight months without any revenue since leaving Google, I got my first paying customer. I was so happy that day that I emailed him just to tell him he was my first customer. I still remember his name. After that, I kept launching one new app every month, and the revenue grew sharply. Today, the business runs on autopilot, has 300+ paying customers, mostly in the US, and is close to $100K in ARR. It also paid for my sister's wedding, and being able to do that for my family made me very happy and proud. 𝗧𝗵𝗲 𝘀𝘁𝗮𝗿𝘁𝘂𝗽 With that income stable, I finally felt ready to go after a venture-scale idea and started building an AI executive assistant. In January 2025, South Park Commons, a Silicon Valley VC, invested $400K at a $5.7M valuation. I cannot explain what I felt the day their offer came. All those years of waiting finally made sense. My startup journey is still early. Since then, there have been many more ups and downs, and there are still many things to figure out. But for the first time, I am building the startup I always wanted to build, and I am ready for whatever comes next.
15
I was having this exact conversation with my Manager today, how people who do not have enough context are getting the work done with AI (Something that could've been a 500lines of change became 4k+ lines of change) Fast moving with AI will definitely slow you down if it's blind
Everyone seems to have forgotten that code is a liability, not an asset. That means that producing thousands of lines of code you didn’t read isn’t something to celebrate. It’s something to worry about! Every line of code needs to be tested, secured, and maintained. Even the ones that create no value for customers and therefore no value to the business. That’s why every line of code is a liability. And producing more liabilities isn’t good engineering or good business. Good engineering isn't about producing more code. It's about solving problems with the least amount of code. The asset is the solution, not the code.
1
24
Happy Chhath Pooja
1
21
At this point in the year, my only motivation to work out is to burn off all the calories I keep consuming.
1
2
111
How about we flip the argument and say Bengaluru is the only city that celebrates Diwali more sensibly?
every city in India knows how to celebrate Deepavali except Bangalore 🌝💀🪔
29
If @canva can do it so smooth, why can't the huge profit making MNC's do it?
19
But google maps?
When I first moved to Bangalore, I got lost in a random gali in Indiranagar. My Kannada was limited, and I had no clue where to go. I asked a Swiggy delivery guy for help. He didn't just give me directions. He stopped, checked the route, and helped me figure it out. For a moment, it felt like an elder brother helping me out in a new city. I've never forgotten that interaction. Sometimes, Google Maps can show you the way, but it's a stranger who makes you feel less lost. Bangalore has its traffic, rent and chaos. But it's little moments like these that make you love the city.
46
I wish everything my friends think about me were actually true. One of my friends who moved to Australia genuinely thinks I made like ₹6 lakhs a month. 😭
11
Witnessed the Mysuru Dussehra, and ngl I’d do it again
Guess where I am to watch the best Dussehera celebrations
21
Guess where I am to watch the best Dussehera celebrations
1
35
Remember when we dreamed of flying cars and rockets? Elon really took those childhood dreams personally. Self-driving cars ✅
Self-landing rockets ✅ Humanoid robots ✅ 
Flying cars ✅ What’s next on this list?
Real life, baby
1
42
I was pretty sceptical about using Auto mode at first and struggled with it for a while. But it’s always a trade-off. I’ve now learned to give better instructions in my prompts, and the results are much better.
One of the worst feelings is leaving Claude to do his thing thinking it’s working and coming back to it 20 mins later to see it was asking for my permission for some shit
2
26
Proof that you really can just do things. Btw thanks for the detailed recipe @bhaigone2, I tried my best
what an absolute feast, ily airfryer
1
2
97
It gets even more interesting when you look at the username. It genuinely astonishes me how people can call themselvesdevotees of God while spewing so much hatred.
From today onwards, you’ll see wh0res dressed half-naked on the streets, justifying their nudity in the name of Garba/Navratri. Bitches, please wear proper clothes. These days are meant for the aaradhana of Maa Amba. The degeneracy in the name of Navratri needs to stop.
17
You can’t be a software engineers and not think about optimising these things in your daily life. That Marathalli U turn is going to take as more than the amount of time it takes you to reach till here, a lil bit of effort and you save half your travel time.
After shifting to HSR I had forgotten what ORR hell looked like, seems like God had some other plans today 🥲
1
70
Feels good to be on the other side of the interview table
16
😭😭😭😭
Bangalore is one of those places where you earn in INR but spend in USD. 🙃
44