Live data from Hacker News

Windows Management Framework V5 Preview

blogs.technet.com

51–60 of 65 posts

Re: Windows Management Framework V5 Preview

#51

Earlier quoted context omitted.

MVC5 uses AttributeRouting. Just put the routing on the controllers. No need for a routing table. (or routes.rb ;) ) ASP.Net Identity 2 is just that, easy and extensible membership. Owin requests also give you what you're asking for also. Don't like the S, change it? lowercaseroutes=true. ;) Oh, and just to be snarky, the "programmers who don't understand HTTP" were lead by Henrik Nielsen, author of the HTTP spec, us…

Ach, I just needed to release a pressure valve. I think I'm mentally getting ready to abandon ASP.Net soon in all honesty, it's such a mess. And just because you can make a car doesn't make you a great race-driver ;) EDIT: WTF is going on with downvotes this week? If you don't agree with me, reply, don't down-vote. A spec designer of HTML, which no sane person can claim isn't riddled with bad design decisions, is not…

If you don't agree with me, reply, don't down-vote.

With an account that old you should know better -- downvotes are perfectly fine for disagreement. This is not Reddit.

Re: Windows Management Framework V5 Preview

#52
post #47
post #27

Almost a meta comment, but Microsoft seems to be knocking their BUILD conference out of the park this year. I think we've already seen more notable announcements and improvements than we'll see at WWDC. Just the fact that there was a talk about developing iOS apps by the founder of Xamarin is telling. The fact that he was wearing Google Glass is another...

Yes, things are looking healthy for Microsoft's developer reputation. Now if only they implemented C99 and full POSIX....

If they could make Windows actually POSIX compliant and have a proper shell it would be a massive step forward for the platform.

It's not that Windows is different, but that Windows is just plain broken and there's heaps of hacks on top of that to try and deal with the awful design. PowerShell is an attempt to fix CMD which is an attempt to fix batch files and the feeble CPM inspired command prompt.

Re: Windows Management Framework V5 Preview

#53
post #37

As a long time on-and-off chocolatey user: YAY!!! I prefer *nix but at work I need to use Windows sometimes, Chocolatey is a HUGE step in the right direction. It boggled my mind that MSFT wasn't throwing money behind the project- it does loads to make Windows friendlier to developers who prefer CLI. I hope they commit a person/team to evaluating/maintaining/cleaning up packages in the Chocolatey repo. One question I…

Yes, Chocolatey has a lot of volunteer-maintained packages that have gone stale; official Microsoft support will pressure software developers to publish up-to-date packages.

This is good news for Chocolately, which should be able to support these packages even on older versions of Windows.

Re: Windows Management Framework V5 Preview

#54
post #42

Earlier quoted context omitted.

I'm a *nix/FOSS guy with 15+ years of experience. I spent a couple minutes trying to figure out what MSYS2 was from the project page/the project wiki/Google, and then just gave up. Really, a single sentence on the summary page at http://sourceforge.net/projects/msys2 and the wiki at http://sourceforge.net/p/msys2/wiki/Home/ would go a long way. For anyone else in the same boat, I assume this is a replacement for MSYS…

It looks to be a package manager for mingw packages: http://www.mingw.org/wiki/MSYS At a minimum, they should just put a URL to the above.

This is MSYS (not 2). The web presence of MSYS/MinGW has always been poorly designed. Hopefully it will get better with MSYS2.

I've installed it recently using info from: http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/

It has a port of pacman (!) from Arch Linux for package managing. It feels so much better than mingw-get (package manager used for MSYS/MinGW).

Re: Windows Management Framework V5 Preview

#55
post #42

Earlier quoted context omitted.

I'm a *nix/FOSS guy with 15+ years of experience. I spent a couple minutes trying to figure out what MSYS2 was from the project page/the project wiki/Google, and then just gave up. Really, a single sentence on the summary page at http://sourceforge.net/projects/msys2 and the wiki at http://sourceforge.net/p/msys2/wiki/Home/ would go a long way. For anyone else in the same boat, I assume this is a replacement for MSYS…

It looks to be a package manager for mingw packages: http://www.mingw.org/wiki/MSYS At a minimum, they should just put a URL to the above.

mingw and MinGW-w64 are not the same thing, so that URL would be less than useful.

MSYS2 is firmly in the MinGW-w64 camp. The schism happened when GCC was ported to 64bit Windows and we've not looked back since (much; working together is always to be preferred but sometimes that is not possible).

We're investigating why sourceforge will not let me update our description.

Re: Windows Management Framework V5 Preview

#56
post #54

Earlier quoted context omitted.

It looks to be a package manager for mingw packages: http://www.mingw.org/wiki/MSYS At a minimum, they should just put a URL to the above.

This is MSYS (not 2). The web presence of MSYS/MinGW has always been poorly designed. Hopefully it will get better with MSYS2. I've installed it recently using info from: http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/ It has a port of pacman (!) from Arch Linux for package managing. It feels so much better than mingw-get (package manager used for MSYS/MinGW).

Yes, pacman is wonderful. We're very grateful to the Arch Linux devs.

You guys are all correct, we've not paid nearly enough attention to marketing. Here's the description I tried to post:

MSYS2 is an updated, modern version of MSYS, both of which are Cygwin (POSIX compatibility layer) forks with the aim of better interoperability with native Windows software.

The name is a contraction of Minimal SYStem 2, and aims to provide support to facilitate using the bash shell, Autotools, revision control systems and the like for building native Windows applications using MinGW-w64 toolchains.

We wanted a package management system to provide easy installation of packages, and ported Arch Linux's pacman. This brings many powerful features such as dependency resolution and simple complete system upgrades, as well as providing the build system (makepkg) which is used to make these packages. The set of software-building recipes (PKGBUILDs) for MSYS2 itself are at:

https://github.com/Alexpux/MSYS2-packages

.. and those for MinGW-w64 (i.e. native Windows software) are at:

https://github.com/Alexpux/MINGW-packages

Both 32 and 64bit are supported.

Re: Windows Management Framework V5 Preview

#57

Earlier quoted context omitted.

/ranty Ahhh, Owin and Helios perhaps explain why the ASP.Net team are starting to feel like they are losing the plot. Trying to put any of their new stuff into existing projects is a complete nightmare. Their new features are inflexible and brittle. WebAPI feels alien. Routing is getting more and more complicated instead of simpler. And the new APIs just 'feel' wrong, as if they've been written by programmers who don…

MVC5 uses AttributeRouting. Just put the routing on the controllers. No need for a routing table. (or routes.rb ;) ) ASP.Net Identity 2 is just that, easy and extensible membership. Owin requests also give you what you're asking for also. Don't like the S, change it? lowercaseroutes=true. ;) Oh, and just to be snarky, the "programmers who don't understand HTTP" were lead by Henrik Nielsen, author of the HTTP spec, us…

ASP.Net Identity 2 is just that, easy and extensible membership.

I don't know about easy, but it definitely doesn't look simple, judging by examples.

http://blog.iteedee.com/2014/03/asp-net-identity-2-0-cookie-...

There are a lot of abstractions that don't represent anything outside of the framework itself, and a lot of components that interact in non-obvious ways. Also, it seems like finding integration points requires quite a bit of knowledge about how Identity 2 works.

The fact that there doesn't seem to be a coherent set of definitive/official documentation describing what and how it works doesn't help either.

Re: Windows Management Framework V5 Preview

#58
post #29

This is cool. I'm a *nix guy but this actually compels me to learn PowerShell for those rare occasions when I'm working on a Windows machine.

You should do it. I worked with PowerShell a few years ago and it was much better experience than shell scripting with bash or tcsh or others. Things I liked:

You get an IDE for free. It's quite usable out of the box and it's really nice for learning the language.

It's less reliant on punctuation. There are a few special symbols and they are highly regular in their usage. Syntax feels more readable (to me) than that of bash thanks to this.

You deal with objects. You can reflect on them (great for exploration), call methods on them, while still having generic ways for composing them and manipulating in large quantities. Yet the language itself is not object oriented, which makes it much simpler than it would be otherwise.

You get the whole .NET to use. Or most of it. You can basically instantiate and use any .NET class (and COM objects and other such things) without hassle.

There are a few concepts in the language which unify many concepts from the system. For example you can "cd" into a directory or a key in the registry or a network share or any number of other things which can be thought of as a listable resource.

This is coming from a programmer, so it's missing things probably important for sysadmins, like security management and built in process of signing and verifying scripts signatures before running them.

One think I didn't like: it was slow. The other: nothing worked on it (I mean things like python's virtualenv, which comes with .bat file, but not with .ps1 file), even Visual Studio command prompt. I ended up writing some PowerShell code for translating cmd.exe variables to PS ones.

And, of course, it's Microsoft, so forget about running it somewhere else. But, all in all, if you have to script something in Windows, it's by far better than any other tool.

Re: Windows Management Framework V5 Preview

#59
post #29

This is cool. I'm a *nix guy but this actually compels me to learn PowerShell for those rare occasions when I'm working on a Windows machine.

You should do it. I worked with PowerShell a few years ago and it was much better experience than shell scripting with bash or tcsh or others. Things I liked: You get an IDE for free. It's quite usable out of the box and it's really nice for learning the language. It's less reliant on punctuation. There are a few special symbols and they are highly regular in their usage. Syntax feels more readable (to me) than that…

> "cd" into a directory or key in registry.

You might be interested in my little project redditps - https://github.com/manojlds/redditps

I wrote it to mainly highlight such cool features of Powershell.

Re: Windows Management Framework V5 Preview

#60

This is actually pretty awesome. I liked package managers (using linux and Windows on dualboot), one of the best tools for Windows is Cygwin (using Linux commands in Windows).. Where i can automate a lot of (manual) work. It seems to me that Microsoft is going all-in on open-source and flexibility. If you are using Asp.Net, you should check out Owin and project Helios - http://blogs.msdn.com/b/webdev/archive/2014/02/…

/ranty Ahhh, Owin and Helios perhaps explain why the ASP.Net team are starting to feel like they are losing the plot. Trying to put any of their new stuff into existing projects is a complete nightmare. Their new features are inflexible and brittle. WebAPI feels alien. Routing is getting more and more complicated instead of simpler. And the new APIs just 'feel' wrong, as if they've been written by programmers who don…

Agree entirely. However from an architectural POV, Asp.net has always been a pile of crap because everything is abstract classes and sealed ones at that. Virtually impossible to reliably test. Interfaces? Never! Even System.Web.Abstractions stinks.

Having written a view engine, security frameworks, NH session management stuff, 100+ complicated controllers, action filters galore and thrown it into MVC I've come to not appreciate it very much.

And don't get me started on Razor. Buffered rendering for layouts (bye bye RAM), batshit source, obtuse and non orthogonal syntax, poor runtime integration, absolutely no separation of logic and code.

I'm ready to move on.

Edit: just to add, I'm really liking Java's design by committee approach these days. It's incredibly clear that you need a lot of opinions to build a correct and well engineered solution. With .Net in general, it's served up to customers ike a soup kitchen. Occasionally we're left without soup though (WF3, Silverlight, early EF versions, WCF fragmentation, razor and so forth). The majority of the praise comes from people subjected to WebForms for years or even Telerik circa 2006 at the worst.

Post reply on HN