Currying is the technique of translating the evaluation of a function that takes multiple arguments (or a tuple of arguments) into evaluating a sequence of functions, each with a single argument. Example:
var currier = function(fn) {
var args = Array.prototype.slice.call(arguments, 1);
return function() {
return fn.apply(this, args.concat(Array.prototype.slice.call(arguments, 0)));
}
}- JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
- The token is composed of a header, a payload, and a signature.
- The purpose of using JWT is NOT to hide or obscure data in any way. The reason why JWT are used is to prove that the sent data was actually created by an authentic source.
- Since JWT are signed and encoded only, and since JWT are not encrypted, JWT do not guarantee any security for sensitive data.
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
- Does the design expect failures to happen regularly and handle them gracefully?
- Have we kept things as simple as possible?
- Reactive programming is programming with asynchronous data streams.
- what is git ?
- what is difference between git and github and gitlab?
- any other version control tools other git? -->svn
- what is difference between svn and git?
- what is merge conflicts have you faced ever in you experience? if you face how you resolve?
- what is git stash?
- what is git HEAD?
- what is staging area in git?
- what is difference between git fetch and pull and clone?
- what is difference between git merge and rebase?