terminology

Protocol Terminology: Message versus Packet

拥有回忆 提交于 2019-12-05 02:41:53
In practice, what is the most appropriate term for the communications transmitted over a network in higher level protocols (those above TCP/IP, for example)? Specifically, I am referring to small, binary units of data. I have seen both "message" and "packet" referred to in various client/server libraries, but I was interested in the community's consensus. These are definitely messages. A "packet" is a layer-3 (in ISO terminology) protocol unit, such as an IP packet; and a "datagram" is a layer-1 or layer-2 unit, such as the several Ethernet datagrams that might make up the fragments of an IP

Model-driven development: What is a transform?

╄→尐↘猪︶ㄣ 提交于 2019-12-05 02:34:56
问题 As I understand it, model-driven development (MDD) allows automation whereby programs/models are automatically generated from their corresponding models via the application of transformations. All I know about transformations is that they are some way of storing a developer's platform-specific expertise. But what exactly is a transformation? 回答1: A (program) transformation is a function that given a program representation instance, computes another. The program representation can be arbitrary

what is a native object?

自古美人都是妖i 提交于 2019-12-05 02:12:46
what is a native object means i found the that java has peer class to interface with native objets? Java programs can use JNI to access to functions implemented in native code (anything compiled to machine code). Interfacing with object oriented native code requires a java class which forwards method calls from java to an instance of the native class using jni. This class is the java peer of the native class. An example: We have the print_hello class in c++ which we need to use in a java program, to do this we need to define its peer in java. The native class class print_hello{ public: void do

What does “exposition only” mean? Why use it?

落爺英雄遲暮 提交于 2019-12-05 01:34:18
All over boost.org and also at other sites on the web I've seen code of this form: class whatever { ... private: std::vector<std::string> m_name; // exposition only }; What is the meaning of "exposition only"? What is the comment's purpose? What is it trying to tell me? It's used to indicate one possible way to implement the particular item, but not necessarily the best or recommended way. One of the definitions of "exposition" is: the act of expounding, setting forth, or explaining So I think they are saying that the private member (or whatever) is only shown to help you understand how the

terminology of Class “attribute” vs “member” vs “variable” vs “field” [closed]

本秂侑毒 提交于 2019-12-05 00:26:07
It seems that developers often use these terms interchangeably when referring to a piece of data stored in an instance of a Class. Is there any technical difference between each term, or is it fine to use them interchangeably? "member" is broader term. It refers everything in that class (instance methods/variables etc.,) "attribute/variable/field" are same and "member" can be used too. Based on the variety of answers, Class "attributes", "fields", and "variables" are used relatively interchangeably but have nuanced distinctions that vary from person to person. As such, probably best to lump

True random number generation

て烟熏妆下的殇ゞ 提交于 2019-12-04 23:52:18
How is exactly that we talk about "true random" numbers when we are actually measuring something. I mean, isn't measuring almost the opposite of randomness. Som articles says that, for example, throwing a dice is "true random". Of course it isn't Pseudo-random, but is it even random?? If you could have a machine that throw dices from de exactly same position and always in the same direction with the exact same force always: woudn't it always turn out the same number? (I thing it does). Please, can someone help me understand "true random" numbers?? Quantum effects are the source of this "True

Difference between RTTI and reflection in Java

做~自己de王妃 提交于 2019-12-04 23:00:19
问题 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? 回答1: 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

What is the difference between private cloud and public cloud?

心已入冬 提交于 2019-12-04 20:24:02
问题 What are the differences between private cloud and public cloud ? Please define both and giving examples with usage. 回答1: A public cloud is offered as a service via web applications/web services( usually over an Internet connection). Private cloud and internal cloud are deployed inside the firewall and managed by the user organization. There is another type of cloud, hybrid cloud. A hybrid cloud environment consisting of multiple internal and/or external providers will be typical for most

What does “learning rate warm-up” mean?

允我心安 提交于 2019-12-04 19:13:03
问题 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. 回答1: If your data set is highly differentiated, you can suffer from a sort of "early over

What is Object Decomposition?

对着背影说爱祢 提交于 2019-12-04 18:03:49
问题 I was trying to understand what object decomposition means and read a lot of stuff on internet but every resource talks in terms of lots of keywords that i couldn't understand. So these resources expect you to know a few terms. I need something that lists the basics of decomposition from scratch. Is it anything more than breaking the design into objects? If no, any description will be appreciated. Thanks in advance 回答1: Imagine, you have Car object. It is very large object, hard to support.