190 karma · joined April 28, 2014
Atomically, compares the contents of the memory pointed to by object or by this for equality with that in expected, and if true, replaces the contents of the memory pointed to by object or by this with that in desired, and if false, updates the contents of the memory in expected with the contents of the memory pointed to by object or by this.
http://open-std.org/JTC1/SC22/WG21/docs/papers/2011/n3242.pd...
Atomically compares the object representation of this with the object representation of expected, as if by std::memcmp, and if those are bitwise-equal, replaces the former with desired (performs read-modify-write operation). Otherwise, loads the actual value stored in this into expected (performs load operation). Copying is performed as if by std::memcpy.
http://en.cppreference.com/w/cpp/atomic/atomic/compare_excha...
[1] http://blog.docker.com/2015/02/the-new-minimalist-operating-...
Fun fact: one of the strongest withdrawals I have experienced was sugary drinks. To make matter worse it was just the middle of summer and drink of cold coke seemed to be a blessing. So I went to the store, bought a 6-pack of sugar-free semi-keto-friendly Coke, put it in the fridge and never took it back. Just the fact that I could get it whenever I want seemed to help :)
How to be a 10x engineer: Incur technical debt fast enough to appear 10x as productive as the ten engineers tasked with cleaning it up.
Here's a random example: www.geocities.com/scythemantis
Just make sure that request header has proper referer: "Referer:https://www.google.ca/"
* You can run different versions of program side-by-side: FF 32 in one window, and FF 31 in another to test compatibility and regression.
* You can install programs without polluting your base system. I don't want to have Java installed, but sometimes I just need to run an applet.
All of that can be achieved with traditional VM, but with the performance penalty. As Docker runs on top of the native kernel, speed should be comparable to the application running directly on host.