Lea Verou Profile picture
@leaverou@front-end.social / @w3ctag member, HCI @MIT_CSAIL, @CSSWG IE, @CSSSecretsBook author. Made @prismjs. I ♥ standards, code, design, UX, life! she/her
Carol McKay Profile picture Vergil Iliescu Profile picture 2 subscribed
Mar 6, 2023 8 tweets 3 min read
A FOSS tale in 3 acts

Act 1:

Maintainer of popular project from large company (name rhymes with froogle) opens a bug report on one of my smaller libraries, mentioning their project is considering using my lib.

Yay, great news! 🎉Love my code being used on larger tools! Act 2:

Said maintainer sends huge PR fixing that bug plus changing ALL THE THINGS. Some bugfixes, some just to introduce different tooling.

Yay, great news! 🎉 They want to contribute back! Screenshot from Github PR UI showing 30 files changed, 9,102
Sep 15, 2020 6 tweets 2 min read
Developer priorities throughout their career Image PS: Very impressed with @excalidraw! I was able to make this in like 10 minutes!

PS2: This was 2 weeks ago. My laptop broke down soon after, and spent all this time in service. I found this chart when I opened it back up, it gave me a smile, and I realized I never posted it. 😊
Jul 30, 2020 4 tweets 1 min read
Cool #JS algorithm problem that came up in my #WebAlmanac code:

You have an array of unordered DOM nodes. You want to put them in a JSON object that follows their relative containment relationships:

[{element: Node, inside: [{element, inside: […]}, …]}, …]

How do you do it? Will post my solution tomorrow (unless someone else posts the same one)!
Jul 22, 2020 9 tweets 3 min read
I love using @GitHubDesktop and if you think it’s only for novices who aren't comfortable with the Terminal, you are missing out.

Thread 👇 1. My top favorite feature of all time: Being able to select individual lines or changes to commit by clicking.
Incredibly useful for splitting commits into meaningful chunks and leaving debug code out! Image
Jul 17, 2020 4 tweets 2 min read
A story in three acts. 👇

I was drafting a new blog post and suddenly, characters started being deleted, as if Backspace was pressed. I recently got my keyboard replaced, so I wondered if it was a glitch of the new keyboard, so I pressed backspace a few times to get it unstuck. But characters kept getting deleted. Then I started getting 1111 and ]]]] and {{}}} in my text, as well as more deleted characters.
It was as if someone else was controlling my keyboard!!
I started to panic.
“Am I getting hacked?!” 😱
I switched to another tab, but it continued.
Jun 3, 2020 4 tweets 2 min read
Achievement unlocked: A mini documentary about my life has been published! Whoa. 😳😊

This February, I got an email that a German company, @honeypotio wanted to film a mini documentary about about my life & career path. I thought it sounded fun, so I said yes. Today it's out! Thank you Guillermo López for flying all the way to freezing Boston in February to tirelessly film this over 3 days and then spend three months editing it. It was a one of a kind experience for me, and I love the result (except how nervous I sound but alas). I'm glad I said yes!
May 8, 2020 4 tweets 2 min read
So funny how the Web goes in circles.
Years ago, we were using images for solid colors, because browsers didn't support transparency. I even wrote a PHP script to generate them in 2009. [1]
Now we're using images for colors again, to go beyond sRGB!

[1]: lea.verou.me/2009/02/bullet… And it just dawned on me that a lot of folks doing web dev today have never known those struggles. They won't remember when IE6 wouldn't render semi-transparent PNGs and we had to use proprietary .htc scripts to fix it.

christopher.org/png-transparen…
Mar 14, 2020 4 tweets 4 min read
@SupratikFstDev @istevkovski @florinpop1705 Please read the article you’re sharing beyond the headline. @codepo8 is not making the point you think he’s making. @SupratikFstDev @istevkovski @florinpop1705 @codepo8 To declare whether CSS is a programming language or not one first needs to define what a programming language is. Many tend to think of programming as exclusively imperative languages, but declarative, reactive, domain specific languages such as CSS can be seen as programming too
Sep 24, 2019 6 tweets 1 min read
What is it with most parents of older children and their bizarre compulsion to convince you that your life is soon ending?!
(Thread 👇) Early in my pregnancy they would warn me that late pregnancy is insufferable. I loved every moment of it.
Jul 2, 2019 5 tweets 2 min read
Today is my due date 🤰🏽, so a friend sent me heartfelt wishes for "the beautiful gift I'll be taking home today 👶🏼". I said I doubt she's gonna come today, and his response was "Oh dear, is something wrong?".
Turns out he thought the due date is a precise prediction!!
(thread 👇) I thought everyone knew it was very approximate, even if they didn't realize the full extent of how fuzzy due dates are.
So here is your TIL people.
Take a look at this probability distribution for a due date of e.g. Oct 2 (pictured) from @datayze: datayze.com/labor-probabil… Image
Mar 9, 2019 6 tweets 2 min read
Crazy idea: Wanna help us name our baby?
Of course, chances are we won't use any of the names suggested, this is completely non-binding, but who knows, with so many cultures, the perfect name may be among your tweets!
Crowdsourcing works well in other things! 😛
Rules below! 👇 1. You may recall I nearly died in late October and spent days in the ICU. I was actually 4 weeks then & was told I'd likely miscarry. Nevertheless, she persisted. 😊
So we're looking for a name that means something like tenacious, persistent, strong, brave, fearless, fighter etc
Oct 27, 2018 18 tweets 7 min read
Very frustrated @Iberia right now. I was emergency hospitalized in Lyon on Monday night and nearly died twice, and they are making @svgeesus and I run through crazy, nerve-wracking hoops to change our flights back home that were originally scheduled for Sunday at 7am. First, I tweet to @Iberia_en, I get back a template response. Ok, I guess not every company offers actual support over Twitter. Chris calls them. They claim they can’t change the flight over he phone (?!?) and give us an email to send documentation for my hospital stay.
Sep 13, 2018 6 tweets 3 min read
Now that conic gradients are finally implemented & shipped after my pushing for 7 years, I see articles popping up about how to use them to make pie charts and other patterns, as if it's new. No citation of prior work. I wonder, is that what erasure is?
Thread 👇 Hard stops were some of the very first use cases of conic-gradients when I wrote the first spec draft in 2011: lea.verou.me/specs/conical-…
I was using hard stops with other gradient types to make patterns, in 2010: lea.verou.me/2010/12/checke…
lea.verou.me/2011/04/css3-p…