degen

joined 2 years ago
[–] [email protected] 2 points 1 week ago

lmao I just said the same thing before reading your comment

[–] [email protected] 2 points 1 week ago

Of course it's just bad writing, but I kind of wouldn't put it past management to try shoving their multitude of codebases through an LLM at this point.

[–] [email protected] 1 points 1 week ago

The A stands for Automation, right?

[–] [email protected] 1 points 1 week ago

Knowing bonobos, I predict they're withholding sex

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

Pfft, hooligans walking on the side walk? And HEAVENS, they're dressed like men! Not my president!

edit: wait, Britain in the 50s lmao

[–] [email protected] 13 points 3 weeks ago (1 children)

This is an odd one, cause it's also medical I think? Or just scientific like hermaphroditic plants. For sure a person-slur though. Like a person may be hermaphroditic, but at the very least it's a faux pas to call them a hermaphrodite, if not derogatory outright.

[–] [email protected] 12 points 3 weeks ago (1 children)

Immcatulate catception (I couldn't decide on just one)

[–] [email protected] 10 points 3 weeks ago

Having another whole system to develop something cancerous probably doesn't help, but that's interesting. I'm guessing it could cause unusual stresses on the body throughout aging too. I hope fixing/spaying mitigates the risk! Such a pretty one, and extra enigmatic.

[–] [email protected] 19 points 3 weeks ago (2 children)

I always assumed that sort of situation would render them sterile. It probably varies but the more you know!

Well, I suppose fixing has hormonal consequences too and not just reproductive, now that I think about it.

[–] [email protected] 2 points 1 month ago (1 children)

I've always been a software guy, but man does building and doing something more physical sound fun. And the community around it all. I plan to get started (at some point) with a homeserver. Networking always felt more high stakes with security and privacy than the application side. Indie web has been calling my name though.

[–] [email protected] 14 points 1 month ago (3 children)

After finally getting into some embedded/iot tech, privacy, and tbh my own socialist awakening, I've been really interested in this kind of stuff.

Is it mostly about awareness or is there something more substantial to the practice and research? It's such an odd concept to me I haven't sussed out the details further than the hacker-y, just for fun, "because I can" projects. I'd love to use some tech skills for real purpose.

[–] [email protected] 3 points 1 month ago* (last edited 1 month ago)

People would pay money for ricing like that!

In all seriousness, RIP O7

PS. I'm terrified of my laptop's display dying cause it's high refresh and I CANNOT go back to 60hz

 

And now I'm (slowly) typing this in dvorak.

spoilerThe vi keys are better than qwerty's home row. It's been two days and I'll die on this hill.

Is it terminal?

Edit: Guess I should mention it's a Nuphy Air60 V2 given the com. I was a bit hasty.

20
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

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" }
        }
      }
    })
18
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

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 ›