• macallik@kbin.social
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 year ago

    Using curl as a substitute for man/help has made it one of my most used commands for me as of late:

    curl cheat.sh/AnyLinuxCommand to view tldr/cheat tips

    Also great for the weather via curl wttr.in

    Hopefully more commands utilize this technique

  • netvor@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    1 year ago

    Today I learned:

    • curl development cycle has a cooldown after a freeze.

    How cool is that?

  • danielbln@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    6
    ·
    1 year ago

    I recently watched the 3.5-hour workshop Mastering the curl command line by Daniel Stenberg, the author of curl

    I commend the author for watching and subsequently summarizing this into a blog article, but in the age of LLMs like ChatGPT I cannot be arsed anymore to memorize any of the arcane command line arguments of curl, ffmpeg and the like.

    • Cyclohexane@lemmy.mlM
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      You don’t have to memorize. Next time, you can just recall the commands by looking at manpages or this blog post again. You will already retain most concepts.

      ChatGPT is cool, but it is wrong often enough that makes hard to trust. I don’t want to be running the wrong command and suffering its consequences. I only resort to chatGPT when docs and web search do not give me an answer quickly. Even then, I try to verify chatGPT with docs before going forward.

      • danielbln@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        I mean, we’re talking curl here, I don’t think a lot of suffering of consequences is happening. And man pages are often also not a great resource, throw everything at you, often don’t contain examples. If I’m building an app that integrates curl or libcurl, oh yes I’m reading the doc. If I just need curl to do something quickly, the LLM output is perfectly fine.

        • Cyclohexane@lemmy.mlM
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          I think you’re right, it is harmless for the most part. But one time I unintentionally overwrote a file using curl. It is definitely my own stupidity here though.

        • maor@lemmy.org.il
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I’d be scared to perform POST/PUT with LLM-generated commands. For immutable calls I agree though