• 0 Posts
  • 56 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle




  • Only sorta related, but now I have an excuse to tell my anecdote…

    One job ago I had a manager who decided that he would convert some of our helper scripts from bash to Python for reasons. I was new there and so didn’t realize what he was doing, or that he had started the process just as I was going through orientation. However, I ended up being the reviewer for the PR.

    This was the worst Python I had ever seen but in such odd ways and it mostly worked. It almost felt like it was written by someone who knew bash really well but had never learned any other languages, or thought that bash was just so damn good that he wanted to turn every other language into it. For example, instead of using argparse he was manually looping through argv and parsing them one at a time. And instead of using a standard for each in foo loop, there were index variables and while loops. And certainly there were no comprehensions or any understanding of the basic built in data structures other than using lists as arrays.

    So I did a review, assuming that this person was just really new to python and tried to gently coach him towards basic Pythonisms. His response was: “Oh yeah, I just ran them through ChatGPT and assumed it was all ok.”

    I quit about two months later.




  • I moved from IC to full time management this year and I’m struggling with this. I don’t control the money, the most I can do is give a glowing review and argue for my team members to get raises but the budget is not in my hands. I do have a small “team building” budget that I can spend on food and drinks so I take them out for a nice meal as often as I can. What else am I supposed to do?










  • As a point of reference, I built a 32TB Synology last year. I took me an afternoon to get it done, plus set up Plex media server, all the arrs and friends, a backup server and a couple other things. Since then maintenance has consisted of remembering to hit the “update containers” button once a month or so. I should probably automate that part but just haven’t bothered yet.



  • I recently moved, so not as well as at my old house which had solar and a whole house battery. We had several times where we lost grid power for a few days and it was annoying but basically fine. I had to turn off most electronics but we could keep the fridge and other important things going. The oven was gas so and I had a propane grill so cooking was sorted.

    Now I’m in a five plex where everything except the water heater is electric and I don’t have my grill. I do have a small camp stove and a few fuel canisters. Mostly importantly I have a big camping battery and solar setup to run our CPAPs and keep the phones charged, plus a weeks worth of camp foods in our emergency bin. So, we’d be ok enough for a week.

    EDIT: Water isn’t big of an issue as you might think. In most places, municipal water will continue to work for several days from gravity alone, and often has its own backup power systems or is on a different supply from the city. At the old house we also had a backup 55 gallons in a long term storage drum with treatment tablets and a calendar reminder to swap it out on schedule. I never ended up using the water in an emergency but it’s cheap insurance.