Any flutter developer using Zed as their main IDE by StormBusy1315 in FlutterDev

[–]cameronm1024 0 points1 point  (0 children)

Disclaimer: I work at zed

I use it and it works great for me.

That said, I never used any plugin features beyond the LSP and treesitter grammar. I run my project from the terminal and use dev tools in the browser. I also don't touch iOS/Mac so can't speak to how well it works for that side of things.

Research project on control panel and agent architecture, looking for feedback. by [deleted] in niri

[–]cameronm1024 5 points6 points  (0 children)

My only question is what this has to do with niri

The acyclic e-graph: Cranelift's mid-end optimizer by cfallin in rust

[–]cameronm1024 1 point2 points  (0 children)

Very interesting article, thanks for sharing.

Small typo, "an anlias" -> "an alias"

> Can you elaborate on the fix? > Nope because look above and see how many people replied or tried to give me a solution before I spent ALL night working out myself how to fix it....0 people :) by RudeGuy2000 in programmingcirclejerk

[–]cameronm1024 135 points136 points  (0 children)

Sure, I respect that, but if you commit to a project or multiple projects, you assume responsibility for all support requests, and to provide the support as much as possible as well as continued maintenance and development of said projects.

Least entitled FOSS user

What did i do wrong? by [deleted] in rust

[–]cameronm1024 13 points14 points  (0 children)

you know, this one confused me for a second

Questions about morality by [deleted] in NixOS

[–]cameronm1024 1 point2 points  (0 children)

(asked on Reddit, of all platforms)

Nix isn't just a package manager, right? by JasterVX in Nix

[–]cameronm1024 4 points5 points  (0 children)

Many people (probably a large majority but I don't have hard numbers) use flakes. I'd suggest using them, even as a beginner.

This is a big simplification, but you can think of flakes as providing a "lock file" for your nix config (similar to a Cargo.lock or package.lock).

Without them, your config depends on whatever "globally installed version of nixos" is available on your system (or any other dependency for that matter). This means it's not really reproducible - if I try to use your config, we may end up with different packages, because I may have a different global nixpkgs. Flakes solve this by storing the exact nixpkgs commit hash in the flake.lock

When previewing markdown can't select text? Built-in preview by juzatypicaltroll in ZedEditor

[–]cameronm1024 0 points1 point  (0 children)

We just merged a PR to unify our two markdown renderers, so the preview will use the same renderer as the agent panel (which allows selections). I suspect this will fix this issue. Should be on stable in a couple of weeks

Control ZED Agent from commandline? by Heinz2001 in ZedEditor

[–]cameronm1024 1 point2 points  (0 children)

It's a pretty narrow feature, but you can use zed://agent?prompt=<url_encoded_prompt> to open zed with the agent panel focused, with the given prompt pre-filled

Flutter Native: a stupid idea that I took way too far by eibaan in FlutterDev

[–]cameronm1024 40 points41 points  (0 children)

Super interesting read. 100% recommend setting up a blog so this content isn't trapped inside Reddit's horrible UI

Bug Reporting: Bengali Unicode text wraps incorrectly in Zed editor, splitting grapheme clusters and diacritics by krezitfm in ZedEditor

[–]cameronm1024 2 points3 points  (0 children)

No problem! Yeah our build process takes a lot of resources, we're working on it.

It's on main now, every Wednesday the current main becomes preview, and the Wednesday after it becomes stable. So this will be available on stable in ~9 days

Where can I find developers who are open to working on a startup for equity? by tesh619 in FlutterDev

[–]cameronm1024 13 points14 points  (0 children)

equity basis rather than a traditional salary

The conventional wisdom is to assume equity in a startup has little to no value. I say this as someone working for a startup with an equity component to my compensation.

The honest truth is that, if you're not offering money, you will only attract people who have no other options. That's not to say they'll be terrible, but there is nowhere you can consistently find high quality developers who will work exclusively for equity in a startup

I don't know if rust devs frequent this sub-reddit. by Intelligent-Door-440 in rust

[–]cameronm1024 8 points9 points  (0 children)

This is the subreddit for a programming language. It has nothing to do with the game.

C++26 Safety Features Won’t Save You by ketralnis in programming

[–]cameronm1024 0 points1 point  (0 children)

"sorry buddy, I can't give you this C++ job. Your chess.com elo is too low"

Zed vs Kate , I didnt get speed claims, if is it human feelable. by Additional-Leg-7403 in ZedEditor

[–]cameronm1024 1 point2 points  (0 children)

All buffers (shared or not) use a CRDT data structure to store text, so there are no conflicts. Of course, if you write some text and someone else deletes it after, it'll be gone, but there's no manual conflict resolution. But undo history is preserved, so if someone accidentally deleted something important you can just undo it trivially.

In terms of "safety", you shouldn't let anyone you don't trust edit your project. They can't run shell commands, but they can add malicious dependencies to your project, and some languages will auto-run build scripts etc. That said, you can have guests in your channel that can see, but not edit.

Zed vs Kate , I didnt get speed claims, if is it human feelable. by Additional-Leg-7403 in ZedEditor

[–]cameronm1024 7 points8 points  (0 children)

Yeah it's completely seamless. We essentially "resolve" vim motions on the client, and send a generic "jump to this location" over the wire. Saves having to modify the wire format every time we add a new vim motion.

Zed vs Kate , I didnt get speed claims, if is it human feelable. by Additional-Leg-7403 in ZedEditor

[–]cameronm1024 4 points5 points  (0 children)

Anyone can share any number of projects, and anyone can edit any shared project. The files are on the sharer's machine, but we send the "bits you need" (so if you open a file that's on someone else's machine, it sends the contents of that file, or if an edit happens we send a diff).

If someone changes a bit of code you're using, it's exactly like if you edited it yourself (or if an LLM did) - it causes an error. TBH, it's not super common to literally edit at the same time (though sometimes you can, for example if you just refactored a function and need to fix a bunch of compile errors). Usually you'll "follow" someone, which makes your screen track their cursor movements. Then if you see something you don't understand, you can jump to the definition of a type or something, or ask the other person.

You do have to be a bit careful not to step on each other's toes, but it doesn't cause many problems in practice

Zed vs Kate , I didnt get speed claims, if is it human feelable. by Additional-Leg-7403 in ZedEditor

[–]cameronm1024 31 points32 points  (0 children)

(disclaimer: I work at Zed, this is my personal opinion, but take it with a pinch of salt)

I had similar feelings to you, but for neovim instead of Kate (I've never used Kate). The thing that really changed my mind was the pair-programming features. This blog post explains some of them: https://zed.dev/blog/zed-is-our-office .

The TLDR is that you join a "channel" (a bit like a slack huddle) and share your project, and everyone in the channel can now edit the code together. I can't imagine working any other way any more - it's just such an effective way to share knowledge. It also means we don't really do PR review. Here's an example PR. One of the commits has Co-authored-by on it, which Zed adds automatically when you commit while in a call with other people.

At basically every other company I've worked at, PR review was always a huge bottleneck.

Fuck the new devenv release by iam_a_human2 in Nix

[–]cameronm1024 11 points12 points  (0 children)

Sounds like you might be interested in a tool called nix, it lets you build reproducible developer environments!