terminology

What does “monolithic” mean?

半腔热情 提交于 2019-12-04 17:26:13
问题 I've seen it in the context of classes. I suspect it means that the class could use being broken down into logical subunits, but I can't find a good definition. Could you give some examples? Thanks for the help. Edit: I love the smart replies, but I'm obviously referring to "monolithic" within a software context. I know about monoliths, megaliths, dolmens, and all the stone-related contexts. Gee, I have enough of them in my country... 回答1: Interesting question. I don't think there are any

What is a bit field in layman's terms?

南楼画角 提交于 2019-12-04 17:14:54
Can anyone tell me what a bit field is in layman's terms? I am doing a PHP course in debugging and the instructor is using that term a lot. This is in the context of PHP error reporting. Here is a quote from the transcript: Error reporting sets the error reporting level with an integer representing a bit field normally through a named constant. By default, PHP reports everything except E_NOTICE and for versions prior to PHP 5.4, also excluding E_STRICT. I think it's important as an aspiring programmer that I understand the nomenclature of my trade :) Thanks for your help! Note: I already made

What is the Fork & Pull Model in GitHub?

白昼怎懂夜的黑 提交于 2019-12-04 16:43:01
问题 I have heard this term used for managing a code base in GitHub. What does it mean? 回答1: As noted within the GitHub docs: The Fork & Pull Model lets anyone fork an existing repository and push changes to their personal fork without requiring access be granted to the source repository. The changes must then be pulled into the source repository by the project maintainer. This model reduces the amount of friction for new contributors and is popular with open source projects because it allows

Difference between ioc and dependency injection

ぐ巨炮叔叔 提交于 2019-12-04 16:17:07
Difference between ioc and dependency injection . explain dependency injection in spring. What is difference b/w JSF dependency injection and spring dependency injection.. IoC means Inversion of Control. Let’s see some “strongly coupled code” (“MyComponent” depends on “Logger”): public class MyComponent { public MyComponent() { : } public void DoSomeWork() { var logger = new Logger(); : } } We can change it to use an “interface“, but someone must provide the “implementation“: public class MyComponent { public MyComponent() { : } public void DoSomeWork() { ILogger logger = ...; // who’s going

Covariance vs. contravariance with respect to class inheritance

偶尔善良 提交于 2019-12-04 12:28:32
问题 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? 回答1: You have it backwards. You can add an

What is the difference between function template and template function?

杀马特。学长 韩版系。学妹 提交于 2019-12-04 10:19:07
问题 What is the difference between function template and template function? 回答1: 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

What does dimensionality reduction mean?

末鹿安然 提交于 2019-12-04 10:19:01
问题 What does dimensionality reduction mean exactly? I searched for its meaning, I just found that it means the transformation of raw data into a more useful form. So what is the benefit of having data in useful form, I mean how can I use it in a practical life (application)? 回答1: Dimensionality Reduction is about converting data of very high dimensionality into data of much lower dimensionality such that each of the lower dimensions convey much more information. This is typically done while

Understanding Behavior Driven Development (BDD)

时光怂恿深爱的人放手 提交于 2019-12-04 09:58:59
问题 From the wikipedia article on BDD: BDD is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodology. It describes a cycle of interactions with well-defined outputs, resulting in the delivery of working, tested software that matters. I am not able to make sense of the adjectives used such as "outside-in", "pull-based" and "multiple-scale" even after going through the referred presentation. Please help explain. 回答1: I wrote a blog post

caches vs paging

本秂侑毒 提交于 2019-12-04 09:50:07
问题 So I'm in a computer architecture class, and I guess I'm having a hard time differentiating between caching and pages. The only explanation I can come up with is that pages are the OS's way of tricking a program that it's doing all it's work in a specified region of memory, vs a cache memory is the hardware's way of tricking the OS that it's reading from one specified region of memory, when it's really not. Does the os direct the hardware that it needs a "new page" or is that taken care of by

Confused on Cassandra terminology (row vs partition)

血红的双手。 提交于 2019-12-04 08:03:01
I am hoping someone can clear my confusion on the difference between a row and partition in Cassandra. I thought a row would be a set of columns(like in a SQL DB), as specified in the schema, distributed across nodes by partition keys and ordered by the clustering key within each partition. But then I ran into this tutorial: https://academy.datastax.com/demos/getting-started-time-series-data-modeling Under "Time series Pattern 1", it states: Since each column is dynamic, our row will grow as needed to accommodate the data. Why would a row grow? I can see a partition growing but why a row? The