he passed an uncomfortable and wakeful night , suffering the incessant shrill barking of the dog outside , and , within , all the confusion which could be imagined : whether to speak to riley , and on what grounds , laurence scarcely knew .