erl Questions

3

Solved

I'm trying to create a POST request with Tsung <request> <http url="api.whatever.com" method="POST" version="1.1" contents=""></http> </request> How can I send a JSON d...
Cundiff asked 8/5, 2014 at 12:23

7

Solved

I am trying to create some sort of error catching method that will return the error line number. We have an abort email that is sent out when a process aborts that gives us the err.number and err.d...
Gerry asked 19/11, 2012 at 19:23

1

Solved

I can get the first element of every tuple if I create the list at the same time, for example [element(2,X) || X <- [{1,2},{3,4}]]. [2,4] This works as it should. I want to be able to create ...
Cavefish asked 19/12, 2018 at 15:31

1

Solved

I have this code that is supposed to print the numbers 1 to N-1 in a list, but I in here won't append to the list. enum(N,[],N) -> []; enum(N,L,I) -> io:format("current number: ~w~n", [I]),...
Dwarf asked 23/9, 2018 at 16:34

2

I try compile erl files in Intellij with Erlang plugin. Everything is good with compilation but in out/production the folder does not create any files .beam and when I run console I get message: e...
Talc asked 6/11, 2015 at 16:53

1

Solved

I have centos 6 and trying to install rabbitmq 3.5.3 using rpm. (do not have option for yum) its throwing me below eror. [root@osboxes CentOS]# rpm -Uvh rabbitmq-server-3.5.3-1.noarch.rpm warni...
Average asked 20/10, 2016 at 14:53

3

Solved

I have to add and remove nodes on riak. For this, I am trying to build rebar, following the steps in the following link: https://github.com/basho/rebar I am getting the following the about erlang ...
Luciferous asked 29/1, 2013 at 9:56

1

I have implemented rabbitmq in my application and it's running on windows server 2008 server, the problem is that erl.exe taking high CPU usages like sometime it reaches 40-45% CPU usages, even in ...
Kuhlmann asked 6/8, 2015 at 6:28

3

Solved

I had the inspiration to start messing around with Erlang and I am having problems installing it... I am using Linux Mint 16 (petra). I installed the dependencies, and then downloaded otp_src_17.1....
Leralerch asked 28/6, 2014 at 23:5

3

I have Googled so much, and not got any proper answer.So , I am posting this question for better result. I have already killed the RabbitMQ server process . Now when I am trying to start it again...
Ratify asked 4/11, 2013 at 11:59

2

Solved

Using the answer from Easy way of loading projects with rebar dependencies, dependencies are now automatically resolved, but they are not automatically loaded. So, how can I load all the modules i...
Drava asked 3/8, 2011 at 8:16

3

Solved

So I've started learning Erlang and I'm a little confused with this chunk of code. -module(prior). -compile(export_all). important() -> receive { Priority, Msg } when Priority > 10 -&...
Card asked 10/6, 2012 at 20:2

1

Solved

I would like to use a -record in every single erl files I have. I know I can repeat the record individually in every files, but that's really ugly. Any suggestion ? P.S. : Be gentle ;-) I'm an Er...
Jordanson asked 22/2, 2012 at 12:15

2

Solved

As the question said: What benefits brings using the OTP design principles when developing with Erlang? I am developing a server which will just receive commands and send responses.
Gonidium asked 4/5, 2011 at 8:16

4

Solved

What is the fastest way to edit an Erlang application, compile the code and see the running result? Preferably jumping in the Erlang shell on the last step. My current newbie setup: A script th...
Toxophilite asked 27/4, 2011 at 19:33

3

Solved

In all Erlang supervisor examples I have seen yet, there usually is a "master" supervisor who supervises the whole tree (or at least is the root node in the supervisor tree). What if the "master"-s...
Molech asked 18/4, 2011 at 8:33

3

Solved

I want to be able to have two Erlang shells to talk. I'm running on OS X. I tried the tut17 example here. I've also tried: $ erl -sname foo and then in a new Terminal: $ erl -sname bar (bar@...
Pal asked 26/1, 2010 at 1:0

2

Solved

Is there a way to use records directly in erl? No matter what I try, it always says it canno find the record. I am trying to do mnesia transactions and I cannot go too far without my records. Any h...
Caltrop asked 6/9, 2009 at 17:35

2

Solved

When I start up my Erlang emulator, there the first bit has a bunch of informational things. (Slightly reformatted for effect.) manoa:~ stu$ erl Erlang (BEAM) emulator version 5.6.5 [source] [sm...
Dasie asked 25/7, 2009 at 12:35
1

© 2022 - 2024 — McMap. All rights reserved.