Let’s dive into some new language programming. Functional of
course… Erlang!
In Openbsd, did some tweaks into the installation process…
~> doas pkg_add erlang rebar
~> ln -s /usr/local/bin/erl<version> ~/bin/erl # my personal bin directory~> ln -s /usr/local/bin/rebar<version> ~/bin/rebar
It was not so obvious for me but it seems that rebar is to erlang like
leiningen is to clojure. And as such, you can initialize your project
quite easily
rebar new umbrella prj-name
Also your first time?
A bit more on rebar
You can see all templates and understand them better with
rebar new help
Now what?
Well, now with the template one can really program in Emacs. I am
currently using erlang mode from this instruction. However, my load
path was a bit different.
I do not mind saying it again, OpenBSD is pretty cool, however it does has its quirks. Recently, I had a fairly important meeting in Zoom in which I would make an presentation and I did not make it because I could not enter the room. All it appeared to me was and enternal “Joining” and the endless MS circle spinning.
So, let’s fix it shall we?
Apparently, in order to make Zoom work, one must have wasm enabled in your system. By the way, this is what I would call a bloated piece of software… it only is a videoconference software… geez…
Anyway, I digress. So, OpenBSD disables wasm by default for security reasons. So, what one can do is: enables wasm, go to your conference and at the end disables it.
And I give you sadzoom! You will notice that I use chromium to enter the conference. I do that because with chromium because outside of the box it allows screen share. Why sadzoom? Because you are probably sad to use zoom as I am…
One last thing, remember to use let’s-meet to enable cam and mic =]
I had some issues adapting to some security features in OpenBSD, for example, to have videoconferences (let’s meet). Another interesting problem I had was that I could not upload files from firefox.
To fix that, all I had to do was enter on this “page”: about:config and change this setting to the specified path that I wanted dom.input.fallbackUploadDir.
There you go, now you can upload files from this directory on your firefox.
Ok… I have been using a little bit more OpenBSD, and I was having some issues to use it during calls. After some research and experimentation, I have thought a way to make it happen! So it was born lets-meet!
It is simply a toggle to enable/disable microphone and camera. Enjoy!
/comments ~lucasemmoreira/opinions@lists.sr.ht?Subject=Re: Erlang? Erlang!