• 0 Posts
  • 426 Comments
Joined 2 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • At one of my old jobs, we had a suite of browser tests that would run on PR. It’d stand up the application, open headless chrome, and click through stuff. This was the final end-to-end test suite to make sure that yes, you can still log in and everything plays nicely together.

    Developers were constantly pinging slack about “why is this test broken??”. Most of the time, the error message would be like “Never found an element matching css selector #whatever” or “Element with css selector #loading-spinner never went away”. There’d be screenshots and logs, and usually when you’d look you’d see like the loading spinner was stuck, and the client had gotten a 400 back from the server because someone broke something.

    We put a giant red box on the CI/CD page explaining what to do. Where to read the traces, reminding them there’s a screenshot, etc. Still got questions.

    I put a giant ascii cat in the test output, right before the error trace, with instructions in a word bubble. People would ping me, “why is this test broken?”. I’d say “What did the cat say?” They’d say “What cat?” And I’d know they hadn’t even looked at the error message.

    There’s a kind of learned helplessness with some developers and tests. It’s weird.


  • Try not to think too hard about how most of the evidence points to shorter work weeks being better on pretty much every metric.

    Or that most of the “return to office” mandates are counter productive cruelty.

    I think I saw an article that claimed most office workers in the UK do like 3 hours of work a day, and the rest is puttering and looking busy.

    Our system is stupid and it’s stuck stupid because of people. It’s not physics. It’s not biology. Like there’s not much you can do to fix like humans need to eat and sleep, but the workday is just made up.







  • No. Your reading of it is unusual, in most contexts. It almost always means “agreement, and I have nothing of substance to add”.

    It can be rude if the thing you’ve said should warrant a substantial response. Like if you wrote “my brother just died in a car wreck”, a thumbs up (or probably any emoji) would be an inappropriate response. Heavier stuff warrants whole words.

    But if it’s like “Can you get cat food at the store? The kind we always get” then a thumbs up is an acceptable shorthand for "yes, I understand and commit to this request "



  • Depends on how it’s set up. If the setting is going into the env it’s a string, so I’d expect some sort of

    if os.getenv("this_variable", "false").lower() == "true":   # or maybe "in true, yes, on, 1" if you want to be weird like yaml
      this_variable = True
    else:
      this_variable = False
    

    Except maybe a little more elegant and not typed on my phone.

    But if the instructions are telling the user to edit the settings directly, like where I wrote this_variable=True, they’d need to case it correctly there.




  • moving mouse targets. Like let’s say you have two pinned items on the start menu, Firefox and steam. You click Firefox and it starts to open. You go to click steam, but Firefox finishes opening and the icon gets bigger. Steam’s icon then moves to the right, so you click where it was but instead just hit Firefox again. It’s stupid.

    Note how Firefox has solved this with tabs. Open a bunch of browser tabs. Enough so they shrink a little. Then rapidly close some, starting from the left. Notice how they don’t change size until you’re done closing tabs.

    Mouse tunnels. Like you click the “File” menu, and then mouse over “New” and a long sub menu opens. Longer than the original File menu. If you mouse directly from the top of File to the bottom of New, your cursor will briefly be outside either menu. This often will cause the entire menu to close. Mouse tunnel. Have to keep the cursor in the tunnel. Annoying.

    Had an old job that insisted this was fine and refused to let me or anyone change the interface to fix it (on a website)

    Focus stealing. Like you’re typing, and some other application pops up and takes focus. The absolute worst is when it pops up and puts focus on a dialogue box, and you just happened to hit “enter”. Instead of adding a new line to your document, you just accepted something. Awful.



  • I’ve been told violence isn’t the answer and we shouldn’t just shoot nazis and nazi enablers dead.

    The way most people change their mind isn’t based on facts or figures, but emotions. Specifically, in-group belonging. For most people, and this certainly includes me and you some of the time, what our in-group believes is more compelling than an out-groups supposed facts.

    They see that guy as someone in their group so they believe him. They see you as a bad outside bad bad bad liar, so nothing you say is likely to get through. (This comic is worth reading on this topic: https://theoatmeal.com/comics/believe )

    If you want to change someone’s mind, they have to see you as in-group. Not necessarily the same group as what you’re arguing with. We all belong to many groups. American, new yorker, white guy, middle aged, yankees fan, etc etc there are many such slices. Like how you can’t get a republican to recycle by appealing to environmental concerns (because environmentalists are out-group, so fuck them), but you might be able to get them to recycle via something like “only american ingenuity can turn trash into bridges and tanks!”

    This takes a lot of time and effort, and if you don’t get them to stop hanging out with the other group, you won’t make any lasting changes.

    So I think you’d need a multi prong approach:

    • Get them off bad media. Facebook, fox news, etc. This is reinforcing their bad beliefs. Because they see this stuff as trustworthy in-group, it goes right into the worldview.
    • Get them to stop hanging out with their shitty maga-hat friends. This is the social in-group that’s reinforcing bad beliefs.
    • Get them to trust you.
    • Gently introduce the idea that maybe the extreme right doesn’t have their interests at heart, etc

    All of which takes a lot of time and effort, and your opposite number is basically trying to do the same thing. Except they have fox news, trump, and such in their corner.

    And, again, I’m told we definitely shouldn’t just shoot extreme right wingers and other nazi sympathizers dead. Nor should we burn their houses down. If we’re an emergency responder, we definitely shouldn’t let them die while thinking to ourselves “they would let so many die. without a thought, their passing deserves no mourning” or similar.

    You should definitely nullify if you’re on a jury and someone allegedly did violence to a shitty ceo or red-hat, though, bu that’s getting off topic.



  • Oh this is a thing that happens, and she might not even be doing it on purpose.

    I was reading a book about how people change their minds, and it mentioned some study of long term belief. Many people who changed their mind about big things like abortion seemingly legitimately could not remember ever having the opposite opinion.

    I think it’s because the ego is fragile, and people don’t like admitting fault.