• 1984@lemmy.today
    link
    fedilink
    arrow-up
    3
    ·
    3 hours ago

    For devops, it’s amazing. We use many tools that we are not experts in, and it’s incredible to get ready to use code examples how to configure them for various scenarios.

    I save many hours every week using open Ai latest models.

  • loathsome dongeater@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    How do the SaaS AI code assistants work? I am guessing they have to send the entire file or the codebase to their datacenter. Won’t this be a problem for corporations who want to protect their codebase?

    • onoki@reddthat.com
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 hours ago

      The corporations have their own contracts with e.g. Microsoft/OpenAI. The data will likely be sent the same way as with the public tools, but the providers promise not to use it for other purposes.

  • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
    link
    fedilink
    arrow-up
    3
    ·
    7 hours ago

    I’ve found coding assistance to be pretty lacklustre myself as well. That said, one area where language models might actually be good is emulating a type system for dynamic languages. Given how good these things are at figuring out general shape of the code, I suspect they could fairly accurately tell you argument and return types for functions. And you could probably get away with a pretty small model if it only targets a specific language.

    • Kache@lemm.ee
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      4 hours ago

      Dedicated incremental static type checkers for dynamic languages already exist. In particular, Pyright for Python is fantastic and in many ways surpasses the type systems of classic typed languages