Abed I. retweeted
Ensure your coding agents build apps that are modern, fast, & secure by default → goo.gle/3PcqfGj
We just announced Modern Web Guidance at #GoogleIO. By injecting AI-ready skills and modern features—complete with Baseline Widely Available fallbacks—it ensures your agent keeps up with the latest web features🧵
Abed I. retweeted
75% of developers will fail this SQL question.
What's wrong with this script?
The first time I faced this question, I jumped into the SQL syntax like crazy.
But the syntax was OK; the problem was in the data and related to a concept called Cardinality.
Cardinality refers to the number of unique values in a column relative to a table's total number of rows.
• High Cardinality means the column has many unique values.
• Low Cardinality means the column has few unique values.
Creating an index on a column with low Cardinality is most of the time ineffective because:
1. Low Cardinality means each indexed value points to many rows, reducing the index's ability to narrow down the search.
2. Maintaining an index has a cost of storage and update time. For low cardinality columns, this overhead might outweigh the benefits.
3. Database query optimizers are smart; they know column statistics, including Cardinality. When they detect a low cardinality index, they often ignore it and perform a full table scan instead.
A simple Example
Consider a table "Employees" with 1 million records.
Let's examine indexing on different columns:
• ID: High Cardinality (1 million unique values). An index here would be very effective.
• Name: High Cardinality (many unique names). An index could be helpful in searches.
• Department: Medium Cardinality (10-20 unique values). An index might sometimes be useful but less effective than an ID or Name.
• Gender: Very low cardinality (2-3 unique values). The query optimizer would likely ignore an index here.
When to consider a Low Cardinality column?
There are scenarios where indexing a low cardinality column might be beneficial.
For example, combining low and high cardinality columns can be effective.
'CREATE INDEX idx_dept_emp ON Employees(Department, ID);'
Now you know the basics about Cardinality!
Save this post; it might help in your next interview.
Abed I. retweeted
My books are free to read online:
– Exploring JavaScript (ES2024 edition)
– Deep JavaScript
– Tackling TypeScript
– Shell scripting with Node.js
Retweets appreciated!
exploringjs.com/
Abed I. retweeted
ready to write CSS unit tests for your custom CSS functions?
if we get CSS custom functions, we're going to need to write tests for those functions.
css.oddbird.net/sasslike/mix…
Abed I. retweeted
I am a casualty: NYC COVID cases up 250% in 2 months — and this variant's harder to duck gothamist.com/news/nyc-covid…
24 hours later and it’s worse. 😢 If our cats *in* the house are this adversely affected, I feel sorry for the neighborhood kittens 😭
My god... they couldn't wait a minute into July 4th. The "fireworks" are so intense my cats are absolutely terrified in their own home. We have to find them before we can even comfort them. Terrible.
The article is a good read. Anyone maintaining OSS can look to Storybook for how to manage a product based on both data and its users’ feedback, not to mention the kind of *people* you need to achieve this.
storybook.js.org/blog/state-…
Replying to @storybookjs
So what’s next?
2024 is all about innovating Storybook. Here’s what we’re doing:
📦 Reduce install size + dependencies
🏎️ Simplify setup, maintenance, and upgrading
🧪 Ship new component testing superpowers
Check out the full post below 👇
If 2023 Storybook = industrial cheat code, based on the 2024 Storybook that I know, 2025 Storybook will be like dividing by zero. 🤯 (and I mean that in a good way!)
Replying to @storybookjs
🥁 Drum roll… Storybook usage has grown & opinion held steady in 2023.
We're in the upper right quadrant, alongside React, Jest, Vite, & more.
Abed I. retweeted
500 years ago, a city of skyscrapers was built in the desert — and it's still standing today.
Known as the "Manhattan of the Desert", it's even more densely populated than New York.
And it's a model for urban planning... (thread) 🧵
Abed I. retweeted
Replying to @CAIRNational
Here is the GFM for the family gofundme.com/f/support-a-fam…
Abed I. retweeted
Holy*#%* !!
A woman reportedly attempted to drown two Muslim Palestinian children in a pool in Texas. Our Texas chapter plans to hold a news conference tomorrow to call on law enforcement authorities to investigate the incident as a possible hate crime.
cair.com/press_releases/cair…
The Tech Resume Inside Out book. Devs out of a job can get a complimentary copy. Check it out: thetechresume.com/
Oh snap. If I have a job by then maybe a first trip to Italy is in order.
The word is officially IN and it's gotten very REAL... Or at least it's official. 2Advanced Studios (Co-founders Eric Jordan and Tony Novak) will be speaking at DDD (Digital Design Days) in Milan, Italy, from October 6th-8th. The event expects anywhere up to 5K people, so it promises to be an amazing conference. Tickets are on sale NOW and extra props to the folks at @lusionltd for making a fabulous promo website -- check it: ddd.live/
The job search ghosting is so strong for so long, that when I got an automated rejection today I am as excited as I am… actually I don’t even know the opposing feeling[s] I’m going through, but yeah…
It’s been 3 months since I got one of those from a cold application!
I learned of allow-discrete and started using it in recent weeks.
But @starting-style is new to me.
Abed I. retweeted
Replying to @roprgm @adamsilverhq
Agreed here. A keyboard user could possibly have to go through a lot of pain, literally. Screen reader users… they would have to wait how long every time?
The key to good AX/UX at times isn’t always inherently in the UI pattern, but in allowing choice and personalization.
Yep. I think when I was working on zoojaja, Netflix was using Silverlight at least for their desktop experience. Maybe some ten years ago?
Does anyone else remember the Microsoft Silverlight?
#WebDesignHistory

























