Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ericmj
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
ericmj
5y ago
We do build for subpatch versions: https://hub.docker.com/repository/docker/hexpm/erlang/tags?p...
2.
▲
by
ericmj
5y ago
What made your test runner faster? We would be very interested in porting those optimizations to ex_unit.
3.
▲
by
ericmj
6y ago
> And I remember seeing a lot of forum posts around the dangers of using GenServers (unless you know what you're doing). The danger is using a single process of the GenServer instead of multiple, so you can get single process bottle
4.
▲
by
ericmj
6y ago
> As a simple example, I think Plug.Parser is wrong to raise an exception when invalid json is given to it (shitty user data is hardly "exceptional" and I don't need error logs with poor signal to noise). Plug sets the sta
5.
▲
by
ericmj
6y ago
Elixir hasn’t done away with behaviours. They exist in the language and are used to implement features in the standard library itself and many libraries in the ecosystem. You don’t have to go to Erlang documentation to learn about them sinc
6.
▲
by
ericmj
8y ago
Gun starts a process for each connection. The main idea for Mint was to not do this so that users can choose their own process structure.
7.
▲
by
ericmj
9y ago
Search on hex.pm is not great and can definitely be improved, but we are currently at the limit of postgres full text search afaik, unless there are some magic things to tweak. This means we need to switch to other technologies to improve t
8.
▲
by
ericmj
10y ago
There seems to be confusion here about the language semantics. There is no mutability in the expressions you have shown. buffer.copy() would not make sense since the language is immutable, why would you want an explicit copy mechanism when
9.
▲
by
ericmj
10y ago
It still runs on a single 7$ hobby dyno. Package and registry downloads goes directly to our CDN so the dyno only gets traffic for the HTTP API and website.
10.
▲
by
ericmj
11y ago
Pattern matching and function overloading based on types are different but can be used for the same purposes. For function overloading the decision for which implementation to use usually happens at compile time along with the type checkin
11.
▲
by
ericmj
14y ago
What is wrong with the random routing they are doing now? Random routing works if your dynos can handle concurrent requests.
12.
▲
EmberJS and Confusion, Part 2
(1fifty9.com)
30 points
by
ericmj
14y ago
|
6 comments
13.
▲
by
ericmj
14y ago
Yes, memory bandwidth is one of the biggest slow downs of ray tracing. Rasterization access memory very linearly which makes it very easy to cache and easy to optimize in hardware on the GPUs. But ray tracing access memory very randomly, tw
14.
▲
by
ericmj
14y ago
Yes. But the "constant factor" will be very large, even larger than for traditional ray tracing, for some global illumination algorithms, even when you chose to only render a small part of the scene. For example photon mapping requires a pr
15.
▲
by
ericmj
14y ago
Purity has nothing to do with green threads. Many languages that doesn't have the concept of purity have green threads, like Erlang or Go. In fact, green threads are not a part of Haskell, but a part of the runtime. Purity is just a nice th