I have observed that liberals tend to be idealists, conservatives realists.
That's right. That's why the Earth is 6,000 years old, climate change doesn't exist no matter what the science says, evolution is a myth, market forces are the answer to any problem, implementing a minimum wage totally ruined our economy, we are safer if we all have guns despite the statistics from other countries, the government should not try to control our lives and yet somehow gay marriage not only devalues our normal marriages and causes earthquakes.
It won't work on any computer but Microsoft Windows computer.
Blind hope that your choice of operating system is safe is the worst form of security. From the article:
PoisonTap emulates an Ethernet device (eg, Ethernet over USB/Thunderbolt) - by default, Windows, OS X and Linux recognize an ethernet device, automatically loading it as a low-priority network device and performing a DHCP request across it, even when the machine is locked or password protected
I make the post and it gets modded down, so I quote it again. I got karma, how long are we going to play this game?
Repeating yourself doesn't make the original statement any less moronic. Nobody has ever said that it is taxation itself that cools the system planet, apart from the OP and I suspect it was said because making pertinent arguments is just too hard for some people.
And repeating yourself just because someone nodded you down is just pathetic. If what you said was actually useful to anyone then someone else will mod you back up. But if all you are doing is repeating yourself just to get a rise out of someone then you are being a troll and deserve downwards moderation.
Microsoft also gets version numbers from Windows Update. There is also a site to which the networking system attempts to connect when determining whether a network has both local and internet services (giving a different status icon in the system tray). You can disable this, but I wouldn't be surprised if they submitted the Windows version in the HTTP request header.
You can find great discrepancies between the OS market share reported from different sources, which shows how inaccurate they are. Let's face it, all they can do is guess by the only external method they can find - web browser stats. Only Microsoft can tell you anything even close to accurate as far as usage goes, and even they are limited to computers that are connected to the Internet.
The percentage changes listed in the TFA are going to be dwarfed by the error margin such that it is completely meaningless to try to make any proclamations that a significant number of people are downgrading Windows.
The other, is that the banks ultimately get to decide what cash-related technology becomes almost universally used, and just like the Australian banks, no banks will touch something they can't control.
The day after the/. discussion about Aussie banks being against Apple's payment system, I saw an advertisement at a bus stop from ANZ for Apple Pay. It seems that some banks will be willing to touch something that they can't control.
And how is that relevant to the argument that some people do like to carry cash around? If someone is using cash instead of Apple Pay then they are also using cash instead of a credit card.
You have made some assumptions there. You assume that half a degree is not enough to cause problems with the corel. Sure, scientists have their laboratory tests and charts to back up their claims, but you trumped them with your CAPS LOCK key. Never mind that corel is particularly sensitive to temperature variation and so for them half a degree is actually massive.
You also assume that the daily variance in temperature stops as soon as it gets warm. Could it not possibly be that the variance continues, but the peaks get hotter while it never gets as cold as it used to? The problem isn't that it gets hot for a short time, but if it stays hot for weeks at a time.
You say that this is all crap, but you have no idea of what you are talking about. You accuse the scientists of simplifying the problem and yet think that the idea that you came up with in 10 minutes that it can get hotter for parts of the day is enough to demolish the view of people who spend every day studying this sort of thing.
I think Windows 10 is causing the slump, but not because people don't want it - it is because they already have it. There has always been a large segment of people who used a new version of Windows as the excuse to buy a new system; either because the OS needed the extra grunt or it was simply deemed to be the easiest way to upgrade for non-techies.
Along comes Windows 10, which basically threw itself onto everybody's existing systems. All of a sudden, there was no reason to buy new computer. As we all know, recent computer hardware is still fast enough to run average software so the benefit of buying a new system is miniscule.
Who are you accusing of hating here? The Wall Street Journal for publishing this article? Samsung for discontinuing the model? Or maybe msmash for submitting the story here?
Is this not a newsworthy topic? Is this not a current red-hot issue in the tech world? Is this not news for nerds?
How is it that you think that this is a political issue, or one driven by hate? Do you think that we should meekly accept phones that explode on us? You accuse others of being fanbois, but I can't think of any excuse to wanting us to remain silent on this issue other than you being a fanboi yourself.
Ok I admit that I use iOS devices more than android. But why the hate towards Samsung with the good riddance.
What I so of like to know is why there are now two posts asking "why all the hate" when at the time of posting nobody is hating? The only one even slightly close is hating on Apple (and has been modded down).
Yes, Samsung should fix the phones, but their attempt to do so has resulted in an equally explosive phone. At this point, for PR reasons they need to release a new phone with another name. They will still have to replace the existing customers' phones, but they will do it with a model that has the model incremented by one. Doing this will make no difference to the final outcome
You know full well that in this case free just means they aren't charging any money for it. It doesn't mean that they are giving away their rights on these books and so they don't have to make them available for a straight anonymous download. They do these sorts of deals to get potential customers to their site. If you could just at hand out anonymous links to the books then it would fail their goal.
If you don't want to give them you details then don't get the books. Easy!
Anyone old enough to remember when CDs first came out, they were packed with all sorts of security by obscurity measures designed to make sure that they wouldn't play from your computer as well as from your car stereo.
I'm old enough to remember, but I don't remember that. Audio CDs have been around since the early 80s, but protected audio CDs didn't happen until a lot later. According to Wikipedia's page on copy protection:
By 2000, Napster had seen mainstream adoption, and several music publishers responded by starting to sell some CDs with various copy protection schemes. Most of these were playback restrictions that aimed to make the CD unusable in computers with CD-ROM drives, leaving only dedicated audio CD players for playback.
So it seems that CDs enjoyed nearly 20 years of unprotected playback. It's easy to see why. In the early 90s, a hard drive that was large enough to store a CD rip would have cost thousands of dollars. Even video games released in those days on optical media didn't bother to protect themselves because they didn't have to contend with cheap and large drives or affordable CD writers.
Try living somewhere with no government and report back to us. That is if you get out alive.
So you think the only alternative to a government that tramples over the rights of the citizens is no government at all? Did it not even occur to you that it might be nice to have a law-abiding, privacy-respecting government?
Just because "it could be worse" does not give the government permission to do whatever they want.
Then of course their monopolistic tendencies came out (again) when they decided to show a warning message to Windows 10 users who opened Firefox or Chrome by telling them that those browsers will use all your battery life and you'd better use Edge if you knew what was good for you.
Suggesting your own product is not a monopolistic practice. How different is that from going to Google and being presented with Google works better with Chrome and a Yes, get Chrome now button?
So this whole "browser battery life" war is nothing but an excuse for Microsoft's "DOS isn't done 'til Lotus won't run" tactic. This should be responded to with antitrust investigations and legal fines.
That's just ridiculous! What law did they break by claiming that their browser was better for battery life? How does that justify being fined? And how is promoting your product anything like the old Lotus myth?
Nobody uses Edge because they legitimately are concerned about their laptop battery life.
I think that statement can be simplified to just "Nobody uses Edge". But I for one consider my battery life when choosing what software to run. My computer has to last all day. It's useless to me if the battery dies. So, for example, my browser has to have an ad-blocker because I get sick of hearing my notebook's fan whir up to 100% when going to some sites with obnoxious advertising. It's galling to know that my CPU jumps to high usage just because someone wants to sell me something. I also use a lightweight programs instead of hard drive thrashing suites.
So if it wasn't an absolutely appalling browser, I would use Edge if it made a substantial difference to my notebook's usable life.
Let's be honest here - Sony didn't decided "Hey, I want everyone to use Microsoft". What, you think Sony loves Microsoft? Yeah right.
No. Microsoft went to them and said "Sell ONLY our stuff or you get no Windows."
Sony caved like a coward, signed an agreement, and were contractually obligated to refuse to sell non-windows computers. They don't care that much, because most consumers want Microsoft.
What a convoluted (and unsubstantiated) story you came up with. You could easily edit this down to be much simpler (and more accurate):
Sony didn't decided "Hey, I want everyone to use Microsoft", but since most consumers want Microsoft they gave them what they wanted.
You can't say in one sentence that the majority of the users want Windows and then in the very next one say that they don't want Windows. Which is it? How likely is it that Sony would want to make it more difficult for the 99% of the people who want to just turn their new computer and have it work, just to please the 1% who chose the wrong computer and then bitched about having to pay the Microsoft tax.
Seriously, if you don't want to pay for Windows then don't! It's not rocket science. Just recognise that you are a niche market, and that only a few companies will bother to support you.
How is this deserving of a patent? It's blindingly obvious to use the sensors available on a device to do their job? And activating the sensors has been done before, like activating a camera remotely or the feature built-in to phones now to get the GPS remotely. As soon as I heard about them adding fingerprint sensors to phones I immediately about how useful it would be to get the fingerprints of thieves.
Yes, that is a very old version of PowerShell that doesn't include that command. You can download the latest version as part of the Windows Management Framework. You can see the documentation for Invoke-WebRequest (where most of the examples are at the end).
But with bash you can just start typing text. No need to look up obscure command system and object names if they only thing you want to do is get a list of all files matching a pattern.
You must be one of those people who wonders why foreigners speak foreign languages when English is so much easier to learn! (Even our children can do it) Bash is not magically easier than PowerShell for someone who only uses it twice a year. In fact, I would say that PowerShell is easier because it has a lot of built-in aliases to make it familiar to *nix users.
Want to do a directory listing of all files matching a patter? Try ls *.txt. It will work in both bash and PowerShell. The arguments are different in PowerShell, but it's just a man ls to find out what they are (or just use the more convenient tab completion). Of course, those aliases are shortcuts to a verbose command naming scheme. I would think that for a very occasional user who might not remember the commands, it is far easier to use a system that has real descriptive names rather than the ultra-terse naming scheme used by *nix. Even if you can't remember the exact name in PowerShell, you can simply use a wildcard for the command name. Can't remember the command to export a CSV file? Type *csv* and keep pressing tab to cycle through the commands (or type man *csv* to see the entire list). If the occasional bash user had to export a CSV what would they do?
Also, PowerShell has a much more consistent argument naming scheme. The basic utilities on *nix have a diverse structure are arguments. For example, ls and find cover a similar subject, yet their arguments are worlds apart. You may be used to that, and so it seems familiar, but it is certainly not a simple case a sitting down and typing.
The difference is that Unix is oriented around commands and programs that take input and give output; whereas Windows is oriented around DLLs and frameworks that build on top of DLLs.
That is not an accurate assessment. PowerShell is all about commandlets and functions that take input and give output. The difference is that the input and output isn't just a stream of text, but objects. If you want to get the size of a file, you read it as a number; you don't have to convert the text in a particular position of a directory listing.
The pipeline is super-important in PowerShell. Objects, and lists of objects, are passed around and processed either sequentially or in a batch. The objects and pipeline are basically what gives PowerShell its power. To ignore that and talk about DLLs is just missing the entire point.
Actually, depending on what was being piped, it could be simplified to:
cat file.txt | where PropertyName -match "regex"
But where the elegance lies is that the similar code would work for other conditions, beyond what grep could do. If you wanted to find all the long lines in a file, you would say:
cat file.txt | where Length -gt 80
Of course, if you use the scriptblock version with the { } characters, then you can do complicated expressions
# Find long lines that start with the word using cat file.txt | where { $_.Length -gt 80 -and $_ -match '^using" }
# Find large files dir | where Length -gt 1mb
# Find large files that were written within the last week (not optimised) dir | where { $_.Length -gt 1mb -and $_.LastWriteTime -gt (get-date).AddDays(-7) }
This so-called non-elegant grep replacement can be used anytime you want to filter something. It doesn't have to be the contents of files or files themselves. Here I download the Slashdot.org homepage and find the link to the privacy statement:
$html = invoke-webrequest http://slashdot.org/ $html.Links | where InnerText -eq 'Privacy'
After 20 years of MS trying to kill the shell, they relented and decided the Windows platform needed one.
What on Earth gave you the impression that Microsoft had been trying to kill the shell?
For over 20 years they have made improvements to scripting from COMMAND.COM to CMD.EXE when we all moved to Windows NT. They added the Windows Scripting Host in 1999 with a large number of languages supported. Ten years ago they came out with PowerShell, which they have implemented as a central component so that some of the configuration programs are simply just a front-end to PowerShell (to teach people the scripting ways of controlling their server software).
They have also implemented the Server Core installation option of Windows Server, and the user interface is just a command prompt. No taskbar or explorer shell. None of these things are Microsoft trying to kill the shell.
PowerShell is not a result of a "not invented here" syndrome. If they had just made a copy of bash, then it would not done nearly as much as what PowerShell achieves. Microsoft didn't just try to be different, they tried to come up with something better.
What I particularly dislike is how it automatically filters output, and you have to use arguments or other applets to give you fuller output. It just strikes me as being the exact opposite of how any particular command or script should work.
No, it is not the opposite. It's giving the information that is the most usable and easily read by a human. Even *nix utilities do this. Hell, type "ls" and you don't get the file sizes and dates; you have to add -l to get those details.
And objects, big fucking deal. I've been using Bourne variants for a quarter of a century and never thought "Boy, I wish I had classes".
That just shows that you are stuck in the mindset of manipulating text outputs of commands to find the information you need. It certainly shows a lack of imagination that there could be anything better. What it doesn't show is that there is anything wrong with the concept of PowerShell simply because you don't get it.
When you start writing scripts that make web requests that you can read the value you want without having to do clunky regular expressions, then directly updating specific cells in a spreadsheet (including with formatting) then you realise just how much easier this is with an object-based system. Or how about writing your own software as a.NET library so that the same code can be used for manual viewing in a.NET application or with powerful scripting with PowerShell with no additional effort.
Seriously, that is utterly moronic! Why do they need to embrace their own product? Surely they could easily extend PowerShell without making it open source - BECAUSE THEY ALREADY HAVE THE SOURCE! And why would they extinguish one of the core part of Windows? And how could they if they made it open source?
You simply saw the name Microsoft and just jumped to the old, out-of-date triple-E meme that has absolutely no relevance to the topic. Pathetic.
I have observed that liberals tend to be idealists, conservatives realists.
That's right. That's why the Earth is 6,000 years old, climate change doesn't exist no matter what the science says, evolution is a myth, market forces are the answer to any problem, implementing a minimum wage totally ruined our economy, we are safer if we all have guns despite the statistics from other countries, the government should not try to control our lives and yet somehow gay marriage not only devalues our normal marriages and causes earthquakes.
It won't work on any computer but Microsoft Windows computer.
Blind hope that your choice of operating system is safe is the worst form of security. From the article:
PoisonTap emulates an Ethernet device (eg, Ethernet over USB/Thunderbolt) - by default, Windows, OS X and Linux recognize an ethernet device, automatically loading it as a low-priority network device and performing a DHCP request across it, even when the machine is locked or password protected
I make the post and it gets modded down, so I quote it again. I got karma, how long are we going to play this game?
Repeating yourself doesn't make the original statement any less moronic. Nobody has ever said that it is taxation itself that cools the system planet, apart from the OP and I suspect it was said because making pertinent arguments is just too hard for some people.
And repeating yourself just because someone nodded you down is just pathetic. If what you said was actually useful to anyone then someone else will mod you back up. But if all you are doing is repeating yourself just to get a rise out of someone then you are being a troll and deserve downwards moderation.
Microsoft also gets version numbers from Windows Update. There is also a site to which the networking system attempts to connect when determining whether a network has both local and internet services (giving a different status icon in the system tray). You can disable this, but I wouldn't be surprised if they submitted the Windows version in the HTTP request header.
You can find great discrepancies between the OS market share reported from different sources, which shows how inaccurate they are. Let's face it, all they can do is guess by the only external method they can find - web browser stats. Only Microsoft can tell you anything even close to accurate as far as usage goes, and even they are limited to computers that are connected to the Internet.
The percentage changes listed in the TFA are going to be dwarfed by the error margin such that it is completely meaningless to try to make any proclamations that a significant number of people are downgrading Windows.
The other, is that the banks ultimately get to decide what cash-related technology becomes almost universally used, and just like the Australian banks, no banks will touch something they can't control.
The day after the /. discussion about Aussie banks being against Apple's payment system, I saw an advertisement at a bus stop from ANZ for Apple Pay. It seems that some banks will be willing to touch something that they can't control.
What do you think happens with credit cards?
And how is that relevant to the argument that some people do like to carry cash around? If someone is using cash instead of Apple Pay then they are also using cash instead of a credit card.
You have made some assumptions there. You assume that half a degree is not enough to cause problems with the corel. Sure, scientists have their laboratory tests and charts to back up their claims, but you trumped them with your CAPS LOCK key. Never mind that corel is particularly sensitive to temperature variation and so for them half a degree is actually massive.
You also assume that the daily variance in temperature stops as soon as it gets warm. Could it not possibly be that the variance continues, but the peaks get hotter while it never gets as cold as it used to? The problem isn't that it gets hot for a short time, but if it stays hot for weeks at a time.
You say that this is all crap, but you have no idea of what you are talking about. You accuse the scientists of simplifying the problem and yet think that the idea that you came up with in 10 minutes that it can get hotter for parts of the day is enough to demolish the view of people who spend every day studying this sort of thing.
Your assessment was that he doesn't learn from his mistakes. He clearly did learn from buying Myspace.
Rupert Murdoch paid $580 million for Myspace, and based on his personal life never learns a lesson, so they might pitch themselves to him.
Both Yahoo and Rupert Murdoch disagree with your assessment of the man.. There is no way Murdoch would be interested in the company.
I think Windows 10 is causing the slump, but not because people don't want it - it is because they already have it. There has always been a large segment of people who used a new version of Windows as the excuse to buy a new system; either because the OS needed the extra grunt or it was simply deemed to be the easiest way to upgrade for non-techies.
Along comes Windows 10, which basically threw itself onto everybody's existing systems. All of a sudden, there was no reason to buy new computer. As we all know, recent computer hardware is still fast enough to run average software so the benefit of buying a new system is miniscule.
Who are you accusing of hating here? The Wall Street Journal for publishing this article? Samsung for discontinuing the model? Or maybe msmash for submitting the story here?
Is this not a newsworthy topic? Is this not a current red-hot issue in the tech world? Is this not news for nerds?
How is it that you think that this is a political issue, or one driven by hate? Do you think that we should meekly accept phones that explode on us? You accuse others of being fanbois, but I can't think of any excuse to wanting us to remain silent on this issue other than you being a fanboi yourself.
Ok I admit that I use iOS devices more than android. But why the hate towards Samsung with the good riddance.
What I so of like to know is why there are now two posts asking "why all the hate" when at the time of posting nobody is hating? The only one even slightly close is hating on Apple (and has been modded down).
Yes, Samsung should fix the phones, but their attempt to do so has resulted in an equally explosive phone. At this point, for PR reasons they need to release a new phone with another name. They will still have to replace the existing customers' phones, but they will do it with a model that has the model incremented by one. Doing this will make no difference to the final outcome
You know full well that in this case free just means they aren't charging any money for it. It doesn't mean that they are giving away their rights on these books and so they don't have to make them available for a straight anonymous download. They do these sorts of deals to get potential customers to their site. If you could just at hand out anonymous links to the books then it would fail their goal.
If you don't want to give them you details then don't get the books. Easy!
Anyone old enough to remember when CDs first came out, they were packed with all sorts of security by obscurity measures designed to make sure that they wouldn't play from your computer as well as from your car stereo.
I'm old enough to remember, but I don't remember that. Audio CDs have been around since the early 80s, but protected audio CDs didn't happen until a lot later. According to Wikipedia's page on copy protection:
By 2000, Napster had seen mainstream adoption, and several music publishers responded by starting to sell some CDs with various copy protection schemes. Most of these were playback restrictions that aimed to make the CD unusable in computers with CD-ROM drives, leaving only dedicated audio CD players for playback.
So it seems that CDs enjoyed nearly 20 years of unprotected playback. It's easy to see why. In the early 90s, a hard drive that was large enough to store a CD rip would have cost thousands of dollars. Even video games released in those days on optical media didn't bother to protect themselves because they didn't have to contend with cheap and large drives or affordable CD writers.
Try living somewhere with no government and report back to us. That is if you get out alive.
So you think the only alternative to a government that tramples over the rights of the citizens is no government at all? Did it not even occur to you that it might be nice to have a law-abiding, privacy-respecting government?
Just because "it could be worse" does not give the government permission to do whatever they want.
Then of course their monopolistic tendencies came out (again) when they decided to show a warning message to Windows 10 users who opened Firefox or Chrome by telling them that those browsers will use all your battery life and you'd better use Edge if you knew what was good for you.
Suggesting your own product is not a monopolistic practice. How different is that from going to Google and being presented with Google works better with Chrome and a Yes, get Chrome now button?
So this whole "browser battery life" war is nothing but an excuse for Microsoft's "DOS isn't done 'til Lotus won't run" tactic. This should be responded to with antitrust investigations and legal fines.
That's just ridiculous! What law did they break by claiming that their browser was better for battery life? How does that justify being fined? And how is promoting your product anything like the old Lotus myth?
Nobody uses Edge because they legitimately are concerned about their laptop battery life.
I think that statement can be simplified to just "Nobody uses Edge". But I for one consider my battery life when choosing what software to run. My computer has to last all day. It's useless to me if the battery dies. So, for example, my browser has to have an ad-blocker because I get sick of hearing my notebook's fan whir up to 100% when going to some sites with obnoxious advertising. It's galling to know that my CPU jumps to high usage just because someone wants to sell me something. I also use a lightweight programs instead of hard drive thrashing suites.
So if it wasn't an absolutely appalling browser, I would use Edge if it made a substantial difference to my notebook's usable life.
Let's be honest here - Sony didn't decided "Hey, I want everyone to use Microsoft". What, you think Sony loves Microsoft? Yeah right.
No. Microsoft went to them and said "Sell ONLY our stuff or you get no Windows."
Sony caved like a coward, signed an agreement, and were contractually obligated to refuse to sell non-windows computers. They don't care that much, because most consumers want Microsoft.
What a convoluted (and unsubstantiated) story you came up with. You could easily edit this down to be much simpler (and more accurate):
Sony didn't decided "Hey, I want everyone to use Microsoft", but since most consumers want Microsoft they gave them what they wanted.
You can't say in one sentence that the majority of the users want Windows and then in the very next one say that they don't want Windows. Which is it? How likely is it that Sony would want to make it more difficult for the 99% of the people who want to just turn their new computer and have it work, just to please the 1% who chose the wrong computer and then bitched about having to pay the Microsoft tax.
Seriously, if you don't want to pay for Windows then don't! It's not rocket science. Just recognise that you are a niche market, and that only a few companies will bother to support you.
How is this deserving of a patent? It's blindingly obvious to use the sensors available on a device to do their job? And activating the sensors has been done before, like activating a camera remotely or the feature built-in to phones now to get the GPS remotely. As soon as I heard about them adding fingerprint sensors to phones I immediately about how useful it would be to get the fingerprints of thieves.
Yes, that is a very old version of PowerShell that doesn't include that command. You can download the latest version as part of the Windows Management Framework. You can see the documentation for Invoke-WebRequest (where most of the examples are at the end).
But with bash you can just start typing text. No need to look up obscure command system and object names if they only thing you want to do is get a list of all files matching a pattern.
You must be one of those people who wonders why foreigners speak foreign languages when English is so much easier to learn! (Even our children can do it) Bash is not magically easier than PowerShell for someone who only uses it twice a year. In fact, I would say that PowerShell is easier because it has a lot of built-in aliases to make it familiar to *nix users.
Want to do a directory listing of all files matching a patter? Try ls *.txt. It will work in both bash and PowerShell. The arguments are different in PowerShell, but it's just a man ls to find out what they are (or just use the more convenient tab completion). Of course, those aliases are shortcuts to a verbose command naming scheme. I would think that for a very occasional user who might not remember the commands, it is far easier to use a system that has real descriptive names rather than the ultra-terse naming scheme used by *nix. Even if you can't remember the exact name in PowerShell, you can simply use a wildcard for the command name. Can't remember the command to export a CSV file? Type *csv* and keep pressing tab to cycle through the commands (or type man *csv* to see the entire list). If the occasional bash user had to export a CSV what would they do?
Also, PowerShell has a much more consistent argument naming scheme. The basic utilities on *nix have a diverse structure are arguments. For example, ls and find cover a similar subject, yet their arguments are worlds apart. You may be used to that, and so it seems familiar, but it is certainly not a simple case a sitting down and typing.
The difference is that Unix is oriented around commands and programs that take input and give output; whereas Windows is oriented around DLLs and frameworks that build on top of DLLs.
That is not an accurate assessment. PowerShell is all about commandlets and functions that take input and give output. The difference is that the input and output isn't just a stream of text, but objects. If you want to get the size of a file, you read it as a number; you don't have to convert the text in a particular position of a directory listing.
The pipeline is super-important in PowerShell. Objects, and lists of objects, are passed around and processed either sequentially or in a batch. The objects and pipeline are basically what gives PowerShell its power. To ignore that and talk about DLLs is just missing the entire point.
Wow, that's elegant.
Actually, depending on what was being piped, it could be simplified to:
But where the elegance lies is that the similar code would work for other conditions, beyond what grep could do. If you wanted to find all the long lines in a file, you would say:
Of course, if you use the scriptblock version with the { } characters, then you can do complicated expressions
This so-called non-elegant grep replacement can be used anytime you want to filter something. It doesn't have to be the contents of files or files themselves. Here I download the Slashdot.org homepage and find the link to the privacy statement:
After 20 years of MS trying to kill the shell, they relented and decided the Windows platform needed one.
What on Earth gave you the impression that Microsoft had been trying to kill the shell?
For over 20 years they have made improvements to scripting from COMMAND.COM to CMD.EXE when we all moved to Windows NT. They added the Windows Scripting Host in 1999 with a large number of languages supported. Ten years ago they came out with PowerShell, which they have implemented as a central component so that some of the configuration programs are simply just a front-end to PowerShell (to teach people the scripting ways of controlling their server software).
They have also implemented the Server Core installation option of Windows Server, and the user interface is just a command prompt. No taskbar or explorer shell. None of these things are Microsoft trying to kill the shell.
PowerShell is not a result of a "not invented here" syndrome. If they had just made a copy of bash, then it would not done nearly as much as what PowerShell achieves. Microsoft didn't just try to be different, they tried to come up with something better.
What I particularly dislike is how it automatically filters output, and you have to use arguments or other applets to give you fuller output. It just strikes me as being the exact opposite of how any particular command or script should work.
No, it is not the opposite. It's giving the information that is the most usable and easily read by a human. Even *nix utilities do this. Hell, type "ls" and you don't get the file sizes and dates; you have to add -l to get those details.
And objects, big fucking deal. I've been using Bourne variants for a quarter of a century and never thought "Boy, I wish I had classes".
That just shows that you are stuck in the mindset of manipulating text outputs of commands to find the information you need. It certainly shows a lack of imagination that there could be anything better. What it doesn't show is that there is anything wrong with the concept of PowerShell simply because you don't get it.
When you start writing scripts that make web requests that you can read the value you want without having to do clunky regular expressions, then directly updating specific cells in a spreadsheet (including with formatting) then you realise just how much easier this is with an object-based system. Or how about writing your own software as a .NET library so that the same code can be used for manual viewing in a .NET application or with powerful scripting with PowerShell with no additional effort.
Embrace, extend and extinguish ???
Seriously, that is utterly moronic! Why do they need to embrace their own product? Surely they could easily extend PowerShell without making it open source - BECAUSE THEY ALREADY HAVE THE SOURCE! And why would they extinguish one of the core part of Windows? And how could they if they made it open source?
You simply saw the name Microsoft and just jumped to the old, out-of-date triple-E meme that has absolutely no relevance to the topic. Pathetic.