Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:what about COMMAND.COM? (Score 1) 280

It took it a few seconds but it eventually displayed what I'm assuming is the standard help screen for pip. 'pip list' worked fine and recommended upgrading pip with 'python -m pip install --upgrade pip' I tried that and it worked fine.

That was an interesting question though. I've never run any other scripting language from a powershell prompt. I'm a ruby guy myself. I don't even remember why I have python installed.

Comment Re:what about COMMAND.COM? (Score 1) 280

Nope. To get a list of all powershell commands you use 'get-command'. Mine shows 465 commands, but I have a few additional providers installed. Usually the real help is opening a browser and typing 'Powershell x' into your search engine of choice.

For your enjoyment here is the really horrible output of 'help'.

TOPIC
        Windows PowerShell Help System

SHORT DESCRIPTION
        Displays help about Windows PowerShell cmdlets and concepts.

LONG DESCRIPTION
        Windows PowerShell Help describes Windows PowerShell cmdlets,
        functions, scripts, and modules, and explains concepts, including
        the elements of the Windows PowerShell language.

        Windows PowerShell does not include help files, but you can read the
        help topics online, or use the Update-Help cmdlet to download help files
        to your computer and then use the Get-Help cmdlet to display the help
        topics at the command line.

        You can also use the Update-Help cmdlet to download updated help files
        as they are released so that your local help content is never obsolete.

        Without help files, Get-Help displays auto-generated help for cmdlets,
        functions, and scripts.

    ONLINE HELP
        You can find help for Windows PowerShell online in the TechNet Library
        beginning at http://go.microsoft.com/fwlink....

        To open online help for any cmdlet or function, type:

                Get-Help -Online

    UPDATE-HELP
        To download and install help files on your computer:

              1. Start Windows PowerShell with the "Run as administrator" option.
              2. Type:

                    Update-Help

        After the help files are installed, you can use the Get-Help cmdlet to
        display the help topics. You can also use the Update-Help cmdlet to
        download updated help files so that your local help files are always
        up-to-date.

        For more information about the Update-Help cmdlet, type:

              Get-Help Update-Help -Online

        or go to: http://go.microsoft.com/fwlink...

    GET-HELP
        The Get-Help cmdlet displays help at the command line from content in
        help files on your computer. Without help files, Get-Help displays basic
        help about cmdlets and functions. You can also use Get-Help to display
        online help for cmdlets and functions.

        To get help for a cmdlet, type:

                Get-Help

        To get online help, type:

                Get-Help -Online

        The titles of conceptual topics begin with "About_".
        To get help for a concept or language element, type:

                Get-Help About_

        To search for a word or phrase in all help files, type:

                Get-Help

        For more information about the Get-Help cmdlet, type:

                Get-Help Get-Help -Online

        or go to: http://go.microsoft.com/fwlink...

    EXAMPLES:
            Save-Help : Download help files from the Internet and saves
                                                              them on a file share.
            Update-Help : Downloads and installs help files from the
                                                              Internet or a file share.
            Get-Help Get-Process : Displays help about the Get-Process cmdlet.
            Get-Help Get-Process -Online
                                                          : Opens online help for the Get-Process cmdlet.
            Help Get-Process : Displays help about Get-Process one page at a time.
            Get-Process -? : Displays help about the Get-Process cmdlet.
            Get-Help About_Modules : Displays help about Windows PowerShell modules.
            Get-Help remoting : Searches the help topics for the word "remoting."

    SEE ALSO:
            about_Updatable_Help
            Get-Help
            Save-Help
            Update-Help

Comment Re:what about COMMAND.COM? (Score 1) 280

The vast majority of the commands are aliased so that they do work. However, the switches and options for the commands are all messed up. dir works fine. dir with any options does not. (same for ls) There are some edge cases where you'll have to put .exe in so it knows what you want. I use sc (service controller) from cmd all the time, but in Powershell that's the short version of Set-Content, so If I want to use it in Powershell I have to specify sc.exe.

Comment Re:How durable? (Score 1) 160

I can address the "What exactly fails that stops the power" portion, at least indirectly. It stops because it's designed that way as a safety feature. If the power is out there is probably a line down somewhere. That line will require someone to fix it. If you are feeding power in you will potentially electrocute the person trying to fix the line.

Comment Re:Manned versus unmanned. (Score 1) 190

Previous articles I've read on airships have typically focused on their ability to operate without an airport, or even a simple airstrip. They can pickup and transport large, heavy equipment directly to where it's needed regardless of most terrain. It seems like a nice capability, but I don't know what the market for that really is.

Comment Re:Let's send out Independent Election Observers. (Score 1) 180

Why in the world does it matter that they are volunteers? Do you think people can't volunteer with malicious intent? This tells me that it's all being done by amateurs which makes me much less confident in this system than I was before I read your post.

Oh God. Virginia!? Seriously? It's pretty much guaranteed that your voting machines were hacked for most of the last several elections. You were using the least secure voting machines ever made (On the bright side you got rid of them last year). You didn't need to replace a circuit board, you could quite literally hack into them from a half mile away with a rudimentary antenna built using a pringles can! Please read this and weep: https://www.wired.com/2015/08/...

Comment Re:Government should not provide services (Score 1) 101

That's a perfectly valid approach in many industries. However, water is generally the prime example of an industry which is a natural monopoly. The costs of installing water pipes and actually having multiple possible sources of water would be insane, and all the construction necessarily to maintain them would be crazy too. In this case the federal government setting minimum standards for local/state governments seems the best approach. It seems the main failure here (other than corruption) is that the testing standards were too loose.

Comment Re:This will be fun (Score 3, Insightful) 584

However, Matthew 5:41 says "And if anyone forces you to go one mile, go with him two miles." [ESV]. This refers to the law at the time where a Roman soldier could require someone to carry their gear for 1 mile. Odds are very good that whatever that soldier was doing it probably qualified as sin. This seems to be a pretty clear case of assisting someone in sin. To me a possible distinction is whether the "sin" would happen without your assistance. In the case of the soldier and the gay wedding it's going to happen regardless of what you think, so I think the answer there is that you should bake 2 cakes.

Slashdot Top Deals

When all else fails, read the instructions.

Working...