• @[email protected]
    link
    fedilink
    585 months ago

    AI is fucking so useless when it comes to programming right now.

    They can’t even fucking do math. Go make an AI do math right now, go see how it goes lol. Make it a, real world problem and give it lots of variables.

    • @[email protected]
      link
      fedilink
      85 months ago

      I have Visual Studio and decided to see what copilot could do. It added 7 new functions to my game with no calls or feedback to the player. When I tested what it did …it used 24 lines of code on a 150 line .CS to increase the difficulty of the game every time I take an action.

      The context here is missing but just imagine someone going to Viridian forest and being met with level 70s in pokemon.

    • @[email protected]
      link
      fedilink
      English
      75 months ago

      I asked ChatGPT to do a simple addition problem a while back and it gave me the wrong answer.

    • @[email protected]
      link
      fedilink
      English
      6
      edit-2
      5 months ago

      My favourite AI code test is code to point a heliostat mirror at (lattitude, longitude) at a target at (latitude, longitude, elevation)

      After a few iterations to get the basics in place, “also create the function to select the mirror angle”

      A basic fact that isn’t often described is that to reflect a ray you aim the mirror halfway between the source and the target. AI Congress up with the strangest non-working ways of aiming the mirror

      Working with AI feels a lot like working with a newbie

    • Avicenna
      link
      fedilink
      3
      edit-2
      5 months ago

      It is not, not useful. Don’t throw a perfectly good hammer to the bin because some idiots say it can build a house on its own. Just like with hammers you need to make sure you don’t hit yourself in the thumb and use it for purpose

    • @[email protected]
      link
      fedilink
      English
      35 months ago

      I find it useful for learning once you get the fundamentals down. I do it by trying to find all the bugs in the generated code, then see what could be cut out or restructured. It really gives more insight into how things actually work than just regular coding alone.

      This isn’t as useful for coding actual programs though, since it would just take more time than necessary.

      • @[email protected]
        link
        fedilink
        English
        25 months ago

        So true, it’s an amazing tool for learning. I’ve never been able to learn new frameworks so fast.

        AI works very well as a consultant, but if you let it write the code, you’ll spend more time debugging because the errors it makes are often subtle and not the types of errors humans make.

        • @[email protected]
          link
          fedilink
          55 months ago

          That might be the underlying problem. Software project management around small projects is easy. Anything that has a basic text editor and a Python interpreter will do. We have all these fancy tools because shit gets complicated. Hell, I don’t even like writing 100 lines without git.

          A bunch of non-programmers make a few basic apps with ChatGPT and think we’re all cooked.

        • andz
          link
          fedilink
          05 months ago

          No doubt, I was merely suggesting that throwing math problems might not have been the intended use for what is essentially a language interpreter, obviously depending on the in question.