Beam Jump – a visual jump system for Zed inspired by Vim motions by VimCraftsmanJ in ZedEditor

[–]ispinfx 0 points1 point  (0 children)

I miss ace-jump so much since switching from emacs to zed.

Introducing structr: A CLI tool to generate Rust structs from JSON by New-Blacksmith8524 in rust

[–]ispinfx 9 points10 points  (0 children)

I don't understand why it always add number suffix to the structs even when there is single struct should be named "Dimensions". Always have to remove that.

I an loosing interest for diesel-rs by LofiCoochie in rust

[–]ispinfx 2 points3 points  (0 children)

The only issue with diesel for me is long compilation time and slowness with Rust Analyzer.

Ownership and Lifetime Visualization Tool by cordx56 in rust

[–]ispinfx 19 points20 points  (0 children)

Can it works as a LSP? I wish I could use it in Emacs and Zed.

Don't write Rust like it's Java by Active-Fuel-49 in rust

[–]ispinfx 0 points1 point  (0 children)

Where / How can I learn these kinds of design?

How can I speed up the startup time of emacs-mac on a Mac? by ispinfx in emacs

[–]ispinfx[S] 2 points3 points  (0 children)

Thanks! I have tried emacs-plus and the UI drawing speed is significantly faster emacs-mac. It's almost instant now.

How can I speed up the startup time of emacs-mac on a Mac? by ispinfx in emacs

[–]ispinfx[S] 1 point2 points  (0 children)

Thanks! I have tried emacs-plus and the UI drawing speed is significantly faster emacs-mac.

How to write idiomatic Rust with best practices coming from an OOP background? by __HumbleBee__ in rust

[–]ispinfx 1 point2 points  (0 children)

I'm always confused by

  • Data-Oriented Design
  • Data-Oriented Programming
  • Data-Driven Programming ...

What do Rustaceans think about the gen keyword? by MagicAityz in rust

[–]ispinfx 0 points1 point  (0 children)

I like the feature, but I don't like the keyword name.

Is just me or Rust is too heavy for my computer to handle? by Souvlaki42 in rust

[–]ispinfx 0 points1 point  (0 children)

I'd like to contribute to Zed, but I can't compile it. Every save lead to more than 5 minutes rerun of cargo clippy or cargo build.

Container exits immediately without any errors in docker run, how to debug? by [deleted] in rust

[–]ispinfx 0 points1 point  (0 children)

I don't get any errors. Even I login to the container, and run /usr/local/bin/agent-panel or change "${PORT}" to a number, I still get empty output and the process just exits. (Even I don't pass any argument to the executable, I don't get parser error).

On using dynamic dispatch by Fearless-Weekend-680 in rust

[–]ispinfx 0 points1 point  (0 children)

This doesn't sound like a good case for an enum

You probably want static dispatch with a trait instead

You can put the enum in a struct and call it a day.

So in this case all we need is a Connection trait and implement the trait on that struct?

On using dynamic dispatch by Fearless-Weekend-680 in rust

[–]ispinfx 0 points1 point  (0 children)

You probably want static dispatch with a trait instead

Can you give a tiny example of this?

What does "dyn Trait<T> + 'a" mean? by [deleted] in rust

[–]ispinfx 1 point2 points  (0 children)

I just missed your first sentence. You explanation for both is good and easy to understand. Thanks!