What Are You Doing Right Now
-
@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!
-
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?
-
@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? -
If I wanted that functionality within powershell I would need to install this.
That is added time, effort and energy for something relatively simple.
-
@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?
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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?
-
@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.
-
And don't say "because Microsoft".
-
@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.
-
@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?
-
@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.
-
@DustinB3403 said in What Are You Doing Right Now:
And don't say "because Microsoft".
It is because Microsoft. Because it's closed source. Because the entire world can't pitch in, or couldn't really moreso until recently.
-
@DustinB3403 said in What Are You Doing Right Now:
@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?
All things really easy on Linux BUT important to note that none of them are handled by Bash or PowerShell. All stuff called by those things.
-
@Obsolesce said in What Are You Doing Right Now:
It is because Microsoft. Because it's closed source. Because the entire world can't pitch in, or couldn't really moreso until recently.
That's not true. You can make open source on MS just as easily as on Linux (other than Windows being harder to develope for because the tools just aren't as good and the OS not as good.)
The issue is MS not including things by default that are considered basic functionality anywhere else.
And this was always the case. Even in the DOS 1 days. There has never been any restriction of that kind.
-
@DustinB3403 said in What Are You Doing Right Now:
@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?
Sure, and that's easy sauce, but better in BASH IMO.