• Valmond@lemmy.world
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    21 days ago

    I’m adventuring into lands I only have tinkered with, javascript and never used, webassembly. Thought I’d ask an llm for some things to get up and running, like see some code to remember how you do that js. And I was quite bewildered, it’s a bit complicated (python to wasm called from js and back), and for the like 8 conundrums I had; The LLM spit out a complete example showing how it was done! Completely flabbergasted! So I got right back into all that async js jazz. Spent some time I have to say before I figured out that not one example worked. Not one.

    🥳

    • Rhaedas@fedia.io
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      21 days ago

      Remember that LLMs were trained on the internet, a place that’s full of confidently incorrect postings. Using a coding LLM helps some, but just like with everything else, it gives better results if you only ask for specific and small parts at a time. The longer the reply, the more probable it will drift into nonsense (since it’s all just probability anyway).

      I’ve gotten excellent starting code before to tweak into a working program. But as things got more complex the LLM would try to do things even that guy who gets downvoted a lot on Stack Overflow wouldn’t dare suggest.

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      4
      ·
      20 days ago

      I’ve heard a lot of people say that llm code can be a timesaver, but only if you’re already proficient enough with the programming language that you can see at a glance what the generated code does. Otherwise, the experience is much like your own.

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        20 days ago

        When it was useful it was for simple things, like read a file (for some reason I always forget how to do that) or convert to base64. Like something you’d find in a book.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 days ago

      For some things they work pretty well, for others they don’t, and they’re just as confident sounding with it all!

  • Jake Farm@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    21 days ago

    They aren’t delusional, they are crooks and the american people will be left holding the ball when this massive round-tripping scheme finally ends.

  • WorldsDumbestMan@lemmy.today
    link
    fedilink
    arrow-up
    4
    ·
    20 days ago

    That is pretty unfair of you! People used to say Fusion is always 30 years away, and now look where it’s at-

    Oh wait, the entire world came together to produce one really shitty high maintenance 500 MW fusion reactor?

    Nwm.