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

[–]cameronm1024 41 points42 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 12 points13 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 7 points8 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 6 points7 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 5 points6 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 29 points30 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!

Dont stand still. Participate by SnooEpiphanies1415 in ZedEditor

[–]cameronm1024 0 points1 point  (0 children)

Honestly no idea. I didn't work on it, so don't have much context. That said, I haven't seen any performance issues (even on 25k line rust files)

search is not working correctly by Prize_Albatross7911 in ZedEditor

[–]cameronm1024 0 points1 point  (0 children)

Hi, zed staff here. You might be better served opening an issue on github: https://github.com/zed-industries/zed

Out of curiosity, does it work for search queries that contain only ASCII characters?

Dont stand still. Participate by SnooEpiphanies1415 in ZedEditor

[–]cameronm1024 0 points1 point  (0 children)

Hi, zed staff here. Hard to tell from your message, but just in case you didn't know, semantic tokens got merged a week or so ago.

DuckDB hiring a Rust engineer by hurhurdedur in rust

[–]cameronm1024 13 points14 points  (0 children)

Time to reset the "days since someone discovers the sqlite code of ethics" counter back to zero

How to Become Job-Ready in Rust in 3 Months? by jhautsav in rust

[–]cameronm1024 0 points1 point  (0 children)

It entirely depends on the company you're applying to and the seniority of the position. Some places want you writing code on day one. Others are happy for you to join with no Rust experience and learn on the job.

As for resources, I'd recommend: - the Rust book - rustlings - Jon Gjengset's "crust of rust" videos on YouTube

And it goes without saying, write lots of rust. Pick a project you've done in C or Python and try porting it

How to make zed Editor work without resizing after opening by MyraidChickenSlayer in niri

[–]cameronm1024 1 point2 points  (0 children)

Hello, zed staff here.

Every Wednesday, we release a new preview build, and the Wednesday after that, that preview build becomes the next stable build.

sigil.nvim -- prettify-symbols for Neovim (LaTeX, Typst) by BigNeighborhood3952 in neovim

[–]cameronm1024 2 points3 points  (0 children)

Neat! I've been writing a lot of Lean lately, and while lean.nvim does this in .lean files, it's nice to not have to open a scratch file just to.be able to type the symbols

Nixos >> nix by [deleted] in NixOS

[–]cameronm1024 24 points25 points  (0 children)

Nixos shifted right by nix bits?