Utkarsh

306 posts

Utkarsh banner
Utkarsh

Utkarsh

@kumarukutkarsh

SDE-1 @ PeopleStrong | Java | Spring Boot | Python | Agentic AI | RAG | Flutter

Katılım Temmuz 2023
43 Takip Edilen33 Takipçiler
Utkarsh
Utkarsh@kumarukutkarsh·
If LLMs achieve 99.9999% accuracy, will you give AI agents access to your financial system?
English
3
0
6
48
Utkarsh retweetledi
Arpit Bhayani
Arpit Bhayani@arpit_bhayani·
I have seen more systems struggling because of wrong code than slower ones. The fact remains, most engineers optimise too early. About 8 years ago, my principal engineer once told me: Performance is almost always the last thing you should be thinking about. As an SDE-2, this did not make sense :) After a few follow-ups, I understood why he meant that. The order that actually matters is this. First, is the code correct? Does it do what it is supposed to do? Second, can someone maintain it six months from now without wanting to quit? Third, is it fast to read and write? Only after all three does performance even enter the conversation. The reason this order exists is simple. A fast, unmaintainable codebase is a liability. A performant-but-wrong system is worse than a slow, correct one. You cannot optimise your way out of a bug. Now, this is not universally true. Databases, high-frequency trading systems, and real-time embedded software are domains where performance is a first-class concern from day one. But those are the exceptions, not the default assumption you should bring to every PR. What is certainly true is that for most codebases, premature optimisation adds complexity, reduces readability, and solves a problem that does not exist yet. So, write correct code first. Then clean it. Then, only if the profiler gives you a reason, make it fast.
English
35
52
758
31.7K
Utkarsh retweetledi
LangChain OSS
LangChain OSS@LangChain_OSS·
As conversations get longer, you need guardrails around the core agent loop to manage long context without losing key information. Agent middleware makes this easy for model and tool calls!
Sydney Runkle@sydneyrunkle

harness eng day 3: using middleware for context management for long running agents, you need periodic conversation history compaction so you don't overflow the context window @LangChain's SummarizationMiddleware compresses history automatically before it hits the model!

English
1
5
21
958
Utkarsh
Utkarsh@kumarukutkarsh·
Is Claude code vibe coded?
English
0
0
0
21
Utkarsh
Utkarsh@kumarukutkarsh·
Being stable >> being latest. #npm
English
0
0
2
15
Claude
Claude@claudeai·
Computer use is now in Claude Code. Claude can open your apps, click through your UI, and test what it built, right from the CLI. Now in research preview on Pro and Max plans.
English
2.5K
4.9K
59.3K
15.7M
Utkarsh retweetledi
Hussein Nasser
Hussein Nasser@hnasr·
Will RAM become so expensive that we’ll be forced to actually write efficient software? just like the early days of computing
English
156
217
5K
120.4K
Utkarsh
Utkarsh@kumarukutkarsh·
What's going dead next? 🤔 PS: Thanks for making such informative videos! @piyushgarg_dev
Utkarsh tweet media
English
6
0
17
13.6K
Utkarsh
Utkarsh@kumarukutkarsh·
Diving deep into programming concepts ignites the perfectionist inside me to know how everything was implemented from scratch. I feel this is okay but can be a bit overwhelming. Does this happen with you as well?
English
0
0
1
23
Utkarsh retweetledi
Arpit Bhayani
Arpit Bhayani@arpit_bhayani·
Fun Fact: Stripe does logging differently. They take a super interesting approach to log processing, something that helps them debug production issues faster, cheaper, and with far less complexity. Logging data belonging to one request is typically dumped across multiple lines. Stitching together these fragmented logs became a pain as they scaled. So what they do is emit a single, comprehensive log line at the end of every request, and they call it the Canonical Log Line. I just published a video dissecting their entire process and the exact steps they took to implement canonical log lines without breaking their existing log processing systems. Give it a watch. It is a pretty short video, but interesting and fun. Something you can implement at your workplace right away.
English
44
58
1.6K
249.9K
Utkarsh retweetledi
Arpit Bhayani
Arpit Bhayani@arpit_bhayani·
Let me talk about something obvious but with a bit of quantification... Theoretically, both arrays and linked lists take O(n) time to traverse, but here's what actually happens when you benchmark by summing 100k integers - Array: 68,312 ns - Linked List: 181,567 ns Summing an array is ~3x faster than LinkedList. Same algorithm, same complexity, but wildly different performance. The reason is cache behavior. When you access array[0], the CPU fetches an entire cache line (64 bytes), which includes array[0] through array[15]. The next 15 accesses are essentially free. Arrays hit the cache about 94% of the time. Linked lists suffer from pointer chasing. Each node is allocated separately by malloc(), scattered randomly in memory. Each access likely requires a new cache line fetch, resulting in a 70% cache miss rate. This is a good example of why Big O notation tells only part of the story. Spatial locality and cache-friendliness can make a 2-3x difference even when the theoretical complexity is identical. I am sure you would have known this, but this crude benchmark quantifies just how fast cache-friendly algorithms can be. Hope this helps.
English
58
63
1.4K
72.5K
Utkarsh retweetledi
Pavel Svitek 🇨🇭
Pavel Svitek 🇨🇭@pavelsvitek_·
You are hiring frontend engineer and you see this. What do you do?
English
390
262
11.1K
1.4M
Utkarsh
Utkarsh@kumarukutkarsh·
🤔
Utkarsh tweet media
QME
0
0
0
13
Utkarsh retweetledi
Google
Google@Google·
Today @GoogleMaps is getting its biggest upgrade in over a decade. By combining our Gemini models with a deep understanding of the world, Maps now unlocks entirely new possibilities for how you navigate and explore. Here’s what you need to know 🧵
English
1.1K
4.1K
44.8K
28.8M
Utkarsh
Utkarsh@kumarukutkarsh·
Explored the world of game development with Flame, a game engine built on top of @FlutterDev. Built a basic 'Flappy Bird' game to understand the concepts of the library.
English
0
0
1
32
Utkarsh
Utkarsh@kumarukutkarsh·
@LinkedIn needs an AI feature which summarizes long posts and explains jargons.
English
0
0
1
11
Utkarsh
Utkarsh@kumarukutkarsh·
while True:
Utkarsh tweet media
English
0
0
1
24