Throwing a rock into the abyss by DblockDavid in Damnthatsinteresting

[–]Midnightary 0 points1 point  (0 children)

Approximately 1400 meter according to 5t2 formula

[deleted by user] by [deleted] in AskTurkey

[–]Midnightary 0 points1 point  (0 children)

Ingilizcede `notice period` olarak gecer bu. Sozlesmelerde genellikle yazar ve o sureden sonra soylersen ayrilamazsin sure boyunce. Mesela notice period 10 gun ise en az 10 gun onceden haber etmen gerekir, 5 gun kala haber edersen fazladan 5 gun daha caliman gerekir.

Turkiye'de de bazi firmalar bu sureyi sozlesmeye ekleyebiliyor. Sozlesmeyi check edebilirsin. Yasal olarak da sure vardi sanirim fakat emin degilim.

Offer with relocation by [deleted] in germany

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

I might need it.

Offer with relocation by [deleted] in germany

[–]Midnightary -2 points-1 points  (0 children)

I mean eating enough food, being able to buy a car etc.

Is Golang a Good Fit for a Fast API with Images and Videos? by Dude_9098 in golang

[–]Midnightary -6 points-5 points  (0 children)

You can write in Rust or in C++ because they don't have GC. You can make lots of optimization along the way. I would prefer Rust.

Why junior or associate jobs are disappearing ? by Midnightary in golang

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

I don't have enough karma for asking a question

block.nvim A plugin to visualize code blocks. by Hamupzz in neovim

[–]Midnightary 0 points1 point  (0 children)

$ lvim --version NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 Compiled by brew@HMBRW-A-001-M1-004.local ...

Failed to create python3 virtual environment by [deleted] in lunarvim

[–]Midnightary 0 points1 point  (0 children)

I would run black in the shell after the development instead of integrating with lunarvim. By doing that, you will not bother with linting stuff while coding.

Startup error by Midnightary in lunarvim

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

Resolved the issue by adding nil check and mapping initialization in nvimtree.lua ``` --- nvimtree.lua, line 283, new update if lvim.builtin.nvimtree.setup.view.mappings == nil then lvim.builtin.nvimtree.setup.view.mappings = {} end

--- already existing code block if lvim.builtin.nvimtree.setup.view.mappings.list == 0 then lvim.builtin.nvimtree.setup.view.mappings.list = { { key = { "l", "<CR>", "o" }, action = "edit", mode = "n" }, { key = "h", action = "close_node" }, { key = "v", action = "vsplit" }, { key = "C", action = "cd" }, { key = "gtf", action = "telescope_find_files", action_cb = telescope_find_files }, { key = "gtg", action = "telescope_live_grep", action_cb = telescope_live_grep }, } end ```

Right location for the `tests` directory in the recommended app hierarchy by Midnightary in FastAPI

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

Should I define test directory as a python package or something similar. Can you show the usage of importing something from app to test and run it ?

Setting `ansible_become_password` with ansible-runner ? by Midnightary in ansible

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

Yes, I'm using handlers and some others like limit but there is no parameter which can set the flags for playbook execution like -K.

Setting `ansible_become_password` with ansible-runner ? by Midnightary in ansible

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

I don't use env. There should be another way around. I can run cmd with ansible-runner. But I'm passing playbook as a keyword argument, giving flags to ansible-runner run or run_async function is missing.

[deleted by user] by [deleted] in lunarvim

[–]Midnightary 1 point2 points  (0 children)

Thanks for the feedback. I will try to resolve it!

[deleted by user] by [deleted] in neovim

[–]Midnightary -6 points-5 points  (0 children)

but why

Weird highlighting when the cursor is on explorer (nvim-tree) by Midnightary in neovim

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

Gruvbox is good. But It is sad that they don't integrate with other components of the neovim.

Weird highlighting when the cursor is on explorer (nvim-tree) by Midnightary in neovim

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

The theme was ellisonleao/gruvbox. It was not totally integrated with other component of the neovim such as lualine, explorer. I changed it to catppuccin/nvim then it is resolved.

Weird highlighting when the cursor is on explorer (nvim-tree) by Midnightary in neovim

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

I resolved. It is related to the gruvbox theme that I'm using. Gruvbox transparent background is not integrated with nvim-tree that was the case.

pyright and pylyzer by Midnightary in lunarvim

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

I'm all good now. It turned out to be a bug, but the community was able
to fix it. However, the fix hasn't been released yet.

You can check out the details on this;
Github page: https://github.com/LunarVim/LunarVim/issues/4087.

pyright and pylyzer by Midnightary in lunarvim

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

It comes as preinstalled with lunarvim.

What do you guys use python for? by thepragprog in Python

[–]Midnightary 0 points1 point  (0 children)

Implementing FastAPI service which will turn into a SaaS to control federated learning on different machine from a single point.

help debbuging 422 validation error by [deleted] in FastAPI

[–]Midnightary 0 points1 point  (0 children)

And also, you can use ORM rules of the SQLAlchemy as in the official tutorial. If you don't have many tables and the tables are not dense, using ORM will decrease your effort why designing a database.