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

help-circle






  • I wouldn’t do it based on join time. Age doesn’t always map to quality, and it might encourage people to make sleeper accounts to age up.

    I would do it based on a graph of trust.

    Let’s say you’re user 0. You trust yourself. You can then invite or vouch for a user. If they misbehave, it should reflect badly on you. If they post good content, you should share some of the glory. If one of those users invites someone, the good and bad flow upstream.

    People no one has vouched for have very little power. You can filter them out with a toggle.

    You’d be able to see the web of behavior. If someone keeps inviting or endorsing assholes, then they’re a problem.

    Endorsing is different than upvote. You can upvote whatever, but endorsing is saying you trust this person and you’re willing to put your own reputation and access on the line.

    Something like that.



  • 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.





  • 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.