<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4887447608343482497.post1269333104236652268..comments</id><updated>2011-04-04T11:42:51.252-07:00</updated><title type='text'>Comments on You work for me, Computer: PowerShell: condemned to reinvent</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.brandonbloom.name/feeds/1269333104236652268/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html'/><author><name>Brandon Bloom</name><uri>https://profiles.google.com/114179817210743283438</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-wzrCTMzz79I/AAAAAAAAAAI/AAAAAAAAAbU/srDiAY0bxMk/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-2456948188605082978</id><published>2011-04-04T11:42:51.252-07:00</published><updated>2011-04-04T11:42:51.252-07:00</updated><title type='text'>Are you kidding?  MS couldn&amp;#39;t even get the &lt;i&gt;...</title><content type='html'>Are you kidding?  MS couldn&amp;#39;t even get the &lt;i&gt;simplest&lt;/i&gt; thing right.  Their &amp;quot;compare-object&amp;quot; is supposed to be their &amp;quot;equivalent&amp;quot; to diff.  Not so.  Not even close.  Try comparing these two files:&lt;br /&gt;&lt;br /&gt;file 1:&lt;br /&gt;a&lt;br /&gt;b&lt;br /&gt;c&lt;br /&gt;d&lt;br /&gt;&lt;br /&gt;file 2:&lt;br /&gt;d&lt;br /&gt;c&lt;br /&gt;b&lt;br /&gt;a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unix diff correctly shows how they are different.  MS compare-objects says they are the same.  Why?  Because the latter doesn&amp;#39;t care about order.&lt;br /&gt;&lt;br /&gt;Microsoft is not &amp;quot;very smart&amp;quot;.  They are demented.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/2456948188605082978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/2456948188605082978'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1301942571252#c2456948188605082978' title=''/><author><name>Len</name><uri>http://www.blogger.com/profile/17133856850606131430</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1209158078'/></entry><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-6411573449625925344</id><published>2009-10-23T13:38:17.490-07:00</published><updated>2009-10-23T13:38:17.490-07:00</updated><title type='text'>Piping objects has draw backs too. Here&amp;#39;s a ca...</title><content type='html'>Piping objects has draw backs too. Here&amp;#39;s a case that came up on the internal PowerShell mailing list...&lt;br /&gt;&lt;br /&gt;Unix:&lt;br /&gt;&lt;br /&gt;cat foo | wc -l&lt;br /&gt;&lt;br /&gt;PowerShell:&lt;br /&gt;&lt;br /&gt;Get-Content foo | Measure-Object -line&lt;br /&gt;&lt;br /&gt;Ignore the line length, as I didn&amp;#39;t use any aliases for the PowerShell version. The issue here is that Get-Content returns a String, not a StreamReader. The result is that for large files, the entire String must be read into memory and for really large files, swapped back out to disk!&lt;br /&gt;&lt;br /&gt;You could easily work around this with objects; this example is just to show that objects have drawbacks just as byte streams do. Everything is always a balance. I like the Unix approach because it is a simple system with drawbacks that are well understood. I dislike the object approach because it is a complex system with less obvious drawbacks that don&amp;#39;t bite you until much later.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/6411573449625925344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/6411573449625925344'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1256330297490#c6411573449625925344' title=''/><author><name>Brandon Bloom</name><uri>http://www.blogger.com/profile/16981101182779460140</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-458742338'/></entry><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-588763827733136735</id><published>2009-10-22T21:04:21.660-07:00</published><updated>2009-10-22T21:04:21.660-07:00</updated><title type='text'>Unix is optimized around flat files windows is opt...</title><content type='html'>Unix is optimized around flat files windows is optimized around objects. It&amp;#39;s not the they don&amp;#39;t understand Unix. The Powershell Team has a strong unix Background. It&amp;#39;s just just that M$ has 87% market share and a trillion dollars in the bank share that says F@ck unix.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/588763827733136735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/588763827733136735'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1256270661660#c588763827733136735' title=''/><author><name>Powershell Jedi</name><uri>http://www.blogger.com/profile/10458156400383381038</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-634553547'/></entry><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-4517857399423363409</id><published>2009-10-21T06:21:30.246-07:00</published><updated>2009-10-21T06:21:30.246-07:00</updated><title type='text'>Sorry but no: Pipelining objects is much smarter. ...</title><content type='html'>Sorry but no: Pipelining objects is much smarter. You can still pipe strings or binary data if you want, but you don&amp;#39;t have all the drawbacks.&lt;br /&gt;&lt;br /&gt;And then there&amp;#39;s the security implications. While theoratically possible, are all your scripts safe against whitespace|&amp;quot;&amp;#39;` injection? Piping objects is sooo much easier AND it does not kill your system if the bytestream contains `rm -rf /`. &lt;br /&gt;&lt;br /&gt;Just my two cents...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/4517857399423363409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/4517857399423363409'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1256131290246#c4517857399423363409' title=''/><author><name>Kosta</name><uri>http://www.blogger.com/profile/05075601926428752831</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2105266043'/></entry><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-8714740892157831535</id><published>2009-08-20T18:53:37.639-07:00</published><updated>2009-08-20T18:53:37.639-07:00</updated><title type='text'>I agree, PowerShell is way better than the primiti...</title><content type='html'>I agree, PowerShell is way better than the primitive, DOS style Windows CMD. However, it&amp;#39;s nothing like a normal Unix shell for me... and I&amp;#39;d rather just use cygwin.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/8714740892157831535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/8714740892157831535'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1250819617639#c8714740892157831535' title=''/><author><name>Howard T. Snidbiscuits</name><uri>http://www.blogger.com/profile/07724989982714067010</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1567949323'/></entry><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-6208518944595396480</id><published>2009-04-20T16:48:00.000-07:00</published><updated>2009-04-20T16:48:00.000-07:00</updated><title type='text'>I don't know the history of PowerShell or any of t...</title><content type='html'>I don't know the history of PowerShell or any of the team members. I'm sure they are all very smart and have a strong grasp of Unix in general. Maybe they understand exactly what I'm getting at, but explicitly rejected it for some non-obvious reasons (such as scheduling, implementation complexity, target users, etc). They probably know better than I do. My apologies for exaggerating to make a point :-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/6208518944595396480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/6208518944595396480'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1240271280000#c6208518944595396480' title=''/><author><name>Brandon Bloom</name><uri>http://www.blogger.com/profile/16981101182779460140</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-458742338'/></entry><entry><id>tag:blogger.com,1999:blog-4887447608343482497.post-1948210361807258817</id><published>2009-04-20T16:08:00.000-07:00</published><updated>2009-04-20T16:08:00.000-07:00</updated><title type='text'>I find the 2nd point interesting given that most o...</title><content type='html'>I find the 2nd point interesting given that most of the powershell team were unix only guys before this project.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/1948210361807258817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4887447608343482497/1269333104236652268/comments/default/1948210361807258817'/><link rel='alternate' type='text/html' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html?showComment=1240268880000#c1948210361807258817' title=''/><author><name>klumsy</name><uri>http://www.blogger.com/profile/10981388269545615273</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.brandonbloom.name/2009/04/powershell-condemned-to-reinvent.html' ref='tag:blogger.com,1999:blog-4887447608343482497.post-1269333104236652268' source='http://www.blogger.com/feeds/4887447608343482497/posts/default/1269333104236652268' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2046096118'/></entry></feed>
