I have a supervisor with N worker processes. As usual the supervisor can send a message to a worker process and there is a handle_cast that sends a reply from a worker to the supervisor.
Let\'s say we implement Pregel with Erlang. Why do we actually need supersteps? Isn\'t it better to just send messages from one supervisor to processes that represent nodes? They could just apply the
I am attempting to create a prime number factorizer, using fermats method. This line generates an error
I write some example on erlang and mongodb. As driver for mongodb I use emongo. Problem is if I make connection in one module I can not reuse this conn开发者_运维百科ection in different modules. In C/
I origin开发者_运维百科ally tried writing this without being tail recursive, as according to http://www.erlang.org/doc/efficiency_guide/myths.html the BEAM does it itself. It works, I\'m just wonderin
The project I\'m working on has a lot of telemetry and debugging mechanisms built in that must be available in release, but MUST NOT be used by most parts of the system.I\'d like to build a macro, to
I read and re-read the docs and tutorials, but my understanding of how to create Erlang Applications, and Rebar for that matter, still has enough holes to resemble Swiss cheese. Very simple stuff thro
What does the question mark in ?MODULE (which can be seen in all generated code by Mochiweb make command) mean?
As I\'开发者_如何学编程m learning Erlang just by reading books and doing my own exercises (NOT for homework), I\'m struggling with even the most simple task that I mentioned in the title.
In some weird way all the numbers over 8, single, ina list becomes some kind of ASCII? 开发者_运维问答[8] -> ["\\b"]