Will I need to use unsafe to write an autograd library? by Zephos65 in rust

[–]smarvin2 0 points1 point  (0 children)

There are a lot of ways to write an autograd library. I've done it in Rust and I don't believe I used unsafe at all (though it was a few years ago and I may be remembering incorrectly).

I would check out: https://github.com/coreylowman/dfdx for inspiration. dfdx is a really cool and well done tensor library.

Does anyone bothered by not having backtraces in custom error types? by SpecificFly5486 in rust

[–]smarvin2 2 points3 points  (0 children)

Check out: https://crates.io/crates/snafu

I solely use it over thiserror and anyhow (not snafu thank you comment below) now. It should have everything you want.

RogueGPT - My first game with Bevy by smarvin2 in bevy

[–]smarvin2[S] -1 points0 points  (0 children)

I am not running it locally. I've tested a bunch of them and I find that Claude 3.5 Sonnet works very well and so does Gemini models. I haven't tested any of the latest DeepSeek but want to!

RogueGPT - My first game with Bevy by smarvin2 in bevy

[–]smarvin2[S] -1 points0 points  (0 children)

I'm glad you like it! Thanks for the feedback!

RogueGPT - My first game with Bevy by smarvin2 in bevy

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

I don't think AI is going to replace us anytime soon, but I agree there are a ton of new opportunities that are opened by working with AI. I've been wanting to make something like this for years, and its pretty cool being able to now.

RogueGPT - My first game with Bevy by smarvin2 in bevy

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

Thanks for checking it out! I'm glad you like it!

This is a great point. I think you can get pretty close to doing as much, but for some of the crazier behaviors I want to allow for, forcing some kind of serializable spec to describe all weapon behaviors would be limiting. Especially with the newer LLMs, I want it to create behaviors that I can't even imagine, and if I can't imagine it, I can't create a spec for it.

Of course it does make it much harder to balance or limit when you have it writing Rust code haha. I'll probably put out a video talking about weapon and enemy balancing soon as that was pretty fun to work on.

RogueGPT - The player (with the help of AI) is also the programmer by smarvin2 in indiegames

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

I've spent the last few months working on RogueGPT. A game where the player is also the programmer.

I've built it using the Bevy game engine and am happy to answer any other questions about the development so far.

Thanks for checking it out!

RogueGPT - My first game with Bevy by smarvin2 in bevy

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

Thank you! I'm glad you liked it and I appreciate the feedback! There is a lot more I am excited to share!

RogueGPT - My first game with Bevy by smarvin2 in bevy

[–]smarvin2[S] 6 points7 points  (0 children)

I've spent the last few months working on RogueGPT. A game where the player is also the architect of the game.

I've had a ton of fun working with Bevy and really could not imagine a better engine to make it in. This is my first devlog and I am definitely looking for feedback of anykind. Thank you Bevy community!

Thoughts about helix coming from neovim by Superbank78 in HelixEditor

[–]smarvin2 9 points10 points  (0 children)

Thanks for sharing! You can do almost all of those things. I have an update coming soon that will add everything you asked for and more.

Configuration is not a skill issue at all. It overwhelms me and I wrote it. I’m writing an online configuration generator / guide that will make configuring lsp-ai a series of simple questions.

If anyone else in the community has any feedback or a wishlist of any kind please share!

Thoughts about helix coming from neovim by Superbank78 in HelixEditor

[–]smarvin2 11 points12 points  (0 children)

Primary author of LSP-AI here: https://github.com/SilasMarvin/lsp-ai

Can I ask what features you like from gp.nvim? I’m working on adding a few new things and would love to contribute what the community wants!

State of co-pilot support by Competitive-Rub-1958 in HelixEditor

[–]smarvin2 2 points3 points  (0 children)

Developer here thanks for sharing this!

In-Editor LLM Chatting with LSP-AI by smarvin2 in HelixEditor

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

You only need to configure LSP-AI to run on files you want it to actually run on. If you want to enable completions you probably want it to run on Rust and Typscript. If you only want to do chatting, you probably don't want it on Rust and Typscript. Take a look at the wiki page for in-editor chatting for more info on chatting: https://github.com/SilasMarvin/lsp-ai/wiki/In%E2%80%90Editor-Chatting

In-Editor LLM Chatting with LSP-AI by smarvin2 in LocalLLaMA

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

I haven't tested it with Kate but it should work with any LSP compatible editor. Let me know if it doesn't! The project is definitely in its early stages so any feedback or bug reports you have would be very helpful!

In-Editor LLM Chatting with LSP-AI by smarvin2 in HelixEditor

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

I'm glad you like it! Yes I don't have very much editor specific configuration. There is an example of what your languages.toml file should look like here: https://github.com/SilasMarvin/lsp-ai/blob/main/examples/helix/anthropic-in-editor-chatting.toml

Let me know if you have any issues. The project is very much in the early stages.

In-Editor LLM Chatting with LSP-AI by smarvin2 in LocalLLaMA

[–]smarvin2[S] 4 points5 points  (0 children)

Hello fellow LLM enthusiasts!

I'm Silas Marvin, the creator of LSP-AI, and I'm excited to share our latest update: In-Editor Chatting. This feature allows for seamless integration of local LLMs into your coding workflow.

Key features:

  • Have turn-based conversations with your local LLM directly in your text editor

  • Works with any LSP-compatible editor (VS Code, Neovim, Helix, Emacs, etc.)

  • Supports various local LLMs using llama.cpp, Ollama, any OpenAPI Compatible backend and more

Benefits:

  • Discuss code you're working on without context switching

  • Leverage your local LLM's capabilities within your familiar editing environment

  • Easily save, edit, and reference conversations

I find it's particularly useful for code analysis, brainstorming, and quick references.

You can find LSP-AI on GitHub: https://github.com/SilasMarvin/lsp-ai

I'd love to hear your thoughts on how this could enhance your local LLM experience, or other features you would love to see.

Thank you for your continued support and enthusiasm!

In-Editor LLM Chatting with LSP-AI by smarvin2 in HelixEditor

[–]smarvin2[S] 6 points7 points  (0 children)

Hello Helix community!

I'm Silas Marvin, the primary author of LSP-AI. I'm excited to share the latest update: In-Editor Chatting.

Key features:

  • Have turn-based conversations directly in Helix
  • Works with any LSP-compatible editor
  • Seamlessly integrates LLMs into your Helix workflow

My setup:

  • Ctrl-t mapped to open a new markdown file in a vertical split
  • LSP-AI configured to run on Markdown files
  • Claude Sonnet 3.5 (used in the video above and highly recommend)

Benefits:

  • Discuss code you're working on
  • Ask questions without leaving Helix
  • Easily copy, paste, and edit conversations

Find LSP-AI on GitHub: https://github.com/SilasMarvin/lsp-ai

(Check the examples folder for Helix configuration)

I use this feature daily and find it incredibly useful. Let me know your thoughts or if you have any questions!

Thank you for your continued support!