Live data from Hacker News

Zed AI

zed.dev

181–190 of 299 posts

Re: Zed AI

#181

AI assistants just slow me down. Its a very rare case i find them actually useful. I am generally concerned by the amount of devs that seem to claim that it is useful. What on earth are yall accepting.

I'm curious, what kind of work do you do? Does stack overflow slow you down?

Do you use stack overflow for every keystroke?

Re: Zed AI

#182
post #121

As I’ve said in yesterday’s thread[0], contrary to many others I find the AI integration in Zed to be extremely smooth and pleasant to use, so I’m happy they’re doubling down on this. However, personally, I prefer to have it configured to talk directly to Anthropic, to limit the number of intermediaries seeing my code, but in general I can see myself using this in the future. More importantly, I’m happy that they mig…

>However, personally, I prefer to have it configured to talk directly to Anthropic, to limit the number of intermediaries seeing my code, but in general I can see myself using this in the future. Same. I can kind of feel OK about my code going to Anthropic, but I can't have it going through another third party as well. This is unfortunately IT/security's worst nightmare. Thousands of excitable developers are going to…

Add the following to your settings.json:

  "assistant": {
    "version": "2",
    "default_model": {
      "provider": "anthropic",
      "model": "claude-3-5-sonnet-20240620"
    }
  }
  
Once this is done, you should be able to use Anthropic if you have an API key. (This was available before today's announcement and still works today as of Zed 0.149.3)

Re: Zed AI

#183

Earlier quoted context omitted.

Anecdotally, I have never seen Windows widely used for development, outside of .NET shops (but that shouldn't be a surprise). Moreover, there's plenty of quirks Windows has with respect to: - Unicode (UTF-16 whereas the world is UTF-8; even Java uses UTF-8 nowadays, so it's only Windows where UTF-8 is awkward to use) - filenames (lots of restrictions that don't exist on Mac or Linux) - text encoding (the data in the…

This comment is not correct. Java uses mixed Latin1/UTF-16 strings. The Latin1 mode is used for compact storage of alphanumeric text as the name suggests: https://github.com/openjdk/jdk/blob/1ebf2cf639300728ffc02478...

The internals of OpenJDK may use either Latin1 or UTF-16, but the Java API, as of Java 18, defaults to the UTF-8 character set for string operations and text codecs.[1] Just like the standard APIs of Mac OS default to UTF-8 text encoding even though CFString internally uses various different representations to optimize memory usage.[2]

[1] https://docs.oracle.com/en/java/javase/18/docs/api/java.base...()

[2] https://developer.apple.com/library/archive/documentation/Co...

Re: Zed AI

#184

Earlier quoted context omitted.

Also, I know some people say “just let me pay for the editor” but I don’t think that’s actually a viable path. The editor is open-source, and it being open-source is great. Others can contribute, it generally helps adoption, it will probably help with getting people to author plugins, and it means if they go in an undesirable way, the community will be able to fork. So without making it non-open-source, they’d need t…

A lot of Zed users are developers at medium-to-large businesses, so I think full source-available with licensing is very much something they could do. They could put the code on GitHub, allowing contributions, with a license that turns into BSD or MIT after two years, and with the caveat that you can only run the (new) code if you purchase a license key first. In companies of reasonable size, the deterent against pir…

But then it wouldn't be open-source anymore, would it? Making the willingness of people to contribute likely much smaller. You don't really have the safety of having an easy way to fork either, if all you can fork is a 2-year old version (which plugins are likely not compatible with anymore).

It would also (deservedly) likely anger a large part of the existing community, especially the ones most involved, like plugin authors, who put their time in assuming their contributing to an open-source ecosystem.

Thus, I believe that ship has sailed the moment they made it open-source in the first place.

Re: Zed AI

#185
post #120

AI assistants just slow me down. Its a very rare case i find them actually useful. I am generally concerned by the amount of devs that seem to claim that it is useful. What on earth are yall accepting.

Did Google make you less productive when looking up about code? If it did not then I dont see how looking up with AI can be worse.

What’s the point of this argument? If the user you’re replying to has been on this site, they’ve probably seen this counterpoint before.

“Aha!” They say, “I only realized my folly after the 25th time someone pointed out googling also takes time!”

Maybe there’s some interesting difference in experiences that shouldn’t just be dismissed.

Re: Zed AI

#186

I recently switched from neovim to zed, and I overall like Zed. I miss telescope, and think some vim navigation was better, but I suspect that it has to do with how much effort I put into configuring one over the other, so time will tell. My biggest gripe was how bad the AI was. I really want a heavy and well-crafter AI in my editor, like Cursor, but I don't want a fork of the (hugely bloated and slow) vscode, and I…

Have you tried using Codeium in Neovim[0]? It may not have all the features shown in this post, but still quite good. I will admit though that I'm enticed to try out AI in Zed now. [0] https://github.com/Exafunction/codeium.nvim

I tried codeium for 6 months and eventually went back to copilot. I think codeium is tier 2

Re: Zed AI

#187

I recently switched from neovim to zed, and I overall like Zed. I miss telescope, and think some vim navigation was better, but I suspect that it has to do with how much effort I put into configuring one over the other, so time will tell. My biggest gripe was how bad the AI was. I really want a heavy and well-crafter AI in my editor, like Cursor, but I don't want a fork of the (hugely bloated and slow) vscode, and I…

nvim has a really good cursor integration plugin https://github.com/yetone/avante.nvim

second person to share this with me recently, will have to try it out. Looks pretty alpha, but interesting

Re: Zed AI

#188
post #77
post #49

Earlier quoted context omitted.

What programming languages do you mostly work in? I've been wondering if the benefits of AI-autocomplete are more material to people who work in languages like Python and JavaScript that are harder to provide IDE-based autocomplete for. If you're a Java or TypeScript developer maybe the impact is reduced because you already have great autocomplete by default.

I think typescript benefits even more than JavaScript because the type signatures add so much context. After defining the types and signatures copilot will often complete the body within a few changes of perfect

Yeah +1, the current top LLMs do pretty well with TypeScript

Re: Zed AI

#189

Hrm. Still not quite what I crave. Here's roughly what I want. I want to be able to highlight some block of code, ask the AI to modify it in some way, and then I want to see a diff view of before/after that lets me accept or reject changes. LLMs often get code slightly wrong. That's fine! Doesn't bother me at all. What I need is an interface that allows me to iterate on code AND helps me understand the changes. As a…

Excited to try Zed, but FWIW, this is exactly Cursor's default behavior if you use the side chat panel

Re: Zed AI

#190

I hope that in a few years we look back at this era of "prompt an LLM for a shell command and instantly run whatever it spits out by pressing enter" with collective embarrassment.

What does this mean?
Post reply on HN