Remarks on osculating linear spaces to projective varieties