terminology

What is a “vanilla web interface”?

主宰稳场 提交于 2019-12-03 08:35:37
问题 Someone told me to look into "vanilla web interface". I have Googled it, but didn't find any relevant result, at least that was I thought. What is it? 回答1: The term "vanilla" usually refers to something that's plain and unadorned (from vanilla ice-cream) or perhaps simple (as in basic), so they're asking you to look into a "simple web interface" without any unnecessary complications. 回答2: Considering the Vanilla software entry on wikipedia, which states (quoting) : Vanilla software is

What does 'chrome' mean?

醉酒当歌 提交于 2019-12-03 08:29:21
问题 content: A browser for content. The content that is loaded inside the browser is not allowed to access the chrome above it. This sentence is seen on the Mozilla documentation for XUL. What does the word chrome mean in this context? 回答1: It is a euphemism for the graphical framework and elements surrounding the content, and thus means different things depending on the context. In the context of a web browser it is the navigation, toolbar etc. In the context of a website it is navigation, ad

Covariance vs. contravariance with respect to class inheritance

风流意气都作罢 提交于 2019-12-03 08:05:57
What is the meaning of the concepts 'covariance' and 'contravariance'? Given 2 classes, Animal and Elephant (which inherits from Animal ), my understanding is that you would get a run-time errors if you try and put an Elephant into an array of Animals, and this happens because Elephant is "bigger" (more specific) than Animal. But could you place an Animal into an array of Elephant, seeing how Elephant is guaranteed to contain the Animal properties? You have it backwards. You can add an Elephant to an Animal array because it is an Animal, and it's guaranteed to have all of the methods an Animal

What is the correct term for the following functional programming pattern?

倖福魔咒の 提交于 2019-12-03 07:17:42
I've heard it referred to as a stream , as an infinite list , and sometimes even as a lazy sequence . What is the correct term for the following pattern? (Clojure code shown) (def first$ first) (defn second$ [str] (cond (empty? str) () true ((first (rest str))))) (defn stream-builder [next_ n] (cons n (cons (fn [] (stream-builder next_ (next_ n))) ()))) (defn stream [str n] (cond (= 0 n) () true (cons (first$ str) (stream (second$ str) (- n 1))))) (def odd (stream-builder (fn [n] (+ 2 n))1)) (println (stream odd 23)) > (1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45) Short

what is difference between Software Stack and OS ? why Android is not an OS but software stack?

て烟熏妆下的殇ゞ 提交于 2019-12-03 07:14:26
问题 Android is a software stack but not an OS. as stated by developer.android.com What is Android? Android is a software stack for mobile devices that includes an operating system, middleware & key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language. I don't understand that software stack is OS works with the Applications, so Windows is an OS but if I install Applications on it, should I

Haskell terminology: meaning of type vs. data type, are they synonyms?

牧云@^-^@ 提交于 2019-12-03 07:03:37
I'm reading the book: Haskell School of Expression and on page 56, at the beginning of chapter 5, I read the terms "polymorphic data types" and "polymorphic types". Are these two terms refer to the same concept? Are they synonyms ? Or is there any difference between the two? If yes, what? A type (in Haskell) is a piece of syntax which can meaningfully be put right of :: to classify an expression left of :: . Each syntactic component of a type is itself classified by a kind , where the kind of types (which classify expressions) is * . Some people are happy to use the word "type" to refer to any

What is container in spring framework?

久未见 提交于 2019-12-03 06:32:43
问题 I was going through this article http://www.vaannila.com/spring/spring-ioc-1.html and here the term container is used. The diagram below shows container. What is container in this article? Is it a piece of code or the bean config file? Can Spring IOC be used in Spring MVC? 回答1: In this context, a container has the meaning of something that provides an infrastructrure needed by some components to live. You can imagine it this way: Like the JVM is a container to run Java Programs, A servlet

What is the difference between function template and template function?

跟風遠走 提交于 2019-12-03 06:19:44
What is the difference between function template and template function? Tim Sylvester The term "function template" refers to a kind of template. The term "template function" is sometimes used to mean the same thing, and sometimes to mean a function instantiated from a function template. This ambiguity is best avoided by using "function template" for the former and something like "function template instance" or "instance of a function template" for the latter. Note that a function template is not a function. The same distinction applies to "class template" versus "template class". From this FAQ

Javascript - difference between namespace vs. closure?

痴心易碎 提交于 2019-12-03 06:19:15
问题 In Javascript, what's the difference between a namespace and a closure? They seem very similar to me. EDIT Specifically, this article discusses namespaces and closures, and has sentences like Now, we’re still going to have situations where we’ll want to declare variables that don’t naturally fit into a namespaced object structure. But we don’t want those variables to have a global scope. This is where self-invoking functions come in. It goes on to give what looks a lot like a closure, as an

Homography and Affine Transformation

微笑、不失礼 提交于 2019-12-03 05:59:12
Hi i am a beginner in computer vision and i wish to know what exactly is the difference between a homography and affine tranformation, if you want to find the translation between two images which one would you use and why?. From papers and definitions I found online, I am yet to find the difference between them and where one is used instead of the other. Thanks for your help. I have set it down in the terms of a layman. Homography A homography, is a matrix that maps a given set of points in one image to the corresponding set of points in another image. The homography is a 3x3 matrix that maps