Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ramchip
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
391.
▲
by
ramchip
8y ago
Is the cookie not associated to a specific IP? SSO systems would normally flag the mismatch if you try to connect to a website and pass an SSO cookie issued for a different IP, so sniffing cookies wouldn’t help all that much.
392.
▲
by
ramchip
8y ago
There's lots of factors: * GC: it probably had a very simple algorithm, rather than a fancy generational GC * Data structures: it wouldn't support modern functional structures like HAMT * Compilation: you probably used an interpre
393.
▲
by
ramchip
8y ago
You can build every actor like a miniature program, with its own imperative shell and functional core. In Erlang it's common to have various message handlers that are very imperative, but defer all complicated logic to pure functions t
394.
▲
by
ramchip
8y ago
The functional core can return a symbolic description of actions to take, which the shell executes, a bit like a simple interpreter. This is a good example: https://www.theerlangelist.com/article/spawn_or_not (Note the
395.
▲
by
ramchip
8y ago
In Quebec and Ontario, "engineer" is also protected. Microsoft has been fined in the past because of their usage of "Microsoft Certified Systems Engineer." https://www.canadianconsultingengineer.com/engin
396.
▲
by
ramchip
8y ago
I've done many of these things, documenting the arguments, evangelizing and building up enthusiasm in my team (I didn't write the Elixir system alone), etc. but was still told by our lead engineer and technical managers not to use
397.
▲
by
ramchip
8y ago
What do you do after the experiment is done? I’ve been through that already for a relatively minor project and been asked not to do it again, even though the project worked out very well. The problem is we end up with something that can’t b
398.
▲
by
ramchip
8y ago
After three years of trying to push for adoption, I’m also starting to find it depressing. I’ve talked with various people also looking to introduce Elixir or Clojure in my workplace (large company), and even when it’s a perfect fit for the
399.
▲
by
ramchip
8y ago
Pretty much anyone using a functional language or immutable data structures.
400.
▲
by
ramchip
8y ago
> The turbine will produce about three megawatts of energy on average which, when working at full capacity, is enough to power 2,400 U.S. homes for one month. The "for one month" makes no sense here, but if you drop it the math
401.
▲
My OTP 21 Highlights
(michal.muskala.eu)
2 points
by
ramchip
8y ago
|
0 comments
402.
▲
Erlang OTP 21.0 is released
(erlang.org)
8 points
by
ramchip
8y ago
|
0 comments
403.
▲
by
ramchip
8y ago
> In the experiments we use the following versions of the languages: Erlang/OTP 19.0, Go 1.7.1, Scala 2.12.0 with Akka 2.4.12. These are pretty outdated, it would be interesting to see numbers on the latest versions. I'd be esp
404.
▲
by
ramchip
8y ago
Emerald is older than Perl by several years, though.
405.
▲
by
ramchip
8y ago
HTTP/2 apps need TLS
406.
▲
by
ramchip
8y ago
Erlang iolists are an example. It means you can generate HTML from templates as a deeply nested list of strings, and write that to a socket efficiently, without concatenating the strings.
407.
▲
by
ramchip
9y ago
This reminds me a lot of the sbroker library in Erlang: > SBroker is a framework to build fault tolerant task schedulers. It includes several built in schedulers based on TCP (and other network scheduling) algorithms. > [...] in an id
408.
▲
by
ramchip
9y ago
No, messages that don’t match are not dequeued in the first place. I don’t know why the other poster used the word discard.
409.
▲
by
ramchip
9y ago
You can put a bound on the number of actors under a given supervisor. That being said the main reason an Erlang program will use an actor per request is not to prevent overload, it’s for fault tolerance; in your a -> b -> c -> d ex
410.
▲
by
ramchip
9y ago
I think it’s just a bit badly worded. You don’t normally throw them away, you leave them in the queue for later. For instance if you have a process that gets requests and writes stuff to DB, while processing a request you can send a message
411.
▲
by
ramchip
9y ago
There’s a lot of literature on this in the Erlang world. This post is a very thorough summary of the various solutions available: https://ferd.ca/handling-overload.html I don’t find that kind of fully async processing pipel
412.
▲
by
ramchip
9y ago
Out of curiosity, what pushed your team towards Pony rather than Erlang? It seems your team (or at least part of it) has experience with both languages which is interesting.
413.
▲
by
ramchip
9y ago
That’s quite possible. The GC has changed several times. There was even a unified heap fork of Erlang at some point: https://www.researchgate.net/profile/Marc_Feeley/publication...
414.
▲
by
ramchip
9y ago
The BEAM GC algorithm is explained in details here: https://www.erlang-solutions.com/blog/erlang-garbage-collect... I think it’s moving, unless I misunderstood something?
415.
▲
by
ramchip
9y ago
> it doesn't work in >1 machine distributed cases More generally, it doesn’t work when you have multiple schedulers, which nowadays is true for nearly all Erlang systems.
416.
▲
by
ramchip
9y ago
You can do these tests against a UAT environment. It doesn't have to run on your own box. In my apps I use fakes in dev and test mode, which makes development very fast and easy. A few tests run against the actual UAT environment, but
417.
▲
by
ramchip
9y ago
Is it possible having seventeen direct reports might be at least partially the problem?
418.
▲
by
ramchip
9y ago
Japan and Korea have very strong social drinking cultures, so I don’t think it’s really a question of East vs West.
419.
▲
by
ramchip
9y ago
It’s hard to tell if someone is just sleeping or actually in danger. Drunk people sleeping in weird places is a fact of life in some areas of Tokyo. I’ve had serious doubts once or twice, and the person turned out to be fine (at least physi
420.
▲
by
ramchip
9y ago
I don’t think it’s Riak. It just uses riak_core, which is a kind of distribution / sharding framework. Riak itself has new owners and is not going away.
More ›