finally the justification I needed to get back to arguing with people on the internet
finally the justification I needed to get back to arguing with people on the internet
indeed
whoever at Google owns fanout-testing@google.com Google Group, I don't think you meant to send that message π
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.
*I meant `.container div` (descendant selector)
oops meant `.container div`
Working on it!
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
5 years at @discord.com as of today! π₯³
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.
If youβre a React Native expert and want to help us make @discord.com better, hit me up π€ weβre looking!
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 β€οΈ
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)
ouch, Iβll make sure that gets fixed.
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
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 β¨
Whoever did the lighting in Kingdom Come II deserves whatever the award for really good lighting is
did a human right this
Life magazine cover with a photo of Jesus Christ that says JESUS, who do you say that I am?β
angry guy with amnesia:
$500 pack of cards casually sitting on the shelf π«£
Not the Canada commercial lmaoooooo
my wife said βI think they can make a comebackβ two seconds before that last interception. Sorry about that (or youβre welcome)
screenshot of x.com showing the @aweary account; the page says "This account doesn't exist"
long overdue, but I did it π«‘
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
hearing a lot of good things about TikTok recently, downloading it to see what all the fuss is about π
[as the Xenomorph extends its inner jaw to kill me]: oooooo big stretch!
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