Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kenko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
kenko
14y ago
Honestly, I don't know what you even mean by purity.
302.
▲
by
kenko
14y ago
It's not a decision about whether or not to use generics, it's a decision about whether or not to make it possible to use generics. The developers have decided that they should make it possible for themselves to use generics, but imposs
303.
▲
by
kenko
14y ago
>> (and having the interpreter get special status in breaking them, see generics) >What's your point? Purity for purity's sake? I assume the point is that the Go developers are saying "purity for thee, but not for me" (if you th
304.
▲
by
kenko
14y ago
If Reader users were dropping off because Google crippled Reader, then the "users were dropping off" argument lacks teeth, though it does make for a great self-serving justification. First you make the product worse, then you point out that
305.
▲
by
kenko
14y ago
And yet of course you could have responded. You could in fact have simultaneously pointed out that you find the tone of the original post unfortunate and then also addressed the substantive issues raised therein. "I can't respond" is ludi
306.
▲
by
kenko
14y ago
"I'm sure his sarcasm was meant lightly, but it still deviates from the high quality of discussion I'd like to have" Sarcasm and quality of discussion are orthogonal. It's very easy to have 100% "civil" discourse that is of absolutely no qu
307.
▲
by
kenko
14y ago
As a tangent, it's not really true that "a public company [has] a responsibility to generate return on capital". See, e.g., Stout's _The Shareholder Value Myth_, or this shorter thing: http://crookedtimber.org/2008/07/25/what-obligation-ma
308.
▲
by
kenko
14y ago
Yeah. But you could decide how much of the stack to keep, at least. Nevertheless, I know that some smart persons (I just can't remember who!) have addressed this issue in a significantly subtler way---wish I could find the reference.
309.
▲
by
kenko
14y ago
Off the top of my head I can think of a doubtless unsophisticated way to recover the "stack" in this situation: namely, the same way you recover the "stack" in the factorial example, by using an accumulator hidden in the interpreter. When f
310.
▲
by
kenko
14y ago
That's bullshit, however, because: (a) there are techniques to deal with that, and (b) where's the accurate stack trace from a state-maintaining while loop, or a trampoline?
311.
▲
by
kenko
14y ago
http://hackage.haskell.org/package/HList-0.2.3 sure seems like an "implementation" of heterogeneous lists.
312.
▲
by
kenko
14y ago
"I know there are heterogeneous list implementations for Haskell, but I can never understand how they work."
313.
▲
by
kenko
14y ago
Well, the Clojure repl is way better. Not being pervasively lazy makes it easier to reason about many things. Not strictly boxing IO in the IO monad makes it easier to debug (debug by println is still useful!). Macros are much easier to u
314.
▲
by
kenko
14y ago
Oleg Kiselyov uses exceptions for control flow in his Delimcc library for Ocaml, and if that doesn't establish that doing so is perfectly acceptable, I don't know what could.
315.
▲
by
kenko
14y ago
"Virtualenv bin/activate isn't doing anything "wrong". It's just not doing it how the author believes is best." So is it possible to do something wrong, or is it only possible to do something that another person (or you) believes is not bes
316.
▲
by
kenko
14y ago
You are unlikely to see many books where this has happened, because professionals try to make sure that it doesn't, and fiddle with things if it does.
317.
▲
by
kenko
14y ago
IIRC, data structures are immutable by default in Racket.
318.
▲
by
kenko
14y ago
"You weren't supposed to read his article as coming from a Lisp expert, seeing that Lisp wasn't the main focus at all." Then why did he make snide, ignorant allusion to Lisp? "You shouldn't hold that comment against him; he doesn't know wha
319.
▲
by
kenko
14y ago
http://conal.net/blog/posts/the-c-language-is-purely-functio...
320.
▲
by
kenko
14y ago
" To clarify, I was trying to use "specious" as a synonym of "flawed." I thought this was the common usage, but apparently not." "Specious" does mean, more or less, flawed. Zero benchmarks are better than flawed benchmarks.
321.
▲
by
kenko
14y ago
Not currently, but it would certainly be possible to add something like that---exposing the running stats for partial subsequences of the input sequence would just be a matter of replacing the "reduce" in the definition of calculate with
322.
▲
by
kenko
14y ago
here's the announcement email (very boiled down version of the readme, essentially): babbage is a library for easily gathering data and computing summary measures in a declarative way. The summary measure functionality allows you to compute
323.
▲
by
kenko
14y ago
"I don't think he's the target user TM was designed for." Because he has a lot of drives? What?
324.
▲
by
kenko
14y ago
"The war became total, and patriotic citizenry in belted uniforms provided the fodder for cannons. In this sense, the belted trousers were inevitable. They are the very essence of modernity, crowning 300 years of advanced political thought.
325.
▲
by
kenko
14y ago
Interesting that among the other languages he mentioned one did not find Fortran or ML, which, I believe, were the go-to examples of C-beating languages in the discussion of the initial piece.
326.
▲
by
kenko
14y ago
"The prosecutor charged the maximum because it is a waste of time to take a guy to federal court over a $20k fine and a year of probation." You know the prosecutor could have just not taken him to court at all, right?
327.
▲
by
kenko
14y ago
"Aaron Swartz was mentally ill and committed suicide as a direct result of his mental illness. He comtemplated suicide in 2007 long before any of this DOJ stuff happened." But he didn't do it then, did he? It's absurd to think that these th
328.
▲
by
kenko
14y ago
Nevertheless, it is true that Jstor got out of the "hassle Aaron Swartz" game a long time ago, which is why they're able to post a message like this without it coming off as totally opportunistic. The prosecutors in the case can't exactly d
329.
▲
by
kenko
14y ago
"p.s. You're missing a square bracket after [1 2]. I was puzzling even more before I realized that :)" Whoops! "Both idioms are useful, but I use the parallel one quite a bit more than the nested one. Does FOR handle both?" Not directly---t
330.
▲
by
kenko
14y ago
Sure, and Clojure has '&' in function argument lists for rest arguments. Here's a Clojure example: user=> (for [x [0 1 2 3 4 5] :let [y (* x 3)] :when (even? y) z [1 2] [y z
More ›