• Pawel Lis (unregistered)

    Frist!

  • SolePurposeOfVisit (unregistered)

    Well, you bash an if and an else together, and you get ... fusion!

    Seemples!

  • dpm (unregistered)

    Unless there's code we're not seeing, it does not execute the same command "regardless" of the contents of /etc/issue --- it apparently has to contain one of a set of expected strings.

  • (nodebb)

    The author obviously doesn't know how to use case, despite it having been in Bourne shells since Linus was a lad…

  • foxyshadis (unregistered)

    ....well, that was an unexpected EOF. I was all ready to hear what else was horrific when it turned out it was about nothing but one test in old shell script. /etc/issue USED to be the standard, /etc/system-release or /etc/os-release is new, so it makes sense that a 20-year-old installer doesn't really keep up on current packaging conventions.

    uname is NOT an option, unless you keep a continually updated table of systems. Have you even tried to compare its output across releases? Truly TRWTF.

  • Thomas (unregistered)

    Having installed Coldfusion on Ubuntu before, I am not even remotely surprised at the quality of code. I spent about an hour wrestling with command line arguments before it finally installed. This was about a decade ago - apparently nothing has changed.

  • Church (unregistered)

    I am genuinely surprised that ColdFusion is still developed. That seems like TRWTF. For the good of the web, Adobe needs to let some of these old products die.

  • thegoryone (unregistered)

    Like I've been saying on the forums for years - ColdFusion is at the bottom of the food chain. Even below PHP developers.

  • I'm not a robot (unregistered) in reply to foxyshadis
    /etc/issue USED to be the standard
    Uh, /etc/issue is the message displayed before the log-in prompt. It doesn't and never has had anything to do with identifying the distribution - some distros may by default put their name in there, but the system administrator has always been free to replace it with anything they want.
  • George Gonzalez (unregistered)

    Well, yeah, I've written a few shel scripts that look like that as a first cut, but I'm typing and telling myself to make a few more passes over it and use more logical tests, not ones that just happen to work, today, on this system. And make a pass and refactor out identical code. It may just be that CF is such a flustercluck the person moved on to the next fire to put out.

  • _that_guy_ (unregistered)

    The real issue here is using awk instead of grep to find a substring.

  • Alex (unregistered)

    In 1989, a pair of physicists claimed to have achieved the fusion of hydrogen at room temperatures.

    I was really hoping this story would be about their software. That would be a fun bug to see

    if(true) // TODO: Implement this soon!1!11!!
        System.out.println("Particle fused!");
    
  • stephane (unregistered)

    This would fail to fail on any installation not in English too. Plus the check if a string instead of a return code is itself a WTF.

  • Former-CFML Dev (unregistered)

    Really? Who doesn't use BlueDragon or Lucee these days for CFML? They are both deployed as simple WAR files.

    In regard to the CFML dislike, um, why?

  • mcornella (unregistered) in reply to _that_guy_

    Isn't TRWTF how it checks if the binaries are there?

    jre_success=exec "$actvm" 2>&1 case "$jre_success" in Nosuchfileordirectory|installbin*|cannotexecutebinaryfile* ) echo "JRE libraries are missing or not compatible...." echo "Exiting...." ;;

    What about command -v $actvm (which is POSIX btw)? Or which? Etcetera. Anything but a string pattern match!

  • mcornella (unregistered) in reply to foxyshadis

    For your amusement: https://fossies.org/linux/exim/scripts/os-type

  • löchlein deluxe (unregistered) in reply to mcornella

    Indeed. It doesn't even set LANG=C beforehand, so hilarity will certainly ensue.

    (My favourite anecdote is one case, where as the local Python charmer, a colleague asked me why some install failed, and my response was "You have to wait until April 1st" – because the logfile had locallized timestamps and didn't handle non-ASCII, so "Mär 27" was quite the problem.)

    (Also, I've had to patch update monitoring scripts when between RH5 and RH6, the output of yum started to contain a grammatically-correct comma that wasn't previously there. Can we please get XML-over-JSON-over SOAP instead?)

  • Coldfusion Anonymous (unregistered)

    Being commercial software, coldfusion was only supported on RedHat(And CentOS), Ubuntu, and SuSE linux.

    If you tried to do otherwise, you wouldn't get support.

    Probably.

  • Chris Warrick (google)

    Also, the installer bases its check on English strings, which might just change one day, or the user might prefer a different locale.

  • Barf4Eva (unregistered)

    "In 1989, a pair of physicists claimed to have achieved the fusion of hydrogen at room temperatures. This came as quite a shock to other physicists, since fusion was only known to happen inside of stars."

    Not quite...

    https://en.wikipedia.org/wiki/Fusor

  • Brad Wood (unregistered)

    TRWTF is that they're not using the free and open source alternatives like Lucee Server. You can start a Lucee CFML server with CommandBox CLI (36MB download) and no install and it works anywhere Java runs (including Raspberry Pi's). That's a full working CF server w/a 36 MB download and a single CLI command. That said, I've used the Adobe Linux installers many times before and they worked fine. The poster is likely on an unsupported distro and didn't RTFM.

  • Brad Wood (unregistered) in reply to Church

    Old products? CF is the same age as JavaScript, Ruby, PHP, Java, and newer than SQL, Python, and C. Are you saying all those languages need to die since they're "old"? :) CFML isn't your grandpa's language and hasn't been for years. There's FOSS engines that start from the CLI, JVM interop, ECMA scripting, FP, package managers, and quality MVC. All that needs to die is the old legacy crap that gives it a bad name. Of course, that's true for PHP as well :)

  • Norman Diamond (unregistered)

    Maybe even bigger than the fact that /etc/issue file is checked first.

    I'd recommend to use SPAM SITE if they need a quality and deep research.

    Wow, spammers are actually reading the articles now before posting their fake answers?

    No wait.

    Kerrie Foster (google)

    If anyone has the AI skill to fake reading an article before posting a fake answer, it's Google. Is Google cooperating with spammers again?

  • moo? (unregistered)

    Is that script closing parens that aren't even open?

Leave a comment on “Coldly Fused”

Log In or post as a guest

Replying to comment #:

« Return to Article