The semantics tag has no wiki summary.
2
votes
2answers
83 views
Difference between sending a message and emitting it
Halfway through the RabbitMQ tutorial, I noticed that the tutorial stops referring to producers "sending" messages and starts using the verb "emit" instead — and pretty consistently, too; after the ...
2
votes
3answers
51 views
UML modelling semantics
In today's lecture about Modelling techniques with respect to MDD using UML the lecturer stated that it's absolutely necessary to give a (possibly) textual description about the semantics of each ...
2
votes
1answer
47 views
Objective C - nested messages … confusion about
Wonder if anyone could shed some light on this messaging construct:
The documentation says that messages appear btwn brackets [] and
that the msg target/object is on the left, whilst the msg itself ...
1
vote
1answer
69 views
Should semantic breaking changes be tied to syntactic breaking changes?
Explanation
First let me briefly define how I'm using terms (I might be bending their typical use a little):
When I talk about semantic breaking changes, I'm referring to a change in the ...
-2
votes
1answer
215 views
What is the difference, between a server and a mainframe? [closed]
To me, it seems as though "mainframe" is a somewhat dated term; is it simply an older synonym of "server," or does it server a purpose more similar to a cluster/supercomputer?
4
votes
3answers
202 views
What is the right HTTP method for upvoting?
From a RESTful point of view, what is the most appropriate HTTP method for the action of upvoting a forum post (like on StackExchange)?
I would say POST for voting and DELETE for canceling vote, but ...
3
votes
5answers
210 views
Using 'new' in a projection?
I wish to project a collection from one type (Something) to another type (SomethingElse). Yes, this is a very open-eneded question, but which of the two options below do you prefer?
Creating a new ...
3
votes
1answer
117 views
What is meant by a “First Class Protocol”
The Node.js about page describes HTTP as being a "first class protocol" within node.js. What does this mean?
http://nodejs.org/about
6
votes
5answers
433 views
Why is semantic markup given more weight for search engines?
This question follows directly from the part of an answer of this question - Why would one bother marking up properly and semantically? .
I would like to understand why SEO techniques gives more ...
46
votes
7answers
2k views
Why would one bother marking up properly and semantically?
Note that I (try) to mark up as semantically as possible because I like they way it looks and feels, but not because I'm aware of any other stunning advantages. The point of my question is to be ...
7
votes
7answers
364 views
Using empty subclasses to add to the semantics of a class hierarchy?
I was wondering whether using (almost) empty derived classes to give additional semantics to a class hierarchy was a good idea (or practice) ?
Because a (not so short) example is always better than a ...
1
vote
2answers
333 views
How to create a Semantic Network like wordnet based on Wikipedia?
I am an undergraduate student and I have to create a Semantic Network based on Wikipedia. This Semantic Network would be similar to Wordnet(except for it is based on Wikipedia and is concerned with ...
8
votes
3answers
323 views
does one method overload an other, or are both methods “overloaded”
If i create this method
public void foo()
And then i create an overloaded version like this
public void foo( string bar )
Do we say that the second functions overloads the first, or are both ...
3
votes
1answer
226 views
How are RDF and RDFS related?
I've been reading about Semantic Web technologies such as RDF/RDFS and "ontology", but was wondering how each of these are related? At the moment the terms all seem interchangeable, or I'm not ...
7
votes
2answers
167 views
RDF and OWL: Have these delivered the promises of the Semantic Web?
These days I've been learning a lot about how different scientific fields are trying to move their data over to the Semantic Web in order to "free up data from being stored in isolated silos". I read ...
61
votes
10answers
3k views
Never use Strings in Java?
I stumbled upon a blog entry discouraging the use of Strings in Java for making your code to lack semantics, suggesting that you should use thin wrapper classes instead. This is the before and after ...
0
votes
3answers
332 views
Insert grammatical mistakes in a correct sentence
I'd like to insert grammatical mistakes (not typo) in a correct sentence, to make a small game. For instance:
My name is John
-> My name are John
He leaves the room
-> He leave the room
I ...
1
vote
1answer
39 views
Looking for an information system for collaborating on files metadata [closed]
I am looking for an information system which has the following features:
upload files and add custom properties depending on file type (e.g., author, composer, painter, singer);
support for ...
39
votes
11answers
12k views
What's the difference between syntax and semantics?
I've always thought that referring to the syntax of a language was the same as referring to the semantics of a language. But I've been informed that apparently that's not the case. What's the ...
61
votes
10answers
4k views
What's the difference between an API and an SDK?
I was looking through various APIs and SDKs, when I realized that I couldn't really tell the difference between something called an API and something called an SDK. Both of them are, conceptually, a ...
2
votes
1answer
63 views
What should go in atom:author for autogenerated content in an Atom feed?
I've recently started digging into Atom syndication feeds and are planning to migrate some web services we're running into an more standardized model using Atom Syndication and the Atom Publishing ...
8
votes
2answers
607 views
RESTful reference representations - semantic link vs uri
We're designing a RESTful API to open up our customer's account information. We have representations that contain references to other resources related to the current resource. This is from a number ...
16
votes
6answers
858 views
Why do we call it “production”?
A coworker was wondering this today: "Why is it that in our industry 'production' means 'final, deliverable product'? You know, like if a movie is 'in production', it means they're currently filming ...
4
votes
5answers
206 views
Where to position logging statements
I have the following classes :
class Task
{
public void DoSomething()
{
var s = new Service();
s.First();
s.Second();
s.Third();
}
}
class Service
{
...
6
votes
11answers
508 views
What should I call the process of converting an object to a string?
We are having a game of 'semantic football' in the office over this matter: I am writing a method for an object which will represent the object as a string. That string should be such that when typed ...
11
votes
22answers
1k views
Which useful alternative control structures do you know? [closed]
Similar question was closed on SO.
Sometimes when we're programming, we find that some particular control structure would be very useful to us, but is not directly available in our programming ...
5
votes
4answers
183 views
Is argument or parameter considered more appropriate for a function/method argument/parameter?
Hopefully the topic is not too confusing, I am curious though as lately I have seen more and more use of the word parameter to denote a function's passed in values, whereas during my studies I feel as ...
2
votes
5answers
758 views
Which programming languages doesn't use operator precedence besides Lisp like languages?
And what do you think about operator precedences? Would be harder programming in language where the operations are executed in sequential order?
Ex.:
2 + 3 * 4 == 20
2 + (3 * 4) == 24
Ok, Lisp ...