erlang otp download
what is the different download from http://code.google.com/p/otp-base/ and http://www.erlware.org/? ...
what is the different download from http://code.google.com/p/otp-base/ and http://www.erlware.org/? ...
For example, ejabberd and couchdb use own logger. Question is what logger do you use? Own or what? Thank you! ...
fib(N)-> P1 = spawn(fun concFib:conFib/0), P2 = spawn(fun concFib:conFib/0), X=rpc(P1,N-2),Y=rpc(P2,N-1),X+Y. conFib()-> receive {Client,N} -> Client ! regfib(N) end. rpc(Pid,Request)-> case erlang:is_process_alive(Pid) of true -> begin ...
I'd need an Erlang implementation of the OpenId protocol. I found the following, but it seems to be a project on its early stage. http://code.google.com/p/erlopenid/ Any hint or suggestion on what should I use? ...
I'm writing http session manager (gen_server based). That server creates and removes session from in-memory storage. I need to remove expired session on timeout. I have two solutions: Create one timer to remove expired sessions from manager Create timer for each session First solution locks server while all sessions are not processed...
Hi Guys, as title, thanks. ...
Hi, Failed to get Erlang re work for multiline, please help! > re:run("hello,\nworld", "o,.*w", [multiline]). nomatch > re:run("hello,\nworld", "o,.*w", [multiline, {newline, lf}]). nomatch > {ok, MP} = re:compile("o,.*w", [multiline]). {ok,{re_pattern,0,0, <<69,82,67,80,55,0,0,0,2,0,0,0,7,0,0,0,0,0,0,0,111,0, ...
New to Tsung and Erlan and have run into an issue I haven't been able to find answer to. I'm using erlang-mysql-driver in a Tsung dynvars Erlang function and I seem to be having a problem with escaped quotes. I'd like to do something like this: <setdynvars sourcetype="eval" code='fun({Pid,DynVars})-> ...
Question is why some applications (like ejabberd) use own hooks module (e.g. ejabberd_hooks.erl) instead of gen_event? ...
Does anyone know how to enable active instead of passive sockets in a Mochiweb application. Specifically, I am trying to adapt http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-2 so that when a client disconnects, it will immediately "logout". I have tried setting: start(Options) -> {DocRoot, Optio...
When calling an unmanaged Dll from a c# application I get an AccessViolationException. The strange thing is that the exported function has no arguments, so the problem is not in the Marshalling of data. The function gets no argument and just returns an integer. Also note that calling convention is not an issue. An identical function with...
Where I can find current example of configuration and using Distel with Emacs 23 (on Mac Snow Leaoprd). I have problem with debugging (interpret mode), I cant mark brakepoint. If anyone have working configuration of distel on emacs 23, please share with me. ...
I am building a native Bonjour / Zeroconf library and need to build DNS query records to broadcast off to the other machines. I have tried looking thru the Erlang source code but as I am relatively new to Erlang it gets kind of dense down the bowels of all the inet_XXX.erl and .hrl files. I have a listener that works for receiving and pa...
I have gotten a good start on my program, my first REAL Erlang program. I have it listening for messages, reading them and parsing them. I also have it sending them. The one little thing that is bothering me is I can't SEND on Port 5353, I have tried everything. All the other applications on my machine can listen AND send on port 5353, S...
Both EWGI and webmachine provide abstractions of HTTP in Erlang. I would like to know what the key conceptual differences are in their approach? ...
I'm trying to send a push notification to APNs using Erlang. This is the code I came up with so far: -module(apnstest2). -export([connect/0]). connect() -> application:start(ssl), ssl:seed("someseedstring"), Address = "gateway.sandbox.push.apple.com", Port = 2195, Cert = "/path/to/Certificate.pem", Key = "/path/...
I'm looking for a way to pass events back and forth between Clojure and erlang. has someone done this before? how should I encode the (immutable) messages in a flaxable general way? Should IPC be used for this? what sort? where has this gone wrong for you in the past? ...
Hi, Anyone has an init.d script for a mochiweb application on ubuntu to share? Thanks ...
All I need is a large persistent lookup table in Erlang and dets seems like just the thing though I need a definative answer to: just how big the total size of the binaries in the table can be. how big each entry can be what to do if the answer to the first question is less than 100G ...
I am trying to build Erlang on Solaris 10. The build process fails with the message that it can not find libncurses.so.5. I have installed libncurses from sunfreeware.com, which I have build from scratch and has installed itself in /usr/local/lib/. I have tried to set LDFLAGS with -L/usr/local/lib/ but have still had no luck. What am I m...