Dev Narware (@devnarware) header
Dev Narware (@devnarware) profile picture

20, Building, breaking, learning daily

Home
Joined April 2024
Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)Photo by Dev Narware (@devnarware)
You Become what you think about....
1
2
7
187
bro is the happiest man alive rn
Replying to @PopBase
I DIDNT SELL MY NVIDIA STOCK
6
217
Yeah.. so we are cooked
2
5
60
What a manhwa! Found something interesting after a very long time, tbh after a year Spent a full day on it, and I'm just halfway through.
1
1
3
105
Thanks for 500 followers Grateful for everyone who's following me 🥺
3
1
14
170
Q: Explain the ReAct pattern. Why is it foundational? Ans: ReAct stands for Reasoning + Acting. Instead of answering i n one go, the model alternates between thinking and doing: Thought: works out what it needs next Action: calls a tool (API, DB, search, etc.) Observation: reads what the tool returned Repeat until it has enough to answer Nearly every agent framework you’ll use (LangGraph, OpenAI Agents SDK, CrewAI) runs some version of this loop under the hood. Example trace: “Why is the payments service failing?” Thought: I should check the service’s recent error logs first. Action: get_logs(service="payments", level="error", last="15m") Observation: 240 errors, all “connection refused: db-primary:5432” Thought: It’s failing to reach the database. Let me check the DB’s health. Action: get_db_status(instance="db-primary") Observation: {“status”: “down”, “reason”: “disk full”} Thought: Root cause found. I can answer now. Answer: The payments service is failing because db-primary is down with a full disk. Why it’s foundational: 1. Grounded in reality Each step is based on real data from tools, not on what the model happens to remember. That cuts down hallucination. 2. Debuggable The reasoning is visible, so when it picks the wrong tool you can see why. 3. Errors become input A failed tool call comes back as just another observation. The model can read it, adjust, and retry or switch tools instead of crashing. The limit you should mention: The “Thought” text is NOT a faithful record of what the model actually computed. It’s a plausible story the model writes, so don’t treat it as an audit log. In production: Keep actions structured (JSON schemas) Validate every tool call before you run it Log the real tool calls and results, not just the thoughts Common mistake in interviews: Describing ReAct as “the model thinks step by step.” That’s chain-of-thought. The whole point of ReAct is the action-observation loop that ties the model to the real world. Common follow-up: “How is ReAct different from Chain-of-Thought?” CoT: reasons in one pass, never touches the outside world ReAct: reasons, acts, observes, and uses the world as its source of truth One-line summary for interviews: “ReAct alternates reasoning with tool calls, so every step is checked against reality. That loop is what turns a model that talks into an agent that works.”
4
21
666
Day 4 - Building a Movie Server to understand CRUD operations - almost completed - Solved 1 NeetCode problem using 2 approaches
Day 3 - Revised Go and backend concepts - Built a web server - Solved 1 LeetCode problem using 3 different approaches
2
4
107
4,005
Day 3 - Revised Go and backend concepts - Built a web server - Solved 1 LeetCode problem using 3 different approaches
3
3
1
62
5,234
Visualizing the flow before building the server makes life easier
2
2
15
317
If nothing's working, a restart might fix it
my vs code is crashed, nothing is working what to do??
1
1
9
237
my vs code is crashed, nothing is working what to do??
1
1
1
9
481
And i thought that I knew postman enough!!
1
17
418
Dev Narware retweeted
We got GTA 6 before getting a job 🥀
1
2
17
219
We got GTA 6 before getting a job 🥀
1
2
17
219
Taking on a 30-day challenge. If I don’t complete it, I’m ngmi 😤 Here’s the list of tasks I have to complete every single day, no matter what.
3
1
9
270
Dev Narware retweeted
15 din X se dur kya raha, logo ne apna SaaS lauch kr diya 😤
1
2
6
88
Finally back to my flat Lets start the grind
3
1
10
233
I don't have enemies, but I don't have friends either I don't hate anyone, but no one loves me either And still, I'm enjoying my life.
1
1
5
70
15 din X se dur kya raha, logo ne apna SaaS lauch kr diya 😤
1
2
6
88