• 0 Posts
  • 155 Comments
Joined 5 months ago
cake
Cake day: February 22nd, 2026

help-circle

  • I had an interview a few weeks ago (one of like 3 this year) where it was revealed they still write these.

    They asked how we kept all the stuff organized at my last job. All the cucumber stuff. I said we just kept the tests next to the file they’re testing- foo.py has a sibling test_foo.py- and we didn’t find much value in adding extra layers. If you want to test the API returns 403 when you request another user’s file, you can just write like

    
    def test_403_when_requesting_other_user_file() -> None:
      response = requests.get("whatever/etc")
      assert response.status_code == 403
    

    You can be pretty to the point.

    We used docstrings to explain non-obvious things. Swagger shows the API docs in a nice webpage for anyone curious and authorized.

    He wasn’t impressed and I didn’t make it to the next round.


  • Many people operate primarily on the emotional level. That’s a polite way of saying they’re stupid. Idiots. Like a child who’d rather have 4 shiny pennies than one tiny dime.

    If we’re not going to round them up (which, give me the infinity gauntlet and…) then we need to appeal to their idiot emotions. Find something they consider in-group, and frame whatever reasonable policy they’re opposing so their benefits are foregrounded.





  • Every day I’m a little surprised there’s no news story of some workers beating their “no, you have to come into the office” manager to death. They’ve got means, motive, and opportunity, and it’s extra funny because if they’d been allowed to work at home they wouldn’t have at least two of those.

    But really we’re ruled by the worst of us. Cowards and fools.

    Maybe unionizing is safer than hitting the decision makers with an office chair while screaming “you made this possible” until they can’t even cry anymore.



  • I wonder about this a lot, too!

    Some cursory searching shows a variety of causes. Maybe from a young age they were repeatedly taught that being wrong made them bad and stupid and unworthy of love, and that’s deeply wound around their subconscious now.

    It’d be just sad if it wasn’t causing incalculable harm to society.

    Some people have such a fragile ego, such brittle self-esteem, such a weak “psychological constitution,” that admitting they made a mistake or that they were wrong is fundamentally too threatening for their egos to tolerate. Accepting they were wrong, absorbing that reality, would be so psychologically shattering that their defense mechanisms do something remarkable to avoid doing so—they literally distort their perception of reality to make it (reality) less threatening. Their defense mechanisms protect their fragile ego by changing the very facts in their mind, so they are no longer wrong or culpable.

    https://www.psychologytoday.com/us/blog/the-squeaky-wheel/201811/why-some-people-will-never-admit-that-theyre-wrong

    :shrug: