How stupid do you have to be to believe that only 8% of companies have seen failed AI projects? We can’t manage this consistently with CRUD apps and people think that this number isn’t laughable? Some companies have seen benefits during the LLM craze, but not 92% of them. 34% of companies report that generative AI specifically has been assisting with strategic decision making? What the actual fuck are you talking about?

I don’t believe you. No one with a brain believes you, and if your board believes what you just wrote on the survey then they should fire you.

  • IHeartBadCode@kbin.run
    link
    fedilink
    arrow-up
    10
    ·
    10 days ago

    Similar story, I had a junior dev put in a PR for SQL that gets lat and long and gives back distance. The request was using the Haversine formula but was using the km coefficient, rather than the one for miles.

    I asked where they got it and they indicated AI. I sighed and pointed out why it was wrong and that we had PostGIS and that’s there is literally scalar functions available that will do the calculations way faster and they should use those.

    There’s a clear over reliance on code generation. That said, it’s pretty good for things that I can eye scan and verify that’s what I would have typed anyway. But I’ve found it suggesting things I wouldn’t remotely permit to things that are “sort of” correct. I’ll let it pop on the latter case and go back and clean it up. But yeah, anyone blind trusting AI shouldn’t be allowed to make final commits.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      9 days ago

      I just don’t bother, under the assumption that I’ll spend more time correcting the mistakes than actually writing the code myself. Maybe that’s faulty, as I haven’t tried it myself (mostly because it’s hard to turn on in my editor, vim).

      • IHeartBadCode@kbin.run
        link
        fedilink
        arrow-up
        6
        ·
        9 days ago

        Maybe that’s faulty, as I haven’t tried it myself

        Nah perfectly fine take. Each their own I say. I would absolutely say that where it is, not bothering with it is completely fine. You aren’t missing all that much really. At the end of the day it might have saved me ten-fifteen minutes here and there. Nothing that’s a tectonic shift in productivity.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          9 days ago

          Yeah, most of my dev time is spent reading, and I’m a pretty fast typist, so I never bothered.

          Maybe I’ll try it eventually. But my boss isn’t a fan anyway, so I’m in no hurry.

          • SkyeStarfall@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 days ago

            It can be useful in explaining concepts you’re unsure about, in regards to the reading part, but you should always verify that information.

            But it has helped me understand certain concepts in the past, where I struggled with finding good explanations using a search engine.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              9 days ago

              Ah, ok. I’m pretty good with concepts (been a dev for 15-ish years), I’m usually searching for specific API usage or syntax, and the official docs are more reliable anyway. So the biggest win would probably be codegen, but that’s also a relatively small part of my job, which is mostly code reviews and planning.

    • manicdave@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 days ago

      it’s pretty good for things that I can eye scan and verify that’s what I would have typed anyway. But I’ve found it suggesting things I wouldn’t remotely permit to things that are “sort of” correct.

      Yeah. I haven’t bothered with it much but the best use I can see of it is just rubber ducking.

      Last time I used it was to asked how to change contrast in a numpy image. It said to multiply each channel by contrast. (I don’t even think this is right and it should be ((original value-128) * contrast) + 128) not original value * contrast as it suggested), but it did remind me I can just run operations on colour channels.

      Wait what’s my point again? Oh yeah, don’t trust anyone that can’t tell you what the output is supposed to do.