Brandon Dail

@brandondail.com

Staff Engineer at Discord working on Design Systems, Accessibility, Other Stuff™️ Collage & generative plotter artist 👋

In my audits, reading the Performance profile is where people get stuck: the flame chart and waterfall look like noise at first I built an interactive guide to make them click, every figure is interactive, plus LCP, CLS, INP and the Insights panel perf.reviews/profile-guide #WebPerf #DevTools

Reading a Performance Profile: Field Guide

An interactive field guide to the Chrome DevTools Performance panel: waterfall, flame chart, LCP, CLS, INP, and the Insights panel.

perf.reviews

It's a shame that generative image models have pursued realism so relentlessly. Reproducing training data is uninteresting and exploitative. The imperfections of early models were genuinely interesting, and will end up being the most artistically interesting artifact of all this in the long term

an image of a beach generated with the low-quality misua-diffusion-one model, which is trained exclusively on public domain/copyright free images

I’m on sabbatical this month, and I’ve been using some of my time to dust off my plotter and get back into my art. This is a CMYK print that’s using a custom algorithm based on waves and circles to layer the colors. Stopped half way through because I liked the vibes ✨

A top-down shot of a 9x12 CMYK plotter print. The print features abstract blue, red, green, and pink colors with a sharp cut-off about 60% down, where there's no blue or green. The top half looks kind of like cactuses that are flowering, and the bottom half kind of looks like lemonade. The close-up shot of the CMK print showing the waves and circles composed together to make a green yellow pink abstract piece

Feels like strongly typed compile-to-JS languages like Reason deserve a resurgence with LLMs. Biggest barrier was learning the new language, which has been heavily reduced, and a fast and strict type system is very valuable for agents

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

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.

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.

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 ✨

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.

discord.com

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.

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.

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...

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

is there any existing research on what the best contrast ratio for readability is? WCAG gives a lower bound but there’s also such a thing as too much contrast so I’m curious if there’s been any formal studies on where the sweet spot is

I try to be as honest as I can with my kids, and sometimes that’s hard to reconcile with the fact that we as a society have decided to collectively lie about a magical, immortal old man who sees you when you’re sleeping and knows when you’re awake