• 2 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle
  • Okay wow. I looked into your repo and its a really interesting implementation of a DSL. I think I get what the code is trying to do? You run shimky through bash and it turns into python code? meta programming stuff! I think its a regular language? its hard to tell.

    So I’ve actually been studying DSLs for a few months and I can recommend some ways for you to improve this code if you want.





  • You are running fedora which is using the dnf package manager. The commands you mentioned (apt/ppa) are part of the apt (aptitude) package manager which is comes with Ubuntu.

    Apt is the command to install/manage packages on Ubuntu (and other distros that use apt). A ppa is a special way to tell apt where it can download packages from. It lets you a install 3rd party packages not provided by your distros default selection. It is specific to apt and will not work for dnf.

    This isn’t the end of the world and you can still install the package. Because these packages are open source, you can build the package from source. The instructions for which can be found on the github readme. Hopefully this cleared some things up!

    [Edit] done some poking around, and I managed to get it running on fedora. I had weird issues building it from scratch, so I did it in a janky way by downloading and extracting the deb (it had precompiled bin inside). Looks to be working tho I couldn’t test it because no qemu




  • I think both nix-env and flakes are designed with making package management easier. Nix-env tries to make it intuitive and familiar for new users. Flakes improve package management by simplifying the configuration.

    Personally I would love to see syntax highlighting, language server, code completion. Maybe all in a dedicated application which is configured to give the easiest experience for new users. If nix is intended to be managed through config files, then the experience of writing a config should be as easy as possible.



  • Oh that’s good that they are addressing those issues with a new command. Hopefully it gets into stable soon.

    Might be that nix-env -iA is bad practice! I’m strictly talking about ux design here and nix-env -iA is being recommend by blogs and nix themselves. (Nixpkgs tells you how to install using nix-env -iA)

    A new user isn’t going to know what bad practice is.


  • What’s up with the ux design of nix? I get it’s made for advanced users but still. I’m reading through this guide and man it’s convoluted.

    The different ways of installing packages. Either through editing the configuration.nix or running a command. The weird inconsistency of nix commands. nix-env -iA to install and nix-env --uninstall to uninstall. Then updating uses nix-channel --update but upgrade uses nixos-rebuild switch --upgrade. All this to use the package manager. Also haven’t even mentioned flakes or home manager.

    It’s a cool OS, but the UX really needs work imo.

    [Edit] I do wanna add something else too because I feel like my point isn’t getting across.

    It’s okay to have a complicated ui. Especially if your target audience are tech-savvy. But even tech-savvy people have to start as new users. A tech-savvy new user isn’t going to know what the best practices are. Being able to anticipate the steps for installing a package is important for ux. If the commands for installing packages isn’t cohesive/intuitive, then the user has to spend more time looking for guides and learning how to use the software.

    People also mentioned a new command in the works. This is great! However, these current commands are being recommended through blogs and nix. New users won’t know about this new command.


  • blotz@lemmy.worldtoLinux@lemmy.mlThoughts on this?
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    aren’t any devs working on X.

    Didn’t know about that! Good for them. I would still argue it’s a very popular and successful software despite it’s unholy codebase.

    It really is a “rock and a hard place” …

    Yeah. I hope it’s just a vocal minority but it’s depressing when you see people act like this in the wild.


  • blotz@lemmy.worldtoLinux@lemmy.mlThoughts on this?
    link
    fedilink
    arrow-up
    28
    arrow-down
    4
    ·
    edit-2
    6 months ago

    My thoughts on this? I think people should care less about what software other people use.

    Man, display servers look hard to develop and I’m glad we have two amazing/successful projects to choose between! I think the devs who work on X are doing an amazing job and it’s amazing to see how passionate the devs/users are for Wayland.

    If bobby tables likes to use x because they know how it works and are comfortable with it, let them work with x! If you think it’s okay to judge/pester/shame people because some software they choose to use, shame on you! In the end, does it really matter what you use.






  • Log in as root to avoid trying to make sure no files in /home/ are being read/written to.

    Step 1: copy data to new drive. Mount new drive to /mnt/. cp -ra /home/* /mnt/. -a means that all permissions remain the same which will mean that your user can still read them. Check the man page for more details. This command will take a while. Use -v to see progress. You should see a folder with your username appear.

    Step 2. Prepare /home for new drive. Move the files to a new folder. This is done to make sure you can still easily go back. mv /home/ /home-bak/ keep your old home dir safe in case a mistake was made. mkdir /home/.

    Step 3. Mount your new drive. Mount your drive to /home/ and check if you can login. If everything went correctly, you should be able to just login. Finally you need to update your /etc/fstab to include this new drive. This will make sure your home drive mounts when you start your os. If everything is working, you can delete your home-bak as well.