<em>Grammatical Apposition</em> is the the condition of being side by side; and those combinations of long or short words are called <em>"appositives"</em>.
In grammar, <em>apposition</em> is a structure in which 2 components are set side by side, and 1 component names or identifies the other, such as when a word or noun is accompanied by a phrase or another noun that renames that noun or subject word.
If the appositive is <em>not essential</em> to the meaning of that noun, they are <em>always separated by commas</em>.
Thereby, the correct one would be: <em>"Daniel, that guy with the hair, is sitting at the end of the hall"</em>.