In schools, there is a lot of violence and aggressivity. Kids hit, lie, steal, call names, harass. When two kids are fighting, they frequently are both punished even if actually one was only defending themselves and was…
These are flat_map, flat_set, flat_hash_map, etc ... See: https://en.cppreference.com/w/cpp/header/flat_map
I work without exceptions, and the typical solution is to crash the whole program (using assert) if the parameter is invalid. This way you can preserve the invariant. To avoid crashing, the caller has to validate the…
You are not allowed to submit a web browser to the app store with your own javascript interpreter.
Are real numbers uniformly spaced? Or are there clusters?
Chrome developper here: do you have details about this? If it happens that's definitely a bug.
You don't need a benchmark. Given any C code, you can make a C++ code that runs as fast (just use the same code). This proves that C++ is at least as fast as C. From there, maybe you could use C++ features to improve…
This is a pretty bad article. In the last example (which is actually the most common case in practice), they give wrong instructions. They should only revert the bad commit, not all the following commits. Reverting…
This is what I had in mind: https://en.wikipedia.org/wiki/Do_Not_Track#Internet_Explorer...
As far as I remember, one of the main problems with DNT is that most its users actually didn't enable it intentionally (because there are browsers that enable it by default). Edit: internet explorer used to do that…
In schools, there is a lot of violence and aggressivity. Kids hit, lie, steal, call names, harass. When two kids are fighting, they frequently are both punished even if actually one was only defending themselves and was…
These are flat_map, flat_set, flat_hash_map, etc ... See: https://en.cppreference.com/w/cpp/header/flat_map
I work without exceptions, and the typical solution is to crash the whole program (using assert) if the parameter is invalid. This way you can preserve the invariant. To avoid crashing, the caller has to validate the…
You are not allowed to submit a web browser to the app store with your own javascript interpreter.
Are real numbers uniformly spaced? Or are there clusters?
Chrome developper here: do you have details about this? If it happens that's definitely a bug.
You don't need a benchmark. Given any C code, you can make a C++ code that runs as fast (just use the same code). This proves that C++ is at least as fast as C. From there, maybe you could use C++ features to improve…
This is a pretty bad article. In the last example (which is actually the most common case in practice), they give wrong instructions. They should only revert the bad commit, not all the following commits. Reverting…
This is what I had in mind: https://en.wikipedia.org/wiki/Do_Not_Track#Internet_Explorer...
As far as I remember, one of the main problems with DNT is that most its users actually didn't enable it intentionally (because there are browsers that enable it by default). Edit: internet explorer used to do that…