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

help-circle
  • I’ve been pushing to add some basic checks on PR, and people are reluctant. There’s one repo that I’m code owner on so I spent the like 15 minutes to apply a code formatter and add a GitHub action to check. But on the main repo people are dragging their heels. I’m like just pick ruff or black and do it. It’s going to take like 10 minutes. I’m not asking for us to go crazy and add automated tests right now, but can we at least get something to verify the python code is syntactically correct?

    The other day something went through code review until I looked at it and saw there was an extra (, and that shit wouldn’t even run. I’m like please please add an automated check. I’ll do it. Please.

    I think a lot of people just aren’t familiar with how other places do software. This is the same place that was ssh’ing into prod and making changes right on the machine until like this month.



  • I’m kind of bummed no one at my job really does code reviews seriously. I don’t really get any feedback, so it’s hard to improve.

    That’s also probably why the older code is an idiosyncratic mess of mutations and "oh yeah you need this config file that’s not in source control " and “oh sorry I guess I hard coded that file path, huh?”


  • People don’t really like change.

    Think about free public libraries. They’re fairly popular, and not controversial outside of fringe libertarian types and assholes. People like that you can borrow books and other media for free. Usually there’s a bit of a backlash if there’s a movement to shut down libraries or limit their services.

    Imagine if free public libraries didn’t exist, and someone tried to invent them today. People would be having screaming fits about communism. It’s stealing from the authors. it’s ruining publishing. We don’t need tax dollars for this when we have amazon. Blah blah blah.

    It’s the same with other things we could socialize. health care is a privatized nightmare. If we somehow got a public option in, eventually people would start reflexively defending it.

    So what I’m saying is many people don’t really have a set of internally consistent beliefs. They just don’t like change.


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






  • One of my jobs went to microservices. Not really sure why. They had daily active users in the thousands, maybe. But it meant we spent a lot of time on inter-service communication, plus local development and testing got a lot more complicated.

    But before that, it was a single API written in Go by an intern, so maybe it was an improvement.









  • Do you actually do work or are you one of those middle-men that add dubious value?

    And, like, do you think I can read my coworker’s screen from across the room and be like “Ah yes, that is TransferProjectView.py. I should tell him that I am also planning on touching that file”?

    And adults can learn to explicitly communicate. It’s not impossible. You just type into the box.



  • It’s frustrating because management are so colossally, transparently, stupid but they get the big paychecks and the workers get fucked. And then like half the workers sit there going “Well this is just and fair. this is a good world. If the people actually doing the work had more of a say, that’s communism and thus axiomatically bad”