Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sweeneyrod
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
sweeneyrod
6y ago
Cool! It looks like those are in beta/not very widely used though. And my impression is that I'd probably have to understand k8s/nomad pretty well to use them; really I'd like something with an experience closer to Herok
32.
▲
by
sweeneyrod
6y ago
Inherently parallel, sure. How often does that parallelism need to be within a single process? Not that frequently in my experience. If your threads aren't sharing state they can just be processes instead. If they are sharing state tha
33.
▲
by
sweeneyrod
6y ago
What are some situations where you need parallelism? I am not convinced there are many. I have never heard anyone say they are using .NET instead of JavaScript or Python in order to get parallelism.
34.
▲
by
sweeneyrod
6y ago
They are similar to the point of being identical relative to comparisons between either and any other language you can actually get a job using (although I have a soft spot for it, SML does not fall in this category as far as I can tell fro
35.
▲
by
sweeneyrod
6y ago
Capnrover seems like the best option. I have the same perception of Flynn. Dokku is nice but I don't really see how you could use it in production since it's limited to a single server (there are definitely some cases where that&#
36.
▲
by
sweeneyrod
6y ago
OCaml does this and it's moderately annoying.
37.
▲
by
sweeneyrod
6y ago
Why wouldn't you? The size of the community is definitely a significant advantage of Rust of OCaml, but if you want to use either then you need to be comfortable with reasonably niche things. Other than that, what is there? I don'
38.
▲
by
sweeneyrod
6y ago
elm-review still has a confirmation prompt though, right? You don't want to instantly remove an unused value, because you might be in the middle of writing code and about to use it.
39.
▲
by
sweeneyrod
6y ago
I'm not convinced lack of side effects is the thing that lets you build tools that prompt removal of code in this way. In OCaml, if you had an unused variable like in the example you would get a compiler warning about it, and 99% of th
40.
▲
by
sweeneyrod
6y ago
What about OCaml?
41.
▲
by
sweeneyrod
6y ago
I don't think this is true. "copulation normally conducted in privacy" is a human universal http://joelvelasco.net/teaching/2890/brownlisthumanuniversal...
42.
▲
by
sweeneyrod
6y ago
The porn that has existed since the dawn of time (I guess cave paintings) is qualitatively different from PornHub content. Arguably even there is even a qualitative difference from the situation even 15 years ago. Then, very few 10-year-old
43.
▲
by
sweeneyrod
6y ago
I think that 99% of programmers can get approximately all the value of monads by reading an article explaining how promises, options and lists all have this pattern in common, without any mention of monoids or endofunctors. I enjoyed the co
44.
▲
by
sweeneyrod
6y ago
Anthony Levandowski got a $120m bonus. What makes you think he is less of an outlier than your friends are in finance? (although FWIW unless your friends are very senior I suspect they're lying about getting million plural bonuses)
45.
▲
by
sweeneyrod
6y ago
I think the artificial shape example does not adequately show how variant types/pattern matching are actually used in languages like SML/F#/Haskell. It combines two different cases. Suppose you have a type `colour` defined as
46.
▲
by
sweeneyrod
6y ago
$100/month gets you around 1TB on CloudFront doesn't it? If that's all web pages, surely you should be getting enough traffic that you can monetise somehow for the cost to be negligible.
47.
▲
by
sweeneyrod
6y ago
Docker has on the order of 1 second startup time doesn't it? I don't understand why someone would willingly subject themselves to that for things being manually run multiple times per day without an extremely compelling reason.
48.
▲
by
sweeneyrod
6y ago
Hey, that speed was good enough in ~1995!
49.
▲
by
sweeneyrod
6y ago
Yes, out of Rust, C, C++ and Go, the slow one is going to be the one with a GC.
50.
▲
by
sweeneyrod
6y ago
That's true only if the service Robinhood is providing is giving customers good deals. It seems quite plausible that instead it is actually providing entertainment in the form of "free" trading. If this is the case, the lack
51.
▲
by
sweeneyrod
6y ago
All LSP clients for vim will give you that; it is whatever command calls `hover` on the language server (e.g. ALEHover for ALE or LanguageClient_textDocument_hover for LanguageClient-neovim). Obviously you should bind these to some convenie
52.
▲
by
sweeneyrod
6y ago
There are significantly more devs than that (the total is also over 900, that's from 2018). It depends what you mean by "optimizing their engineering stack". They certainly do put a lot of effort into tooling, by necessity si
53.
▲
by
sweeneyrod
6y ago
Right, in other words it is just a function. I don't think the categories have to be discrete just to satisfy the functor laws; even ignoring that, what would the morphisms be in principle? I don't think there is an obvious choice
54.
▲
by
sweeneyrod
6y ago
It is much less of a problem with OCaml than most non-OCaml users would expect. OCaml isn't Haskell; if you want for loops and similar generic imperative features you can have them!
55.
▲
by
sweeneyrod
6y ago
How? What are the categories that OCaml's Hashtbl.Make maps between? What are the morphisms in those categories and how are they mapped?
56.
▲
by
sweeneyrod
6y ago
I'm sure that by new you meant obscure, but OCaml has been around for 24 years.
57.
▲
by
sweeneyrod
6y ago
I think a GC is almost always the most important facet. Can you name a set of languages that doesn't include Rust, some with GCs and some without, where the most different pairs are the same in terms of having a GC or not?
58.
▲
by
sweeneyrod
6y ago
Bocconi probably the top one, I think some of the grandes écoles are too. Outside the US, Oxbridge, ETHZ and NUS would be some examples, where globally prestigious means ~top 20. If you broaden to top 100 there are quite a lot of European&#
59.
▲
by
sweeneyrod
6y ago
As far as I know, apart from a few European business schools there are no globally prestigious private universities outside of the US.
60.
▲
by
sweeneyrod
6y ago
Iran is not Russia.
More ›