Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramchip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
451.
▲
by
ramchip
9y ago
They are applications. That's what an umbrella does, it groups multiple Erlang applications into one project.
452.
▲
by
ramchip
9y ago
This feels like a bit... too much. If you’re really going for microservices, that means every service will be small and specialized. Do you really need to split it further into so many sub-apps? I feel like the S3 app is going to end up as
453.
▲
by
ramchip
9y ago
All libraries from Erlang can be used as-is, so the gap is much smaller than you might expect. Phoenix itself is based on an Erlang web server.
454.
▲
by
ramchip
9y ago
But why? Was it dirty money somehow?
455.
▲
by
ramchip
9y ago
"Railway-Oriented Programming" is a lot more specific than "monad".
456.
▲
by
ramchip
9y ago
I feel the same. I've been stopped by the police 0 times in 7 years, never been refused service anywhere, younger people (e.g. in my old university club) always call me ~san or ~sempai, etc. There's real issues with things like th
457.
▲
by
ramchip
9y ago
I think some of the points are really exaggerated. Take this: > That’s not to say that some nasty malice isn’t present because it most definitely is. I lost count of the times when, say, for example, politely pointing out to someone that
458.
▲
by
ramchip
9y ago
I wonder if the author is running an ancient Erlang? The code looks very old school, with the lack of maps, no rebar, deprecated functions, etc. From Erlang release notes: The pre-defined types array/0, dict/0, digraph/0, gb_
459.
▲
by
ramchip
9y ago
I work in Japan, actually. I have sick days, never waited more than about 15 min at the hospital (without an appointment!), and the care was excellent. YMMV - I recon sick days are indeed unusual.
460.
▲
by
ramchip
9y ago
I'm also really puzzled by the omission of Japan. It has the highest life expectancy in the world, I would expect a comparison of health systems in the developed world to include it.
461.
▲
by
ramchip
9y ago
"Appendix 3: A Simple Execution Environment" https://www.safaribooksonline.com/library/view/programming-e... http://erlang.org/pipermail/erlang-questions/2014-February/0...
462.
▲
by
ramchip
9y ago
I'm quite sure that would be a grossly inefficient approach. Sending a message is expensive in Erlang, less so than in other languages, but it's still very large compared to a few math operations. It's a common mistake to use
463.
▲
by
ramchip
9y ago
Not in the general case, it only removes copying of literal (constants known at compile time).
464.
▲
by
ramchip
9y ago
Erlang is what you would use to implement a single service (which may run on a cluster of multiple nodes). It's not a generic messaging layer to use between services, you can use RabbitMQ or ZeroMQ or whatever you like for that.
465.
▲
by
ramchip
9y ago
Thanks, I might have to use this soon :)
466.
▲
by
ramchip
9y ago
Distributed Erlang compatibility is guaranteed for not just one, but two major versions. You can do a standard rolling upgrade and the newer nodes will talk to older nodes just fine. http://erlang.org/pipermail/erlang-q
467.
▲
by
ramchip
9y ago
I don't think that's the problem for metrics. Exometer is the go-to Erlang library, but its dependencies are a nightmare (e.g. https://github.com/Feuerlabs/exometer/issues/154 or https://
468.
▲
by
ramchip
9y ago
Yes, there's updates: http://www.erlang-factory.com/sfbay2017/lukas-larson.html
469.
▲
by
ramchip
9y ago
Very interesting article! One thing I'm curious about is how to ensure a given guild's process only runs on one node at a time, and the ring is consistent between nodes. Do you use an external system like zookeeper? Or do you have
470.
▲
by
ramchip
9y ago
> a good strategy is to reserve the necessary memory in an array, fill it with keys/values, sort it once over the keys and coindex the value array This explanation confuses me. Is there one or two arrays? What does "coindex&quo
471.
▲
by
ramchip
9y ago
Thanks, looks like it indeed.
472.
▲
by
ramchip
9y ago
EA?
473.
▲
by
ramchip
9y ago
That was true a few years ago, but not anymore: https://medium.com/@jlouis666/breaking-erlang-maps-1-31952b8... (You would have to use a map though, the native lists are still plain old lists)
474.
▲
by
ramchip
9y ago
> I think that software developers in general have a few things to learn from the hardware guys about testing. People say that a lot, but do you have any concrete suggestions? I find there's a big difference between testing when it&
475.
▲
by
ramchip
9y ago
It's strange to see ANI mentioned as if it were a real, working language. AFAIK it was never able to compile even the samples: https://code.google.com/archive/p/anic/issues/7
476.
▲
by
ramchip
9y ago
I think haken is a very common though, for all kinds of office workers. It's full-time employment, but it's not permanent employment.
477.
▲
by
ramchip
9y ago
I worked at a bank and saw that pattern used in market connection middleware as well. It's really common, but since that stuff is all closed source it's hard to point to a concrete example. (The thing was also optimized to reuse o
478.
▲
by
ramchip
9y ago
There is a tutorial right on the official website. I would start with this, it covers quite a lot of ground.
479.
▲
by
ramchip
9y ago
> Electronics that are running at capacity tend to have more issues. Do you have any statistics or other sources on that? (honestly curious)
480.
▲
by
ramchip
10y ago
AFAIK the problem is the additives, not the polymers themselves.
More ›