Dark mode sounds simple. Then you add user preferences, animations, and browser history.
Turns out the bfcache (back-forward cache) restores old snapshots—including the wrong theme. Even Ars Technica has this bug.
https://t.co/JZ7HdUUFhN
BREAKING: Tulsi Gabbard: “Edward Snowden broke the law... But he also released information that exposed egregious, illegal, and unconstitutional programs that are happening within our government that led to serious reforms that Congress undertook.”
After 22 million views and thousands of death threats, I felt like I needed to take this post down for my own mental health.
This trailer was an EXPERIMENT to show my 300 friends on X how far we've coming in 16 months.
I'm putting it back up to keep the conversation going. 🧵
These images came from a thread on our slack comparing Peacock from 1+ year ago with what we have in production now. I'll let the images do the talking
Man, I sort of saw it coming but bummed that @slashfilm has been overhauled into a click-batey site full of top-10 lists. I have to wonder if this is why @Slashfilmcast is distancing themselves. That's likely stupid speculation on my behalf but glad they did either way.
Hot take: Optional chaining encourages writing brittle code.
Example (currently a stage 1 JS feature):
const data = myObj?.firstProp?.secondProp?.actualData
Instead, normalize object structures at the time of creation (in JS apps, that often means in API call response handler)
@LeaVerou@mavoweb Hey Lea, I think one thing you wrote isn't true (or it depends on the browser or if you're using TS). Try it for yourself: `var user; user?.username.toLowerCase()`. This does work!