Using mocks as your main testing strategy is not really a valid testing strategy. Being confident in your code at a unit level should be a requirement to using mocks at all. And even then, sparingly, if ever.
It's tricky. If a team sees a bunch of tests of a certain type, they're much more likely to replicate that strategy again and again as new code is written. Be vigilant. Communicate.
@erkattak i’ve never found a good general-purpose rule for when to use mocks. the best i got is, “mocks are bad, but sometimes necessary”. unfortunately it takes a lot of wisdom to know which case you’re in. phrasing it as unit vs not is interesting, but i’m not convinced it’s also ways so clear
Google's Sundar Pichai talked to me about AI, search, and the web on Decoder. It got very deep, and he sighed at me more than a few times as we dug into the incentives Google creates, but he stuck it out for 40 minutes.
@reckless1280@jcrabapple my hot take is that Sundar makes a lot of sense, imho. there were a couple places where his answer wasn’t great, but in general i think it makes sense. when you run a 2-sided marketplace, you can’t always make both sides happy. they’re choosing to prioritize end users. in late stage enshittification, the group of sellers is prioritized, so in a lot of ways, this is a reversal of enshittification
this is in reference to super-alignment & safety, but my cousin also had her DEI team disbanded and “distributed” in the same way
on the surface, i think safety, DEI, and similar topics should be embedded in the culture and not centralized into a specific team. centralization would cause people to say, “oh that’s not my job”.
then again, any time a centralized team is disbanded, my immediate thought is, “apparently safety/DEI/etc. doesn’t matter to this company”. it’s a paradox, i suppose
@TEG yeah, security is another one. but security is hard and you typically need dedicated team just to host security professionals. someone needs to act as a bar raiser in order to maintain the culture…
Anytime English speakers talk about the Nordics having long weird words, I remind them of the word "Defenestration" (the act of throwing someone out of a window)
I’ve never understood this compulsion by some to display the ten commandments in schools.
Heck, I attended a parochial Jewish elementary school and I do not remember them being displayed there! And that’s despite the fact that representations of the Ten Commandments are a very common iconography in the main sanctuary of Jewish synagogues.
@norootcause you’d think they’d be pushing for the fruits of the spirit instead, given they’re Christian: love, joy, peace, patience, kindness, faithfulness, gentleness, and self-control
yesterday while trail running i came across this fallen tree. it looks like a thick vine wrapped and choked the life out of it, and the storm this weekend finally took it out. i couldn’t easily identify the vine, but whatever
this morning i wake up and i’m breaking tf out with what sure looks like poison ivy rashes.
i came back, and identified the vine as, yep, poison ivy. thick woody 1/3” vines up and down the full tree
follow-up: i’ve had a severe case of poison ivy since this. my immune system has been in overload, i’ve been sleeping 10-11 hours per night, plus afternoon naps. benedryl + zertec + ibuprofen. i got some antibiotics from the doctor because some blisters on my ankle are getting infected.
TIL poison ivy in the tree tops is the worst kind of poison ivy. Stay clear of downed trees!
@sashawood i actually asked to not have prednisone, bc i didn’t like the reactions i’ve had in the past, and i’m actually managing the symptoms okay with my OTC cocktail
Can anybody point me to a good deep dive on the mastodon database schema? Preferably with explanations where necessary? Yes I know how to go look at the mastodon docs and code. I’m doing that. I’m also looking for more of a guide to wrap my head around things.