Command-line JSON filtering at 20 GB/s

  • lucas ( lucas@startrek.website ) 
    link
    fedilink
    English
    arrow-up
    24
    ·
    7 天前

    Looks useful, but:

    You can install sjq on Linux and macOS with one command:

    curl -fsSL https://raw.githubusercontent.com/simdjson/sjq/main/install.sh | sh
    

    Can we please stop pretending that piping scripts straight from the web into a shell is an acceptable or safe thing to do?

    • theneverfox ( theneverfox@pawb.social ) 
      link
      fedilink
      English
      arrow-up
      11
      ·
      7 天前

      At the end of the day, you have to trust the software you’re downloading. It is going to run on your computer

      Security is always balanced against convenience (or maybe inconvenience). This method is really convenient for the author and fairly convenient for the user

      Obviously a package manager would be better, but this is basically equivalent to using less curated sources that smaller and younger projects would be using anyways