Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chillee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
271.
▲
by
chillee
9y ago
I mean, it's not just true for new languages. For Haskell, you see beginners claim that "it's a perfect language and can do no wrong", while experts in the language will acknowledge its faults, including: long compile ti
272.
▲
by
chillee
9y ago
Answer: it doesn't. Genetic algorithms and the like are pretty much all terrible. They're ways of approximating your gradient, and fall to the curse of dimensionality. The only reason Uber and open.ai published their papers on evo
273.
▲
by
chillee
9y ago
That's what happens when you have a new hip language/framework that has a lot of hype. You see the same with Rust, Elixir, VSCode, Elm, Purescript, ReasonML, etc. It's not astroturfing, it's just a lot of beginners that
274.
▲
by
chillee
9y ago
I guess the closest thing to what you want in Ocaml is modular implicits. http://tycon.github.io/modular-implicits.html As far as the tradeoff, my view on types is a bit different than yours, I think. First, a quick note: &
275.
▲
by
chillee
9y ago
I see. I think I have a visceral reaction whenever people express sentiments like that, partially because it's Haskell marketing/branding that has worked too well. IMO, Haskell's insistence on purity (which has been an excell
276.
▲
by
chillee
9y ago
I'd strongly object to calling OCaml an "inferior Haskell". OCaml has a much faster compiler, a great type system (sure, missing some of Haskell's more advanced type features, but adding modules/polymorphic variants
277.
▲
by
chillee
9y ago
I've always thought it's because early computing was very similar to data entry/accounting. http://gender.stanford.edu/news/2011/researcher-reveals-how-... > Rather, managers hired women because
278.
▲
by
chillee
9y ago
Err, more accurately what I mean is comparing the students of equivalent wealth in the US and China. eg: the cities in China compared to most of the urban/city in the US. Of course, there's still the several hundred million of imp
279.
▲
by
chillee
9y ago
It completely depends on the location. I'll believe that overall, China's education produces better students than the USA, and that overall, the attitude towards academic excellence is more positive. However, there's definite
280.
▲
by
chillee
9y ago
To most Chinese people, it's not really viewed as "trading personal freedoms" for "economic development". It's more viewed as "trading personal freedoms" for a "better quality of life". Most
281.
▲
by
chillee
9y ago
That's all revenue, including non-advertising revenue.
282.
▲
by
chillee
9y ago
Can you cite some sources on the voice recognition part? I seem to remember that Google( https://research.googleblog.com/2015/08/the-neural-networks-... ), and Baidu( http://research.baidu.com/deep-sp
283.
▲
by
chillee
9y ago
I was more remarking upon > non-distributed blockchains can be a very good solution to certain problems
284.
▲
by
chillee
9y ago
What? What would be the point of a non-distributed blockchain? Fundamentally, blockchains are a solution to the distributed consensus problem, where you're not guaranteed anything on the length of time it takes to communicate between t
285.
▲
by
chillee
9y ago
Yeah that's what my experiences have been too. It's one thing to feel like you understand Haskell after finishing LYAH; it's another to actually understand it.
286.
▲
by
chillee
9y ago
You see the overall big techniques being published, but there's still a huge gap between papers being published and actual implementation in products. Implementing papers into problem-specific domains always introduced all sorts of cha
287.
▲
by
chillee
9y ago
Out of curiosity, did you finish LYAH? And have you actually started using Haskell for any substantial projects? I was also recommended LYAH when I started, and it was only around the middle of the book when I started to get lost. I remembe
288.
▲
by
chillee
9y ago
To elaborate on LYAH, I think it's a pretty bad resource for actually learning Haskell. It's very "here's a feature, now copy it". Which works fine for learning syntax, but works poorly for learning Haskell. Check h
289.
▲
by
chillee
9y ago
Ocaml tooling has actually gotten substantially better over the past year or two. VSCode as an editor that just works. Opam for package management JBuilder for managing builds. Stdlib situation is still kind of a mess, but I think Base (whi
290.
▲
by
chillee
9y ago
My claim that Standard Chartered thinks "strict haskell is a lot easier to deal with" comes from this comment from Lennart. > If my only concern was semantics (i.e., input-output behavior) then I'd prefer call-by-name sema
291.
▲
by
chillee
9y ago
I mean, if you want a direct quote from Lennart Augustsson, here's a quick transcription of the relevant parts of the relevant video. https://www.youtube.com/watch?v=hgOzYZDrXL0 > So strictness is really fantastic,
292.
▲
by
chillee
9y ago
I was basing off of this CUFP report regarding Standard Chartered's use of Haskell. http://anil.recoil.org/papers/2011-cufp-scribe-preprint.pdf > Their experience with strict semantics has been positive. Partic
293.
▲
by
chillee
9y ago
I guess it would be remiss to not mention that most Ocaml users shy away from the object oriented side of the language. Not because it's not well done (it is), but because modules work a lot better for many of the uses cases you'd
294.
▲
by
chillee
9y ago
I wrote this on my phone a couple hours ago, and I wanted to add a couple qualifiers that might be misleading to people. Laziness being hard to deal with isn't the only reason Standard Chartered uses their own compiler that's stri
295.
▲
by
chillee
9y ago
I view this as more of a general, why should somebody learn Ocaml instead of Haskell? There's a couple of reasons. #1. Ocaml's type system is nearly as expressive as Haskell's and includes several features that Haskell'
296.
▲
by
chillee
9y ago
One of the other use cases for this technology that I haven't seen people bring up yet is remote editing. Whether you want to edit in a VM, or your company uses devservers, or you want to modify files on a remote server, the previous o
297.
▲
by
chillee
9y ago
Operational transforms I believe.
298.
▲
by
chillee
9y ago
Yep! This is all of the configuration needed to use VSCode as a debugger for Ocaml: https://i.imgur.com/kY6NuXC.jpg
299.
▲
by
chillee
9y ago
I suspect there's some outsider effect happening here (basically, you're not using the right VPN providers). Plenty of tech companies use a companywide VPN for a variety of reasons.
300.
▲
by
chillee
9y ago
Similar to anon, I'd disagree with you that "politics is not a natural part of the Chinese conversational diet". Chinese people talk about politics all the time: America being world police, current reforms the government is t
More ›