Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
anorwell
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
anorwell
12y ago
I'm not sure what persistent means in this context, but what is meant by "fast" immutable array here is that the immutable array supports operations like insert and delete (returning new immutable objects) in near-constant ti
62.
▲
by
anorwell
13y ago
I forked the original to address this [1]. Here's a sample: var strategy = moduleInterfaceFactory.Events = { on: function(strategyFacade, strategyFactoryDecorator, interfaceFacade) { if (!flyweight(this, "
63.
▲
by
anorwell
13y ago
>Following that, perhaps for 2.12, Odersky recently proposed on Twitter a revision of the type system that had FP devotees up in arms since the proposed change removes some of the complexity that makes libraries like Scalaz possible. Wha
64.
▲
by
anorwell
13y ago
It looks like the asynchronous interface to debasishg/scala-redis is synchronous under the hood, using a pool of blocking connections. This means that there is no pipelining. Each of these blocking connections must wait for a request t
65.
▲
by
anorwell
14y ago
It's definitely a real, common problem, but I think the article obscures it a bit. Blocking I/O operations using the Akka dispatcher will block that thread while the command executes. Doing this too often will cause all the akka threads to
66.
▲
by
anorwell
14y ago
Data structures have inherent time and space complexity tradeoffs. This is just as true in C as it is in Scala.
67.
▲
by
anorwell
14y ago
Concise, readable code should trump performance concerns in cases where performance doesn't matter. The idiomatic version is much shorter and clearer.
68.
▲
Smoke: Simple, asynchronous scala HTTP powered by Akka
(github.com)
46 points
by
anorwell
14y ago
|
14 comments
69.
▲
by
anorwell
15y ago
The author is claiming that nearly all binary search implementations are wrong under those specific conditions, not that binary search implementations are wrong under nearly all conditions.
70.
▲
by
anorwell
15y ago
You need to trick an account into adding three fake friends as "trusted friends", a feature that most people do not know about or use. This is much harder getting someone to friend three fake accounts.
71.
▲
by
anorwell
15y ago
There seems to a lot of confusion, both in the article and in the comments, about the "3 trusted friends" password recovery. You have to manually select your trusted friends [1]. A fake account mimicking one of your friends will not be a "t
72.
▲
by
anorwell
15y ago
>If the man is randomly chosen from the set of all families the answer is 1/2. By assumption, the man has a son born on Tuesday, so this is hardly relevant. If A is a subset of B, then choosing x uniformly at random from A given that x
73.
▲
by
anorwell
15y ago
The top-level post is referring to the timeline intro page ( http://www.facebook.com/about/timeline ), not timelines themselves.
74.
▲
by
anorwell
15y ago
This comes from the "contact" section of your profile and is only shared if you type it there yourself.
75.
▲
by
anorwell
15y ago
I don't believe that's why this was posted, and that's not what I took from this submission. The montage shows the division points between what is real and what is CG in various shots. This is not obvious and gives a lot of insight into how
76.
▲
by
anorwell
15y ago
I think there's a lot to be said for learning best practices the hard way. In my experience at a large company, these things can become a cargo cult, especially for less experienced people.
77.
▲
by
anorwell
15y ago
How frustrating. I built something just last week using the translate, transliterate, and diacritize APIs. These are/were really useful APIs for creating language tools.
78.
▲
by
anorwell
15y ago
Microsoft bought Tellme (of which 555-TELL was a very small part) in March 2007 [1]. GOOG-411 was announced in April 2007. [2] [1] http://techcrunch.com/2007/03/14/microsoft-acquires-tellme/ [2] http://techcrunch.com/2007/04/06/google-la
79.
▲
by
anorwell
15y ago
The tone of this article bothers me. There are some smart people working at Microsoft. The level of discussion is higher than "Hey, google made a thing, we need the same thing." Like the article points out, Microsoft has no shortage of utte
80.
▲
by
anorwell
16y ago
Anyone who finds this speculation about "What if P = NP?" interesting should try Impaggliazzo's excellent paper (it's very readable): http://cseweb.ucsd.edu/~russell/average.ps
81.
▲
by
anorwell
16y ago
> 1 random generation per element, vs. log(n) or log(u) The expected height of an element is 2, and the maximum height is 32. So there is at most a constant-factor performance difference, and in practice we should find this constant to
82.
▲
by
anorwell
16y ago
Language: http://en.wikipedia.org/wiki/Formal_language Decision problem: http://en.wikipedia.org/wiki/Decision_problem Decider: http://en.wikipedia.org/wiki/Machine_that_always_halts These are fairly foundational concepts when talking
83.
▲
by
anorwell
16y ago
No need to be condescending. I prefixed my post with "I think" because I was thought, but wasn't sure, that you were implying causation. Specifically, you used the word "if", whereas other wordings would have been more neutral.
84.
▲
by
anorwell
16y ago
I think you're affirming the consequent. Being able to fall asleep quickly does not imply a sleep disorder.
85.
▲
by
anorwell
16y ago
I don't believe that, and I didn't say that.
86.
▲
by
anorwell
16y ago
Medicare is for health coverage, and most countries give this to everyone, all the time, for nominal cost. Unless I'm missing something here. Although, US public per capita health expenditure is about equal to other countries. It just happe
87.
▲
by
anorwell
16y ago
It's not far off. The US deficit in 2010 was $1.42 trillion, while discretionary spending was $1.36 trillion [1]. The total household income in 2006 was ~$7 trillion [2], of which the top 1% ("rich") make over 20%, which would be around $1.
88.
▲
by
anorwell
16y ago
If a single NP-Complete problem is in P, then P=NP. This is what NP-Complete means. In particular, factoring would be in P. Conversely, factoring is not NP-complete, so if factoring were in P, we could not draw any conclusions about P=?NP.
89.
▲
by
anorwell
16y ago
> I wonder if my user experience is living up to their intentions I think this a lot, actually. > Hooray, we fall into the correct segment If segment means target demographic, then I think this a lot too.
90.
▲
by
anorwell
16y ago
http://www.ipcc.ch/publications_and_data/ar4/wg1/en/ch6.html would be a good place to start reading. Additionally, even if you take the OP article at face value, nothing in it constitutes an argument that current temperature shifts are no
More ›