Dude, don't use square brackets with STL arrays and vectors, just to make your code more readable. The [] operator skips bounds checking, which is the main reason for using these classes in the first place. At() is the proper methodology to use in pretty much every case, unless you are so confident in your bounds that its worth the trivial speed increase in access time.
Bjarne Stroustrup's solution:
template<typename>
class Vec : public std::vector<T>; {
public:
using vector<T>::vector
T& operator[](int i)
{ return vector<T>::at(i); }
const T& operator[](int i) const
{ return vector<T>::at(i); }
};
Page 97 of The C++ Programming Language.
A quantum state of position can be written as a superposition of a momentum states; the position is certain and the momentum is uncertain.
A quantum state of momentum can be written as a superposition of position states; the momentum is certain and the position is uncertain.
That's the duality and the extremes of the uncertainty principle. The mathematics can also show more generally, that the uncertainty in position and momentum is always more that a certain value (Planck's constant).
These things follow directly from the axioms of Quantum theory, Hilbert spaces and any two non-commutative operators. So I really don't see how Quantum Physics "just got less complicated". It's the same as it's always been. Although I've not read the paper yet, maybe that makes more sense.
They could insert it after the bit of code that reads:
if (price = 0.00)
price = 0.01;
I tried both FreeNAS and NAS4Free for a home server, and they were both good for what they aim to do. The problem I had was when I wanted to run something other than a NAS on the same box, such as tvheadend. I consequently tried OpenMediaVault as this is based on linux. In the end, I concluded that these only work if you're running your box purely as NAS. After a look at virtualisation using docker, and concluding that this was overkill, if not a bad idea, I went with Ubuntu Server and webmin. The storage is using BTRFS. I could have used ZFS, but BTRFS seemed a better choice, for what I wanted, at the time.
Note that if you want proper NAS, you'll probably want to avoid everything I've done at home.
The Tao is like a glob pattern: used but never used up. It is like the extern void: filled with infinite possibilities.