Junior Software Engineer

Minya, EG
David Safwat retweeted
323
4,742
31,553
2,113,425
David Safwat retweeted
Achievement Unlocked.
49
41
1,812
96,848
David Safwat retweeted
How to use Next.js metadata if the page is a client component
29
81
1,090
91,622
David Safwat retweeted
❤️ Thanks everyone for your support and love! Last month I got interviewed by police for 4 days after arriving in Paris. I was told I may be personally responsible for other people’s illegal use of Telegram, because the French authorities didn’t receive responses from Telegram. This was surprising for several reasons: 1. Telegram has an official representative in the EU that accepts and replies to EU requests. Its email address has been publicly available for anyone in the EU who googles “Telegram EU address for law enforcement”. 2. The French authorities had numerous ways to reach me to request assistance. As a French citizen, I was a frequent guest at the French consulate in Dubai. A while ago, when asked, I personally helped them establish a hotline with Telegram to deal with the threat of terrorism in France. 3. If a country is unhappy with an internet service, the established practice is to start a legal action against the service itself. Using laws from the pre-smartphone era to charge a CEO with crimes committed by third parties on the platform he manages is a simplistic approach. Building technology is hard enough as it is. No innovator will ever build new tools if they know they can be personally held responsible for potential abuse of those tools. Establishing the right balance between privacy and security is not easy. You have to reconcile privacy laws with law enforcement requirements, and local laws with EU laws. You have to take into account technological limitations. As a platform, you want your processes to be consistent globally, while also ensuring they are not abused in countries with weak rule of law. We’ve been committed to engaging with regulators to find the right balance. Yes, we stand by our principles: our experience is shaped by our mission to protect our users in authoritarian regimes. But we’ve always been open to dialogue. Sometimes we can’t agree with a country’s regulator on the right balance between privacy and security. In those cases, we are ready to leave that country. We've done it many times. When Russia demanded we hand over “encryption keys” to enable surveillance, we refused — and Telegram got banned in Russia. When Iran demanded we block channels of peaceful protesters, we refused — and Telegram got banned in Iran. We are prepared to leave markets that aren’t compatible with our principles, because we are not doing this for money. We are driven by the intention to bring good and defend the basic rights of people, particularly in places where these rights are violated. All of that does not mean Telegram is perfect. Even the fact that authorities could be confused by where to send requests is something that we should improve. But the claims in some media that Telegram is some sort of anarchic paradise are absolutely untrue. We take down millions of harmful posts and channels every day. We publish daily transparency reports. We have direct hotlines with NGOs to process urgent moderation requests faster. However, we hear voices saying that it’s not enough. Telegram’s abrupt increase in user count to 950M caused growing pains that made it easier for criminals to abuse our platform. That’s why I made it my personal goal to ensure we significantly improve things in this regard. We’ve already started that process internally, and I will share more details on our progress with you very soon. I hope that the events of August will result in making Telegram — and the social networking industry as a whole — safer and stronger. Thanks again for your love and memes 🙏
4,347
11,907
83,264
4,110,476
David Safwat retweeted
Postgres just got even faster Like most databases, Postgres work with fixed size pages. Those pages are 8K in size, each page will have the rows, or index tuples and a fixed header. The pages are just bytes in files and they are read and cached in the buffer pool. If a table has 100 pages, to do a full table scan, we would be making close to 100 system read calls, taking kernel read-ahead in to consideration. Postgres 17 now combines I/Os to retrieve multiple pages at once. This leads to fewer system calls and lower read latency. Watch my full coverage in this video Postgres just got even faster piped.video/1KzcJXNSzgE If you prefer audio, listen to the podcast open.spotify.com/show/55pPBm…
8
90
723
39,903
David Safwat retweeted
"A theory in natural science cannot be without experimental foundations; physics, in particular, comes from experimental work." - Co-discoverer of the J/psi particle, Samuel C.C. Ting. Photo: Ting with his research team at Brookhaven Laboratory.
14
97
500
David Safwat retweeted
Why do astronauts use linux? because you can't open windows in space.
115
1,238
6,799
David Safwat retweeted
📘 New Guide: Centering in CSS I wrote a visual guide about centering in CSS. I explained how it works for different element types and techniques. Happy learning! Hint: you can choose your favorite plate, or none, if you're on a diet 😉 🔗 ishadeed.com/article/learn-c…
11
217
852
David Safwat retweeted
How slick :is(this CSS!?) 😏 removes the margins on all headers with a `.tight` class h1.tight, h2.tight....... 🤢 :is(h1,h2).tight { 🤓 }
34
398
2,389
David Safwat retweeted
HTTP/3 is finally happening! Last week: Cloudflare begins emailing users that H3 will be automatically enabled starting this month. Today: Chrome Stable at 25% rollout! blog.chromium.org/2020/10/ch…
10
277
763
David Safwat retweeted
دة كتاب JavaScript للناس اللي معندهاش صبر كتير وتقدر تقراه Online مجانا مؤلف الكتاب مخليه مجانا على الموقع exploringjs.com/impatient-js…
6
41
221
David Safwat retweeted
`inputmode` on HTML elements. 🙈👇 #devsheets 🔗 MDN: developer.mozilla.org/en-US/…
11
497
1,894
David Safwat retweeted
I'm beyond excited to share with you that "Laravel Queues in Action" is now available! 🚀 Learn how to utilize the power of queues to make your applications faster & more reliable while reducing costs. Thanks for your support 🤗 & hope you like it! learn-laravel-queues.com
66
201
777
David Safwat retweeted
Junior developer: my code works this time Senior developer: my code should work this time
24
129
1,380
David Safwat retweeted
CSS variables
42
988
4,632
#colours according to women,men,dog and #coders 😂
14
22
107
David Safwat retweeted
Bob every day: It's not working, I hate programming! I hate programming I hate programming I hate programming *It works* I love programming♥️ PS: I am Bob, Bob is me :) #programming #Python #javascript #webdev #CodeNewbies
37
162
899