Is there a valid way to wrap a dt and a dd with an HTML element?

No, Ian Hickson (HTML spec editor) is convinced that this is a CSS problem, not an HTML one: This shouldn’t be necessary. It’s a limitation of CSS. The right solution is for CSS to provide some pseudo-element or other mechanism that introduces an anonymous container into the rendering tree that wraps the elements you want … Read more

What is exact meaning of “kitchen sink” in programming?

The English phrase “Everything but the kitchen sink” means “almost anything one can think of”. Looking at the first 8 Google results for github kitchen sink, it’s pretty clear that it’s generally used for demo applications which showcase all (or almost all) of the features of an API, generally for use by developers who’re learning … Read more

Specification for a Functional Reactive Programming language

I’m glad you’re starting by asking about a specification rather than implementation first. There are a lot of ideas floating around about what FRP is. From the very start in the early 90’s (when I was working in interactive graphics at Sun Microsystems and then Microsoft Research), it has been about two properties (a) denotative … Read more

Is there an algorithm that tells the semantic similarity of two phrases

You might want to check out this paper: Sentence similarity based on semantic nets and corpus statistics (PDF) I’ve implemented the algorithm described. Our context was very general (effectively any two English sentences) and we found the approach taken was too slow and the results, while promising, not good enough (or likely to be so … Read more

Are semantics and syntax the same?

Syntax is the grammar. It describes the way to construct a correct sentence. For example, this water is triangular is syntactically correct. Semantics relates to the meaning. this water is triangular does not mean anything, though the grammar is ok. Talking about the semantic web has become trendy recently. The idea is to enhance the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)