Brandon Dail's Avatar

Brandon Dail

@brandondail.com

Staff Engineer at Discord working on Design Systems, Accessibility, Other Stuffℒ️ Collage & generative plotter artist πŸ‘‹

4,987
Followers
392
Following
126
Posts
09.04.2023
Joined
Posts Following

Latest posts by Brandon Dail @brandondail.com

finally the justification I needed to get back to arguing with people on the internet

17.02.2026 05:42 πŸ‘ 13 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

indeed

30.01.2026 19:44 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

whoever at Google owns fanout-testing@google.com Google Group, I don't think you meant to send that message πŸ™ˆ

30.01.2026 01:49 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

yeah they are right to left, but it doesn't find all the divs, it has a div its rendering and iterates through the rules RTL to see what applies. So imagine its walking the DOM and checking styles for each element, not walking the stylesheet and checking the DOM for each rule.

28.01.2026 01:17 πŸ‘ 9 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

*I meant `.container div` (descendant selector)

27.01.2026 21:45 πŸ‘ 13 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

oops meant `.container div`

27.01.2026 21:38 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Working on it!

27.01.2026 19:59 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Two screenshots from Chrome DevTools side-by-side. On the left it says "Before" and shows that rendering took 1518 milliseconds. On the right it says "After" and shows that rendering took 610 milliseconds.

Two screenshots from Chrome DevTools side-by-side. On the left it says "Before" and shows that rendering took 1518 milliseconds. On the right it says "After" and shows that rendering took 610 milliseconds.

Here's your friendly reminder that CSS selectors are global and evaluated RTL, so if you have selectors that are very broad like `.container > div` you might be impacting performance in a measurable way πŸ™ˆ

Before and after profile of server switching after some selector optimizations in @discord.com

27.01.2026 16:41 πŸ‘ 165 πŸ” 18 πŸ’¬ 12 πŸ“Œ 0

5 years at @discord.com as of today! πŸ₯³

14.07.2025 22:13 πŸ‘ 18 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Ex-farm worker here.

We need to talk about this whole "But a living wage for farm workers would spike the cost of food!" thing.

Not true AT ALL.

Y'all don't understand how fast experienced farm workers are.

The average tomato picker pulls 650lbs per hour.

At $20/hr, that's $0.03/lb for labor.

13.07.2025 20:03 πŸ‘ 20301 πŸ” 6203 πŸ’¬ 516 πŸ“Œ 475

If you’re a React Native expert and want to help us make @discord.com better, hit me up πŸ€™ we’re looking!

18.06.2025 04:20 πŸ‘ 18 πŸ” 3 πŸ’¬ 6 πŸ“Œ 0
A newborn baby hand resting on top of a man’s middle finger, as if they were holding hands

A newborn baby hand resting on top of a man’s middle finger, as if they were holding hands

had a daughter the other day, we’re big fans ❀️

15.04.2025 02:21 πŸ‘ 88 πŸ” 0 πŸ’¬ 10 πŸ“Œ 0

what are you measuring the contrast of? Ash is 9.49:1 for the chat text, which is lower than the others to approximately match the original dark theme (which is 9.36:1)

30.03.2025 13:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

ouch, I’ll make sure that gets fixed.

30.03.2025 13:07 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
yaml code that reads:

# text-secondary.yaml
type: text
constraints:
  scale: neutral
  contrast: 6
  with: background-surface-highest

yaml code that reads: # text-secondary.yaml type: text constraints: scale: neutral contrast: 6 with: background-surface-highest

for example, text-secondary here is defined in terms of a contrast ratio with a background token. This defines the color across all themes; no hand picked colors! that bg token is also defined using a contrast constraint.

If anything in the constraint dep graph changes, it propagates automatically

26.03.2025 01:23 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
Revamped Overlay & Refreshed Desktop Give Game Time a Boost We’re releasing a new and improved version of the Game Overlay, along with a refreshed desktop app so you can further customize Discord to your style.

we (@discord.com) rewrote our color token system to support these new themes, and its exciting πŸ‘€

in short: color tokens are defined using a constraint-based system where colors are defined with contrast ratios.

change a base color and all affected tokens update in all themes, preserving contrast ✨

26.03.2025 01:19 πŸ‘ 21 πŸ” 3 πŸ’¬ 2 πŸ“Œ 0

Whoever did the lighting in Kingdom Come II deserves whatever the award for really good lighting is

12.02.2025 14:19 πŸ‘ 6 πŸ” 1 πŸ’¬ 2 πŸ“Œ 0

did a human right this

12.02.2025 14:18 πŸ‘ 6 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Life magazine cover with a photo of Jesus Christ that says JESUS, who do you say that I am?”

Life magazine cover with a photo of Jesus Christ that says JESUS, who do you say that I am?”

angry guy with amnesia:

11.02.2025 14:49 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image Post image

$500 pack of cards casually sitting on the shelf 🫣

10.02.2025 01:52 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Not the Canada commercial lmaoooooo

10.02.2025 01:18 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

my wife said β€œI think they can make a comeback” two seconds before that last interception. Sorry about that (or you’re welcome)

10.02.2025 01:07 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
screenshot of x.com showing the @aweary account; the page says "This account doesn't exist"

screenshot of x.com showing the @aweary account; the page says "This account doesn't exist"

long overdue, but I did it 🫑

09.02.2025 21:18 πŸ‘ 46 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

Somehow "Elon Musk Is a Genius" and "Elon Musk Doesn't Know How Hands Work" are being said by a lot of the same people

21.01.2025 06:46 πŸ‘ 9220 πŸ” 1667 πŸ’¬ 90 πŸ“Œ 26

hearing a lot of good things about TikTok recently, downloading it to see what all the fuss is about πŸ™

19.01.2025 00:56 πŸ‘ 17 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

[as the Xenomorph extends its inner jaw to kill me]: oooooo big stretch!

16.01.2025 14:31 πŸ‘ 11 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

In the meantime, as a reader: don’t trust any articles attributed to β€œstaff,” and don’t trust any articles that don’t include quotes from scientists completely uninvolved in the original publication. Science is a gradual, meandering, back and forth process; sometimes we have to let it play out.

27.12.2024 14:59 πŸ‘ 140 πŸ” 16 πŸ’¬ 2 πŸ“Œ 3

Which brings us to the scicomm point: we gotta get better at distinguishing between β€œhere’s someone’s speculative idea that they just published” and β€œhere’s a new discovery.” This is the former.

27.12.2024 14:52 πŸ‘ 99 πŸ” 12 πŸ’¬ 2 πŸ“Œ 1
Video thumbnail

What does it mean for something to be Turing complete?

I answer this question, and more, through a series of fully interactive Turing machine simulations! Play, pause, step forwards and backwards, and even write your own Turing machine programs in my latest blog post.

samwho.dev/turing-machi...

20.12.2024 22:33 πŸ‘ 528 πŸ” 159 πŸ’¬ 23 πŸ“Œ 36

the worst part about being a parent is that even the most cookie-cutter, clichΓ©d story can make you cry if it happens to be about kids or parenting

it’s like a cheat code the world uses on you that you can’t disable

20.12.2024 13:48 πŸ‘ 14 πŸ” 1 πŸ’¬ 3 πŸ“Œ 0