Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kenko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
331.
▲
by
kenko
14y ago
"We don't address this in the post, but adding :while conditions is quite a fun challenge." Eurgh, I hate the common Clojure habit (you see it in for, doseq, etc. loops, and in domonad, which is annoying in other ways) of abusing binding ve
332.
▲
by
kenko
14y ago
Surely the ambiguity is likely to matter in actual programs?
333.
▲
by
kenko
14y ago
Macros seriously take in a string and output another string? That has to be formatted correctly with newlines and indentation? That is bats .
334.
▲
by
kenko
14y ago
Can't he (or couldn't he) dispute the charge with the credit card company?
335.
▲
by
kenko
14y ago
"When and if you need it, you can basically make your own type system, tailored to your application." Only given an exiguous understanding of what a type system is. Maybe if Typed Clojure gets to the state of Typed Racket, sure, you could d
336.
▲
by
kenko
14y ago
The Clojure type of the object is a map, but for the AST-manipulating part of the compiler, isn't it in fact more accurate to say that the type of the object (the logical type, you might say, rather than the host type) is, in fact, `:if`? A
337.
▲
by
kenko
14y ago
In the 19th century and before, this is actually, more or less, how professors made their livings, at least in the German system. They were paid on an individual basis by their students. Naturally, you had to teach classes that lots of peop
338.
▲
by
kenko
14y ago
Seriously, no one becomes tenured at a university by teaching a lot of classes. Not only is that not the "track" to become tenured (the way to do that is to get a tenure-track gig, see how that works?), it will likely detract from your chan
339.
▲
by
kenko
14y ago
"I made the comparison of writing software with the act of literary writing; both seem to depend fundamentally on clear thinking. Can good programming be taught? If we look at the corresponding teaching of "creative writing" courses we find
340.
▲
by
kenko
14y ago
The parent is almost certainly referring to the distinction between: (-> (initial) a b c d e) and (e (d (c (b (a (initial)))))) I find -> and ->> useful, but the new threading operators kind of silly; they're very easy to im
341.
▲
by
kenko
14y ago
<a href=" http://plato.stanford.edu/entries/type-theory/>Did someone say type theory</a>? That $10 also gets you nice pdfs of some really excellent articles on a very large range of philosophical topics (I mean it is the SE
342.
▲
by
kenko
14y ago
Is it now the mark of the n00b, or something? Or just your own involvement is old?
343.
▲
by
kenko
14y ago
Not directly related to this cheatsheet, but I was reminded by the section on operators: you can combine multiple binary operators to get something a lot like ternary operators. E.g., in ghci: Prelude GOA> let True ? x = \_ -> x
344.
▲
by
kenko
14y ago
Those problems which lack closed-form solutions might lack another attribute that the Fibonacci sequence has, namely, it's easy to wrap your head around the nature of the problem and to verify correct answers. It's purely a teaching tool. I
345.
▲
by
kenko
14y ago
" long int fac(unsigned long int n) { return lround(exp(lgamma(n+1))); } " Sounds great! What's the factorial of 40? Let's use some python: >>> int(math.exp(math.lgamma(41))) 815915283247882431423526575245034982027017846784L
346.
▲
by
kenko
14y ago
"they provide freedom that is literally unavailable in any other" There have been lots of arguments on LtU about this. You can go very, very far with either laziness or lightweight closures. Laziness didn't go all the way with Haskell, when
347.
▲
by
kenko
14y ago
Linq, which was inspired by ... Haskell! Would it be irresponsible to speculate that this article is directly responsible for the inclusion of Linq in C#? It would be irresponsible not to speculate!
348.
▲
by
kenko
14y ago
Well, some people might, indeed, be educated stupid, though I hope to god no actual Stats 101 class teaches people that p < 0.05 = significant, other than as a convention that people might want to be aware of when they encounter the phr
349.
▲
by
kenko
14y ago
Yeah, the point is apparently just that unthinkingly accepting p = 0.05 as your cutoff for significance is moronic (this point is utterly uncontroversial among thinking humans), whereas the labels make it seem as if he's trying to say somet
350.
▲
by
kenko
14y ago
"Who knows what heights of glory this particular Target employee will climb to in the future?" Quite possibly none. Intelligence doesn't equal success, ever. We all have plenty of examples of people who, though very smart, fared poorly in t
351.
▲
by
kenko
14y ago
Does the racket-lang website have to be restarted every so often?
352.
▲
by
kenko
14y ago
Waitaminute, Supplement to the Common Application ? Oh, Chicago, how you have strayed!
353.
▲
by
kenko
14y ago
If I'm reading the wikipedia article correctly, Mutt was threading email in 1995.
354.
▲
by
kenko
14y ago
Look at Mozart, for instance. He'd put in his ten thousand hours by the time he was like three.
355.
▲
by
kenko
14y ago
If you identify high performance by the performance review system, and people who perform highly according to that system are more likely to be promoted than those who don't, then of course over the long term high performers are the ones
356.
▲
by
kenko
14y ago
Yes, that's so, at-willness of employment and unions are separate. I nevertheless believe it comes from the same impulse, because, in general, the employer is in the stronger position than the employee. (Not always, of course, and it's cert
357.
▲
by
kenko
14y ago
"Honestly, which bastard came up with at-will employment?" Some bastard, and they are not in short supply, who was not a fan of unions or the strengthened bargaining position that they give employees. See also "right to work" states, where
358.
▲
by
kenko
14y ago
"This means that I support the notion real names on Google Plus," That's strange, because I'm a fairly normal white guy with no marginal traits that might cause me to have different viewpoints than I currently do, and yet I don't support th
359.
▲
by
kenko
14y ago
I, in turn, have no reason to believe that the average systems programmer is smarter than Robin Milner or Guy Steele. So what?
360.
▲
by
kenko
14y ago
I believe this is traditionally where the smug LISP weenies descend.
More ›