Hi, I'm Youssef and I'm a member of the technical staff at Microsoft AI based in the SF bay area. I've previously worked at Color, Palantir, and Inflection AI. These are the long-form chronicles of my adventures building software.
Animating a progress bar with CSS scroll-driven animations
December 31, 2023 · 3 min readScroll-driven animations are an exciting new addition to CSS. In this post, we build a scroll-linked progress bar that fills up as you scroll down the page.Transferring cookies from one domain to another
November 14, 2023 · 4 min readMigrating session cookies from one domain to another is trickier than it seems. In this post, I explore how we approached this problem at Inflection AI.Async iteration of Server-sent events with stream-event-source
October 21, 2023 · 2 min readAsynchronous iteration seems especially well suited for Server-sent events. In this post, we introduce a new npm package for reading SSEs through the async iteration protocol.Solving Django race conditions with select_for_update and optimistic updates
January 12, 2023 · 8 min readIf you're running Django at scale, you're bound to run into race conditions sooner or later. In this blog post, we explore two different methods of solving a common class of race conditions: select_for_update and optimistic updates.Writing Python in VS Code just got a whole lot better
December 11, 2022 · 3 min readDeveloping Python applications in VS Code just got a lot better this week with the release of Pylance version 2022.12.21. It introduces a new option that lets you auto import user symbols, saving you time and reducing interruptions to your flow.