Hello, tone-policing genocide-defender and/or carnist 👋

Instead of being mad about words, maybe you should think about why the words bother you more than the injustice they describe.

Have a day!

  • 0 Posts
  • 49 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle



  • Using containers on Linux has basically no performance loss compared to running on the host. They share a kernel and nothing needs to be virtualized (unlike containers on macOS and Windows), so anything you run in a container is basically the same performance as running it on the host.

    I still agree though: using Nix is better than using Distrobox for many other reasons.


  • Nix has more packages , by far. Nix also automatically handles the dependent libraries for each package, which is something you can’t do with brew on immutable systems. This means that Nix can install software like espanso, which wouldn’t work on uBlue derivatives otherwise.

    I really wish the uBlue maintainers would have opted for Nix over brew for that reason. It’s not much more difficult to do nix profile install nixpkgs#package-name over brew install package-name. They could have even aliased it to make it easier.









  • Yeah. I hope as Helix grows more popular, our problems will solve themselves in both directions: where Helix can address them directly, and people start hacking Neovim to work more like it.

    Out of curiosity: what issues with the LSP are you having and what distro do you run? I’ve found that most of my issues could be resolved by running Helix’s health checks and making sure that the binaries needed by the LSP are available in $PATH.

    Unfortunately, I did start having issues with Go where it seems like the LSP might be crashing and I’ve yet to resolve that one for myself.



  • trevor@lemmy.blahaj.zonetoLinux@lemmy.mlZed Decoded: Linux when? - Zed Blog
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    2
    ·
    edit-2
    2 months ago

    While I generally agree with your skeptical attitude toward this, I think the fact that they were targeting Apple’s Metal graphics API to built the most performant possible IDE makes sense. You can’t just snap your fingers and have a Linux graphical stack start working with your software.

    I think the reason they targeted macOS first is probably because many of the dev team uses Macs.

    As a Linux user, I’ll happily wait for software like this to get ported to native Linux APIs so we get performant text editors instead of more Electron crap.






  • Here’s what I do in my docker images:

    mkdir -p /lib-your-executable
    ldd ./your-executable | tr -s '[:blank:]' '\n' | grep '^/' | xargs -I % cp % /lib-your-executable
    

    Essentially, it’s the same thing that you’re doing, just automating getting the dependencies, and then copying everything in the lib-your-executable dir to your LD_LIBRARY_PATH. I don’t know of a better way, other than statically-linking the binaries.

    EDIT: fix typo in commands.