9,696 questions
Advice
1
vote
13
replies
205
views
what's a good functional language for someone coming from perl?
We're avid Perl programmers but we have been really wanting to get into Haskell or Erlang or something similar, though we don't know where to start. Any languages you guys recommend? if so, send some ...
2
votes
0
answers
69
views
How should a sans-io HTTP client handle backend-specific request body types in Gleam?
I am building a CalDAV/CardDAV client for Gleam, and the library follows sans-io pattern. This is the test code:
pub fn main() {
let credentials =
gdav.credentials("http://localhost:8080/...
1
vote
0
answers
92
views
Cannot run the custom built erlang container
Here is the Dockerfile
# ===== Stage 1: BUILD OTP 27.2 =====
FROM debian:bookworm AS build
RUN apt-get update && apt-get install -y \
build-essential \
autoconf \
automake \
...
2
votes
0
answers
52
views
What's the difference between trace and seq_trace?
OTP 27 offers two tracing modules: trace and seq_trace. They both seem to do the same thing, except the other one is called "sequential". What does this mean and what is the difference ...
1
vote
0
answers
54
views
Why does Erlang/OTP 28 debugger:start() not open the monitor window immediately?
I am following the instructions described in https://www.erlang.org/doc/apps/debugger/debugger_chapter to start the debugger. However, after debugger:start()., I only get the message Command is taking ...
1
vote
0
answers
47
views
Using ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 in TLSv1.2 which is exact fields and ops sequence to produce server key exchange sign and encrypted msg?
I implement a limited subset of TLS v1.2 on server side exactly for ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 and I need to know exact fields and operations sequence for some fields during handshake. I ...
3
votes
1
answer
91
views
Why in Erlang do i need to specify `-module` if it is equal to filename?
For example, if I create file jopa.erl with this code inside ...
-module(jopa).
...everything compiles without errors
However, if I put this code inside jopa.erl ...
-module(lol).
and try to compile....
1
vote
0
answers
85
views
Elixir Phoenix Render Error per online Tutorial
I'm doing the basic getting started tutorial at the Elixir Phoenix website: https://hexdocs.pm/phoenix/request_lifecycle.html
I followed the instructions for creating a basic page via:
route
...
2
votes
0
answers
45
views
Connect to oracle db using proxy user in erlang
Please tell me how to connect using a proxy user, and is such a connection supported?
For example, user like “proxy_user[actual_user]”
ConnOpts = [
{host, Host},
{port, Port},
{user, “proxy_user[...
3
votes
1
answer
74
views
How can I capture the detached child process when uninstalling RabbitMQ in PowerShell
I am doing an un-attended uninstall of RabbitMQ using PowerShell on Windows.
I retrieve and run the un-install with:
$RABBITMQ_PRODUCT_NAME = "RabbitMQ Server"
$rabbitMq = Get-ChildItem -...
2
votes
1
answer
102
views
If an Erlang C-node exits while `erl_errno` is 0, could that be construed that the issue is probably not Erlang related?
There is a native Erlang node that has been running flawlessly in outbound mode with a FreeSWITCH v1.10.1 instance and its mod_erlang_event C-node for years, but when updating FreeSWITCH to v1.10.12 ...
1
vote
0
answers
124
views
How to answer an incoming call in FreeSWITCH v1.10.12 with `mod_erlang_event`?
I'm mostly trying to get confirmation if this is still the way:
{ meaningless_atom % can be anything; simply a syntax requirement
, 'freeswitch@server' % name of the FreeSWITCH Erlang C-node
}
!
{...
1
vote
0
answers
38
views
How to ensure RabbitMQ comes back on line when all cluster nodes are shutdown
I am new to RabbitMQ and am trying to implement a clustered node setup. We are using RabbitMQ 3.11.11 with Erlang 25.3. I also have an HA policy to mirror queues in the cluster with the following ...
2
votes
1
answer
55
views
gconf are not setting properly in Yaws
I am only using Yaws to serve dynamic content via handlers (for example, serving API responses or dynamic pages via Erlang modules). I don't need a document root at all.
Here is supervisor where I am ...
1
vote
1
answer
45
views
Configuration Essue while embeding yaws to rebar3 for serverside operatios
i am attempting to start the yaws via yaws_api:embedded_start_conf/1,2,3,4 in supervisor. but getting configuration issue. As i am only using Yaws to serve dynamic content via handlers (for example, ...