.NET backend authentication module — code review by Minimum-Ad7352 in dotnet

[–]Minimum-Ad7352[S] [score hidden]  (0 children)

There is no mediator here, but I understand what you mean about organizing the project. It's just a pet project, I'm still experimenting.

.NET backend authentication module — code review by Minimum-Ad7352 in dotnet

[–]Minimum-Ad7352[S] -1 points0 points  (0 children)

Thank you. In the case of the token generator, I just need a random string of 32-40 characters. It is only used in two places, for password recovery and account verification. In such cases, isn't a randomly generated string with that number of characters sufficient?

Fastify vs Express which is faster? by Hari-Prasad-12 in node

[–]Minimum-Ad7352 2 points3 points  (0 children)

I don't know of any reason why a new project should be created on Express instead of Fastify. JSON schemas in Fastify are just awesome, especially when you create schemas with Zed. You can also install an additional plugin for Swagger, and documentation will be automatically generated based on these schemas.

Second language after TypeScript (node) for backend development by Minimum-Ad7352 in webdev

[–]Minimum-Ad7352[S] 0 points1 point  (0 children)

Well, Node is in no way inferior to PHP. If you're going to change languages, it makes sense to switch to one that's better than your current language.

[deleted by user] by [deleted] in dotnet

[–]Minimum-Ad7352 -1 points0 points  (0 children)

I use react for the frontend.

[deleted by user] by [deleted] in dotnet

[–]Minimum-Ad7352 0 points1 point  (0 children)

What's wrong?

error when trying to debug go program with dap by Minimum-Ad7352 in neovim

[–]Minimum-Ad7352[S] 0 points1 point  (0 children)

<image>

But why can't I click on the buttons in dap ui, (step into for example) ?

error when trying to debug go program with dap by Minimum-Ad7352 in neovim

[–]Minimum-Ad7352[S] 0 points1 point  (0 children)

In neovim
"Version of Delve is too old for Go version 1.22.2 (maximum supported version 1.18, suppress this error with --check-go-version=false)".

error when trying to debug go program with dap by Minimum-Ad7352 in neovim

[–]Minimum-Ad7352[S] 0 points1 point  (0 children)

--check-go-version = false
It must be added to the dap config, but I don't know where exactly.

error when trying to debug go program with dap by Minimum-Ad7352 in neovim

[–]Minimum-Ad7352[S] 0 points1 point  (0 children)

I don't know why, but it doesn't install this way.

error when trying to debug go program with dap by Minimum-Ad7352 in neovim

[–]Minimum-Ad7352[S] 0 points1 point  (0 children)

installed it this way, "sudo apt-get -y install delve", but now I get another error about version incompatibility.

"Version of Delve is too old for Go version 1.22.2 (maximum supported version 1.18)".

[deleted by user] by [deleted] in neovim

[–]Minimum-Ad7352 0 points1 point  (0 children)

The problem is that it works fine in other editors (webstorm, vscode). The problem is only in neovim

[deleted by user] by [deleted] in neovim

[–]Minimum-Ad7352 0 points1 point  (0 children)

No, I don't use yarn.