@relsqui

205 Followers
75 Following
5.9K Posts

See normally when an algorithm requires The Entire Global Supply Of Ram, a software engineer would consider that not a good algorithm, and would try and make a better one instead of optimising the entire planet for paperclip manufacturing.

Unfortunately we accidentally gave a bad software engineer too much money

@ItsTheManOnTheMoon "don't you persnicket me, young man! I've been persnicketing since before you were born"
we need economic esports that's not the real economy, so people who enjoy being competitive and driven and maximalist can do that without forcing everyone else to play against our will
@csalzman @lmorchard I live here and it still feels like that!
@lmorchard yeah I have a rule that any time I wanna ditch therapy I have to go to therapy and talk about why 😂
@ItsTheManOnTheMoon I wonder how much the ads make, amortized per viewer.
mastodon needs a "I like that you liked that" button

THERE we go, got it

I feel better and worse that it was hard to figure out because it was actually like six different bugs with similar symptoms (and a similar root cause, I just made the same mistake in a bunch of places)

this thought brought to you by strict mode doing its job and fucking my state up, lol

I've been banging my head against it for a couple of days, trying to figure out what I did wrong in this component. finally occurred to me to just reread the docs that explain what strict mode does, why, and how to fix the bugs it exposes.

I'm relieved that my mistake isn't quite basic enough to be in there verbatim, but I have a much clearer idea of where to look now

I am frequently impressed by React's official docs, but today's reason is: I just realized they're good *intermediate* docs. there's usually a huge void in software docs between "newbie setup" and "special advanced topics"! but React has a bunch of clearly written explanations along the lines of "shit you're still getting wrong when you know just enough to be dangerous" and it's such a breath of fresh air.