Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aengvs
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
aengvs
3y ago
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[# o
2.
▲
by
aengvs
3y ago
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 this isn't true? N
3.
▲
by
aengvs
7y ago
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...
4.
▲
by
aengvs
7y ago
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 insurance
5.
▲
by
aengvs
8y ago
> 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&#x
6.
▲
by
aengvs
8y ago
https://en.wikipedia.org/wiki/Entropy_(information_theory)
7.
▲
by
aengvs
8y ago
The efficacy of a compression algorithm is dependent on the data it is compressing, so that statement is true for some data.
8.
▲
by
aengvs
8y ago
>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 of the data you ar
9.
▲
by
aengvs
8y ago
>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 applications. It&#x
10.
▲
by
aengvs
13y ago
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.
11.
▲
by
aengvs
13y ago
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 wa