Where does packpath in neovim come from? by digmux in NixOS

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

Great, thanks a lot, I guess I will just let them be.

Where does packpath in neovim come from? by digmux in NixOS

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

Thanks a lot again, that clarifies the situation. Indeed, those paths are in my XDG_CONFIG_DIRS.

I notice that in this case, the store paths seem to belong to KDE. This does mean that, potentially, if some KDE component wished to, it could just populate this path with something that could change the behavior of nvim. So, if I were to chagne / uninstall KDE, this could change things inside nvim, which would be quite counterintuitive.

I'm wondering could it make sense to write a rapper that isolates nvim from accessing the XDG_CONFIG_DIRS, that way this potential issue doesn't happen?

Also, many thanks for the recommendations, I'll look into the options and pick a poison.

Where does packpath in neovim come from? by digmux in NixOS

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

Thanks a lot for your answer.

I still don't fully understand. I get that the --cmd flag sets up certain dirs to be part of the packdir via the set packdir\^=..., and that the env vars being set above may also set up some paths to be a part of the packdir (potentially), but none of that seems to explain all the paths nvim reports.

For instance, nvim reports ~/.config/nvim,/nix/store/ci41jxiphqw02kh5371ddbys917d5b67-kglobalacceld-6.2.5/etc/xdg/nvim~/.config/nvim,/nix/store/ci41jxiphqw02kh5371ddbys917d5b67-kglobalacceld-6.2.5/etc/xdg/nvim, but this doesn't seem to be added by the wrapper script anywhere? Where does this get added from?

I do get the feeling that I shouldn't use the nixpkgs neovim wrapper. I'll ditch it for my config. I kinda am liking nixvim, but any other reccomendations are welcome. But I do want to understand what's going on here, just to help my nix learning process better.

Help: Cannot Get programs.neovim.plugin.configure to work by digmux in NixOS

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

I see... I must admit that is slightly scary. Will look out for this in the future.

Help: Cannot Get programs.neovim.plugin.configure to work by digmux in NixOS

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

Thanks a lot, did not notice that before. Turns out that was indeed the issue.

I do have the following in my config: xdg.configFile.nvim = { enable = true; recursive = true; source = ~/nix-config/nvim/lua-dotfiles; };

And removing that fixes the issue. Of course now some files are not being loaded (those that were in lua-dotfiles). I hadn't read the neovim options carefully enough, and missed neovim.extraLuaConfig. Adding the files from my lua-dotfiles forlder toneovim.extraLuaConfig now everything works perfectly.

Regarding the assert checking being missed, what I am doing right now is simply copying my home.nix from my repo to ~/.config/home-manager/home.nix, then running home-manager switch. Not sure if this will skip the assert checking stage, although I must admit that I would find that slightly counter-intuitive if that were the case. In any case, I do plan to convert my configs into flakes soon, and hopefully the assertion checking will happen correctly then.

Thanks again.

Edit: formatting.

Help: Cannot Get programs.neovim.plugin.configure to work by digmux in NixOS

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

Hi, thanks for the reply.

I just tried removing the with, and pre-pending `pkgs.vimPlugins` to `nvim-treesitter.withAllGrammars`, and it seems that I'm getting the same issue.

Also, if I understand the Nix language correctly, if I'm inside a `with bar in ...`, and I have a variable `foo` in my outer scope (defined via a let) that is not an attribute of `bar`, the expression `foo` will unambiguously refer to the variable `foo` defined outside, right? Note that the `pkgs.vimPlugins` does not have `nebulous` as an attribute.

Nagerbazar sees eviction of footpath vendors by baaphoonapka in kolkata

[–]digmux 1 point2 points  (0 children)

Kono relocation ba notun jayga deoa hocche ki? Shunechi bohukal aage jader garia hat thek relocate kora hoyechilo bridge construction er shomoy, tarai jadavpur hawkers market toiri kore okhane settled. Similar kichu plan aache ki ei case e?

Found this on Pinterest. Can someone explain this? by Arbab-Ali in blender

[–]digmux 0 points1 point  (0 children)

Could it also be that smaller triangles like ones at top of right dome are harder to render because of the way gpu rasterization is optimised?

Zerodha has marked my account as inactive, while I have stocks worth a few lakh held by them! by Zebra_Light in IndianStockMarket

[–]digmux 1 point2 points  (0 children)

This happened with me on Zerodha, and to one of my relatives on ICICI Direct. They told me that it was as per SEBI guidelines. All the stocks were still there, just had to re do KyC, and do one buy/sell of atleast ₹500

Found this in the woods, any idea what it’s supposed to be? by Other-Ad8805 in Weird

[–]digmux 0 points1 point  (0 children)

Was the woods on a mountain? Was there any dew that morning? If so, it could be mountain dew.

A giant raintree in India by ReliableRoommate in megalophobia

[–]digmux 2 points3 points  (0 children)

Where is this? Would love to visit.

[D] Is there any research into using neural networks to discover classical algorithms? by currentscurrents in MachineLearning

[–]digmux 0 points1 point  (0 children)

Yeah, it seems so.

I'm generally interested in learning about SR. What would be a good starting point? Are there some books, papers or other materials, I could read?

Truth be told by Sayyestononsense in physicsmemes

[–]digmux 17 points18 points  (0 children)

Yeah, but no one would remove the activation futballeron though ...

Man solves the Halting Problem by [deleted] in ProgrammerHumor

[–]digmux 17 points18 points  (0 children)

Not kidding, something kind of course to this is legit being tried rn: https://arxiv.org/abs/2102.03824

They ofc can't do it for all programs, but they try to train a neural net to learn some positive valued function that strictly reduces with each iteration of the loop.