Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
huahaiy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
huahaiy
11y ago
I am actually disappointed with his view. I thought he had a psychology background and should have known better than his obvious reductionist view. What neural network have demonstrated so far is that it can do a form of perception given en
182.
▲
by
huahaiy
11y ago
It shows that Lisp programmers really don't care about balancing parenthesis, because editors do that for them.
183.
▲
by
huahaiy
11y ago
From a cognitive point of view, learning a large number of idioms is more manageable for human beings than having to reinvent the mental constructs from primitives every time. This human capacity of dealing with idioms is what called &quo
184.
▲
by
huahaiy
11y ago
With some minor assumptions, my assertion would be correct. Yours needs a lot of strong assumptions to be mathematically feasible. Basically, you are saying, when the max of a sequence is increasing, the mean/median stays or even decre
185.
▲
by
huahaiy
11y ago
> Lisp has been around for 50+ years, hasn't really helped its popularity much. But I'm willing to bet with you that in 14 years from now, Clojure will have even fewer users than it has today. Computer science has too short a h
186.
▲
by
huahaiy
11y ago
Exactly the point. In many other languages, every programmer can write their own "even" and "filter" with their own idiosyncrasy. However, in Clojure, every one uses the same set of high level functions in the standard l
187.
▲
by
huahaiy
11y ago
even? is a predicate that test if the parameter is an even number, as the name suggests. ? is part of the function name, not a syntax symbol (there's not much syntax in a Lisp, after all). By convention, function name ends with ? are
188.
▲
by
huahaiy
11y ago
One would normally use a name space to group together code that deals with a foreign library. So, upgrading to a new version of the library is just a matter of 1. update the dependencies by changing the version number of the library in proj
189.
▲
by
huahaiy
11y ago
My understanding is that the Clojure community discourages the use of macro. The preference is to use data over functions, and functions over macro. The reason is that macros do not compose well. Yes, macros are good for developing DSLs, so
190.
▲
by
huahaiy
11y ago
In Clojure, one doesn't need to rely on tooling to do refactoring, because things are isolated, loosely-coupled to begin with. There isn't much "unintended side effects" when one change Clojure code, because Clojure code
191.
▲
by
huahaiy
11y ago
If you mean keywords by those used in maps, like {:some-key 1 :another-key 2}, yes, they have project wide semantics. However, these are just data . Changing the name of a key in data is just a matter of global search/replacement. A
192.
▲
by
huahaiy
11y ago
It depends on whom you ask. As a person who doesn't even know what language this is written in, I don't think it is readable at all. For example, this "Select(i => i + 2)" piece looks totally strange for me. What does
193.
▲
by
huahaiy
11y ago
If working with emacs, clj-refactor in CIDER can do renaming of symbols. Of course, renaming symbols in Clojure is not such a big requirement as in Java IDE, because most of the things are isolated within a single function in Clojure. Conse
194.
▲
by
huahaiy
11y ago
vim with fireplace.vim and paredit.vim plugins are pretty nice as well.
195.
▲
by
huahaiy
11y ago
For this code, (reduce + (map (comp inc inc) (range 10))) Clojure people would normally use thread macro, like so: (->> (range 10) (map #(+ % 2)) (reduce +)) This would be similar to the Scala version in term of order.
196.
▲
by
huahaiy
12y ago
https://juji.io
197.
▲
by
huahaiy
12y ago
Currently we only have access to the Facebook statuses updates. So your comments and other content are not included.
198.
▲
by
huahaiy
12y ago
Are you talking about a word processor produced in 1985 that had a type ahead feature? This is very different. Not a word processor, but a psychometric tool.
199.
▲
by
huahaiy
12y ago
A lot of them come from published academic research, but some of them come from our own empirical studies.
200.
▲
by
huahaiy
12y ago
That's cool. I am aware of the Lifestyle Survey. We are leveraging knowledge on psychometrics, but we also try to go beyond. One problem with self-reporting psychometric surveys or tests is that the takers know that they are being asse
201.
▲
by
huahaiy
12y ago
If by "knowing", it means knows how one's traits compare with others, yes, we can know it better than oneself. Because that's exactly what the science of psychometrics does, and we are now applying it at a larger scale.
202.
▲
by
huahaiy
12y ago
CTO here. Here are some more information, we did the project in Clojure, and we are very happy with this choice :-). The other parts of our tech stack include Kafka, Postgres and Aerospike, hosted on AWS. Please feel free to ask questions
203.
▲
Show HN: Juji – The Precog Agatha Live Online in Real Life
(juji.io)
5 points
by
huahaiy
12y ago
|
15 comments
204.
▲
by
huahaiy
12y ago
You should post this as a "Show HN"
205.
▲
by
huahaiy
12y ago
The point of LaTeX is to not worry about format, just the content. "Reproducing a document" is rarely done by normal LaTeX users. Most people just use a template that is appropriate for the task, and let the algorithm taking care
206.
▲
by
huahaiy
12y ago
I got the same error. Seems to be relevant to this issue: https://github.com/emezeske/lein-cljsbuild/issues/204 The suggestion seems to be "In the meantime: don't use trampoline, or chain the task e
207.
▲
by
huahaiy
14y ago
Agree. This work claims that there is no goal in their implementation of intelligence, but forget the goal of "capturing as many future-histories as possible". With a right amount of tolerance for vagueness, it is not that hard to convince
208.
▲
by
huahaiy
14y ago
You get what you pay for. If you pay them pennies, you get garbage, but if you pay them equitable wages, you get real work done. It's that simple.
209.
▲
by
huahaiy
14y ago
It's all about how much you pay the turkers. I have done many studies on mturk and the quality of results have been very good so far. My secret? Pay people equitable wages. I always do a small pilot study to find out how long on average doe
210.
▲
by
huahaiy
15y ago
The thing is that in functional programming, you don't do a lot of things that you think are essential for programming, such as "for/do/while". A lot of people need to do exercises to truly grasp the new way of doing things. Basically, one
More ›