Login
You're viewing the assemblag.es public feed.
  • Sep 29, 2026, 11:25 PM

    "These things are good at generating code" is a phrase that makes me think that you do not review the output of the code generating hell machine.

    For example, Muse's had a shell script who's usage example is (working from memory of @jonny 's thread) `print_home_dir.sh <default home dir>` that was literally just an `echo /hard/coded/dir`...which is just consumed by several other shell scripts in the environment, and included a big "AND NOTHING ELSE" in it. It's peak stupid.

    💬 2🔄 1⭐ 3

Replies

  • Sep 29, 2026, 11:28 PM

    I have seen examples where it did something akin to:

    `let string = "this-is-a-string".replace(" ", "-")` complete with hard coded string and a replacement that'd never replace anything. Is the string the correct output? Sure? What's that replace doing there?

    (Edit: This was during a code review I was obliged to perform, I do not prompt the slop machine myself)

    💬 0🔄 0⭐ 2
  • 💬 0🔄 0⭐ 2
  • Sep 30, 2026, 4:27 AM

    @Epic_Null @jonny Or presumably any of the environment variables that should be set indicating the user's home directory, or not have that shell script at all, or, or....

    /me covers head with arms.

    💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0
  • Sep 30, 2026, 4:33 AM

    @cthos @jonny How even doi you find "several other shell scripts" of use from this???? It's an ECHO script!!! For a HARD CODED value!!! It's one of those things you should ever grab like... once? Like MAYBE you put the value in a big "Welcome" message? but after that??? why????

    💬 0🔄 0⭐ 2
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0