GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Natty :butterflyN: (natty@astolfo.social)'s status on Thursday, 29-Jan-2026 12:57:58 JST Natty :butterflyN: Natty :butterflyN:

    I'm a firm believer of "the less shell scripts the better".

    Shell is awful, obfuscated, and should stay a scripting language

    No amount of scripting is a replacement for code portability and shell script wrappers make software unpleasant to use, especially when they don't have completions. Why do we need to generate completions? Why can't we have good things in 2026 and have self-documenting software? Ironically I think the only use case that I don't mind is BusyBox

    "But it solves this problem just fine"

    Okay but can anyone read it once it's written. The only thing it has going for it is that it's not Batch.

    And I mean, Fish and similar are fiine, but don't make script files coherent enough to actually replace shell scripts for me

    In conversation about 6 months ago from astolfo.social permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Thursday, 29-Jan-2026 12:57:54 JST djsumdog djsumdog
      in reply to
      • LisPi
      I like the term "Load-bearing shell scripts." If it starts getting past 20 lines and you're using it for CI/deployment/tests/etc. you should replace bash/sh/zsh with something else.

      Why the Python hate? Python3 is pretty stable, and even has type hinting. Virtual environments and uv are your friends. Although at that point it's no longer a simple shell script, but if you really don't want to use a venv, almost every linux distro has the major libraries you need (requests and such) in the package manager.
      In conversation about 6 months ago permalink
    • Embed this notice
      LisPi (lispi314@udongein.xyz)'s status on Thursday, 29-Jan-2026 12:57:56 JST LisPi LisPi
      in reply to
      @natty Nontrivial shellscripts should be avoided.

      Shellscripts should be avoided outside of constrained environments.

      While commonly one would recommend Perl or Python, I'd say that some manner of standard-compliant Scheme or Common Lisp should be used if at all possible.

      Perl is somewhat stable and readable (but it also is implementation-defined), but Python is not stable and does a bad job of pretending it is (that script I wrote a decade ago should not have needed any modification to keep working, it had no non-stdlib dependencies).
      In conversation about 6 months ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Thursday, 29-Jan-2026 13:02:28 JST djsumdog djsumdog
      in reply to
      • LisPi
      huh ... I've only seen really huge breakage between like 3.12 and 3.13 .. that was one of the annoying one for package maintainers. Maybe I just got lucky.
      In conversation about 6 months ago permalink
    • Embed this notice
      LisPi (lispi314@udongein.xyz)'s status on Thursday, 29-Jan-2026 13:02:29 JST LisPi LisPi
      in reply to
      • djsumdog
      @djsumdog @natty Python3 had major changes in its JSON library on minor version changes. A breaking change that completely disregarded semver.

      It was not the only one of its kind, that one just stuck with me.
      In conversation about 6 months ago permalink
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Thursday, 29-Jan-2026 13:04:20 JST djsumdog djsumdog
      in reply to
      • LisPi
      • Zergling_man
      Hey, I package my (python) shit! For Fedora, Debian and Gentoo mo-fo!

      https://gitlab.com/djsumdog/mpvbuddy/

      https://nexus.sumit.im/#browse/browse
      In conversation about 6 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        Sumit Khanna / mpvbuddy · GitLab
        GitLab.com
      2. No result found on File_thumbnail lookup.
        Sonatype Nexus Repository
        Sonatype Nexus Repository
    • Embed this notice
      Zergling_man (zergling_man@gearlandia.haus)'s status on Thursday, 29-Jan-2026 13:04:22 JST Zergling_man Zergling_man
      in reply to
      • djsumdog
      • LisPi
      @djsumdog @lispi314 @natty >Virtual environments ... are your friends.
      NOT EVEN SLIGHTLY
      TOTAL VENV DEATH
      MOTHERFUCKERS NEED PACKAGE MANAGEMENT
      https://michael.orlitzky.com/articles/motherfuckers_need_package_management.xhtml
      99% OF COMPLAINTS PEOPLE HAVE WITH PYTHON ARE ACTUALLY COMPLAINTS WITH PIP/PYPI AND BAD PACKAGE MANAGEMENT
      In conversation about 6 months ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        Michael Orlitzky { Motherfuckers need package management }
    • Embed this notice
      djsumdog (djsumdog@djsumdog.com)'s status on Thursday, 29-Jan-2026 13:06:18 JST djsumdog djsumdog
      in reply to
      • LisPi
      • Zergling_man

      I use uv as my Python build too. It handles venvs and publishing. Very kino. But I can always run against the system after I get all my packaging done.

      In conversation about 6 months ago permalink
    • Embed this notice
      Zergling_man (zergling_man@gearlandia.haus)'s status on Thursday, 29-Jan-2026 13:06:19 JST Zergling_man Zergling_man
      in reply to
      • djsumdog
      • LisPi
      • Zergling_man
      @natty @lispi314 @djsumdog Now, I like python, quite a bit. It's a very easy language, good for when I want to achieve some goal without having to think.
      And I DON'T USE VENVS. If I did, I would probably hate python.
      In conversation about 6 months ago permalink
    • Embed this notice
      Zergling_man (zergling_man@gearlandia.haus)'s status on Thursday, 29-Jan-2026 13:06:20 JST Zergling_man Zergling_man
      in reply to
      • djsumdog
      • LisPi
      • Zergling_man
      @natty @lispi314 @djsumdog Also there is nothing wrong with long shell scripts. Write a whole BBS in bash
      In conversation about 6 months ago permalink

      Attachments


      1. No result found on File_thumbnail lookup.
        Glenorchy's birthday BBS


      2. Invalid filename.
      3. No result found on File_thumbnail lookup.
        Glenorchy's birthday BBS

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.