Clarification: Just making fun of people(including myself) who watch shitty videos instead of official documentation.

  • Captain Aggravated
    link
    fedilink
    English
    3915 days ago

    Man pages are useful references but go ahead and learn how to use sed or awk from their man pages.

    • @[email protected]
      link
      fedilink
      2115 days ago

      Yep.

      That’s what the RTFM folks don’t seem to understand: if you didn’t even know, what you’re looking for, you can’t look it up.

      • @sfxrlz
        link
        515 days ago

        This in general is the main reason for the ai surge. Just dump the 2 sentence explanation into a prompt and hope something sensible comes from it rather than googling for half an hour.

        • @[email protected]
          link
          fedilink
          415 days ago

          No, make it like this:

          I have a problem with program x. Please tell me how i do y if I want z. Use this man page for reference:

          [insert man page into promt py copy paste]

          This gives way better results.

          • @TangledHyphae
            link
            315 days ago

            Most of the time you don’t have to insert the man page, it’s already baked into the neural network model and filling the context window sometimes gives worse results.

            • @DampCanary
              link
              515 days ago

              I noticed that mentioning commands you want gives good results e.g.:

              Hi,
              I want to replace line with HOSTTOOLS += " svn"
              in all layer.conf files under current directory
              by using find and sed commands.

              If it’s more complicated, pasting parial scrript for LLM to finish gave better results (4 me),
              than pure prompt text.

        • @[email protected]
          link
          fedilink
          315 days ago

          At least for programming/Linux stuff, it often enough actually does deliver keywords, that you can use as jumping off points. The proposed solutions however…