• 1 Post
  • 570 Comments
Joined 3 years ago
cake
Cake day: July 3rd, 2023

help-circle


  • The worst is when people don’t know how the system works, and then won’t listen to answers

    Like I was at a job and product was going on about “our system has no concept of project owner. We have all these projects but there’s nothing unifying them under a single owner. We need to build this!”

    I was like “… what? That’s just not true. There’s a “company” object that does that. It’s got a foreign key with project in the database. I guess it’s a weird name but it’s there”

    It took several back and forths over multiple meetings. They eventually got on the same page and I saved us doing a whole useless project, but they did insist I rename it to “account” in the database and code. I would’ve rather left it because that could’ve been dicey, but alas. (The rename did go out fine, but I had to go looking for every reference.)




  • Yes! I usually take any opportunity to gush about Fate but I restrained myself here

    The main weakness of Fate is you need more engaged players. Stuff like DND can mostly hum along with passive players, but Fate falls really flat if people aren’t engaging with it.


  • On player training, I like systems where you can bribe players to let bad things happen.

    Like in vampire: the requiem, a player can always turn a regular failure into a Dramatic Failure, and get a little XP. This meant the players went from “oh no the cave is probably full of monsters let’s take forever stressing” to “I ROLLED GARBAGE CAN I JUST BARGE IN LIKE A CONFIDENT IDIOT FOR MY DRAMATIC FAILURE?”

    Tastes vary, but I found it made a more interesting and snappier game.







  • I’ve seen some garbage slide through code reviews. Most people don’t do them well.

    I’m doing contract work at a big multinational company, and I saw a syntax error slide through code review the other day. Just, like, too many parenthesis, the function literally wouldn’t work. (No, they don’t have automated unit tests or CI/CD. Yes, that’s insane. No, I don’t have any power to fix that, but I am trying anyway). It’s not hard to imagine something more subtle like a memory leak getting through.

    In my experience, people don’t want to say “I think this is all a bad idea” if you have a large code review. A couple years ago, a guy went off and wrote a whole DSL for a task. Technically, it’s pretty impressive. It was, however, in my opinion, wholly unnecessary for the task at hand. I objected to this and suggested we stick with the serviceable, supported, and interoperable approach we had. The team decided to just move forward with his solution, because he’d spent time on it and it was ready to go. So I can definitely see a bunch of people not wanting to make waves and just signing off on something big.





  • There was a website where users could request something or other, like a PDF report. Users had a limited number of tokens per month.

    The client would make a call to the backend and say how many tokens it was spending. The backend would then update their total, make the PDF, and send it.

    Except this is stupid. First of all, if you told it you were spending -1 tokens, it would happily accept this and give you a free token along with your report.

    Second of all, why is the client sending that at all? The client should just ask and the backend should figure out if they have enough credit or not.