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)
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
Dev Narware retweeted
We got GTA 6 before getting a job 🥀
1
2
17
219
Dev Narware retweeted
15 din X se dur kya raha, logo ne apna SaaS lauch kr diya 😤
1
2
6
88
Dev Narware retweeted
You Become what you think about....
1
2
7
187
Dev Narware retweeted
So there's a way out of the black hole after
EVERYONE I GOT A JOB OFFER!!!!
1
6
100
Dev Narware retweeted
me and my love with todo apps
1
6
106
Dev Narware retweeted
Nov 2–3 Revised HTTP fundamentals - Statelessness - Message structure - Headers & methods - CORS & preflight request - Status codes Practised by building a simple web server Nov 4 Didn’t get anything done. Feels like I’ll struggle to get back on track until I’m back at my flat
2
2
16
220
Dev Narware retweeted
Good Morning friends Yesterday's Click :)
2
6
68
Dev Narware retweeted
Forgot to post my daily logs for the last two days, so i will do it tomorrow, but working on 2 things rn but abhi ke liye good night
1
1
4
72
Dev Narware retweeted
And this isn’t limited to programming. In any field, one of the most valuable skills is problem-solving: understanding a problem and finding the right approach. You develop it by building, breaking, and fixing things. The only way to improve is to keep practising.
Replying to @devnarware
4/4 You don’t need to know everything before you start building. You need to build enough to learn how to figure things out. So keep building, keep breaking, and keep fixing.
2
8
115
Dev Narware retweeted
One thing I’ve understood over the last couple of days while exploring different learning resources is that coding isn’t about memorising syntax or knowing how to solve every problem. It’s about understanding the problem and figuring out the right approach to solve it. 1/4 👇
1
2
8
170
Dev Narware retweeted
30 Oct Go - Fixed some minor issues in my CLI Todo app - Read about os.Create() - Experimented with everything I’ve learned about file handling - Implemented it all in my CLI app By the time you see this post, it should be completed. - 9K+ steps - Read 1 chapter
1
2
17
200
Dev Narware retweeted
Good morning guys Locking in for whole day, see you in the evening And remember 👇
2
11
75
Dev Narware retweeted
26 Oct Go - Learned more about Scanner.Err(), io inputs, bufio and Scanner - Implemented error handling throughout my Todo CLI JSON in GO - JSON basics, objects and structs - Marshalling and unmarshalling Read 1 chapter 8K+ steps Tomorrow will be better
3
2
11
190
Dev Narware retweeted
Good morning guys...!!
2
2
12
93
Dev Narware retweeted
Curse of discipline: every day looks the same Curse of indiscipline: every year looks the same Choose wisely Locking in, finishing yesterday’s leftover work
4
2
13
160
Dev Narware retweeted
Just got these two books Trying some fiction this time Already read 20 pages of The Alchemist Target is to finish both of them this month But the bill says ₹230 and I paid ₹375 for them 😭
1
2
6
111
Dev Narware retweeted
Me to distractions nowadays
1
4
35
423
Dev Narware retweeted
Made a list of goals, not too many, just 3–4 small ones For the last 1–2 months, I’ve been cooked with studies, exams internship interviews SIH and all, so couldn’t focus much on my own studies, attention span feels cooked too Starting small, though I have bigger goals for 2026
Made a list of goals (10 major ones) for September..wohooooo let's go
6
2
16
238
Dev Narware retweeted
Today I'm launching my first micro SaaS 😋 MiniFolio : a simple, private tool to compress & convert images & videos directly in your browser without uploading to server Check it out - minifolio.in - upload your image/videos - Compress files or convert file types directly in your browser - Lightning fast, fully client-side processing - 0 files uploaded to a server, private and safe - 0 ads, minimal UI - One-time $10 payment for lifetime access to all Pro features and unlimited storage Giving 50% off to the first 10 users. Use code: MINIFOLIO50 Try it out and let me know what I should improve :)
150
39
9
648
87,015