Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Re:PowerShell is yucky yucky yucky! (Score 1) 265

Wordy is the key issue, look at your average unix app generally all the flags can use a short - or a long -- for the same function.

How about if the unix app allowed only the long form option names - but allowed them to be abbreviated as long as the abbreviation was unambigous? (That's what powershell does)

PS forget that 30+ years of unix shell to near perfection and rolled their own verbose and obtuse creation

That why we still code in assembler and don't use those modern touch screens. Oh wait... (lalalalalalalal! -- fingers in ears, eyes firmly closed)

Comment Re:I'll bite (Score 1) 265

They will not get bash to work well under windows. The problem is the brain-dead and overcomplicated NTFS permission system. There is no way to get that handled without just as over-complicated and brain-dead "special" tools.

Yes, there is no concept of SUID/setuid on Windows. So there's no sudo "happy go lucky".

Comment Re:I'll bite (Score 1, Informative) 265

1. What is awkward with string parsing? Is this shell aimed at _incompetent_ people?

No, PowerShell is aimed at admins who want *robust* scripts - both the ad-hoc ones they whip up as well as the ones they choose to save. String parsing is extremely brittle, and most bash shell scipters do it the insecure and brittle way because it is easier.

String parsing is often thrown off if presented with unusual characters in file names, if executed in locales where dates and numbers are both generated and parsed different, etc.

2. And that works how on Linux?

OMI is available on Linux. Read the FTFA

3. An IDE in a Shell? Is the syntax so bad that you need an IDE? Or is this another effect of being aimed at incompetents?

You're the incompetent one. There's is no "IDE in a shell". The ISE *is* the shell - much like if you did bash scripting from emacs. The difference is that the ISE will provide you with intellisense (automatic suggestions), help, syntax highlighting, snippets, multiple script panels, integrated source-level debugging (complete with breakpoints, variable inspection etc) and even a command "builder".

4. Aehm, know any mainstream modern shell that does _not_ have excellent documentation?

Most *nix shells have good documentation. PowerShell has good documentation as well. All of the cmdlets have syntax descriptions (automatically generated from metadata), description and multiple examples. In PowerShell even user-defined functions, cmdlets and script files can have the same level of documentation. Comment based help (look it up) makes it super easy to document scripts and functions. And the auto-generated syntax diagrams and parameter descriptions also work for your own script files.

5. Seriously? I found the command syntax exceptionally awkward and badly thought out. I am back to a cygwin console for most things.

PowerShells command syntax is extremely consistent. Cmdlets are *always* of the verb-noun form, and there are only about 40 or so standard "approved" verbs. Parsing of the command parameters is the responsibility of the *shell* not of the commands like in *nix shells. Hence, all commands follow the same convention with no strange outliers like e.g. dd. Parameter names are always "long" - but can be abbreviated as long as the abbreviation is unambigous.

Submission + - PowerShell DSC for Linux is Available

jones_supa writes: Microsoft is announcing that PowerShell Desired State Configuration (DSC) for Linux is available for download in form of RPM and DEB packages. DSC is a new management platform that provides a set of PowerShell extensions that you can use to declaratively specify how you want your software environment to be configured. You can now use the DSC platform to manage the configuration of both Windows and Linux workloads with the PowerShell interface. Microsoft says that bringing DSC to Linux is another step in the company's "broader commitment to common management of heterogeneous assets in your datacenter or the public cloud".

Submission + - PowerShell DSC for Linux is now available (msdn.com)

benjymouse writes: You can now use the Desired State Configuration (DSC) platform to manage the configuration of both Windows and Linux workloads with a familiar PowerShell interface. DSC is in the same space as Chef and Puppet (and others); but unlike those, Microsofts attempts to build a platform/infrastructure based on industry standards like OMI to allow DSC to configure and control both Windows, Linux and other OSes as well as network equipment like switches etc.

Comment Re:"The Polar Bears will be fine" (Score 3, Interesting) 372

As a general rule, if Freeman Dyson doesn't understand something, you don't, either.

Freeman Dyson is not a climatologist, and should not be expected to understand it. He also has a strong contrarian streak, and will oppose almost any viewpoint that he perceives as a consensus. He is not a denier, he is a skeptic. But he is a skeptic of pretty much everything.

Comment Re:Cuz Minix Dude Was A Old Guy (Score 5, Insightful) 469

The reason why Linux eclipsed Minix is obvious, since Minix was never more than an educational tool. But why did Linux triumph over BSD? In the early 1990s, FreeBSD was considerably better, more stable, and had a more liberal license. Here are my theories:

1. FreeBSD required a hardware FPU, at a time when many computers didn't have them.
2. The AT&T lawsuit put a lot of uncertainty over BSD.
3. The user communities were very different. Linux users were very open and helpful to newbies. BSD forums were hostile to anyone that didn't already know everything.

Comment Re:nonsense (Score 1) 532

I can't remember if it was Germany or a Nordic nation ...

Germany does not have single payer healthcare. They have a multi-payer system where the costs are shared by government, employer, and individual.

... but for them you just showed up for GP visits.

I once got sick on a business trip in Germany. There was a nurse screening patients. The nurse could see that I had a standard bug that was going around, and gave me some pills. I never saw a doctor. This actually seems like a good system, and using nurses to handle the obvious 90%, while doctors focus on the 10%, certainly holds down costs. But I don't think you can just "show up" and see a GP. At least that wasn't how it worked for me.

No system is perfect. Our system is so far from perfect that there are very few changes that could really make it a lot worse.

Agreed. But so far our "reforms" have focused on coverage rather than cost. If we fix the costs, then fixing the coverage will be far easier. Germany's system seemed quite good. I have also used Canada's system, and that was good too.

Comment Re:To think I once subscribed to this site (Score 1) 249

Well, these allegations just don't pass the common sense test. Almost any organization is going to have at least 5% annual attrition, and many organizations have far higher rates. So out of 1028 employees, about 200 would be expected to leave during the 4 year period covered. Yet they expect us to believe that the actual attrition was ZERO? Somebody is either mangling the statistics, or outright lying.

News

Two Programmers Expose Dysfunction and Abuse In the Seattle Police Department 249

reifman writes: Programmers Eric Rachner and Phil Mocek are now the closest thing Seattle has to a civilian police-oversight board. Through shrewd use of Washington's Public Records Act, the two have acquired hundreds of reports, videos, and 911 calls related to the Seattle Police Department's internal investigations of officer misconduct. Among some of Rachner and Mocek's findings: a total of 1,028 SPD employees (including civilian employees) were investigated between 2010 and 2013. (The current number of total SPD staff is 1,820.) Of the 11 most-investigated employees—one was investigated 18 times during the three-year period—every single one of them is still on the force, according to SPD.

In 569 allegations of excessive or inappropriate use of force (arising from 363 incidents), only seven were sustained—meaning 99 percent of cases were dismissed. Exoneration rates were only slightly smaller when looking at all the cases — of the total 2,232 allegations, 284 were sustained. This is partly why the Seattle PD is under a federal consent decree for retraining and oversight. You can check out some of the typically excellent Twitter coverage by Mocek from his #MayDaySea coverage.

Comment Re:nonsense (Score 1) 532

How is it no options if basically all medical professionals bill to the same entity now, so that the patient can go to essentially any doctor or hospital in the country ...

That is not how socialized medicine works. You can't just go to the doctor whenever you feel like it. Single payer healthcare reduces costs, and people with SPH are generally happier with their care, but there are tradeoffs. Long waiting lists for many ailments, and reduced patient choice, are among those tradeoffs.

Comment Re:$50 billion is not Huge, anymore (Score 1) 58

That's mostly because we've cut taxes on corps so much that they've got more cash than they know what to do with.

America has one of the highest corporate tax rate in the world. That is the main reason that corporations have been leaving.

I miss the 90% tax bracket. It kept corporate power in check

The 90% tax bracket was an personal rate, that did not apply to corporations. The corporate rate has never been much above 50%, and even that was generally in wartime.

Corporate tax rate by year

Slashdot Top Deals

Eureka! -- Archimedes

Working...