Live data from Hacker News

Zed on Linux Is Here

zed.dev

141–150 of 703 posts

Re: Zed on Linux Is Here

#142
post #38

Earlier quoted context omitted.

This is a fairly common way to install tools on Linux. Tailscale, Homebrew, Pi-hole and many others offer installations in this way.

The same criticisms apply to Tailscale, Homebrew, Pi-hole and all those others.

> The same criticisms apply to Tailscale

No it doesn't.

Tailscale's shell script is entirely optional and installs a distro/package manager specific package. It also doesn't mess with your PATH variable.

They maintain packages for most popular distros as you can see here https://pkgs.tailscale.com/stable/.

The sibling comments are just spreading misinformation because those people were too lazy to actually look anything up.

Re: Zed on Linux Is Here

#143

Earlier quoted context omitted.

"reading before you run" eliminates all convenience of the one liner. Their linux docs are way better because it shows you exactly how to do it on a per-distribution basis. when it comes time to update the software I would prefer to know how exactly it is installed so that I can update it correctly.

> when it comes time to update the software I would prefer to know how exactly it is installed so that I can update it correctly Then read the script you complain about.

Three months from now I won't remember using the script to install it. And the contents of the script could completely change. This is not a helpful take.

Re: Zed on Linux Is Here

#144

I really don't get why this is the modern editor style of choice. 20% (35 chars) of screen space permanently wasted on a always on file browser (meanwhile the animation showcases fuzzy finding) 4% (7 chars) of screen space permanently wasted by line numbers (why are the numbers cut off on the right?) 2.7% (5 chars) of screen space taken up by a gutter So 27% of screen space effectively dead 99% of the time. Why do pe…

You can close the left dock (ctrl+b for me). The gutter is still huge, though.

Re: Zed on Linux Is Here

#145
post #25

At first I thought this might be a creation of Zed Shaw (whose Learn Ruby the Hard Way, was the best introduction to that language, back in the day; and Mongrel was great).

Instead it's a creation of the team who built Atom, Tree-sitter and Electron. Pretty solid resume!

Absolutely.

Re: Zed on Linux Is Here

#146

Earlier quoted context omitted.

I sympathize with the situation that Zed developers are in. They are thinking of the user experience first and foremost, and when trying to distribute on Linux, faced with an overgrown, chaotic landscape that utterly fails to provide the basic needs of application developers, such as the ability to distribute a binary that has no dependencies on any one particular distribution and can open a window and interact with…

> I sympathize with the situation that Zed developers are in. They are thinking of the user experience first and foremost, and when trying to distribute on Linux, faced with an overgrown, chaotic landscape that utterly fails to provide the basic needs of application developers, such as the ability to distribute a binary that has no dependencies on any one particular distribution and can open a window and interact wit…

The best part of Linux’s single universal packaging system is there’s three of them.

Re: Zed on Linux Is Here

#147

Earlier quoted context omitted.

> you can't distribute with a shell script for installation Why not? It worked for me.

There are two schools of thought. One strives for correctness, even if that requires extra effort. Another is "anything goes as long as it somehow kind of works more than it doesn't." (Actually it's most probably a spectrum rather than a binary division, but I'm no philosopher or sociologist, so for example's sake I'll operate with this simplified model here.) The world en masse is generally preferring the latter (pi…

| among the engineers there are a significant number of people who believe that's how things should be

There are close to zero people who tend to think like that among actual engineers. That's why we have reliable transportation and bridges and skyscrapers that work for (soon to be) centuries. On the other hand, we have lots of them among self-professed "engineers" who have changed many monikers over the past couple of decades and will probably call themselves "gods" in a few more years down the line.

Re: Zed on Linux Is Here

#149
post #88

Man, I'm conflicted. I mean, Zed works pretty damn well. So far my biggest annoyance with Zed though is that it's constantly trying to download language servers and other tools and run them. And sure, that's handy, but 1. I don't really want it, I'd much rather only use distribution-provided tools. 2. It doesn't work at all on NixOS, so it's just wasting its time and our bandwidth constantly downloading and trying to…

> It doesn't work at all on NixOS

Doesn't it work with:

  zed-fhs = pkgs.buildFHSUserEnv {
    name = "zed";
    targetPkgs = pkgs:
      with pkgs; [
        zed-editor
      ];
    runScript = "zed";
  };

Still not ideal though.

Re: Zed on Linux Is Here

#150

> To install Zed on most Linux distributions, run the shell script below. This is not an acceptable way to install anything on Linux. If you want to target Linux users you can't distribute with a shell script for installation. I get that the idea is to reduce friction to installation and trying it out, but most Linux users - the ones you want filing bug reports anyway - are ones who will do due diligence and inspect…

> My point is that if you just listed the download link to the tarball, it would actually be closer to your own goal of reducing installation friction. The shell script is so much more friction because I have to read bash code instead of just clicking a download link.

It's there https://zed.dev/docs/linux#downloading-manually, it just doesn't show up as the default installation method.

Post reply on HN