cautious_int
Don't put words in my mouth please.
I reject the thesis that trust is binary. Were I to accept it, I trust nobody - everyone is vulnerable to being subverted by blackmail, intimidation, making mistakes, etc.
You seem to be using a different definition of the word trust than I did. Everyone is vulnerable, does that mean you cannot trust anyone? No, you certainly can, that is the whole point of trust.
Apparently new is a "special" operator, or there is a bug in the compiler. I also can't get a warning with g++.
The problem seems to be that, as I said, [] takes any integer expression, it is there where the value gets truncated when operator sizeof or new is applied on it since they either return or take a size_t value.
I think this problem in C would be solved with a single flag: -Wwarn-if-using-integers-of-different-types-in-an-operation , forcing you to cast the integer if the types don't match in a arithmetic operation, or an assignment.
This is defined and perfectly normal.
However signed integers will cause undefined behavior on overflow and there is a common flag in most compilers to trap on overflow.
Well there you go. If you ever wondered whether this is happening only on the Microsoft Account(tm).
In other words, C allows that UINT_MAX == INT_MAX, in which case you will overflow.
If they made that assumption, they should explicitly mention it, but they didn't.
> Update 17 Feb 2008:... ...Now that we've made this change, we know that the program is correct;)
It seems the article is aware of the irony. Another update would be in order.
I wonder how realistic their test were, and if the same results would be achieved with some cache trashing.
They are way better than any soft drink. Even if you pick the fruit with the most fructose/glucose percentage you still get the benefit of slower digestion due to fibers which slow digestion. Slight exaggeration, but in comparison, drinks are almost an injection of sugar into the blood-stream.
I would consider them healthy if they are ingested in appropriate quantities, without any added sugars, and along with some additional food that is rich with protein and fibers, like wheat and grains.
https://bitbucket.org/knight666/utf8rewind/src/c22e458912952...
https://bitbucket.org/knight666/utf8rewind/src/c22e458912952...
https://bitbucket.org/knight666/utf8rewind/src/c22e458912952...
The prior while statement makes sure the second parameter src_size is never 0, but the pointer src might be.
Undefined behavior can be caused by passing a NULL pointer as the first parameter and a non-negative second parameter to utf8toutf16().
There are multiple source files.
Will try to build it for my project that deals with unicode.
Privacy Badger is governed by EFF's Privacy Policy for Software.
In the privacy policy you have this:
Software Downloads: If you download and install software from EFF's web site, we may collect information about your visit to our site. Once installed, our software may also connect automatically to our site to attempt to determine if updated versions are available. As a result, our site may log information related to the software downloads, such as your computer's IP address. Our collection, anonymization, and use of that data is described our web site privacy policy.
Web site privacy policy has this to say about the collected information:
Disclosure of Your Information
While EFF endeavors to provide the highest level of protection for your information, we may disclose personally identifiable information about you to third parties in limited circumstances, including: (1) with your consent; or (2) when we have a good faith belief it is required by law, such as pursuant to a subpoena or other judicial or administrative order.
So as a start you might want to disable automatic updates