Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Strilanc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
1081.
▲
by
Strilanc
14y ago
>>He thinks that we need to understand existing science (quantum mechanics and perhaps gravity) better to comprehend consciousness > What, not phlogiston? To be fair, more research really is needed. We don't have an underlying t
1082.
▲
by
Strilanc
14y ago
Terrible article. The only included details about the solved problem ("ball bouncing off wall" and "posed by Newton") are so vague that searching them doesn't bring up the problem. The entirety of the article might as well have been the tit
1083.
▲
by
Strilanc
15y ago
It sounds like they display at a lower accuracy than what you may actually specify, and there's a bit of jiggering to allow the displayed request and true request to both be 'accurate'.
1084.
▲
by
Strilanc
15y ago
Yes, that's a very good idea (and actually the one I had in mind when I talked about correcting the bias). The real problem is when avoidance of surveys correlates with one of the survey answers, like "Should we start using micro surveys?".
1085.
▲
by
Strilanc
15y ago
I'm not sure how well this will work. Users care about accessing content, not answering surveys. A user can achieve their goal faster by clicking the top result instead of reading the question. Browser extensions like AdBlock can make the p
1086.
▲
by
Strilanc
15y ago
There's a couple notable omissions from C#5, with respect to what was implemented in VB.Net. - No anonymous iterator functions. They are useful for correctly implementing iterators with eager validation and lazy iteration. - No type inferen
1087.
▲
by
Strilanc
15y ago
I've actually run into this problem. Before I knew to use IO.Path.Combine I would manually append paths together using "\", and one of the bug reports was that paths should use the yen sign.
1088.
▲
by
Strilanc
15y ago
The goal is not to create any type of job. You want jobs to be useful and create value for people. Otherwise you end up doing absurd things like hiring window breakers to create more window repair work. Increasing the amount of advertising
1089.
▲
by
Strilanc
15y ago
I don't get the appeal of a stick shift. I've had one for four years and, if I could, I would go back and get an automatic instead. To me, a stick shift doesn't give a feeling of control. It gives a feeling of subservience. I have to do mor
1090.
▲
by
Strilanc
15y ago
Heuristics are algorithms and algorithms don't have to give definite answers.
1091.
▲
by
Strilanc
15y ago
Note to everyone: don't confuse 'try-catch sucks' with 'exceptions suck'. There's no inherent reason an exception-throwing method can't be invoked in a style that gives back a value/exception pair. That limitation is a property of the speci
1092.
▲
by
Strilanc
15y ago
Internet voting is a bad idea. It's vulnerable to coercion. Even if we can guarantee the votes are submitted and counted accurately, it's impossible to tell if my boss was standing behind me telling me what to vote (or lose my job). At a po
1093.
▲
by
Strilanc
15y ago
Adding to the list of simple implementations, here's one in C#: list.SelectMany((e, i) => list.Skip(i+1).Select(f => Tuple.Create(e, f))) I think the author started with the wrong idea and didn't backtrack far enough before
1094.
▲
by
Strilanc
15y ago
For loose enough definitions of 'understand'. For example, when I hold my breath, the urge to breath increases steadily until I am forced to start breathing again. Is this because my body explicitly understands that not breathing eventually
1095.
▲
by
Strilanc
15y ago
That probably means the company name is 'omega' or something like 'omega unlimited'.
1096.
▲
by
Strilanc
15y ago
It's not impossible to prove cryptographic algorithms are secure. It's just really, really, really difficult. So difficult it's not even proven that one way functions exist in the first place! (For context: if one way functions exist, then
1097.
▲
by
Strilanc
15y ago
Even better than this is the 'await' functionality coming in C#5. The indentation doesn't increase with each callback, and exceptions are propagated 'across' the callbacks the way you expect.
1098.
▲
by
Strilanc
15y ago
Agreed. However, sometimes you want more information. Having the method specify why there was an error, so you can give a helpful error message to the user, is desirable.
1099.
▲
by
Strilanc
15y ago
I don't agree that returning an Either is better than returning/throwing. It depends on what you do in the error case. If you try to recover, then Either is better. If you fail fast, then throwing is better. The main problem with checked ex
1100.
▲
by
Strilanc
15y ago
It has a wider appeal because of its similarity to biological evolution.
1101.
▲
by
Strilanc
16y ago
I think it will eventually be necessary even for informal interactions. It will be the only way to reliably distinguish people from spam bots.
1102.
▲
by
Strilanc
16y ago
If you're using bcrypt then the client has transmitted the password to you. You can store a higher cost hash after verifying the password against the old hash.
1103.
▲
by
Strilanc
16y ago
Interesting fact: you can choose a random element from a sequence of unknown size in a single pass. The cost is having to always iterate over the entire sequence, and generating O(n) random numbers instead of O(1). The algorithm is quite si