Divij Vaidya (@divijvaidya) header
Divij Vaidya (@divijvaidya) profile picture

I tweet about life experiences (mostly tech related) | Opinions my own

Joined October 2009
Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)Photo by Divij Vaidya (@divijvaidya)
Divij Vaidya retweeted
Many software engineers are fatalistic about company politics.
37
40
9
1,031
211,904
Divij Vaidya retweeted
Eğitim şart.☕
401
7,842
709
70,442
12,531,912
Divij Vaidya retweeted
Most developers know that avg latency is misleading and they should use percentiles instead. They also know that if 90tile response time is 200ms, then 10% of the requests had response times higher than 200ms. Well, the last sentence is false. Or rather, true in theory. The only way to calculate true percentiles is by sorting and scanning all the data. Since this often means many millions of datapoints, we actually don't do that. We approximate. With histograms. How does that work? You create buckets of values: 0 to 0.05, 0.05 to 0.25, 0.25 to 1, 1 to 5, 5 to infinity. Then you accumulate: number of data points, sum of values and the number of data points that fall in each bucket. Now, if I ask you for the 90tile value, you start going over the buckets from lowest to highest latencies, and add the number of points in each bucket. Once you go past 90% of the data points, you know that your 90tile value is in this bucket. Then you give either the middle of the bucket or the upper bound as the estimate. Note that you don't know what % of the data is higher than the estimate. And also note that the quality of the estimate really depends on how the data ends up distributing between the buckets. It isn't uncommon for ntiles 90, 95 and 99 to all fall in the same bucket (if your distribution is "heavy tail"). And sometimes all or most of the data falls in one bucket and you can tell nothing. I recently had a case where we noticed the 99tile of response time for a specific request type was 10s. This was both high and suspicious - we have a 10s timeout in some places. But we couldn't find any request that hit these timeouts in our logs. Super weird! Until a smarter colleague realized (by looking at sample traces) that 10s was just the lower bound of the top bucket. The requests actually timed out at 60s. This allowed me to find the timeout they actually hit and fix the issue. So the lesson is: Averages are misleading. But percentiles are usually approximate and can be misleading too! Be careful not to trust the data blindly. #StatisticsSaturday
30
45
6
654
188,747
Divij Vaidya retweeted
My co-founder @rxin personally wrote this really good paper that explains the main idea behind postgres Lakebase as well as LTAP. It almost serves as a primer on how transactional databases are built and how Lakebase and LTAP work. Maybe more importantly, what are the tradeoffs, and what are you giving up by adopting this new approach. Highly recommended reading: databricks.com/blog/lakebase…
9
71
6
332
32,193
Divij Vaidya retweeted
You can now query your lakehouse data in real time at <10ms latency! Any table, just faster, at 12,000+ QPS, on the existing open data formats. Powered by what @rxin's team affectionally called Reynold's Dream Engine (Reyden).
Introducing Lakehouse//RT, a real-time data warehouse that delivers millisecond responses at massive scale without data movement. Support real-time workloads while using the same open formats, governance, and data architecture already powering your analytics and AI. databricks.com/blog/introduc…
8
22
3
143
19,521
Divij Vaidya retweeted
Really excited to open source a new project: Omnigent, a meta-harness for AI agents. It lets you build multi-agent coding and custom agents, sitting above Claude Code, Codex, Pi, and agent SDKs to let you compose them. It also adds live collaboration and rich control policies.
95
214
62
1,292
250,025
Divij Vaidya retweeted
We're open-sourcing the Unigram tokenizer we rebuilt to reduce CPU utilization by 5-6x. Small rerankers and embedders run in single-digit milliseconds on GPU, making CPU tokenization a meaningful share of total latency. github.com/perplexityai/pplx…
63
92
21
901
128,579
Divij Vaidya retweeted
Most people thought flat data center networks would never work at hyperscale. The @awscloud team figured it out. Resilient Network Graphs are a completely new network architecture, now live. 33% better throughput, 40% less network power. aboutamazon.com/stories/aws-…
10
45
10
286
115,130
Divij Vaidya retweeted
We recently built an AI assistant inside @Razorpay called Slash. It reads our entire codebase, debugs production incidents, reviews specs, writes code, reviews every single PR, answer tech queries and also raises PRs for small features. It's easily accessible through Slack. We can tag it in any Slack thread, describe the problem in English, and it gets to work. Six weeks ago, Slash handled 122 tasks in its first week. Last week it handled 14000+. Queries, analysis, bug fixes, PR reviews, test runs and work that earlier lived across scattered tools and teams can now be done with Slash right within Slack. 1000+ people used it in a single week because it got their work done faster. The whole adoption has been completely organic. The numbers from last week have been very encouraging - 14,854 tasks completed. 2,150 PRs raised, 1,152 merged, 45% of those PRs shipped with zero human rework. A payout gets stuck mid-retry during a live incident, an engineer tags Slash and within seconds, it cross-references logs with code and pinpoints a state machine bug blocking the retry-to-failed state transition. Tells the team exactly which logs to check and how to resolve the incident. With its K8s analyzer skill, Slash scanned a single namespace, right-sized all 11 workers using 48-hour P95 pod metrics, and raised the PR. One run saved $560/month. A marketing banner bug was fixed with few prompt iterations with a PR raised, merged to prod and deployed in minutes. No front-end developer touched the code. Security teams ran static security testing and remediation through Slash at org scale. Thousands of findings were purged and many more got validated autonomously. But Slash isn't just an engineering tool. Account managers now trace stuck customer payments and integration failures through Slash instead of pinging engineers on Slack. L2 product support tickets get triaged by Slash before they reach engineering. 250+ non-engineers ran thousands of sessions last week. PMs used it for research on our payments infra, customer interviews and product features sometimes raising PRs of their own. Analytics teams built SQL pipelines. 11% of all sessions came from people outside tech and product. On our company bakkar (watercooler) Slack thread, someone asked Slash jokingly to assign tasks to everyone and it responded in the same tone. It seamlessly started participating in inside jokes and conversations. The quality compounds with use. Engineers who shipped 11+ Slash PRs averaged a 63% merge rate without rework. First-timers averaged 37%. Across the org, human review comments per PR have dropped more than 40% with Slash starting to do in-depth review of every single change. We're still early. Large cross-repo refactors, fully agentic sdlc and plan mode are next. But Slash has already changed how people at Razorpay build, debug, and ship every day.
149
147
36
2,264
294,965
Rajeev Jain, CEO, Bajaj Finance, on Q3 Concall on the Impact of AI – “AI listened to 2 Cr calls, converted voice to text, and gave us data. Text-to-data conversion happened for 5.2 lakh customers. As a result, we generated 100,000 new offers for which we did not have information earlier. “This capability did not exist in Q1 and Q2. It just got deployed. We’ll be able to listen to 100 million calls next year,” said Jain. He added that loan disbursements through AI-powered call centres stood at about Rs 1,600 crore. That’s ~ 10% of the Rs 16,545 Cr of disbursals in Q3FY26 Data converting -- data from those calls led to another INR 325 crores of volumes. So, this is just our first attempt. Over the next six months, Bajaj Finance plans to invest heavily in its agents. The company expects to have more than 800 autonomous agents across sales, operations, HR, IT, risk, and DMS in the next fiscal. Similarly, in terms of 100% of videos are now generated by us using AI, 100% of banners are generated using AI, 2.7 lakh videos were generated, and 1.2 lakh banners were generated. At the customer engagement level, we have 11 AI text BOTs that are live that engage with the customer. So rather than sending dumb SMSs for 11 products now, we have an AI text BOT, which allows you to engage, interact, and respond to your queries. The company has 26 products. All 26 will be live between April and May'26. So, there will be no communication that we'll be sending, which will not have a -- whether service or sales, which will not have a conversational BOT embedded in it. At the branch and point of sale, existing customers face match that we're doing, we did 46 million face matches to ensure this is the same customer, if it's an ETB customer who had actually principally come in, giving us much better control over identity. Customer onboarding in terms of document -- ensuring that auto-fill of the document happens, whether it's a PAN card or an Aadhaar. There are 43 such documents that the company has now mapped, which an image extracts with a 95% - 96% accuracy and populate data in our platforms, delivering significant productivity for our employees. Auto quality check of documents is now 41%. As we sharpen the model, it will take us to between 85% and 90% over a period of the next 15-odd months On technology development, we are clearly seeing between 25% - 45% efficiencies emerging in terms of the development process, depending on whether it's a legacy platform, then the benefit is much lower, or rather, I would say, none. But if it's a digital infrastructure, then the efficiencies can be as high as 45% - 47%. So significant work is being done. Src – Q3 Concall, no reco
127
372
103
2,691
559,343
Key insight for me was the test harness tuning/optimization required to course correct without letting the agent run hours on testing
New Engineering blog: We tasked Opus 4.6 using agent teams to build a C compiler. Then we (mostly) walked away. Two weeks later, it worked on the Linux kernel. Here's what it taught us about the future of autonomous software development. Read more: anthropic.com/engineering/bu…
231
Divij Vaidya retweeted
New Engineering blog: We tasked Opus 4.6 using agent teams to build a C compiler. Then we (mostly) walked away. Two weeks later, it worked on the Linux kernel. Here's what it taught us about the future of autonomous software development. Read more: anthropic.com/engineering/bu…
839
2,441
1,369
20,982
8,540,545
Divij Vaidya retweeted
A few thoughts about PayPal, nearly 12 years after I left. I woke up this morning to dozens of messages from former PayPal colleagues. It pushed me to finally speak up. I never spoke publicly about the company after I left. Part of that was loyalty to John Donahoe, who gave me an unlikely opportunity, handing the reins of PayPal to a startup guy who, on paper, had no business running a then 15,000-person organization. But part of it was something else: I had left. I chose not to stay and fight for the changes I believed in. Speaking from the sidelines felt like armchair commentary. Easy opinions without the burden of execution. So I stayed quiet. But twelve years of silence is long enough. And today's news makes it clear the pattern I've watched unfold isn't self-correcting. I left PayPal in 2014 because I was deeply frustrated. We had executed a silent turnaround of a company that had lost its soul. We brought back engineering talent, shipped good products quickly, and acquired Braintree and Venmo. The company was on a tear. So much so that Carl Icahn felt compelled to accumulate a position in eBay and push for a PayPal spinoff. At the time, eBay decided to fight Icahn. It was a difficult period for me, caught between what I felt was right for PayPal and my loyalty to the eBay team. This is when Mark Zuckerberg approached me to join Facebook. The combination of his conviction that messaging would become foundational, the appeal of going back to building products at scale, and my growing exhaustion with the internal politics at PayPal and eBay eventually convinced me to leave and join one of the best teams in the world, one I had admired for a long time. In the summer of 2014, I met John in a café in Portola Valley and told him I had decided to leave. During that conversation, he told me that Icahn had effectively won the fight, that PayPal was going to become an independent company, and he tried to convince me to stay on as CEO, but I had already said yes to Mark, and my word is my bond. There was no turning back. After my departure, the board scrambled to find a replacement, and it took a few months for them to land on Dan Schulman. The leadership style shifted from product-led to financially-led. Over time, product conviction gave way to financial optimization. Much of the momentum we had created still persisted and carried the company forward, mainly driven by Bill Ready, who came over in the Braintree acquisition and rose to COO. Under his leadership, Venmo grew exponentially, and total payment volume (TPV) accelerated quickly. But the shift under Schulman became more pronounced after Bill's departure at the end of 2019. With him went the product conviction that had defined the post-spinoff momentum. Then, for a period, COVID-fueled online shopping hid a lot of the company's new weaknesses. During that period, the company made a fundamental miscalculation: it optimized for payment volume instead of margin and differentiation. It leaned into unbranded checkout, where PayPal had the least leverage, instead of branded checkout, where the margin, data, and customer relationship actually lived. Visa masterfully structured a deal that effectively ended PayPal's ability to steer customers toward bank-funded transactions, which had been a core driver of PayPal's economics. Not long after, PayPal lost a significant portion of eBay's volume. Over time, it saw its share of checkout among its most profitable customers steadily erode as Apple Pay and others continued to execute well. The same pattern repeated itself across lending, buy-now-pay-later (BNPL), and new rails. On lending, PayPal missed the opportunity to turn it into a platform weapon. Products like Working Capital were conservative, short-duration, and optimized for loss minimization. Lending never became programmable, never became identity-driven, and never became a reason for merchants or consumers to choose PayPal over something else. The missed opportunity in BNPL was even more striking. Klarna, Affirm, and Afterpay didn't just offer installment payments, they built consumer finance brands, persistent credit identities, and new shopping behaviors. PayPal saw the BNPL turn, entered the market, and had every advantage: distribution, trust, and merchant relationships. But BNPL was treated as a defensive checkout feature rather than an offensive category. There was no attempt to turn it into a core consumer relationship, no super-app behavior, and no meaningful differentiation for merchants. Others built platforms, PayPal added a feature. The failure to lean into building and owning new rails followed the same logic. After the spinoff, PayPal had a once-in-a-generation opportunity to build a global, at scale payment network. Instead, the company focused on building on top of existing networks and third-party rails. More recently, that mindset carried over to PYUSD. Technically, the product was sound. Strategically, it launched without a compelling transactional reason to exist. PYUSD had distribution, but no organic demand. It was not embedded deeply enough into flows to become a true settlement layer, a cross-border merchant rail, or a programmable money primitive. It sat adjacent to the product instead of inside the core of it. Acquisitions during this period followed a similar pattern. Honey was not a strategic acquisition for PayPal. It added activity, but not leverage. It lived outside the transaction, monetized affiliate economics rather than payment economics, and never meaningfully strengthened PayPal's control of the customer or the checkout moment. Xoom solved a real problem in remittances, but it never compounded PayPal's advantage. It scaled volume without changing the underlying rails, identity graph, or settlement model, and as importantly, it didn’t cater to a high-value, high-margin customer archetype. None of these were bad companies. They were just a wrong fit for PayPal and became unnecessary distractions. The board eventually recognized the problem. In 2023, they brought in Alex Chriss, an Intuit veteran with a strong product background, explicitly to restore product conviction. It was the right instinct. But Alex came from software, not payments. He understood SMB product development. He didn't have the muscle memory for transaction economics, network effects, or settlement infrastructure. In hindsight, he also made an error: clearing out much of the leadership team that understood payments deeply. Executives with years of institutional knowledge departed within his first year. This morning, Alex was removed as CEO. Branded checkout grew 1% last quarter. The board tapped another operator, Enrique Lores, the former HP CEO who's been on the PayPal board for five years. I don’t know Enrique. And he might be a great leader, but on paper at least, he’s a hardware executive. For a payments company. The common thread through all of this is incentive design. Once PayPal became independent, short/medium-term predictability beat long-term vision and ambition. Stock performance mattered more than platform risk and network opportunity. Financial optimization replaced product conviction. I'm not claiming I would have made every call differently. Running a public company at scale involves tradeoffs I didn't have to make after I left. But the pattern, choosing predictability over platform risk, again and again, was a choice, not an inevitability. Over time, the company that had every advantage and could’ve become the most consequential and relevant payments company of our time, lost its mojo, its product edge, and its ability to compete in a market that’s being rewired and reinvented in front of our eyes. That's the part that's hardest to watch for a company I care so deeply about.
601
929
433
8,746
2,384,824
Divij Vaidya retweeted
Great blogpost from a colleague of mine. Really interesting stuff mistral.ai/news/debugging-me…
3
75
2
551
55,817
Divij Vaidya retweeted
After seeing a bunch of hype about Opus 4.5, I re-subscribed to Claude Code to try it out. I asked Opus 4.5 to plan out a network expansion using our existing Terraform configs as the base. It went off, did its thing and generated a wall of text. It caught a lot of nuances in our configs and just as I was marveling at it, I caught this seemingly tiny mistake: It thought it can fit 65,000 /16 subnets inside a /8 network address space. When in reality you can only fit 256 /16 subnets inside a /8 address space. For all the hype I've seen in the past week that engineers are not even reviewing the code that Opus 4.5 is generating because it's allegedly so good, in this particular instance, had I not caught this mistake, it would have been a hard-to-reverse disaster waiting to bite us in the future. Lesson learnt: you still have to review every line of code an LLM generates and make sure you understand every bit of it. You have to be an expert code reviewer to avoid shotguns.
162
42
20
1,156
198,409
Divij Vaidya retweeted
I'm Boris and I created Claude Code. Lots of people have asked how I use Claude Code, so I wanted to show off my setup a bit. My setup might be surprisingly vanilla! Claude Code works great out of the box, so I personally don't customize it much. There is no one correct way to use Claude Code: we intentionally build it in a way that you can use it, customize it, and hack it however you like. Each person on the Claude Code team uses it very differently. So, here goes.
1,300
6,903
1,284
54,130
8,249,739
I recently started driving to work - about 90 mins each way, slicing through the city twice a day. In the beginning, I couldn’t help myself. I was in full optimisation mode, rushing through shortcuts, squeezing into narrow lanes, treating the commute like a slow system I needed to debug. Some days I’d save 3, maybe 7 mins. Cute little victories. But the shortcuts had their own attitude; they’d betray me just as often, trapping me in pockets of traffic and stealing back more, sometimes 10 mins. With a brand new car and hands still learning its language, every drive felt like walking a tightrope. Even when I got better at it, that itch to optimise never quietened. Then the rains arrived, and the stress went from annoying to exhausting. I actually considered giving up and hiring a driver so I could sit in the back and feel “productive.” I tried two… then three drivers. Each one was worse than the last. Instead of relaxing, I found my heartbeat jumping every time they braked too late or swerved too quickly. Sitting in the back suddenly felt more stressful than holding the steering wheel myself. So I went back to driving. But this time, I dropped the shortcuts. And that’s when something shifted. I realised I was spending 90 minutes of my life trying to save 10 and losing the whole point of the drive in the process. Once the car felt familiar and the wheel didn’t feel like a test anymore, the space opened up. I put on podcasts. Let my mind wander. Stopped trying to “use the time.” Gave myself permission to think without a goal. The commute became something I didn’t expect: quiet that felt like a sanctuary. Not flashy me-time, just the simple kind like washing dishes, where your thoughts start arranging themselves without you trying. I stopped optimising altogether. In fact, I added a 10 min buffer so I could slow down. I don’t take calls anymore, not because it’s unsafe, but because I don’t want to. Because those 90 mins belong to me now. Sometimes I even drive slower on purpose. I let myself notice the trees lining both sides of the road, forming these green tunnels overhead that remind me of campus days; those endless stretches where we’d walk under a canopy so dense you couldn’t see the sun, feeling oddly protected from everything. I’m learning to enjoy Bangalore’s weather instead of rushing through it. And for the first time, I’m actually pre-excited about the cherry blossom season coming up, something I would’ve zoomed past without a second glance a few months ago. Sometimes you save time by not saving time. We all “know” that it’s about the journey and not the destination. But knowing and living are two different countries. I’m just trying to close that gap now, letting that truth sink into the ordinary parts of my day, not just exist as a pretty quote I once nodded at and moved on.
27
17
7
287
27,365
I’m not sharing this as the CEO of Eternal, but as a fellow human, curious enough to follow a strange thread. A thread I can’t keep with myself any longer. It’s open-source, backed by science, and shared with you as part of our common quest for scientific progress on human longevity. Newton gave us a word for it. Einstein said it bends spacetime. I am saying gravity shortens lifespan.  Read on, and tell me what you think.
912
882
665
7,304
10,329,974