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

    What Are You Doing Right Now

    Water Closet
    time waster
    285
    88.9k
    42.1m
    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.
    • DustinB3403D
      DustinB3403 @Obsolesce
      last edited by

      @Obsolesce said in What Are You Doing Right Now:

      @DustinB3403 said in What Are You Doing Right Now:

      @Obsolesce said in What Are You Doing Right Now:

      @scottalanmiller said in What Are You Doing Right Now:

      @Obsolesce said in What Are You Doing Right Now:

      But what BASH was designed to manage means the tool has to be designed differently than a tool that would be for managing something designed completely different.

      That's not true. CMD didn't have to be designed differently. That PowerShell went that way is nothing but a choice. Don't mistake what they "did" with what they "could have done." Bash on Windows would work great, and does. But it isn't native.

      Yeah, and CMD is a shitshow.

      In that case, a bucket of water could be a shitshow too, because you have to be super careful to not spill any. Whereas with the balloon, you tie it off and can go running with it.

      But you can carry more water faster.

      Who says the bucket and the balloon don't hold the same amount of water? Fast is relative.

      "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."

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

        @Obsolesce said in What Are You Doing Right Now:

        I got uptime pretty damn fast in PS... I think faster than in BASH!

        I guarantee you didn't. Every time you say that, you are setting up PS, spending all the time to do it, and THEN timing only the command. So in neither case are you timing the shell, in both cases you are timing the command called by the shell.

        You are timing the wrong pieces of the equation.

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

          @Obsolesce said in What Are You Doing Right Now:

          I'm not seeing this so "heavy slow" example.

          It's EVERY example. PS is heavy and slow. there is no way around it, no case where it isn't true. You are firing up PS, waiting for it to start, and then timing things that aren't PS and ignoring how long PS itself is taking to get you to the point of doing a non-PS task.

          ObsolesceO 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @Obsolesce
            last edited by

            @Obsolesce said in What Are You Doing Right Now:

            @scottalanmiller said in What Are You Doing Right Now:

            @DustinB3403 said in What Are You Doing Right Now:

            @scottalanmiller Is your stance that PS just makes everything harder and that BASH is so simple that there is little to no reason to need the other?

            PS could have a place, but as a system admin tool it is so "heavy" and so slow and convoluted, I don't feel it has a place there. For decades before PS was released, the Windows community begged for a native port of Bash (we don't get one currently due to licensing restrictions) so that Windows could compete with everyone else (everyone else uses a Bash or similar shell, or at least offers it.) It would work fine, that CMD works guarantees it. Instead, CMD got effectively abandoned and the monstrosity of PS was created, almost to mock Windows users.

            PS requires so much more experience and time to use, and in the end, you don't get more efficient than on other tools, you just start to close the gap.

            I'm not seeing this so "heavy slow" example.

            I just attempted Get-uptime from powershell and I was told "this doesn't exist'.

            That's slower because if I wanted that functionality I have to go and install it.

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

              @scottalanmiller said in What Are You Doing Right Now:

              @Obsolesce said in What Are You Doing Right Now:

              I'm not seeing this so "heavy slow" example.

              It's EVERY example. PS is heavy and slow. there is no way around it, no case where it isn't true. You are firing up PS, waiting for it to start, and then timing things that aren't PS and ignoring how long PS itself is taking to get you to the point of doing a non-PS task.

              I click on it, it starts up right away, I start typing right after I click to open, hit enter, and get my uptime. I do not see this heavy slowness you speak of!

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

                I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?

                travisdh1T 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @Obsolesce
                  last edited by

                  @Obsolesce said in What Are You Doing Right Now:

                  I click on it, it starts up right away, I start typing right after I click to open, hit enter, and get my uptime. I do not see this heavy slowness you speak of!

                  Did you see my above reference to this supposed get-uptime command not existing on Windows 10, 1809?

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

                    If I wanted that functionality within powershell I would need to install this.

                    That is added time, effort and energy for something relatively simple.

                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce @DustinB3403
                      last edited by

                      @DustinB3403 said in What Are You Doing Right Now:

                      @Obsolesce said in What Are You Doing Right Now:

                      I click on it, it starts up right away, I start typing right after I click to open, hit enter, and get my uptime. I do not see this heavy slowness you speak of!

                      Did you see my above reference to this supposed get-uptime command not existing on Windows 10, 1809?

                      Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?

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

                        @DustinB3403 said in What Are You Doing Right Now:

                        @Obsolesce said in What Are You Doing Right Now:

                        @scottalanmiller said in What Are You Doing Right Now:

                        @DustinB3403 said in What Are You Doing Right Now:

                        @scottalanmiller Is your stance that PS just makes everything harder and that BASH is so simple that there is little to no reason to need the other?

                        PS could have a place, but as a system admin tool it is so "heavy" and so slow and convoluted, I don't feel it has a place there. For decades before PS was released, the Windows community begged for a native port of Bash (we don't get one currently due to licensing restrictions) so that Windows could compete with everyone else (everyone else uses a Bash or similar shell, or at least offers it.) It would work fine, that CMD works guarantees it. Instead, CMD got effectively abandoned and the monstrosity of PS was created, almost to mock Windows users.

                        PS requires so much more experience and time to use, and in the end, you don't get more efficient than on other tools, you just start to close the gap.

                        I'm not seeing this so "heavy slow" example.

                        I just attempted Get-uptime from powershell and I was told "this doesn't exist'.

                        That's slower because if I wanted that functionality I have to go and install it.

                        LOL, that too.

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

                          @Obsolesce said in What Are You Doing Right Now:

                          Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?

                          How are you past this? It's literally the argument that @scottalanmiller is having with you.

                          Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • travisdh1T
                            travisdh1 @DustinB3403
                            last edited by

                            @DustinB3403 said in What Are You Doing Right Now:

                            I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?

                            Not at all. BASH has very few things actually built in. The majority of the things are external programs (ls, df, cat, grep, sed). Powershell just doesn't handle the external tooling as well yet.

                            scottalanmillerS DustinB3403D 2 Replies Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Obsolesce
                              last edited by

                              @Obsolesce said in What Are You Doing Right Now:

                              @DustinB3403 said in What Are You Doing Right Now:

                              @Obsolesce said in What Are You Doing Right Now:

                              I click on it, it starts up right away, I start typing right after I click to open, hit enter, and get my uptime. I do not see this heavy slowness you speak of!

                              Did you see my above reference to this supposed get-uptime command not existing on Windows 10, 1809?

                              Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?

                              Not BASH. It's Windows being treated differently here by you. Stick to apples to apples and you get one is functional, one is not (for uptime.) And one is fast, and one is slow.

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

                                @travisdh1 said in What Are You Doing Right Now:

                                @DustinB3403 said in What Are You Doing Right Now:

                                I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?

                                Not at all. BASH has very few things actually built in. The majority of the things are external programs (ls, df, cat, grep, sed). Powershell just doesn't handle the external tooling as well yet.

                                that's the same as PS. Both do almost everything externally.

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

                                  @travisdh1 said in What Are You Doing Right Now:

                                  @DustinB3403 said in What Are You Doing Right Now:

                                  I'm a bit of a novice to tell the difference between them, but am I correct in stating that powershell calls other functions that aren't a part of it, where bash has all of the functions built in?

                                  Not at all. BASH has very few things actually built in. The majority of the things are external programs (ls, df, cat, grep, sed). Powershell just doesn't handle the external tooling as well yet.

                                  So to ask, how come BASH handles these tools better over Powershell?

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

                                    @DustinB3403 said in What Are You Doing Right Now:

                                    @Obsolesce said in What Are You Doing Right Now:

                                    Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?

                                    How are you past this? It's literally the argument that @scottalanmiller is having with you.

                                    Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.

                                    I feel that's an arbitrary point.

                                    I don't need uptime of an out-of-box Linux system via BASH, or with Windows.

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

                                      And don't say "because Microsoft".

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

                                        @DustinB3403 said in What Are You Doing Right Now:

                                        So to ask, how come BASH handles these tools better over Powershell?

                                        Mostly I think we perceive that because the tools written with the assumption of being called by BASH are better than the ones written to be called by PowerShell. Now I think we are comparing ecosystems and in that space, the PS ecosystem is just ridiculous.

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

                                          @Obsolesce said in What Are You Doing Right Now:

                                          @DustinB3403 said in What Are You Doing Right Now:

                                          @Obsolesce said in What Are You Doing Right Now:

                                          Way past that, and who cares. 100% of the stuff you do on Linux you install after the OS anyways. Why should PS6+ be treated different?

                                          How are you past this? It's literally the argument that @scottalanmiller is having with you.

                                          Functionality isn't a part of Powershell, you can install all of the functionality you may want/need later. But it's not included out of the box.

                                          I feel that's an arbitrary point.

                                          I don't need uptime of an out-of-box Linux system via BASH, or with Windows.

                                          Do you need to know how much free space the disk has, or how the CPU and RAM is performing?

                                          scottalanmillerS ObsolesceO 2 Replies Last reply Reply Quote 1
                                          • scottalanmillerS
                                            scottalanmiller @Obsolesce
                                            last edited by

                                            @Obsolesce said in What Are You Doing Right Now:

                                            I don't need uptime of an out-of-box Linux system via BASH, or with Windows.

                                            Well, everyone else does. And on Linux we get it, and on Mac we get it, and on Solaris we get it, and on Windows we don't.

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