Dev.T (@t1_dev) header
Dev.T (@t1_dev) profile picture

{وَعَلَى اللَّهِ فَلْيَتَوَكَّلِ الْمُتَوَكِّلُونَ (12)} سورة إبراهيم.

Riyadh
Joined February 2021
Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)Photo by Dev.T (@t1_dev)
1
فإنَّ للصدقة تأثيراً عجيباً في دفع أنواع البلاء، ولو كانت من فاجرٍ أو ظالم، بل من كافرٍ. فإنَّ الله تعالى يدفع بها عنه أنواعاً من البلاء. وهذا أمرٌ معلومٌ عند الناس، خاصَّتهم وعامَّتهم، وأهلُ الأرض كلُّهم مُقِرُّون به، لأنهم قد جرَّبوه. #ابن_القيم
43
958
4
1,805
74,324
من إكرامك لنفسك ألا تحدث من يستثقل حديثك، يروى عن ابن مسعود: حدِّث الناس ما حدّجُوك بأسماعهم، ولحظوك بأبصارهم، فإذا رأيت منهم فتورا فأمسك.
3
146
3
940
27,446
قال الشيخ ابن عثيمين رحمه الله: "حاول أن تبتعد عن كلّ شيء يجلب الهمّ والحزن والغمّ؛ لتكون دائمًا مستريحًا منشرح الصّدر مقبلًا علىٰ الله وعلىٰ عبادته، وعلىٰ شؤونك الدّنيويّة والأخرويّة." [شرح بلوغ المرام(جـ ٣/صـ ٥٣٣)]
75
359
7,369
لو عرفت الأمة التوحيد حق المعرفة لاجتمعت عليه لأنه يُهوِّن كل خلاف دونه، وإذا رأيت الأمة تتقاتل على الجزئيات فاعلم أنها لم تعرف قيمة التوحيد. 🖌️ الشيخ عبدالعزيز #الطريفي
2
33
160
2,393
من أسباب زيادة الإيمان ترك المعصية خوفاً من الله عز وجل، وكلما قوي الداعي إلى فعل المعصية كانت زيادة الإيمان بتركها أعظم؛ لأن تركها مع قوة الداعي إليها دليل على قوة إيمان العبد وتقديمه ما يحبه الله ورسوله صلى الله عليه وسلم على ما تهواه نفسه. 📖 (فتح رب البرية بتلخيص الحموية - ص 105) #ابن_عثيمين
1
260
2
601
19,339
لم تختر زمن مجيئك إلى الدنيا، ولا الأرض التي ولدت فيها، ولن تختار ساعة رحيلك، ولا المكان الذي ستموت فيه. ﴿وَمَا تَدْرِي نَفْسٌ بِأَيِّ أَرْضٍ تَمُوتُ﴾ جئت إلى الدنيا بقدر، وسترحل بأجل، وبين المجيء والرحيل عمرٌ أُعطي لك لتختار وتعمل، وعلى ما قدّمت يكون مصيرك في الآخرة
111
2,602
17
5,322
687,589
Facts about vibe coding >writes code you barely understand >works fine until it suddenly breaks >turns debugging into a nightmare >scales technical debt faster than features >ships security bugs nobody sees >copies code & dependencies without context >turns software engineering into prompts & tokens Why do people like this?
11
8
1
55
5,120
15 يوم و تطبيق دانكن لا يعمل ، و الشركة عارفه و عاجبها الوضع 😅 @DunkinDonutsKSA فشلكم التقني يجب أن يوثّق و يدرس ..
تطبيقنا تحت التطوير، ونقاطك بالحفظ والصون📱🧡
2
1,245
Most engineers don’t lose data because of bad code. They lose it because of bad transactions. Dirty reads. Non-repeatable reads. Phantom reads. People think they understand these. Almost nobody can tell you how isolation levels actually prevent (or allow) them. Here’s the truth: - Read Uncommitted = fast but dangerous - Read Committed = safer but still leaky - Repeatable Read = consistent but imperfect - Serializable = correct but expensive Every level is a trade. Pick wrong → your system bleeds performance or consistency. 👉 bit.ly/3I63kJ3 If you design systems, this is non-negotiable.
21
52
2
346
25,781
This is why you don’t skip fundamentals. You can keep asking tools to “fix it”... or you can understand why it’s broken in the first place. Learn the basics. Grasp the core concepts. These are non-negotiable: • Know your data structures: arrays, maps, stacks, queues. • Learn key algorithms: sorting, searching, recursion, graphs. • Read the error messages: 99% of the time, they tell you what’s wrong. • Get good at debugging: logs and breakpoints are your friends. • Understand database design: tables, indexes, relationships. • Know how HTTP works: headers, methods, status codes. • Understand sync vs async, especially when things get slow. • Write tests that catch bugs, not just for coverage. • Read the docs; most issues are config, not code. “Don’t outsource thinking to tools.” → “Tools help. Thinking solves problems.” What would you add to the non-negotiable list?
6
6
33
3,041
"Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them." - Frank Herbert
30
Your words and actions will always have consequences. You pay for what you've done to others. If not today, tomorrow. Sadly, with social media we don't realise this. Then we wonder what we're paying for. Go back and search. You will find it.
85
2,585
49
10,028
305,983
> opens app > ai ai ai ai > closes app > opens again 10 seconds later > ai ai ai
30
22
9
605
24,452
Replying to @LBacaj
This is still true.
4
17
4
162
7,458
Building Container Images Like a Pro 😎 A bunch of resources on image building: - 5 tutorials on image composition, base image selection, multi-stage builds, and distroless. - 12 hands-on learning problems to build and troubleshoot images. Check it out: labs.iximiuz.com/skill-paths…
5
80
521
28,841
لم تنشأِ الليبْرَاليةُ إلا بالقتالِ، ونشرَتْ فِكْرَها بالقُوةِ، وهو فِكْرٌ يُنبتُ في أتباعِها الوَهَنَ، ولما تأثرَ بهذا الفِكْرِ بعضُ المسلمِينَ، ظهَرَتْ طوائِفُ منهم تَرَى الجهادَ قَسْوةً وعُنْفًا، ويُسقطُونَ عليه أوصافَ الإرهابِ المذمومِ والاستبدادِ.
12
52
1,897
My favorite saying in legacy projects is "that's interesting 🤔" 😂
2
6
23
2,151
How does a Rate Limiter work? The basic premise of a rate limiter is quite simple. On a high level, you count the number of requests sent by a particular user, an IP address, or even a geographic location. If the count exceeds the allowable limit, you disallow the request. However, there are several questions to be asked if you had to design one from scratch. For example: [1] Where should you store the counters? [2] What about the rate-limiting rules? [3] How to respond to disallowed requests? [4] How to ensure that changes in rules are applied? [5] How to make sure that rate limiting doesn’t degrade the overall performance of the application? To balance all of these considerations, you need several pieces that work in combination with each other. The animated illustration attempts to show such a system: 👉 So what’s going on in the animation? ✅ Incoming requests to the API server go to the Rate Limiter component. ✅ The Rate Limiter fetches the rules from the rules engine. ✅ Then, it checks the rate-limiting data stored in the cache. This data basically tells how many requests have already been served for a particular user or IP address (depending on the rule, of course) ✅ The reason for using a cache is to achieve high throughput and low latency. ✅ If the request falls within the acceptable threshold, the rate limiter allows it go to the API server ✅ If the request exceeds the limit, the rate limiter disallows the request and informs the client or user that they have been rate limited (via HTTP status code 429) But that’s not all. You can also put in a couple of tricks: 👉 First, instead of returning HTTP Status Code 429, you can drop the request silently. This is a useful trick to fool an attacker into thinking that the request has been accepted. 👉 Second, you can also have a cache in front of the rules engine to boost the performance. In case of updates to the rules, you could have a background worker process updating the cache with the latest set of rules. So - have you used Rate Limiting?
11
64
306
13,388
Stop worrying about the troublesome people in your life. The problematic ones, the petty ones who try to hold you back & create unease. Let the Almighty take care of them. He knows how to move the wrong people out of your life and bring the right ones in. Trust Him.
155
4,004
56
14,240
398,383
How to scale a website to support millions of users? We will explain this step-by-step. The diagram below illustrates the evolution of a simplified eCommerce website. It goes from a monolithic design on one single server, to a service-oriented/microservice architecture. Suppose we have two services: inventory service (handles product descriptions and inventory management) and user service (handles user information, registration, login, etc.). Step 1 - With the growth of the user base, one single application server cannot handle the traffic anymore. We put the application server and the database server into two separate servers. Step 2 - The business continues to grow, and a single application server is no longer enough. So we deploy a cluster of application servers. Step 3 - Now the incoming requests have to be routed to multiple application servers, how can we ensure each application server gets an even load? The load balancer handles this nicely. Step 4 - With the business continuing to grow, the database might become the bottleneck. To mitigate this, we separate reads and writes in a way that frequent read queries go to read replicas. With this setup, the throughput for the database writes can be greatly increased. Step 5 - Suppose the business continues to grow. One single database cannot handle the load on both the inventory table and user table. We have a few options: 1. Vertical partition. Adding more power (CPU, RAM, etc.) to the database server. It has a hard limit. 2. Horizontal partition by adding more database servers. 3. Adding a caching layer to offload read requests. Step 6 - Now we can modularize the functions into different services. The architecture becomes service-oriented / microservice. Question: what else do we need to support an e-commerce website at Amazon’s scale? -- Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/bbg-social
2
122
2
568
51,940