Gaurav (@Leapofcode) header
Gaurav (@Leapofcode) profile picture

Shipping code. Sharing lessons. Occasionally funny. DM for Work and Collab.

Joined August 2025
Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)Photo by Gaurav (@Leapofcode)
Gaurav retweeted
Even the link codes put Android last.
how to identify someone's device on X: s=46 iPhone s=20 Browser s=19 Android s=69 FBI's favourite 馃拃 you can test it on this tweet.
9
2
17
535
Gaurav retweeted
Bro just had to mention a potential accident to unlock the feature 馃拃
25
1
28
647
Gaurav retweeted
a little jump, despite a micro banger with 37K.
here's where I'm at today. let's see what changes over the next 30 days. the idea of documenting the journey instead of just the milestones is interesting.
14
2
19
455
Gaurav retweeted
One DevOps laptop. That's all it took to kick off Binance's ~$6.3B incident馃く Attacker used the laptop to reach a service container and submit unauthorized withdrawals. The system signed them. The laptop didn't hold any private key, it just had enough reach to ask the real systems to move the money. We probably all have at least one system in our org with that level of access. How would you secure it?
17
1
20
547
Gaurav retweeted
Are you a developer, video creator, data analyst, writer, or digital creator looking for AI tools to make your work easier and speed up your workflow? Introducing Eshiqo, an AI tools directory built to help you discover useful AI tools across different categories and use cases.
12
9
23
552
Gaurav retweeted
s=46 iPhone s=20 Browser s=19 Android s= 92 iPhone duo You already know what I am talking about.
13
1
2
18
542
Gaurav retweeted
ChatGPT released browser extension, and it can: Display notifications -- okay Read and change your bookmarks -- whatever, idc Access the page debugger back end -- something techy Manage your downloads -- wait, what? Read and change all your data on all websites -- EXCUSE ME? View and manage your tab groups -- why tho? Read and change your browsing history on all your signed-in devices -- WTF馃拃 CANCEL
31
1
33
874
Gaurav retweeted
42
6
1
343
37,893
Gaurav retweeted
"Next I'm buying Lay's to put the chips back in." What would you make him buy next?
27
1
40
751
Gaurav retweeted
who at Google approved this 馃拃
24
1
32
930
Gaurav retweeted
36
3
85
1,949
Gaurav retweeted
"Member of Technical Staff" level interview question: An AI agent calls an external API and times out. You don't know whether the API executed the action. Should the agent retry? How would you make the operation safe?
21
1
23
883
Gaurav retweeted
Imagine getting rejected due to commit message馃拃
44
10
3
305
46,897
Gaurav retweeted
Replying to @Leapofcode
everyone shouting 'idempotency keys' is failing the actual MTS interview question鈥攜ou specifically asked what happens when the external API DOES NOT support idempotency the 3 distributed systems patterns for surviving agent timeouts against non-idempotent legacy APIs: 1. the fundamental rule: timeout is an unknown in-flight state: a timeout is the Two Generals' problem: the TCP packet could have failed on ingress, OR the bank/vendor executed the mutation and only the response dropped if an agent blindly retries a non-idempotent POST, you guarantee duplicate side effects (double charges, duplicate records) the state machine must transition to IN_DOUBT, never straight to RETRY 2. deterministic read-before-retry (synthetic idempotency probes): even if the vendor has no Idempotency-Key header, their payload usually accepts custom metadata or reference fields embed a deterministic token into the request: reference = hash(agent_id, task_id, step_nonce) on timeout, the agent NEVER retries the POST directly鈥攊t issues an out-of-band probe: GET /transactions?reference=REF_42 - if the record exists: adopt the remote ID, mark succeeded, proceed - if 404 after an established quiet window: only then is it safe to retry 3. the Saga pattern & asynchronous reconciliation queues: if the vendor has neither idempotency nor deterministic reference queries, synchronous resolution is mathematically impossible the agent must persist the intent to a dead-letter / reconciliation outbox and yield an out-of-band worker attempts reconciliation or issues a compensating reversal (void / cancel) before unlocking the agent's workflow the true MTS architecture answer: never let agents call raw un-idempotent third-party APIs directly. you place an internal egress proxy in front that shims synthetic idempotency and transaction locks
1
1
3
53
Gaurav retweeted
I don't understand why OpenAI investing in computer-use models? What are some real-world use cases for computer use beyond the browser?
29
3
29
624
Gaurav retweeted
Linus's setup to build Linux VS my friends setup to approve Claude's action.
19
1
40
2,085
Gaurav retweeted
leaked footage from Sama's study room.
22
1
27
611
Gaurav retweeted
27
1
37
745
Gaurav retweeted
If your secret keys get exposed on GitHub through a .env file, is rotating them enough? Asking for a friend.
39
1
45
1,396
Gaurav retweeted
Microsoft really said, "You thought you had a choice?"
19
1
32
796