Pinned Tweet
"التمس لي سبعين عذرًا واذكرني في دعائك حين لا تراني بالوجه الذي تعودت عليه لعل صدري يحتوي ما لا أستطيع البوح به فالنفس آفاق ووديان.. ولعلّي في وادٍ غير واديك."
Dev Kandil👨💻 retweeted
قوم يريدون أن يجعلوا دين الله عبارةً عن التمسح بالقبور تحت اسم التبرك، ويبيحون السجود للقبور تحت اسم تحية الولي، ويستحبون الصلاة عند الأضرحة بدعوى أن الصلاة عند الضريح أكثر بركةً، ويبيحون الرقص والطبل والزمر مع ذكر الله تحت اسم الحب والحال، ويحاربون من أجل أن يغرسوا في عقول الناس مشروعية التوجه للموتى لطلب الحاجات منهم بدلا من طلبها من الله!
ثم من أنكر عليهم هذه الخزعبلات؛ غضبوا منه!
فبالله عليكم؛ هل جاء نبينا بهذا العبث!؟
ومنذ متى ودينُ الإسلام يصنع وساطةً في العبادة بين العبد وربه حتى يضطر العبد لسؤال الميت صاحب الضريح بدلاً من سؤال الله!؟
لا واسطة في العبادة بينك وبين الله، بمعنى أنك لابد أن تتوجه مباشرةً إلى الله، لا إلى ولي ولا إلى ميت.
والحمد لله أن ضجَّ الناس بفعالكم وصار الخلق من كل مشربٍ ينشرون نصوص الأئمة في تقبيح هذه الأفعال.
فاللهم أحينا على السنة وأمتنا عليها موحدين بك غير مبدلين ولا مفرطين.
Dev Kandil👨💻 retweeted
30 Blogs to Learn 30 System Design Concepts:
1. APIs: blog.algomaster.io/p/whats-a…
2. API Gateways: blog.algomaster.io/p/what-is…
3. JWTs: blog.algomaster.io/p/json-we…
4. Webhooks: blog.algomaster.io/p/what-ar…
5. Load Balancing: blog.algomaster.io/p/load-ba…
6. Proxy vs Reverse Proxy: blog.algomaster.io/p/proxy-v…
7. Scalability: blog.algomaster.io/p/scalabi…
8. Availability: blog.algomaster.io/p/system-…
9. SPOF: blog.algomaster.io/p/system-…
10. CAP Theorem: blog.algomaster.io/p/cap-the…
11. SQL vs NoSQL: blog.algomaster.io/p/sql-vs-…
12. ACID Transactions: blog.algomaster.io/p/what-ar…
13. Database Indexes: blog.algomaster.io/p/a-detai…
14. Database Sharding: blog.algomaster.io/p/what-is…
15. Consistent Hashing: blog.algomaster.io/p/consist…
16. CDC: blog.algomaster.io/p/change-…
17. Caching: blog.algomaster.io/p/4d7d6f8…
18. Caching Strategies: blog.algomaster.io/p/top-5-c…
19. Cache Eviction Policies: blog.algomaster.io/p/7-cache…
20. CDN: blog.algomaster.io/p/content…
21. Rate Limiting Algorithms: blog.algomaster.io/p/rate-li…
22. Message Queues: blog.algomaster.io/p/message…
23. Bloom Filters: blog.algomaster.io/p/bloom-f…
24. Idempotency: blog.algomaster.io/p/idempot…
25. Concurrency vs Parallelism: blog.algomaster.io/p/concurr…
26. Stateful vs. Stateless Architecture: blog.algomaster.io/p/statefu…
27. Long Polling vs WebSockets: blog.algomaster.io/p/long-po…
28. Batch vs Stream Processing: blog.algomaster.io/p/batch-p…
29. Strong vs. Eventual Consistency: blog.algomaster.io/p/strong-…
30. REST vs GraphQL: blog.algomaster.io/p/rest-vs…
♻️ Repost to help others in your network.
Coding Interview | Software Engineer @ Bloomberg (Part 1) youtu.be/jma9hFQSCDk?si=1R6p… via @YouTube
Dev Kandil👨💻 retweeted
Hey Laravel Developers 👩💻
Eloquent allows us to perform array casting which converts an attribute which is a JSON string to an array.
But many beginners are confused about what it exactly does and what benefits it provides!
So here is a bit detailed explanation of what it does during array casting.
Whenever we perform a query whose results include a JSON column, as PHP does not directly have a JSON data type it internally stores the JSON as a string.
Now it's obvious that you might want to fetch some data from the JSON, so for this operation.
PHP provides us with the json_decode() function which converts a JSON string to an array that PHP can understand and work with.
Also after making certain manipulations to the PHP array you might want to again save this JSON string to the database.
PHP has the json_encode function which does the same i.e. converts a PHP array to a JSON string.
So this conversion is likely to happen at multiple places in the entire code base.
This is what casting does, it automates this conversion under the hood for you.
Here is how casting helps in reducing the total number of lines we write...
#laravel #php
Dev Kandil👨💻 retweeted
Hey Laravel Developers 👩💻
Laravel provides us with amazing utilities to handle and work with files.
But if your application is dealing with a lot of files and images, I would highly recommend checking out Spatie's media library package out
Here are some amazing features that come with this package
Fluent API to attach and fetch media files for a model
So the media-library package contains a trait that includes methods for interacting with media files.
By adding this trait to our models and making minor configurations we have the following APIs to attach and fetch media files with ease
#laravel #php
Dev Kandil👨💻 retweeted
Hey Laravel Developers 👩💻
Laravel's Eloquent ORM comes with the belongsToMany relationship method which allows us to connect two tables using a pivot/intermediate table.
This is useful for use cases like many users subscribing to many podcasts, many users enrolling in many courses, and many users taking memberships in multiple groups etc.
If you want to access any column from the pivot table we have to use the pivot attribute. For example, to fetch the enrolment time of a user for a course we can use `$course->pivot->created_at`,
But I like to rename the pivot word with something meaningful for my application. For example in this case I want to name it as enrolment so I can access it as `$course->enrolment->created_at`.
Here is an example code showing how we can rename the pivot attribute to enrolment.
#laravel #php
Dev Kandil👨💻 retweeted
🇮🇱 Hostages
🇵🇸 Prisoners
🇮🇱 Soldiers
🇵🇸 Terrorists
🇮🇱 Killed
🇵🇸 Dead
🇮🇱 Civilians
🇵🇸 Human shields
🇮🇱 Innocent victims
🇵🇸 Collateral damage
حرفياً دا الي قفلها من جميع النواحي
استشهد وهو بيجاهد وبيدافع عن ارضه وعرضه وماله
وكمان ساجد !!!
اللهم إنا نسألك حسن الخاتمة والشهادة يارب العالمين
Dev Kandil👨💻 retweeted
عمليه استشهاديه نوعيه مجاهدين استولوا على مدرعه صهيونيه للتمويه وقاموا بتفخيخها وتفجيرها في جمع دبابات
#غزه_تقاوم_وستنتصر #ابو_عبيدة #فلسطين_قضية_الشرفاء #الشهيد_الساجد
#Gaza_Geniocide
Dev Kandil👨💻 retweeted
80 days of total genocide in Gaza..
1,745 massacres, 27,647 martyrs and missing persons, 20,674 martyrs who arrived in hospitals, 8,500 martyrs of children, 6,300 martyrs of women, 311 martyrs of medical personnel, 40 martyrs of civil defense, 103 martyrs of journalists..
Dev Kandil👨💻 retweeted
💔🇵🇸 A doctor tried to save a little girl's life in Gaza, but it was too late.
Dev Kandil👨💻 retweeted
Day 61
We are supposed to go on without showing emotions or expressing how we feel about this genocide
This is the Palestinian life
We are still alive and we will never leave this land for them
























