ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    When is Something Built from Source

    Scheduled Pinned Locked Moved IT Discussion
    113 Posts 7 Posters 7.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender @scottalanmiller
      last edited by

      @scottalanmiller said in When is Something Built from Source:

      @Dashrender said in When is Something Built from Source:

      @scottalanmiller said in When is Something Built from Source:

      @Dashrender said in When is Something Built from Source:

      Again - all of that stuff can be scripted - I had no idea XO was made in NodeJS,

      The process involved using NPM, the NodeJS Package Manager 🙂

      I run an install script that one of you guys wrote - so I have no idea that NPM is being used, nor what it was prior to this conversation.

      That's another tip off, if you install from script, you can pretty safely assume that it's not source code 🙂 Unless that script creates a million errors that you have to correct by hand.

      How is a noob suppose to know these things? or even learn these things short of running to a conversation like this? Heck, it's easy to see guys with a dozen years of experience never running into this or understanding it.

      I feel that you and JB have a leg up because you were both previously software developers.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @DustinB3403
        last edited by

        @DustinB3403 said in When is Something Built from Source:

        So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

        No, there is nothing compiled in it, nor anything to compile later. It's a script, so compilation/buiding is out of scope.

        1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403
          last edited by

          @scottalanmiller add some tags please.

          source, compilers, precompiled installation, script

          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @DustinB3403
            last edited by

            @DustinB3403 said in When is Something Built from Source:

            So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

            I wouldn't, it's an installation script. There's nothing compiled about it.

            DustinB3403D 1 Reply Last reply Reply Quote 1
            • DustinB3403D
              DustinB3403 @Dashrender
              last edited by DustinB3403

              @Dashrender said in When is Something Built from Source:

              @DustinB3403 said in When is Something Built from Source:

              So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

              I wouldn't, it's an installation script. There's nothing compiled about it.

              Why wouldn't you? Think back to when I went through the process of installing XO into Ubuntu 14 (or whatever it was) and posted the process here on ML.

              I then compressed the commands down, and @scottalanmiller wrote a script for it. That script pulls in everything you need to install XO.

              This is similar to Visual Basic, except you don't have an .exe but a .sh file that does the job.

              The end result is an installed application.

              DashrenderD scottalanmillerS JaredBuschJ 4 Replies Last reply Reply Quote 0
              • DashrenderD
                Dashrender @DustinB3403
                last edited by

                @DustinB3403 said in When is Something Built from Source:

                @Dashrender said in When is Something Built from Source:

                @DustinB3403 said in When is Something Built from Source:

                So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

                I wouldn't, it's an installation script. There's nothing compiled about it.

                Why wouldn't you? Think back to when I went through the process of installing XO into Ubuntu 14 (or whatever it was).

                I then compressed the commands down, and @scottalanmiller wrote a script for it. That script pulls in everything you need to install XO.

                This is similar to Visual Basic, except you don't have an .exe but a .sh file that does the job.

                The end result is an installed application.

                You're missing the key concept here.
                Compilation.

                .sh files are just text files - they are not compiled code.
                They require an interpreter of their own to function.
                compiled code (normally) doesn't, it runs native on the system.

                1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said in When is Something Built from Source:

                  @Dashrender said in When is Something Built from Source:

                  @DustinB3403 said in When is Something Built from Source:

                  So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

                  I wouldn't, it's an installation script. There's nothing compiled about it.

                  Why wouldn't you? Think back to when I went through the process of installing XO into Ubuntu 14 (or whatever it was).

                  I then compressed the commands down, and @scottalanmiller wrote a script for it. That script pulls in everything you need to install XO.

                  This is similar to Visual Basic, except you don't have an .exe but a .sh file that does the job.

                  The end result is an installed application.

                  Because they aren't similar, at all. One is compiling, one is copying. In one case you start with a script and just move it between two different places, in the other you compile something and have something that can be executed.

                  Or to look at it another way....

                  Visual Basic you start with code and end up with an executable.

                  XO you start with code and end with code and an executable that was already on the system (NodeJS) runs that code. NodeJS is the executable, not XO.

                  DashrenderD DustinB3403D 2 Replies Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    So you're saying bash is a compiler?

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @DustinB3403
                      last edited by

                      @DustinB3403 said in When is Something Built from Source:

                      So you're saying bash is a compiler?

                      No, BASH is an interpreter.

                      DashrenderD 1 Reply Last reply Reply Quote 1
                      • DashrenderD
                        Dashrender @DustinB3403
                        last edited by

                        @DustinB3403 said in When is Something Built from Source:

                        The end result is an installed application.

                        If you want to call them both installers - sure, I'd definitely agree with that. But one is compiled and one is not. Huge difference there.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @scottalanmiller
                          last edited by

                          @scottalanmiller said in When is Something Built from Source:

                          @DustinB3403 said in When is Something Built from Source:

                          So you're saying bash is a compiler?

                          No, BASH is an interpreter.

                          Right.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Dashrender
                            last edited by

                            @Dashrender said in When is Something Built from Source:

                            @DustinB3403 said in When is Something Built from Source:

                            The end result is an installed application.

                            If you want to call them both installers - sure, I'd definitely agree with that. But one is compiled and one is not. Huge difference there.

                            Compilers are not installers. If you run Visual Basic and get an exe file, you still need to do the installation step. Compilation itself doesn't do the installing.

                            So we have two completely different things. With VB we compile but don't install. With the XO script we install but don't compile. They actually don't overlap at all.

                            DashrenderD 1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender @scottalanmiller
                              last edited by

                              @scottalanmiller said in When is Something Built from Source:

                              @DustinB3403 said in When is Something Built from Source:

                              @Dashrender said in When is Something Built from Source:

                              @DustinB3403 said in When is Something Built from Source:

                              So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

                              I wouldn't, it's an installation script. There's nothing compiled about it.

                              Why wouldn't you? Think back to when I went through the process of installing XO into Ubuntu 14 (or whatever it was).

                              I then compressed the commands down, and @scottalanmiller wrote a script for it. That script pulls in everything you need to install XO.

                              This is similar to Visual Basic, except you don't have an .exe but a .sh file that does the job.

                              The end result is an installed application.

                              Because they aren't similar, at all. One is compiling, one is copying. In one case you start with a script and just move it between two different places, in the other you compile something and have something that can be executed.

                              Or to look at it another way....

                              Visual Basic you start with code and end up with an executable.

                              XO you start with code and end with code and an executable that was already on the system (NodeJS) runs that code. NodeJS is the executable, not XO.

                              To really push this further - XO is not an application - at least not in my eyes.. it's customization that runs on top of an application, that application being NodeJS.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @scottalanmiller
                                last edited by

                                @scottalanmiller said in When is Something Built from Source:

                                XO you start with code and end with code and an executable that was already on the system (NodeJS) runs that code. NodeJS is the executable, not XO.

                                Um... we install nodejs. It doesn't exist (or doesn't have too)

                                https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh

                                sudo apt-get install --yes nodejs

                                scottalanmillerS DashrenderD 3 Replies Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Dashrender
                                  last edited by

                                  @Dashrender said in When is Something Built from Source:

                                  @scottalanmiller said in When is Something Built from Source:

                                  @DustinB3403 said in When is Something Built from Source:

                                  @Dashrender said in When is Something Built from Source:

                                  @DustinB3403 said in When is Something Built from Source:

                                  So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

                                  I wouldn't, it's an installation script. There's nothing compiled about it.

                                  Why wouldn't you? Think back to when I went through the process of installing XO into Ubuntu 14 (or whatever it was).

                                  I then compressed the commands down, and @scottalanmiller wrote a script for it. That script pulls in everything you need to install XO.

                                  This is similar to Visual Basic, except you don't have an .exe but a .sh file that does the job.

                                  The end result is an installed application.

                                  Because they aren't similar, at all. One is compiling, one is copying. In one case you start with a script and just move it between two different places, in the other you compile something and have something that can be executed.

                                  Or to look at it another way....

                                  Visual Basic you start with code and end up with an executable.

                                  XO you start with code and end with code and an executable that was already on the system (NodeJS) runs that code. NodeJS is the executable, not XO.

                                  To really push this further - XO is not an application - at least not in my eyes.. it's customization that runs on top of an application, that application being NodeJS.

                                  It's an application, just not an executable 🙂

                                  DashrenderD 1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in When is Something Built from Source:

                                    @Dashrender said in When is Something Built from Source:

                                    @DustinB3403 said in When is Something Built from Source:

                                    The end result is an installed application.

                                    If you want to call them both installers - sure, I'd definitely agree with that. But one is compiled and one is not. Huge difference there.

                                    Compilers are not installers. If you run Visual Basic and get an exe file, you still need to do the installation step. Compilation itself doesn't do the installing.

                                    So we have two completely different things. With VB we compile but don't install. With the XO script we install but don't compile. They actually don't overlap at all.

                                    Oh that's not what I meant - but I see why you went there.

                                    I was comparing his VB6 output (the .exe) to the .sh file. Those are both installers.

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @DustinB3403
                                      last edited by

                                      @DustinB3403 said in When is Something Built from Source:

                                      Um... we install nodejs. It doesn't exist (or doesn't have too)

                                      https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh

                                      sudo apt-get install --yes nodejs

                                      NodeJS is not part of XO. You are installing it first. Then installing XO. Then NodeJS is running.

                                      If you want to say that NodeJS is precompiled, that's fine. But again, this is the same as XOA.

                                      1 Reply Last reply Reply Quote 0
                                      • DashrenderD
                                        Dashrender @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in When is Something Built from Source:

                                        @Dashrender said in When is Something Built from Source:

                                        @scottalanmiller said in When is Something Built from Source:

                                        @DustinB3403 said in When is Something Built from Source:

                                        @Dashrender said in When is Something Built from Source:

                                        @DustinB3403 said in When is Something Built from Source:

                                        So @scottalanmiller would you call https://github.com/Jarli01/xenorchestra_installer a "precompiled installer"?

                                        I wouldn't, it's an installation script. There's nothing compiled about it.

                                        Why wouldn't you? Think back to when I went through the process of installing XO into Ubuntu 14 (or whatever it was).

                                        I then compressed the commands down, and @scottalanmiller wrote a script for it. That script pulls in everything you need to install XO.

                                        This is similar to Visual Basic, except you don't have an .exe but a .sh file that does the job.

                                        The end result is an installed application.

                                        Because they aren't similar, at all. One is compiling, one is copying. In one case you start with a script and just move it between two different places, in the other you compile something and have something that can be executed.

                                        Or to look at it another way....

                                        Visual Basic you start with code and end up with an executable.

                                        XO you start with code and end with code and an executable that was already on the system (NodeJS) runs that code. NodeJS is the executable, not XO.

                                        To really push this further - XO is not an application - at least not in my eyes.. it's customization that runs on top of an application, that application being NodeJS.

                                        It's an application, just not an executable 🙂

                                        New thread.

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @Dashrender
                                          last edited by

                                          @Dashrender said in When is Something Built from Source:

                                          I was comparing his VB6 output (the .exe) to the .sh file. Those are both installers.

                                          To which .sh file? The .exe is NOT an installed. The script file of XO is not an installer either. But the .sh that we made to install it, is. VB does not create installers at all, unless you are writing your own.

                                          DashrenderD 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @DustinB3403
                                            last edited by

                                            @DustinB3403 said in When is Something Built from Source:

                                            @scottalanmiller said in When is Something Built from Source:

                                            XO you start with code and end with code and an executable that was already on the system (NodeJS) runs that code. NodeJS is the executable, not XO.

                                            Um... we install nodejs. It doesn't exist (or doesn't have too)

                                            https://raw.githubusercontent.com/scottalanmiller/xenorchestra_installer/master/xo_install.sh

                                            sudo apt-get install --yes nodejs

                                            ANd important to note, if the system already runs Node for anything, like if you had NodeBB on there, then the script does not install it, it just checked for it to be there.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 4 / 6
                                            • First post
                                              Last post