Danish Sheikh (@codewiddan) header
Danish Sheikh (@codewiddan) profile picture

Senior Software Engineer | AI & Tech | IITian

Joined October 2025
Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)Photo by Danish Sheikh (@codewiddan)
Danish Sheikh retweeted
This went viral on Instagram, let's see what happens here
3
2
8
266
Danish Sheikh retweeted
Interviewer: If indexes make queries fast, why not index every column?
3
3
7
269
Danish Sheikh retweeted
Interviewer: If PUT and PATCH both update a resource why do we even need two different HTTP methods?
4
4
1
11
785
Danish Sheikh retweeted
Mango tastes like it's serious about being a fruit
1
1
8
233
Danish Sheikh retweeted
Software engineers watching their jobs become obsolete right in front of their eyes
Introducing Code Review, a new feature for Claude Code. When a PR opens, Claude dispatches a team of agents to hunt for bugs.
3
2
11
462
Danish Sheikh retweeted
College m tha toh >Covid aa gya Job ka time aaya toh >Layoffs ho gye Job mili to replace krne >AI aa gya Investment start kri toh >War ho gyi
4
4
14
363
Danish Sheikh retweeted
Have you ever wondered how Twitter notifications work? When someone like @elonmusk posts on X, millions of people may have notifications turned on. The system cannot simply loop through every follower and send a notification synchronously. That would instantly overload servers. Instead, platforms use an event driven fanout architecture. 1. A tweet is created When Elon tweets, a “tweet created” event is generated. 2. Event goes to a message queue The event is pushed to a distributed queue like Apache Kafka or similar internal systems. This prevents the posting request from blocking. 3. Fanout workers process followers Background workers read the event and fetch the list of followers who have notifications enabled. 4. Notification jobs are sharded The follower list (which could be tens of millions) is split into batches and distributed across many workers. 5. Push notification service Each worker sends push requests through services like Apple Push Notification Service (APNS) for iOS and Google Firebase Cloud Messaging (FCM) for Android. 6. Rate limiting and prioritization High profile accounts are often processed using priority queues, caching follower lists, and aggressive batching to handle spikes. Why this works at scale •Asynchronous processing •Horizontal worker scaling •Queue buffering during spikes •Batch notification delivery
3
3
11
934
Danish Sheikh retweeted
You gotta do what you gotta do
1
2
1
4
923
Danish Sheikh retweeted
Life of a software engineer > wake up > see anthropic ceo saying that software engineers will be replaced in 12 months > see a new AI model being launched > stress that their job is in danger > use codex or claude to write some code > see a new war breaking out every weekend > realise that AI is now being used to kill people > stress a little more > scroll X to see war updates > stress a little more > go back to sleep
12
4
1
28
1,088
Danish Sheikh retweeted
Funny how when ChatGPT was first released, everyone was excited. Developers were using it to write code. Students were using it to write essays. Lawyers, analysts, everyone was using it. Everyone was happy. Life became easier. Fast forward to today, and everyone is afraid AI is going to take their jobs. Funny how time changes.
4
3
8
242
Danish Sheikh retweeted
Everyone at my company is now encouraged to use Codex to write code. I guess we were the last generation that actually wrote code by hand.
2
2
12
195
Danish Sheikh retweeted
SYSTEM DESIGN SERIES: POST 1 This is the beginning of the system design series. I’ll divide this series into multiple chapters. I’ll also link these posts so you can always go back to the previous ones. CHAPTER 1- DESIGNING FOR MILLIONS OF USERS : PART 1 Building systems that support millions of users is hard. We will begin with a single user and progressively scale the system to handle millions. Single Server Setup To begin with, let’s build a system where everything runs on a single server. Let’s see what happens when you enter a website in your browser and hit enter. Think of the internet like making a phone call. The Contact List: You type a name like api.mysite.com into your browser. Just like you don't memorize every friend's phone number, you don't memorize computer addresses. A system called DNS acts like a giant, paid contact list managed by third-party companies to look up the number for you. Getting the Number: The system finds the specific phone number called an IP address (like 15.125.23.214) that matches the name you typed and gives it to your browser. Making the Call: Now that your browser has the number, it "dials" it directly to connect to the web server. This connection is done using a language called HTTP. The Conversation: The server picks up and talks back, sending the actual website content (text, images, or data) for your browser to display But this is not enough. As the user base grows, you need other servers to store data. This brings us to the next part: Database.
9
4
2
25
2,195
Danish Sheikh retweeted
Ever wondered how your Apple Watch just knows? 🚶 Walking inside 🚶‍♂️ Walking outside 🚴 Cycling outdoors How does that tiny thing on your wrist know exactly what you’re doing?
7
3
1
14
2,672
Danish Sheikh retweeted
Punch in a few years....
3
1
1
9
758
Danish Sheikh retweeted
What are yours ?
12
3
17
525
Danish Sheikh retweeted
Ever wondered how “typing…” shows up the moment you start typing? How does WhatsApp know so fast? 👀
7
3
1
13
214
Danish Sheikh retweeted
Not even the prime minister of India can make Sam Altman (CEO of OpenAI) and Dario Amodei (CEO of Anthropic) hold hands 😂 Rivalry so Goated
2
2
10
383
Danish Sheikh retweeted
Need just 1 more follower to complete 500 verified followers🥹 If you are in Tech, let's connect and grow together!
49
3
35
1,169
Danish Sheikh retweeted
Beware, vibe coders. Thinking you don’t need to learn coding because AI will write it for you is a trap. Coding isn’t just typing syntax. It trains you to solve problems. It teaches you how to design systems. It sharpens how you think. As more people use AI blindly, real problem-solvers will become rare. And rare skills get paid the most.
Unpopular opinion. Excessive use of AI will make you dumb. Very dumb.
2
1
11
279
Danish Sheikh retweeted
Ever wondered how Zomato/Uber Eats/Grab shows your delivery partner moving live on the map? Here’s what’s actually happening, without the fluff. The rider’s app keeps capturing GPS coordinates every few seconds. As long as your order is active, those coordinates are sent to the backend continuously. Now imagine thousands of riders doing this at the same time. The backend can’t just “update a database” for every ping. Instead, location updates are streamed through an event system, usually something like Kafka. That way updates can be processed, scaled, and distributed efficiently. On your side, the app isn’t refreshing every 3 seconds. It holds a WebSocket connection open. The moment a new location event is available, the server pushes it to your phone instantly. That’s why it feels real time. And the smooth movement? Your app interpolates between two GPS points and animates the marker, so it looks like a moving bike instead of dots jumping on the screen. So that tiny moving icon is actually: GPS → streaming events → distributed backend → WebSocket push → smart frontend animation. Simple idea. Serious engineering underneath.
8
2
14
2,304