• Minarble@aussie.zone
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    I’ve heard tell from a primary source that sailed with him that there was a Marine Engineer on a Greek passenger ship that was drunk all the time and basically completely useless except for one task.

    Due to an unfortunate design flaw if one of the sewerage tanks overflowed it filled up the compartment that held the isolation valves to the tanks.

    His only job was to swim into the raw sewage and dive down to the valves and shut off the overflowing tank so it could be pumped out.

  • spittingimage@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    Me.

    My org used to use label printers that would often fail because of one cheap plastic cog that got worn down over time. Replacing the cog meant taking the whole printer apart. My co-workers would send them back to the vendor to have it done, but I enjoyed the work and used to disassemble printers myself to swap the cog.

  • xia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    Apparently no-one wants to write unit tests, but I enjoy it, do it well, and even find it relaxing.

    I’m always confused by my peer’s reluctance and grumbling thereabout, and horrified to see the incomprehensible mess of (often useless) tests they produce in the end.

    • barsquid@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      Wish we had more like you in the industry. It’s a skill to write non-brittle non-trivial tests but surely it’s not actually as difficult as the results indicate?

      • xia@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        I think it rubs people the wrong way because (though it looks like code) in some sense it is not programming… it’s like the negative image of a program… like a mold or specification-box that contains and fits around the code, which reverses several key principles.

        It also can highlight if the code needs to be moved or reorganized, and let me tell you… the LAST thing that devs want is to interpret the struggle to write a unit test as a sign the code needs rework, they would MUCH rather keep unit tests as an after-thought; like some kind of mandated torture-ritual that produces a thing of no value.

        Speaking of not valuing tests… I’ve literally seen devs blithely invert test assertions (that where clearly valid), those that made sense in context, and even some that were PART OF THE TEST’S NAME… just to brush the “meaningless failures” out of their way… as if they could not be bothered to even read one sentence to understand the “why”… uggh.

        Anyway, I digress and ramble. If you really want more of me in the industry, I can provide one more! If you happen to know of any teams that need a professional-unit-testing-developer, I’m recently on the market! :)

        • nik9000@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          7 months ago

          Pre-merge code review should stop that kind of thing. I honestly haven’t seen anything like this in years.

    • arality@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Do you have any high quality resources on testing you would mind sharing? I’m mostly a self taught programmer who loves TDD, because I’m shit at writing code.

      • xia@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        6 months ago

        I would whole-heartedly recommend Robert Martin’s clean coding lecture series. It may be many hours of your life, but it is free on youtube and well worth the time. I don’t exactly recall what he says about testing in his lectures, but it’s probably pretty close. If nothing else, it will teach you to critically consider programming structure in the abstract (instead of following formulae), and to write code with the intent for it to be read and maintained by humans.

        I think he also has a series that includes “structured programming” (like early return vs deep nesting), but was unable to find it last time I looked for it. I recall having a shocked epiphany when he (i THINK it was Martin) demonstrated the exact way to clean up a function, that started out ugly, and ended up being reduced to literally nothing (the function was removed).

  • Vanth@reddthat.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 months ago

    We have a compliance manager role at my site, which includes responsibilities to conduct internal audits and host external audits. When the audits have findings, they make sure appropriate owners correct the problems. It can be very thankless. My direct boss is amazing at it but she kinda hates it and bowed out after two years doing it.

    • Apytele@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      7 months ago

      Checklists suck, especially to go through repeatedly but they realistically save more lives than any of the more dramatic heroics.

      • edric@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        I’d wager what sucks most with that job is dealing with people. Chasing different teams and having to nag to get them to do something that they think is a nuisance to their work can be draining.

  • makeasnek@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    7 months ago

    Honestly this applies to a lot of people in civic service. Not rich politicians, but the people trying to run your local or state government. Often the races are uncontested, because they literally can’t find even one other person who wants the job. Some of them are incompetent or pursue these jobs for power-seeking reasons, but many of them have their hearts in the right place and want to give back to their community, often while fighting ridiculous red tape at one end while contending with threats and harassment from citizens at the other. And the pay is often terrible. My local city council positions would qualify you for food stamps/EBT.

    • shalafi@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 months ago

      We pay our city councilmen $6,000/yr. The “big” city of which we’re a suburb pays them $27,000.

      • Jolteon@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        I think the logic behind this is that it is supposed to be a part-time job, but in reality it’s not.

  • RBWells@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 months ago

    I don’t know if nobody wants the job but I knew a guy who did stucco and absolutely loved doing it. Standing outside and wiping stucco onto walls was his joy.