terminology

what is the difference between hash map, hash set, hash dictionary?

这一生的挚爱 提交于 2019-12-03 21:39:57
问题 Can somebody explain me the difference between the following structures: Hash Map Hash Table, Hash Set, and Hash Dictionary 回答1: HashMap, HashTable, and HashDictionary all mean a dictionary, mapping unique unordered keys to corresponding values, implemented using hashcodes. HashSet means a unique, unordered set, implemented using hashcodes. 来源: https://stackoverflow.com/questions/4851811/what-is-the-difference-between-hash-map-hash-set-hash-dictionary

MongoDB: what are the differences between documents, records, and attributes?

六月ゝ 毕业季﹏ 提交于 2019-12-03 20:06:55
The documentation on documents seems to favor the term "document", and also refers to "database records". Elsewhere, competent MongoDB developers have apparently interchangeably used " attributes " and " records ". What is the correct/official terminology to use in various instances? Is it documented somewhere on mongodb.org? The confusion is merely because many MongoDB users are not just MongoDB users but also use 100 other techs including SQL. I personally have mixed up my language as well, it's not uncommon however document and database records are the same thing and properties, attributes

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

馋奶兔 提交于 2019-12-03 18:38:21
问题 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

LIBGDX: What is a “viewport”?

自闭症网瘾萝莉.ら 提交于 2019-12-03 18:30:31
问题 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

Explanation of BASE terminology

可紊 提交于 2019-12-03 18:17:40
问题 The BASE acronym is used to describe the properties of certain databases, usually NoSQL databases. It's often referred to as the opposite of ACID. There are only few articles that touch upon the details of BASE, whereas ACID has plenty of articles that elaborate on each of the atomicity, consistency, isolation and durability properties. Wikipedia only devotes a few lines to the term. This leaves me with some questions about the definition : B asically A vailable, S oft state, E ventual

Type Safe vs Static Typing?

怎甘沉沦 提交于 2019-12-03 17:52:34
问题 If a language is type-safe does that mean one could automatically assume that its statically typed since you would have to check types at compile time ? 回答1: C, for example, is statically typed and not type safe, while Haskell is statically typed and type safe. Most (all?) dynamically typed languages are type safe, as they have means of checking types at runtime to make sure they're the right thing. Additionally, these languages assume that because you have chosen to incur the performance

Difference between RTTI and reflection in Java

强颜欢笑 提交于 2019-12-03 15:00:57
My question is when how does the class info gets loaded during runtime? When someone calls instanceof is that considered RTTI or reflection? Or it depends on the actual situation? The term " RTTI " is a C++-specific term referring to the functionality of the core language that allows the program to determine the dynamic types of various objects at runtime. It usually refers to the dynamic_cast or typeid operators, along with the associated std::type_info object produced by typeid . The term reflection, on the other hand, is a generic term used across programming languages to refer to the

What does “compares less than 0” mean?

本小妞迷上赌 提交于 2019-12-03 14:45:56
Context While I was reading Consistent comparison , I have noticed a peculiar usage of the verb to compare : There’s a new three-way comparison operator, <=> . The expression a <=> b returns an object that compares <0 if a < b , compares >0 if a > b , and compares ==0 if a and b are equal/equivalent. Another example found on the internet (emphasis mine): It returns a value that compares less than zero on failure. Otherwise, the returned value can be used as the first argument on a later call to get. One last example , found in a on GitHub (emphasis mine): // Perform a circular 16 bit compare.

What does “learning rate warm-up” mean?

时间秒杀一切 提交于 2019-12-03 14:35:05
In machine learning, especially deep learning, what does it mean to warm-up? I've heard some times that in some models, warming-up is a phase in training. but honestly, I don't know what it is because I'm very new to ML. Until now I've never used or come across it, but I want to know it because I think it might be useful for me. so: What is learning rate warm-up and when do we need it? thanks in advance. If your data set is highly differentiated, you can suffer from a sort of "early over-fitting". If your shuffled data happens to include a cluster of related, strongly-featured observations,

Class, Object, Entity: What's the difference?

∥☆過路亽.° 提交于 2019-12-03 13:18:51
问题 I also see other terms as well: Entity Object, Value Object, etc. Are there other terms out there that I should know, and what do these terms refer to? Can the differences between them, if any, be identified by reading code? 回答1: A class is a template for creating objects. Not all OO languages use classes (see Self, Javascript). Typically classes are implemented as objects. An object is a bundle of data that is packaged with functions that act on that data (called methods). Calling a class's