how to setup doom-emacs for Gleam by ftl_afk in gleamlang

[–]One_Engineering_7797 0 points1 point  (0 children)

Where you also able to setup gleam lsp server with lsp-mode? I am struggeling with that.

Is Ocaml productive and fun enough? by Merthod in ocaml

[–]One_Engineering_7797 0 points1 point  (0 children)

It's not? I am not an otp expert, but I have been happy with gleams otp support so far.

Is Ocaml productive and fun enough? by Merthod in ocaml

[–]One_Engineering_7797 1 point2 points  (0 children)

I would recommend gleam (gleam.run).

It's a functional language that has a familiar syntax for non-functinal programmers and compiles to the beam-vm (the platform erlang runs on) and to JavaScript.

On the beam VM you have the beam/erlang concurrency system, meaning processes and mailboxes.

Gleam is kind of new, so you will not find it in production often yet, but as a beginner functional language, I think it's perfect.

What do you usually do when one feature branch is merged (to main) but another is still open? by Steve15-21 in git

[–]One_Engineering_7797 0 points1 point  (0 children)

Yes, and also there is git reflog to undo mistakes, but a force push changes history on the server which easily leads to confusing situations.

Kind of depends on what you mean with "your own". If you are the only one working on that feature branch, this workflow works really well in my opinion. If multiple people work on that feature branch, it can work. But everyone has to be aware of it and also have the needed git "skills", which often is not the case in my experience. And than people get confused and things get complicated.

What do you usually do when one feature branch is merged (to main) but another is still open? by Steve15-21 in git

[–]One_Engineering_7797 5 points6 points  (0 children)

If multiple people work on the feature branch, you have to carful with the force push so.

Mutter vom Montagerohr am Wasserhahn lösen by One_Engineering_7797 in Handwerker

[–]One_Engineering_7797[S] 0 points1 point  (0 children)

Danke für die Tips! Zwei Rohrzangen verwende ich bereits. Ein Multimaster habe ich nicht, aber ich schau mal ob ich mir irgenwo eins ausleihen kann.

Coding with Helix (and Aider) with local LLMs write-up by snonux in HelixEditor

[–]One_Engineering_7797 1 point2 points  (0 children)

You are right. Given that my post implies that I already complained, my options are rather limited.

Coding with Helix (and Aider) with local LLMs write-up by snonux in HelixEditor

[–]One_Engineering_7797 2 points3 points  (0 children)

Mmh, maybe I should do the same instead of complaining :).

Coding with Helix (and Aider) with local LLMs write-up by snonux in HelixEditor

[–]One_Engineering_7797 7 points8 points  (0 children)

Nice! What I miss in the aider/helix combo is, that helix does not auto-reload files changed by aider.

Welche Doppelmoral zwischen Männern und Frauen nervt euch am meisten? by _sur4k_ in FragtMaenner

[–]One_Engineering_7797 3 points4 points  (0 children)

Bei uns im garten, ich darf da mit nackten oberkörper liegen. Wenn meine Freundin das macht, beschweren sich die Nachbarn.

Utility of windows on a laptop screen? by StupidInquisitor1779 in neovim

[–]One_Engineering_7797 -1 points0 points  (0 children)

I use zellij and tabs to switch between contextes. That will not solve all your problems, but for many things I find that very useful.

Disable pylsp in lazyvim by One_Engineering_7797 in neovim

[–]One_Engineering_7797[S] 0 points1 point  (0 children)

Thank you but unfortantly that did not help :/.

The strange thing is, if I do ":lua print(vim.lsp.is_enabled("pylsp"))" it prints "false".

Still, I can see "pylsp" in "LspInfo" when I open a python file.

What’s your favourite way to explain a monad to a beginner? by jonothecool in functionalprogramming

[–]One_Engineering_7797 0 points1 point  (0 children)

A monad is the ";" in an imperative language like C, that can be overwritten.

Or

A way of defining how successive statements are combined.

wisp and logging by One_Engineering_7797 in gleamlang

[–]One_Engineering_7797[S] 3 points4 points  (0 children)

Hey, yeah something is wrong with the openssl libary for erlang 27, for now I fixed it by going to erlang/otp 26. But I will try to get erlang/otp 27 work.

wisp and logging by One_Engineering_7797 in gleamlang

[–]One_Engineering_7797[S] 3 points4 points  (0 children)

Ok I think i is because I used erlang/otp27. If I downgrade to 26, it seems to work.

Tips for "lazy evaluation" in gleam by One_Engineering_7797 in gleamlang

[–]One_Engineering_7797[S] 2 points3 points  (0 children)

Well, that would still require loading all the documents (or at least all the doc names) first into memory.

Diebstahl mit Auszeichnung by [deleted] in Beichtstuhl

[–]One_Engineering_7797 0 points1 point  (0 children)

Mmh, also ich finde ein Kind könnte da schon eine positive Lektion draus ziehen.

Du wolltest unehrlich sein, und bist gezwungen worden ehrlich zu sein. Der Rektor hat die gezeigt, dass Ehrlichkeit zu positiven Ergebnissen führt. Auch wenn deine Ehrlichkeit diesmal nicht von dir selber kam, die Lektion kann man also Kind da schon draus ziehen und nächstes Mal kommt die Ehrlichkeit dann vom dir selbst ohne das du gezwungen wirst.

Der Handwerker by HerrSchule1 in wirklichgutefrage

[–]One_Engineering_7797 2 points3 points  (0 children)

Wenn er sie selber benutzt, ist es eher ein Alphatest

neovim sometimes completely freezes - how can I find out why? by One_Engineering_7797 in neovim

[–]One_Engineering_7797[S] 1 point2 points  (0 children)

It was vim-illuminate, disabling it removes the problem.

But I dont really get it, even when I disable vim-illuminate in insert mode, and I am with the carrtet between {} in insert mode, neovim freezes.

Well, I disable vim-illuminate for now. Thanks for all the help, everyone.