Zed is a modern open-source code editor, built from the ground up in Rust with a GPU-accelerated renderer.

You are viewing a single thread.
View all comments
193 points

Installer is piping curl into shell

I thought we were past this as a society 😔

permalink
report
reply
3 points

It’s made in rust, therefore it must be safe!

permalink
report
parent
reply
4 points

GPU-accelerated renderer.

There’s a reason why GUIs don’t render fonts in the GPU.

permalink
report
parent
reply
2 points

Because it’s a pain, there’s not much more to it really…

permalink
report
parent
reply
1 point

AFAIK it’s the copy cost for the memory. GPU makes sense only when the hardware allows this copy to go away. Generally, desktop PCs don’t have such specialized hardware.

permalink
report
parent
reply
15 points

A curl piped into a shell or some unofficial packages from various distros.

At this point I don’t get why these projects are not Flatpak-first.

permalink
report
parent
reply
-5 points

Flatpak is worse for debugging, development, and reproducibility.

Its good for user friendly sandboxing, portability, and convenience.

permalink
report
parent
reply
4 points
16 points

Is it really worse tho? A single build, against a single runtime, free from distro specificities, packaged by the devs themselves instead of offloading the work on distro maintainers?

permalink
report
parent
reply
8 points

Can’t we basically call this a remote access trojan?

permalink
report
parent
reply
11 points

Security wise it doesn’t matter, you run the code they wrote in any case. So either trust them or don’t. Where it matters is making a mess on your computer and possibly leaving cruft behind when uninstalling. But packages are in the works, Arch even has it since before linux support was announced officially.

permalink
report
parent
reply
4 points

This isn’t true because until the PR fixing it goes through it downloads other binaries without user consent.

permalink
report
parent
reply
3 points

So did fedora and nix

permalink
report
parent
reply
-6 points

It is worrisome that all the smug elitists are too incompetent to just leave off the pipe and review from stdout, or redirect to a file for further analysis.

Same people will turn around and full throat the aur screaming ‘btw’ to anyone who dares look in their direction.

permalink
report
parent
reply
3 points
*

Eh using aur is a bit different since most of# them pull the projects git repo directly anyway. Yeah the project might have vulns but thats on you to inspect before building it as well as the pkgbuild itself

permalink
report
parent
reply
10 points

By that logic you have to review the Zed source code as well. Either you trust Zed devs or you don’t - decide! If you suspect their install script does something fishy, they could do it just as well as part of the editor. If you run their editor you execute their code, if you run the install script you execute their code - it’s the same thing.

Aur is worse because there usually somebody else writes the PKGBUILD, and then you have to either decide whether to trust that person as well, or be confident enough for vetting their work yourself.

permalink
report
parent
reply
65 points

Not until after you convince these projects to stop using discord

permalink
report
parent
reply
1 point

As long as they just use it for their community and don’t fucking lock documentation behind discord I don’t really care. But this trend has been so annoying. Due to this I’m in so many servers I have to quit a server just to join a new one

permalink
report
parent
reply
49 points
58 points
*

ooh, available for “x86_65” on Alpine

(and they’ve fixed that now)

permalink
report
parent
reply
38 points
*

Have you really not heard of it? It is a new architecture that is a bit better than x64_64.

permalink
report
parent
reply
23 points

imagine the nightmare of writing a 65 bit instruction set

permalink
report
parent
reply
36 points

x86_64++

permalink
report
parent
reply
6 points
*

That was my first thought as well, but I will say that uBlue distros had a signing issue preventing updates recently, due to an oversight with how they rotated their image signing keys, and the easiest (maybe only?) solution was to pipe a curl command to sh. Even though uBlue is trustworthy, they still recommended inspecting the script, which was only a few lines of code.

In this case, though, I dunno why they don’t just package it as a flatpak or appimage or put it up on cargo.

Edit: nvm, they have some package manager options.

permalink
report
parent
reply
11 points

There are various package manager vectors for installation listed in the docs

permalink
report
parent
reply
27 points

I mean its already in the nix repos as well as homebrew which means its essentially taken care of

permalink
report
parent
reply
11 points

So it should say hey check your distros package repos first.

permalink
report
parent
reply
3 points

Yeah. Especially rather than saying “curl/bash” is the preferred way of installing.

permalink
report
parent
reply
9 points

I’ve been using it with the nix package manager. It’s awesome how easy nix works

permalink
report
parent
reply
5 points

It appears to be a couple of versions behind … and have some issues with dynamically linked libraries that hinder LSPs. Neither of these is Zed’s fault. I’m sure the packaged version will be up to date momentarily (given the interest in Zed, sooner rather than later). Not sure how easy the LSP thing will be to fix, though there are some workarounds in the github issue.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.5K

    Monthly active users

  • 3.2K

    Posts

  • 37K

    Comments