Questions tagged [definition]

A generic tag for topics providing definitions.

A generic tag for topics providing definitions.

1574 questions
339
votes
7 answers

What is a web service endpoint?

Let's say my web service is located at http://localhost:8080/foo/mywebservice and my WSDL is at http://localhost:8080/foo/mywebservice?wsdl. Is http://localhost:8080/foo/mywebservice an endpoint, i.e., is it the same as the URI of my web service or…
karakays
  • 3,643
  • 3
  • 20
  • 14
322
votes
9 answers

What is Weak Head Normal Form?

What does Weak Head Normal Form (WHNF) mean? What does Head Normal form (HNF) and Normal Form (NF) mean? Real World Haskell states: The familiar seq function evaluates an expression to what we call head normal form (abbreviated HNF). It stops once…
user295190
319
votes
16 answers

What is a loop invariant?

I'm reading "Introduction to Algorithm" by CLRS. In chapter 2, the authors mention "loop invariants". What is a loop invariant?
Attilah
  • 17,632
  • 38
  • 139
  • 202
317
votes
5 answers

What does it mean to hydrate an object?

When someone talks about hydrating an object, what does that mean? I see a Java project called Hydrate on the web that transforms data between different representations (RDMS to OOPS to XML). Is this the general meaning of object hydration; to…
Jim
  • 3,173
  • 2
  • 15
  • 4
255
votes
9 answers

How to see the CREATE VIEW code for a view in PostgreSQL?

Is there an easy way to see the code used to create a view using the PostgreSQL command-line client? Something like the SHOW CREATE VIEW from MySQL.
Elias Dorneles
  • 22,556
  • 11
  • 85
  • 107
229
votes
6 answers

Explanation of BASE terminology

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…
Niels van der Rest
  • 31,664
  • 16
  • 80
  • 86
219
votes
18 answers

What is the difference between a schema and a table and a database?

This is probably a n00blike (or worse) question. But I've always viewed a schema as a table definition in a database. This is wrong or not entirely correct. I don't remember much from my database courses.
anbanm
  • 13,425
  • 5
  • 22
  • 17
215
votes
7 answers

What is a Shim?

What's the definition of a Shim?
Nanook
  • 3,072
  • 2
  • 19
  • 19
176
votes
13 answers

What is managed or unmanaged code in programming?

I am using a specific command in in my C# code, which works well. However, it is said to misbehave in "unmanaged" code. What is managed or unmanaged code?
Pokus
  • 11,383
  • 11
  • 37
  • 27
155
votes
12 answers

What does threadsafe mean?

Recently I tried to Access a textbox from a thread (other than the UI thread) and an exception was thrown. It said something about the "code not being thread safe" and so I ended up writing a delegate (sample from MSDN helped) and calling it…
Vivek Bernard
  • 2,063
  • 3
  • 26
  • 43
154
votes
16 answers

What is the definition of "interface" in object oriented programming

A friend of mine goes back and forth on what "interface" means in programming. What is the best description of an "interface"? To me, an interface is a blueprint of a class. Is this the best definition?
Daniel Kivatinos
  • 24,088
  • 23
  • 61
  • 81
137
votes
2 answers

Upstream / downstream terminology used backwards? (E.g. nginx)

I've always thought of upstream and downstream along the lines of an actual stream, where the flow of information is like water. So upstream is where water/data comes from (e.g. an HTTP request) and downstream is where it goes (e.g. the underlying…
ChrisC
  • 2,393
  • 2
  • 18
  • 24
125
votes
5 answers

What exactly do "IB" and "UB" mean?

I've seen the terms "IB" and "UB" used several times, particularly in the context of C++. I've tried googling them, but apparently those two-letter combinations see a lot of use. :P So, I ask you...what do they mean, when they're said as if…
cHao
  • 84,970
  • 20
  • 145
  • 172
123
votes
7 answers

Defining static const integer members in class definition

My understanding is that C++ allows static const members to be defined inside a class so long as it's an integer type. Why, then, does the following code give me a linker error? #include #include class test { public: …
HighCommander4
  • 50,428
  • 24
  • 122
  • 194
117
votes
17 answers

Add Auto-Increment ID to existing table?

I have a pre-existing table, containing 'fname', 'lname', 'email', 'password' and 'ip'. But now I want an auto-increment column. However, when I enter: ALTER TABLE users ADD id int NOT NULL AUTO_INCREMENT I get the following: #1075 - Incorrect…
Charles Jenkins
  • 1,179
  • 2
  • 8
  • 4