terminology

What is a “Live IP Address”?

感情迁移 提交于 2019-12-24 01:54:21
问题 What is a "Live IP Address"? For example, what does it mean when someone says "I transferred my project from place A to B through a Live IP"? 回答1: Development, especially of web-sites, frequently takes place on a test-machine or a test-network. This will be on an internal subnet, sometimes with databases, resources, scalability and failover not available, faked, or stubbed out. When the system is ready for deployment, it is transferred to a Live IP Address, meaning it is visible to the world,

Straight selection sort vs. exchange selection sort

淺唱寂寞╮ 提交于 2019-12-23 13:22:22
问题 What is the difference between straight selection sort vs. exchange selection sort ? I got into a little debate today - my professor uses these two terminologies in his lecture notes. The selection sort that Wikipedia and any textbook or website will give you is what he is calling "exchange selection sort". I've never heard the term "exchange selection sort" used before (only "selection sort"), and cannot find any relevant resources on the former terminology online. Also, "exchange sort"

Is this Prolog terminology correct?

泪湿孤枕 提交于 2019-12-23 12:46:13
问题 Getting the terminology correct is part of the success to communicating a concept and when the wrong terminology is used here at SO with the Prolog tag the respondents nicely point out the mistake. In reading "Clause and Effect - Prolog Programming for the Working Programmer" by William F. Clocksin in 1997 (WorldCat) is the paragraph A Prolog program consists of a collection of procedures . Each procedure defines a particular predicate , being a certain relationship between its arguments . A

The meaning of the term - Resource Acquisition Is Initialization

左心房为你撑大大i 提交于 2019-12-23 12:17:13
问题 I know what RAII does. It is all about preventing memory leaks etc. when/if a code throws an exception. Now, I wish to understand the meaning of that smart term. http://en.wikipedia.org/wiki/Acquisition Acquisition means acquiring something. So, when we say that resource acquiring is initialization , what does that mean? I am just talking about the meaning of the term here, not about the concept in general. 回答1: It has been said before (possibly by Scott Meyers, I can't remember), that RAII

“Adapter” or “adaptor”?

隐身守侯 提交于 2019-12-23 07:00:45
问题 In programming, which spelling—adapter or adaptor—is standard or de facto standard? Is there a difference between them? In boost I see "adaptor", whereas in literature I see "adapter". Which one is preferred in code? 回答1: They are both correct, though I think there's a slight preference for adapter to be used for people (such as someone who adapts a piece of music), while adaptor is used for a device or machine; thus, in computing, adaptor would generally be used. Wikipedia mentions this

Difference between function and method? [duplicate]

拜拜、爱过 提交于 2019-12-23 05:34:14
问题 This question already has answers here : Closed 9 years ago . Possible Duplicate: method vs function vs procedure vs class ? Can some one give the differences between a method and a function? 回答1: Both are the same. Both are subroutines and both can return a value. Only difference may be the attachment to class. Method sounds more attached to a class but again, people use to call the non attached ones too methods. So, in that aspect too they can be seen as same 回答2: In java, and c++, by

CSS media query operators

余生长醉 提交于 2019-12-23 05:13:36
问题 Can some one explain to me in very simple terms what the operators and , not , only and the comma , mean and do in CSS? 回答1: The four operators implement set theory logic. In that context, here is what each one means: , : equivalent of 'union'; e.g. @media screen, print matches a screen or print device and : equivalent of 'intersection'; e.g. @media screen and (min-device-width: 1920px) matches a screen device with 1920px resolution not : equivalent of 'set difference'; e.g. @media not screen

What is HotSpot?

邮差的信 提交于 2019-12-23 03:06:32
问题 I just heard of the HotSpot JVM, as opposed to the Oracle JRockik JVM. What is Hotspot? Is this old the Sun JVM, or something else? 回答1: HotSpot is the shipped Sun JVM which has support for just-in-time compilation of heavily used sections of code. For all practical purposes, it is the "Sun JVM" or now the "Oracle JVM". Note that this is the same JVM which was open sourced, so it is also the "OpenJDK JVM". Way back when, Sun did release a non-JIT capable JVM, but that's long enough ago that

JavaScript Obfuscation and Minification

你说的曾经没有我的故事 提交于 2019-12-23 01:55:18
问题 How well can modern JavaScript obfuscation/minification tools protect my code from reverse engineering? Also, what obfuscation platforms are the best for preventing this? It seems it would be rather easy to make a program to deobfuscate code and make the process rather pointless. If this is not something that is perfect, are there any solutions that rely on code being served remotely? 回答1: All you can do with obfuscation is make a determined hacker work more in order to borrow your code or

C++ Is it correct to call class member variables “attributes”?

一世执手 提交于 2019-12-22 04:55:08
问题 Can someone please disambiguate class attributes and methods for C++? I was under the impression that attribute means any member variable, and method means any member function. Thanks 回答1: Define "correct". Referring to data members and member functions as "attributes/properties" and "methods", respectively, is common practice - it's the general OO wording. ("attributes" are used in C++ for something else, though, so this may very well be a source of confusion.) The C++ standard, however,