Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
I've known people at nodejitsu for years, since before the company even existed. I still consider many of them friends. That said, somebody over there has lost their mind.
Trademarks are an important part of open source. They protect the integrity of the trust that is built by any project. A classic example of why this is the case is Firefox. Suppose that a malware producer takes the Firefox codebase, which is free and open source, packages up their malware with it and then releases it as "Firefox". Then they buy search advertising and suddenly their bad and malicious version of Firefox is the first result on search engines across the web. This is clearly a bad thing for Firefox and open source everywhere, but what can Mozilla do to protect their community of users?
They can't enforce a software license since the use is permitted under the Mozilla Public License. They can, however, enforce on these hypothetical bad actors using their trademark on the word "Fi
Lets take a look at existing cancelable AngularJS APIs:
$timeout
can be canceled via $timeout.cancel(promise)
. To make this possible, a $$timeoutId
(source) is registered on the promise. This value is read by the $timeout.cancel(promise)
function to actually call clearTimeout(...)
.
Unfortunately, this is not a good
example for cancelable asynchronous operations with Promises.
$timeout
returns a promise on which the then(onFulfilled, onRejected)
function can be called. This function returns a new promise which does not have a $$timeoutId
property and therefore cannot be used to call $timeout.cancel(promise)
.