terminology

What's the difference between groups and roles?

淺唱寂寞╮ 提交于 2019-11-30 02:04:31
A lot of identity management implementations use roles in addition to groups. How are they different? So far I haven't found a compelling use case for separating the two. All the explanations I've read are vague and hand-wavey. Can you give a good example where having roles and groups are necessary? Person - Group - Roles A person is a member of one or more groups. A group is assigned multiple roles. Example: Two roles exist in a system stock_purchaser , timecard_supervisor . Two groups exist in a system shift_supervisor , regional_manager . regional_manager has the stock_purchaser and

What does “state transfer” in Representational State Transfer (REST) refer to?

ⅰ亾dé卋堺 提交于 2019-11-30 01:56:35
What does the State Transfer in Representational State Transfer refer to? Found some explanations about this (e.g. here ) but I still don't understand. For example in the article it is said The representation places the client application in a state. Why? What does state (as I understand it, something like a session) have to do with a representation of a resource? Why? What does state (as I understand it, something like a session) have to do with a representation of a resource? An object has attributes (or state) and behaviors (or methods). If I want to move an object from my desktop to a

What does “vendoring” mean in Go?

谁说胖子不能爱 提交于 2019-11-30 01:15:00
问题 When learning about Go's dependency management, I often hear the term "vendor" used as a verb. Example: "The dependencies that your application vendors..." What does it mean to vendor a dependency in this context? Examples: "Dependencies that are vendored with your application" Source: https://devcenter.heroku.com/articles/getting-started-with-go#declare-app-dependencies "godep will write the vendored code" Source: https://github.com/tools/godep#go-15-vendor-experiment Follow-up questions: Is

'method' vs. 'message' vs. 'function' vs. '???'

有些话、适合烂在心里 提交于 2019-11-29 23:50:59
I recently asked a question about what I called "method calls". The answer referred to "messages". As a self-taught hobby programmer trying to phrase questions that don't make me look like an idiot, I'm realizing that the terminology that I use reveals a lot about how I learned to program. Is there a distinction between the various terms for methods/messages/etc. in OO programming? Is this a difference that comes from different programming languages using different terminology to describe similar concepts? I seem to remember that in pre-OO languages, a distinction would sometimes be made

Java, terminology clarification

旧时模样 提交于 2019-11-29 23:47:10
问题 In Java, an Object can have a runtime type (which is what it was created as) and a casted type (the type you have casted it to be). I'm wondering what are the proper name for these types. For instance class A { } class B extends A { } A a = new B(); a was created as a B however it was declared as an A . What is the proper way of referring to the type of a using each perspective? 回答1: I think it's important to distinguish between the object (which exists at execution time, and just has its

Is parallel programming == multithread programming?

元气小坏坏 提交于 2019-11-29 22:49:47
Is parallel programming == multithread programming? Multithreaded programming is parallel, but parallel programming is not necessarily multithreaded. Unless the multithreading occurs on a single core, in which case it is only concurrent. Not necessarily . You can distribute jobs between multiple processes and even multiple machines - I wouldn't class that as "multi-threaded" programming as each process may only use a single thread, but it's certainly parallel programming. Admittedly you could then argue that with multiple processes there are multiple threads within the system as a whole...

Why does GitHub call foreign submissions, a “Pull Request”?

时光毁灭记忆、已成空白 提交于 2019-11-29 22:04:49
I'm curious why GitHub calls submissions to merge, "Pull requests." From my understanding, git pull will pull all changes, from a remote repository, into a current working branch. Then merge those changes with FETCH_HEAD . ( Git Pull ) So taking a look at git push ... a push would actually push committed changes to a repository. And isn't that what you are doing with a Git repo? Submitting a "request" to merge your code? So why isn't it called a "Push request"? The term “pull requests” comes from the distributed nature of how many open source projects organize themselves. Instead of just

LIBGDX: What is a “viewport”?

和自甴很熟 提交于 2019-11-29 21:28:32
This post is related to an earlier post of wanting to learn how to properly render in between LIBGDX and Box2D. I had to understand viewport well before I could proceed. After much code/post readings, I felt the meaning of "viewport" was "the rectangle opening of a lens of the camera that views LIBGDX's Game world, where I can move it about the world to view what I want". But, after more reading, I seemed to be nowhere near the actual meaning. I've read the LIBGDX wiki, and read in the OpenGL documentation, which seem to explain viewport as being two different things. LIBGDX Wiki: "The

What does “headless” mean?

限于喜欢 提交于 2019-11-29 21:11:24
While reading the QTKit Application Programming Guide I came across the term 'headless environments' - what does this mean? Here is the passage: ...including applications with a GUI and tools intended to run in a “headless” environment. For example, you can use the framework to write command-line tools that manipulate QuickTime movie files. "Headless" in this context simply means without a graphical display. (i.e.: Console based.) Many servers are "headless" and are administered over SSH for example. You most likely know what a browser is. Now take away the GUI, and you have what’s called a

What is object marshalling?

我是研究僧i 提交于 2019-11-29 20:34:50
I have heard this concept used frequently, but I don't have a really good grasp of what it is. Converting an object in memory into a format that can be written to disk, or sent over the wire, etc. Wikipedia's description . I beg to differ, Wikipedia is pretty clear on this. In computer science, marshalling (similar to serialization) is the process of transforming the memory representation of an object to a data format suitable for storage or transmission. It is typically used when data must be moved between different parts of a computer program or from one program to another. http://en