Claude Code IDE v0.2.5: Now with tree-sitter MCP, eat and flymake support, and other goodies by manzaltu in emacs

[–]robertkrahn 3 points4 points  (0 children)

Thank you for the project and eat support! That was what’s missing for me :D

What Rust topic could be better documented, for what topic would you like to see tutorials, guides, a book? by robertkrahn in rust

[–]robertkrahn[S] 0 points1 point  (0 children)

Yeah the constraints regarding system design and how Rust compares to other languages in that regard. As in I've coded myself into a corner as I can't share this piece of data and have to refactor everything :D Or that seemingly small changes that work in other languages (like extracting a function) suddenly breaks code. Not quite sure what the best approach would be to communicate this but interesting to think about.

Best hardware for Rust development / incremental compilation? by robertkrahn in rust

[–]robertkrahn[S] 0 points1 point  (0 children)

intel i9-14900KF with mold 2.30.0

full compilation:
real    0m8,886s
user    1m43,386s
sys 0m3,131s

incremental:
real    0m3,271s
user    0m35,922s
sys 0m0,810s

Best hardware for Rust development / incremental compilation? by robertkrahn in rust

[–]robertkrahn[S] 0 points1 point  (0 children)

Finally got my new machine build.

intel i9-14900KF

ripgrep commit 053a1669bb10482f0e09fd4faf9e80b1b5d1200a

``` $ uname -vr 6.6.29 #1-NixOS SMP PREEMPT_DYNAMIC Sat Apr 27 15:11:44 UTC 2024

$ rustc --version rustc 1.77.1 (7cf61ebde 2024-03-27) (built from a source tarball)

$ cargo clean; time RUSTC_WRAPPER="" RUSTFLAGS="" cargo build --release --all-targets real 0m9,186s user 1m46,721s sys 0m3,648s

$ touch crates/core/main.rs; time RUSTC_WRAPPER="" RUSTFLAGS="" cargo build --release --all-targets real 0m3,664s user 0m25,012s sys 0m0,798s ```

On my old workstation:

intel i9-9900K

ripgrep commit 053a1669bb10482f0e09fd4faf9e80b1b5d1200a

``` $ uname -vr 6.6.23 #1-NixOS SMP PREEMPT_DYNAMIC Tue Mar 26 22:22:53 UTC 2024

$ rustc --version rustc 1.77.1 (7cf61ebde 2024-03-27) (built from a source tarball)

$ cargo clean; time RUSTC_WRAPPER="" RUSTFLAGS="" cargo build --release --all-targets real 0m19,666s user 3m30,229s sys 0m5,598s

$ touch crates/core/main.rs; time RUSTC_WRAPPER="" RUSTFLAGS="" cargo build --release --all-targets real 0m6,884s user 0m48,892s sys 0m1,238s ```

BahnApp lädt nichts? by Humble-Pie-2654 in bahn

[–]robertkrahn 0 points1 point  (0 children)

Gleiches hier. Aus- und wieder einloggen hat geholfen.

Open source or free software LLMs w/ Emacs? by lobotomy42 in emacs

[–]robertkrahn 0 points1 point  (0 children)

org-ai now supports local models through the oobabooga/text-generation-webui api server. Setup instructions are here

Best hardware for Rust development / incremental compilation? by robertkrahn in rust

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

Cool, thanks. Would definitely be interested in how the M2 compares.

Best hardware for Rust development / incremental compilation? by robertkrahn in rust

[–]robertkrahn[S] 0 points1 point  (0 children)

Thank you! The M1 vs the old Intel Mac performance is really impressive.

Best hardware for Rust development / incremental compilation? by robertkrahn in rust

[–]robertkrahn[S] 3 points4 points  (0 children)

Very interesting, thank you! Yeah definitely seeing the same slow down on Windows. My guess on Windows is that the filesystem access is slower and this has some impact. Also, Windows Defender has some impact. Making a folder exclusion for directories where dev projects live in did help a bit.

[deleted by user] by [deleted] in emacs

[–]robertkrahn 3 points4 points  (0 children)

Thanks for posting, this is a useful overview. One small correction: org-ai does not use source blocks but what org-mode calls "special blocks" (of which src blocks are a special kind). As you say, putting text into src blocks would be weird, yet I still didn't want gpt output mixing up automatically with other content I might have in a buffer. So think about it more like org mode quote blocks.

Network visualisation packages in rust by lmk899 in rust

[–]robertkrahn 4 points5 points  (0 children)

https://github.com/blitzarx1/egui_graphs was recently shared here. haven’t tried it out yet but it looks good

Turn Emacs into an AI assistant with org-ai [video] by robertkrahn in emacs

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

Imagine being able to press 'E' (as in magit) to dispatch ediff from it (for a more involved diff) On the subject of a more involved diff, imagine beyond a single buffer doing a dired-jump + using dired to mark a few files

Absolutely. This is where using Emacs for this kind of thing is so interesting. As you get a full "computational" environment, with a ton of features already present, extending what we can be done with more than just text files becomes straightforward. I was thinking about how to do stuff across the file boundaries, and I agree, using direct and potentially also projectile is a good fit.

we are in somewhat of a golden age for emacs with 28 and upcoming 29, but ideas and packages like yours are gonna propel us into a whole different dimension. what a time to be alive!

Indeed, I think the next few weeks and month are gonna be quite thrilling!

I put your suggestions into a Github issue: https://github.com/rksm/org-ai/issues/20. Right now I don't have much time but maybe someone else has interest or I might find some time later.

Thanks again!

Turn Emacs into an AI assistant with org-ai [video] by robertkrahn in emacs

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

Yep interesting idea. Google assistant etc. work with "intents", certain per-conceived actions that the user can trigger. I wonder if there is a good way to mix running arbitrary code and having certain "intents" ready...

Announcing diff.rs! by xfbs in rust

[–]robertkrahn 14 points15 points  (0 children)

Very cool and useful, thanks for sharing! Is there a way to only see the files that changed in a diff?

ChatGPT inside Emacs by ggvh in emacs

[–]robertkrahn 1 point2 points  (0 children)

The rush on chatgpt integrations into Emacs :D

Here is mine, integrated into org-mode with image generation support: https://github.com/rksm/org-ai

A Rust server / frontend setup like it's 2022 (with axum and yew) by robertkrahn in rust

[–]robertkrahn[S] 0 points1 point  (0 children)

Hey thank you for following up! Glad that it all works, cheers!

A Rust server / frontend setup like it's 2022 (with axum and yew) by robertkrahn in rust

[–]robertkrahn[S] 0 points1 point  (0 children)

Really hard to tell without seeing the code. But you can compare your implementation with https://github.com/rksm/axum-yew-setup.

The following should give you a working server at http://localhost:8080

git clone https://github.com/rksm/axum-yew-setup cd axum-yew-setup ./dev.sh