erlang Questions
2
Solved
Is there any way to open a terminal device file in erlang ?
I am on Solaris and I am trying the following::
Erlang (BEAM) emulator version 5.6 [source] [64-bit] [async-threads:0] [kernel-poll:fa...
Towe asked 23/12, 2010 at 9:26
6
I am designing a neural network and am trying to determine if I should write it in such a way that each neuron is its own 'process' in Erlang, or if I should just go with C++ and run a networ...
Energid asked 7/7, 2016 at 16:17
3
Solved
Note that imports are generally discouraged in the language. When working on your own code, prefer alias to import.
I found this statement in the documentation but further explanation is not avai...
4
Solved
Is there an equivalent for retrieving the name of a function just like like __MODULE__ retrieves the name of a Module in Elixir/Erlang?
Example:
defmodule Demo do
def home_menu do
module_name...
2
Solved
I'm quite new to Raspberry Pi and Linux/Debian, so please bear with me. I have been trying for hours now to install rabbitMQ on my Raspberry Pi 3, to no avail. I followed the steps, but in the end ...
2
Solved
Sometimes I get (Ecto.StaleEntryError) attempted to update a stale struct when trying to update record.
I haven't found any recipe to avoid this in Ecto's docs, so what should I do to avoid this?
...
Amelioration asked 16/4, 2017 at 16:23
2
C:\rabbitmq-server-3.6.0\scripts>rabbitmq-plugins enable rabbitmq_management
'realpath' is not recognized as an internal or external command,
operable program or batch file.
init terminating in...
2
Solved
While reading the documentation of both GenServer and Agent I wondered what are the Use Cases the Agent solves that GenServer cannot? So, when to prefer Agent over GenServer?
I know that functions...
Kaiulani asked 19/7, 2019 at 7:14
15
Solved
I am using RabbitMQ with Grails, and a problem cropped up this morning. When I run rabbitmqctl status it tells me:
C:\Users\BuildnTest2>rabbitmqctl status
Status of node 'rabbit@BUILDNTEST2-PC' ...
4
Solved
I am trying to make an integer into a binary:
543 = <<"543">>
How can I do this without
integer_to_list(list_to_binary(K)).
4
Solved
I'm running Kubuntu 15.04 64-bit and trying to get Erlang's 18.1 'debugger' or 'observer' to run (EDIT: from within the shell):
observer:start().
debugger:start().
I get the following error:
{e...
Huehuebner asked 4/10, 2015 at 14:37
3
I'd like to try to start using Erlang, and there's a data feed i'd like to read that's distributed via Websockets. Right now i'm doing the same in node.js using the 'websocket-client' module, but c...
5
Solved
I am trying to start RabbitMQ service on my local Windows laptop but I keep getting this error:
I first downloaded erlang (OTP 19.0 Windows 64-bit Binary File) from here: http://www.erlang.org/d...
Parkins asked 11/8, 2016 at 15:10
3
I'm trying to get Erlang working on my Fedora server, specifically to run rabbitmq, but when I yum install erlang yum complains that wxGTK requires a bunch of packages.
Wtf? Why is erlang trying t...
Dionysiac asked 9/12, 2011 at 16:45
2
Solved
The problem I am trying to solve states
Write a function map_search_pred(Map, Pred) that returns the first
element {Key,Value} in the map for which Pred(Key, Value) is true.
My attempt looks ...
Aspa asked 7/1, 2015 at 22:23
16
Solved
I'm ask/answering this question because it hung me up & it's likely someone else will have the same problem.
Install of RabbitMQ x64 v2.8.6 on Windows Server 2008 x64.
After Erlang install u...
1
Getting error when installing Elixir dependencies, all Mix command are throwing same exception
23:31:44.447 [notice] Application ssl exited: exited in: :ssl_app.start(:normal, [])
** (EXIT) an exc...
Buss asked 6/8, 2023 at 5:44
2
Setup new project with command mix new project_name it setup everything without any
error or warning message, cd to project and ran command iex -S mix it throws error
lib/helloworld.ex
defmodule H...
Dementia asked 7/8, 2023 at 3:12
15
I am using RabbitMQ. For some reason the rabbitMQ service stops as soon as you start it. I saw following error in the event log:
RabbitMQ: Erlang machine stopped instantly (distribution name confl...
Ash asked 7/10, 2015 at 14:59
2
When I'm opening erlang shell(in cmd or git bash), and try to use tab for autocomplete, it's just indenting. Can I make somehow make autocomplete working?
Anatto asked 23/11, 2016 at 22:51
2
My Elixir app is using about 50% of the CPU, but it really should only be using <1%. I'm trying to figure out what is causing the high CPU usage and I'm having some trouble.
In a remote console...
6
Solved
I am using a function to create a list from a float.
float_to_list(0.02).
It returns:
"2.00000000000000000000e-002"
I need it to give me a number exactly like:
"0.20"
If I fed it 5.23
"5....
Chatman asked 23/10, 2010 at 21:38
1
I want to make a synchronous call to a Port in Erlang. That is, to send some input to a running OS process connected through a Port and get its output directly, not using messages.
There is a port_...
2
Solved
What does this error mean in CouchDB logs? I see that it is looking for some "_users" database. But I don't have a database with that name. Is there anything I can do to stop these errors...
5
Solved
I'm slowly falling in love with Erlang, and only have one big, BIG problem.
I'm a big fan of languages like Standart ML and ocaml with their strong static typechecking.
is there a nice and clean ...
Crandale asked 14/12, 2011 at 14:57
1 Next >
© 2022 - 2025 — McMap. All rights reserved.