Halmos in his book (A Hilbert space problem book) says,
1- linear basis, and orthogonal basis of a Hilbert space $H$ have the same cardinality.

2- Also he proves if orthogonal dimension of Hilbert space is $N_0$ ( aleph-null ), then its linear dimension is $2^{N_0}$.
My question: In this case orthogonal dimension, and linear dimension are not the same by 2, Is not it a contradiction with 1?
Also if it's possible, give me more information about it.
Please regard me. Thanks in advance.