It's not the upper bound that matters but the frequency. How frequently should the compiler assume an 's' appears in the dataset, or any other character? We know that E[# of '\0' in a string] == 1. But what is E[# of…
Imagine a scenario where most of the strings being processed contain a single null character, with no other characters. In that case checking for the null character first would be optimal. Does the compiler know that…
Problem with this is I'm now using the back of my hand or other parts of my body to open doors, press elevator buttons etc...
I've recently moved to the US from Australia. The amount my employer and I pay for my healthcare is significantly more than I paid in Australian taxes for healthcare. And that's before including my deductible, things my…
>No, I represent a quarter as 25/100's to show how it would be accurately represented in metric. 1/4 meter is not pure metric, it's applying a non-metric modifuer to a metric amount. The metric representation of 1/4…
https://en.wikipedia.org/wiki/Entropy_(information_theory)
The efficacy of a compression algorithm is dependent on the data it is compressing, so that statement is true for some data.
>you have the uniform distribution over those strings. This makes sense in the original context of encoding random data. Lossless compression is nothing more than taking advantage of prior knowledge of the distribution…
>In fact, any lossless compression algorithm has the property that the output is (on average) at least as long as the input I don't think this is true. If it was, lossless compression would be useless in a lot of…
It's not hard to believe that some portion (if not the majority) of people joining the military genuinely think they are doing something good.
I think you're conflating "knowing" a language with knowing the syntax of a language. It was an easy transition into C++ syntax from my usual C#/Java programming, but the transition into thinking like a C++ programmer…
It's not the upper bound that matters but the frequency. How frequently should the compiler assume an 's' appears in the dataset, or any other character? We know that E[# of '\0' in a string] == 1. But what is E[# of…
Imagine a scenario where most of the strings being processed contain a single null character, with no other characters. In that case checking for the null character first would be optimal. Does the compiler know that…
Problem with this is I'm now using the back of my hand or other parts of my body to open doors, press elevator buttons etc...
I've recently moved to the US from Australia. The amount my employer and I pay for my healthcare is significantly more than I paid in Australian taxes for healthcare. And that's before including my deductible, things my…
>No, I represent a quarter as 25/100's to show how it would be accurately represented in metric. 1/4 meter is not pure metric, it's applying a non-metric modifuer to a metric amount. The metric representation of 1/4…
https://en.wikipedia.org/wiki/Entropy_(information_theory)
The efficacy of a compression algorithm is dependent on the data it is compressing, so that statement is true for some data.
>you have the uniform distribution over those strings. This makes sense in the original context of encoding random data. Lossless compression is nothing more than taking advantage of prior knowledge of the distribution…
>In fact, any lossless compression algorithm has the property that the output is (on average) at least as long as the input I don't think this is true. If it was, lossless compression would be useless in a lot of…
It's not hard to believe that some portion (if not the majority) of people joining the military genuinely think they are doing something good.
It's not hard to believe that some portion (if not the majority) of people joining the military genuinely think they are doing something good.
I think you're conflating "knowing" a language with knowing the syntax of a language. It was an easy transition into C++ syntax from my usual C#/Java programming, but the transition into thinking like a C++ programmer…