Questions tagged [semantics]

The study of meaning as it applies to programming languages

Semantics is the study of meaning. In computer programming, semantics refers to the relationships between symbols in a programming language, and how those symbols are combined and manipulated to produce a computing result.

Useful links

1650 questions
0
votes
1 answer

Google Semantic results question

http://www.google.co.uk/search?q=mark+zuckerberg+crunchbase Guys, check out that search, in particular the first result's url. Crunchbase.com > People, and thus the people links to the /people section of the site. How are they achieving it? I know…
James
  • 5,451
  • 14
  • 45
  • 72
0
votes
4 answers

Is it appropriate to use off_t for non-byte offsets?

Suppose I'm writing a function which takes a float a[] and an offset, into this array, and returns the element at that offset. Is it reasonable to use the signature float foo(float* a, off_t offset); for it? Or is off_t only relevant to offsets in…
einpoklum
  • 86,754
  • 39
  • 223
  • 453
0
votes
1 answer

Semantic issue in box2d contact listener

I'm working on a cocos2d project in Xcode and I've been trying to get collision detection to work for weeks. I've been using the Ray Wenderlich tutorials which said to use a contact listener to detect collision. However, I get the error Invalid…
evanlws
  • 93
  • 1
  • 11
0
votes
1 answer

semantic web services search engine

I am searching for a set of semantic web services to test my work. Does anybody know a public web services search engine, or any web services repository in which web services are semantically described (e.g., using OWL-S)?
lamita
  • 23
  • 3
0
votes
2 answers

Best html5 element to use for presenting 'metadata' about an item

I'm building a catalogue of books and scientific journals. Each book or journal will have an page in which various details about the item will be shown. What would be the best html5 element to use for some of the item metadata - eg number of pages,…
anu
  • 271
  • 1
  • 13
0
votes
1 answer

HTML5 semantic vs styling issue

I'm trying to build a Wordpress theme, using media queries for responsive layout. I have some issues around getting the correct layout whilst maintaining some semantic mark up. Basically, for the post date in pages less than, say, 764 pixels wide, I…
0
votes
2 answers

How to get topdown topics for terms?

For example the terms experience, yrs, ctc must imply the subject jobs, badge, unlocked associated with foursquare. How do I get the subject from its terms? I want to analyse less-than-formal english like emails, tweets etc. Is there a data…
Jesvin Jose
  • 20,780
  • 25
  • 95
  • 183
0
votes
3 answers

How to use TextRazor Python library to analyze text

I'm trying to use TextRazor Python library in order to make some semantic analysis on a piece of text. my text is defined as follows: def text(): return r"""Bla Bla Bla""" When I run the method "analyze" from the above library on the above tet,…
benmeira
  • 3
  • 2
0
votes
2 answers

Correct HTML5 site header

I just read about the header tag not being equal to section. The author says, header should not be used outside a section, but he doesn't tell us, how the sites header and footer have to look like. Are they sections? Divs maybe? Or does body count…
Sebastian Starke
  • 4,676
  • 3
  • 21
  • 34
0
votes
1 answer

Sparql query from Dbpedia and another graph returns less results than expected

I'm a beginner in SPARQL and I'm working on this endpoint http://spcdata.digitpa.gov.it:8899/sparql. I'd like to join data from the DBpedia graph. I'm using the property owl:sameAs for referencing to DBpedia resources. I'd like to fetch the name and…
Dev-otchka
  • 317
  • 1
  • 4
  • 20
0
votes
2 answers

Semantic Issue with UITextfield

I'm new to iOS. I've searched on here for UITextfield Sematic Issues here, as well as variations on that. I'm trying to make a pretty simple app, that you: Enter text into a text filed Press A button It changes a label to the text entered in the…
Jay Gitau
  • 1
  • 1
0
votes
2 answers

Semantics vs DOM Manipulation

What are all of your thoughts on semantic markup vs DOM manipulation? For example, I can have an error message under a field like
Evan
  • 67
  • 10
0
votes
1 answer

Rails Admin Form Errors

I have a form for movies in rails, and one of the columns is called year. In my rails form it is displayed as such <%= f.collection_select :year_id, Year.all, :id, :year %>

and it outputs this But in Rails Admin, on the form for…
PMP
  • 211
  • 4
  • 24
0
votes
1 answer

Rails Migration Form Error With Id

I have just built a migration for my movies table called year_id When I create two new years, 2012 and 2013, I then add the dropdown to select the year and I get this: How can i make my dropdown select show the actual year (2012 or 2013) and not #<…
PMP
  • 211
  • 4
  • 24
0
votes
1 answer

Using wordnet in java

I am new to wordnet API and I am struggling how I can get to th following issue; I would like that if I give for example "George Bush" I will arrive to the term person. The following diagram illustrates better from the online API: Through the…
IT_info
  • 717
  • 3
  • 15
  • 33
1 2 3
99
100