degen

joined 1 year ago
[–] degen@midwest.social 2 points 3 days ago

All I see is Walt and Gale

[–] degen@midwest.social 3 points 3 days ago

They just have more time to waste! The data is misinterpreted! Maybe it's my mortal-complex speaking.

To be fair, I know at least one interpretation of LotR where Sauron is simply rejecting the elves' fascism, but what do I know?

[–] degen@midwest.social 3 points 3 days ago

Looking at the rules, there's nothing explicitly wrong anyway. It would be silly if there were imo. Political discussion is part of politics, and equating political news articles with the whole of politics is inadvertently disingenuous. But I can be fairly pedantic sometimes.

[–] degen@midwest.social 25 points 3 days ago (2 children)

I dunno, this is an ascending scale of innate power. Sounds like privilege to me

[–] degen@midwest.social 25 points 3 days ago

Certified freak, 7 days a week, eatin your french fries off of the street

[–] degen@midwest.social 18 points 4 days ago

I'm torn between "keep our girl's name out your fucking mouth" and "hell yeah, badass, long live the queen". Leaning toward the former tbh

[–] degen@midwest.social 28 points 4 days ago (1 children)

I'm a proponent of the theory that the weasel in the LHC is what opened the rift

[–] degen@midwest.social 3 points 4 days ago

The political views of a recommended lecturer, and even his own views on cancel culture aren't the issue in my mind. In fact I agree with some of the nuances there.

The notion of rejecting a software lecture for the views of the presenter is kinda dumb. I don't know the content of the lectures, to be fair, but I assume any irrelevant personal views aren't part of it. Lashing out at Kovarex for the recommendation is dumb too, arguably more so.

It's the statutory rape comment that I don't like, which affects the benefit of the doubt as far as his other stances go. Still, I don't think Factorio, or even Kovarex necessarily, should be "cancelled" here. Any backlash for his own comments is fair though.

I see now my comment didn't reflect that as I only meant to convey my own disappointment, which is also nuanced.

[–] degen@midwest.social -3 points 5 days ago (2 children)

Notch back in the day, now this dude who I had immense respect and admiration for. At least we still have Kyzrati (please no jinx). And I swear to God if Tarn or Zach ever fall from grace...

[–] degen@midwest.social 9 points 5 days ago (1 children)

"Completely normal" takes that are on the level of "I'm not racist, but...". That is the proof.

A take can be common, pervasive, and bigoted.

It is a loss if someone doesn't feel comfortable supporting or even touching the game after hearing this. It's a beloved game that unfortunately, but deservingly, will be tarnished by the dev's public views.

[–] degen@midwest.social 17 points 1 week ago (1 children)

I'd love to answer OP, but that description somehow made me forget everything I've ever eaten.

[–] degen@midwest.social 20 points 1 week ago (1 children)

It should have no issue continuing as it looks to be a hard fork. I use it too, so hopefully it just becomes the de facto app.

 

I've tried just about every type of setup I can find for a nix shell with python.

I don't want to purely use nixpkgs for a lack of some packages and broken packages. I'm trying to use pyside6, but not everything in pyside6 is provided by the package, e.g. tools like uic.

Attempting to use a venv as normal leads to a disconnect between the env and system with libstdc++.so.6 unable to be found. There are a various different flakes I've tried to use like the-nix-way/dev-templates#python and others from forum discussions which add stdenv.cc.cc.lib to no avail.

I think the farthest I've gotten is with poetry/poetry2nix, where auto-patchelf warns about missing libQt6 libraries. Running with nix run fails to 'find all the required dependencies' even when adding qt6.qtbase or qt6.full to the packages. This is that flake, taken from the poetry2nix github with an added devshell:

{
  description = "Python application packaged using poetry2nix";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    poetry2nix.url = "github:nix-community/poetry2nix";
  };

  outputs = { self, nixpkgs, poetry2nix }:
    let
      system = "x86_64-linux";  # Adjust for your system
      pkgs = nixpkgs.legacyPackages.${system};
      inherit (poetry2nix.lib.mkPoetry2Nix { inherit pkgs; }) mkPoetryApplication;
    in {
      packages.${system}.default = mkPoetryApplication {
        projectDir = ./.;
      };

      apps.${system}.default = {
        type = "app";
        program = "${self.packages.${system}.default}/bin/app";
      };

      devShells.${system}.default = pkgs.mkShell {
        packages = [ pkgs.poetry ];
        buildInputs = [ pkgs.qt6.qtbase pkgs.qt6.full pkgs.qt6.wrapQtAppsHook ];
      };
    };
}

It seems kind of hopeless to get it working on NixOS. Does anyone have a working setup I could use for inspiration, or any other tips? I love the nix paradigm, but I'm honestly considering distrohopping with all of the trouble.

 

I'm on NixOS and slowly working through neovim config.

I have treesitter installed with all grammars and it's set up in lua. When I run :TSymbols, it pops open a window showing -----treesitter-----, but no symbols are shown from the (python) code I have open.

All of the setup is put in place by the config flake I'm using, but I don't think there's any additional stuff to add for symbols to work. The treesitter section in the resulting init.lua from nix looks like this:

require('nvim-treesitter.configs').setup({
      ["context_commentstring"] = { ["enable"] = false },
      ["highlight"] = { ["enable"] = true },
      ["incremental_selection"] = {
        ["enable"] = false,
        ["keymaps"] = {
          ["init_selection"] = "gnn",
          ["node_decremental"] = "grm",
          ["node_incremental"] = "grn",
          ["scope_incremental"] = "grc"
        }
      },
      ["indent"] = { ["enable"] = false },
      ["refactor"] = {
        ["highlight_current_scope"] = { ["enable"] = false },
        ["highlight_definitions"] = {
          ["clear_on_cursor_move"] = true,
          ["enable"] = false
        },
        ["navigation"] = {
          ["enable"] = false,
          ["keymaps"] = {
            ["goto_definition"] = "gnd",
            ["goto_next_usage"] = "<a-*>",
            ["goto_previous_usage"] = "<a-#>",
            ["list_definitions"] = "gnD",
            ["list_definitions_toc"] = "gO"
          }
        },
        ["smart_rename"] = {
          ["enable"] = false,
          ["keymaps"] = { ["smart_rename"] = "grr" }
        }
      }
    })
3
submitted 4 months ago* (last edited 4 months ago) by degen@midwest.social to c/nix@programming.dev
 

https://github.com/NixNeovim/NixNeovim

I'm getting back into my setup after dualbooting and not touching it for a while. Flakes, home-manager, all that jazz. I was in the middle of messing around with my neovim config, bouncing between nixvim and nixneovim. Can't really remember why I was landing on nixneovim, but I think it had to do with having more 1-to-1 vim options through nix and more available plugins.

Part of this post is just to see what everyone's using, but I also can't copy to the system clipboard for the life of me! No ctrl-shift-v or anything. Oddly enough, ctrl-click-drag will copy a cut-off box of text. In nixneovim there's an option for clipboard, but that's just a string like 'unnamed' or 'unnamedplus', straight from the vim options. Nixvim has the option abstracted in a way that has the register and a provider for the functionality like wl-copy. I don't remember it not working with nixneovim before. That was months ago, though. Hoping someone would have an insight as I've been too deep in the weeds.

Edit: sooooo I just needed xclip in home.packages. I had tried installing it in a nix shell, but maybe that wasn't the right way to test. Doesn't seem to work with wl-clipboard, but I think neovim looks for xclip by default and nixneovim doesn't seem to have a way to give a different provider.

But still, how's everyone doing their neovim shenanigans?

view more: next ›