News for hackers. Stuff that matters.
Re:ReactOS, a 17-year quest for an open-source Windows, has ... by pjmlp on Thursday December 17, 2015 @03:08AM (#10750200)
Only if you ignore Powershell.

You can orchestrate scripts in FP style, similar to the REPLs in Xerox PARC workstations, access any .NET, DLL or COM API as if it was part of Powershell, manipulate data without parsing it all the time, interact with running applications via Windows APIs....

Re:ReactOS, a 17-year quest for an open-source Windows, has ... by pjc50 on Thursday December 17, 2015 @07:00AM (#10750962)
I've tried to adopt powershell, and here are the obstacles I encountered:

1) You can't write or run scripts "out of the box", you need to do a security incantation first. A oneoff hurdle, but right at the start of the learning curve.

2) Perhaps because of (1), it's not very dogfooded: on a UNIX system, there are lots of already-existing shell scripts sitting around as parts of the OS. PS is not so rich in examples.

3) If you do actually want to parse data, it's not very good at this.

4) I've not worked out how to save intermediate stages in a pipeline to persistent storage.

5) Hasn't yet developed much of a "user culture", although I think that will come eventually.

Re:ReactOS, a 17-year quest for an open-source Windows, has ... by nailer on Thursday December 17, 2015 @09:33AM (#10751631)
You can't run scripts out of the box on nix either: you either need to manually mark the script as executable or invoke the interpreter and pass it as a parameter.

Not saying that's a bad thing, just that we (as Unix folks) do things intuitively that we forgot we once not intuitive.

Totally agreed on 2 though 5 though.

Re:ReactOS, a 17-year quest for an open-source Windows, has ... by noselasd on Thursday December 17, 2015 @09:34AM (#10751637)
What comes to mind by 4), is "tee", which powershell also has - but that's perhaps not what you want/mean ?
Re:ReactOS, a 17-year quest for an open-source Windows, has ... by pjc50 on Thursday December 17, 2015 @10:55AM (#10752167)
Almost, but not quite. Tee writes the pipeline to disk as text; you can't trivially take the written output and pipe it back in as objects. It's lost the magic.
Re:ReactOS, a 17-year quest for an open-source Windows, has ... by noselasd on Friday December 18, 2015 @03:24AM (#10757366)
Fair point. I believe you can use the Export-Clixml/Import-Clixml or ConvertTo-Xml/ConfertFrom-Xml for doing just that.
Re:ReactOS, a 17-year quest for an open-source Windows, has ... by pjmlp on Thursday December 17, 2015 @07:18AM (#10751013)
Regarding 1), at least it avoids the curl | sh => send $HOME to the world of current UNIX users.
Re:ReactOS, a 17-year quest for an open-source Windows, has ... by mkesper on Thursday December 17, 2015 @07:10AM (#10750992)