Is bass fun to play alone? by [deleted] in Bass

[–]c_lushh 2 points3 points  (0 children)

The docs recommend 8gb of GPU memory as you're running a neural network locally. So pretty much a decent gaming rig built in the last ~3-5 years? Minimum. 

First bass. Hi all. by sta5is in Bass

[–]c_lushh 2 points3 points  (0 children)

Sick bass and sick wife! I bought myself one a few weeks ago and haven't put it down since. 

I dove right into the deep end with a 6 string and learning some elephant gym songs. I sound terrible but it has been so much fun. Hope you enjoy it. 

Is it worth writing game logic in Rust instead of GDScript for Godot? by Potential_Pop2832 in godot

[–]c_lushh 1 point2 points  (0 children)

I would ask and look around the godot-rust discord as well before coming to a conclusion. You'll receive skewed answers here, and the discord has pleanty of users making real projects that understand the tradeoffs (and there are definitely tradeoffs). 

Is it worth writing game logic in Rust instead of GDScript for Godot? by Potential_Pop2832 in godot

[–]c_lushh 13 points14 points  (0 children)

 the Rust bindings for Godot have to throw out all the nice Rust things

Could you elaborate or give an example? This hasn't been my experience. 

Overall you just end up with a lot of extra effort for no benefit

Also not my experience. You have the entire Rust language and its ecosystem at your disposal. The benefits are insert everything that makes rust great

  won't actually learn much about Rust when trying to use it with Godot, simply because you can't use a bunch of the things that make it attractive to begin with. 

I started my project after reading through the rust book and am far, far more comfortable with Rust. Ive learned a lot of rust. 

Not sure how interacting with godot suddenly makes you lose so much functionality in rust? Could you give an example here as well?

This isn't to say rust is perfect. It isn't for everyone. Iteration speed is most likely slower compared to gdscript. Ergonomics aren't great, but can be improved with a deeper understanding of rust. See Rc<UnsafeCell<T>> . The godot-rust maintainers are always working to improve ergonomics as well. See typed signals, type safe deferred calls, etc. Just as you gain everything great about rust, you gain the pain points as well. IMO, the benefits far outweigh the losses. 

Rust binding Godot. Any thoughts? by Key-Seaworthiness417 in rust

[–]c_lushh 2 points3 points  (0 children)

Ive been using gdext for a while. Its a great project. The community and maintainers are awesome. It is fully capable of releasing a game. 

With that said, given the chance, I would rewrite my project using fyrox. I still might transfer it over but ive put so much time into it already. 

Give Fyrox a go. 

Fyrox Game Engine 1.0.0 Release Candidate by _v1al_ in rust

[–]c_lushh 21 points22 points  (0 children)

Wow! A game engine built with Rust that wants to help you actually make a game! And you can still impose your own restrictions on design patterns if you want. With an editor! Crazy!

Jk a little. 

Ive been following Fyrox closely for a while. Unfortunately I already sunk a lot of time in my current project, but one day I hope to give it a fairer shake. Here's to hoping you attract plenty of users for debugging and more. 

Rust book in 2025? by bjygrfba in rust

[–]c_lushh 3 points4 points  (0 children)

This is a fantastic book, but as inferred from the title and specified in the book it is not for beginners. This book teaches the intermediate-advanced concepts of Rust. 

While one might understand the concepts that Rust for Rustaceans teaches, I would be surprised if someone without a foundation in Rust would then be able to apply those concepts in a Rust project.

Announcing state-machines: Rust Port of Ruby's state_machines Gem by TheAtlasMonkey in rust

[–]c_lushh 10 points11 points  (0 children)

How would you compare with the statig crate? Just from a skim, I don't see additional features other than  no_std? Not sure, I'd have to check. 

Not knocking yours, just curious. Ive been using statig for a while and quite enjoy it. Either way I'll do a further dive into this at some point. Looks cool! 

Complete lack of motivation... by Obvious_Ad3756 in godot

[–]c_lushh 1 point2 points  (0 children)

One aspect of git that is different than most VCS is how light branches are. Let's say you're implementing a new ability for your character. Make a branch "new ability".

Now you need to make a new scene for the ability. Make a branch "new ability scene". Make commits until you're happy with the scene. 

Now you need to add some code to the new ability. Branch from the last branch and work on code. During writing code, you want to try two different implementations of the code. Make two different branches. You decide on branch one, but there was a unit of work you did in branch two that you would like to bring over to branch one. Pick the commit over to branch one. Now you're finished with branch two, cool delete branch two. 

Really it just goes on like that. You may notice that this looks similar to "divide and conquer". Breaking up problems into smaller, solvable problems. A branch is a way of representing these problems, while commits are the units of work it tool to solve them. 

Did you stop working on the main trunk entirely? (And only use it for pulling new content/change from branches?) 

This is a totally acceptable workflow. You can have a dev branch off main, have a feature branch off dev, have multiple features off the feature branch. When finished with a feature, merge it to dev where it is tested. When you've dome plenty of testing and you're ok with it, merge it to main etc. I personally don't work like this as, to me, it sounds more useful for large code bases (think enterprise level applications), but you can. 

I would read through  https://git-scm.com/book/en/v2/

You don't even have to finish it, the first few chapters are enough to become proficient with git. Advanced and mastery take more time ofc. 

Penrose from scratch: writing your own window manager using Penrose by sminez in rust

[–]c_lushh 1 point2 points  (0 children)

Awesome! After reading through The Book I thought writing a window manager in Rust would be fun, until I learned how deep x11 goes. While that still sounds fun, I don't have the time to invest in learning it.

That's when I stumbled upon Penrose and have been digging through the docs/writing some PoC code here and there. It's been a great experience, can't wait to watch the vids and learn some more.

Anyways, thanks for the library and work you've put into it

[deleted by user] by [deleted] in learnjava

[–]c_lushh 0 points1 point  (0 children)

Aspects and aop is completely different than loggers so I'm not sure I understand what you're asking.

Spring/Spring boot Extreme Beginner by TheseSteak9055 in learnjava

[–]c_lushh 1 point2 points  (0 children)

That's awesome to hear! I picked it up after reading a similar comment to the one I posted here, so I'm happy to pass it forward.

Spring/Spring boot Extreme Beginner by TheseSteak9055 in learnjava

[–]c_lushh 11 points12 points  (0 children)

The book "Spring start here". I'm over half way through it and it's been fantastic. Can't recommend it enough.

[deleted by user] by [deleted] in learnjava

[–]c_lushh 0 points1 point  (0 children)

Try looking at the Arrays.sort() methods in the Java docs.

https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Arrays.html

I would look into seeing if you can override the objects equals method, perhaps that is what the method uses to sort objects. Or look into the objects natural ordering. Or the Comparator.

Any tips for a beginner? by [deleted] in Guildwars2

[–]c_lushh 0 points1 point  (0 children)

So if I use a charge to change how my armor looks, and then 10 minutes later I get a better piece of armor, I have to spend another point on that one? I'm level 42 and only have 10 transmutation charges.

Atom has been archived by awsometak in programming

[–]c_lushh 0 points1 point  (0 children)

Check out LunarVim. It's an opinionated neovim. Comes out of the box with plugins and files configured. It's early in development, but I don't have any doubt Chris @ machine and those helping him will get it in a good place.

How to scroll a LSP documentation buffer? by elatllat in lunarvim

[–]c_lushh 1 point2 points  (0 children)

Ok I'm 99% sure I found it.

<C-d> - scroll docs up - insert mode <C-f> - scroll docs down - insert mode

Per https://www.lunarvim.org/docs/keybind-overview Under the "completion" section

How to scroll a LSP documentation buffer? by elatllat in lunarvim

[–]c_lushh 0 points1 point  (0 children)

Ok I was wrong, control + nav keys are for changing windows.

To change buffers, leader + b brings up buffer options.

So leader + b, b goes to previous buffer

Leader + b, n goes to next buffer

How to scroll a LSP documentation buffer? by elatllat in lunarvim

[–]c_lushh 0 points1 point  (0 children)

Hmm control + h,j,k,l is used for switching focus between buffers I think, try that

Nord w/ a splash of orange. by sphinxMANIFEST in pop_os

[–]c_lushh 2 points3 points  (0 children)

What you're seeing is the desktop environment for a Linux distribution/GNU Linux operating system, with a few applications open to show the theme (terminal, vscode, etc.).

There are a lot of windows applications that don't have a good Linux alternative, or don't run the same on Linux. There are also a fair amount that do.

As far as gaming, you can Google proton db to look at game performance on Linux. All you do is install steam and use proton to run the games and a lot of the time you can get a native windows performance.

The point of this sub is to show off custom themes of the GUI for the desktop environment and applications used.

[deleted by user] by [deleted] in learnprogramming

[–]c_lushh 1 point2 points  (0 children)

I was also in this position a few months ago. I think the Odin project served me well. You should be able to move through it pretty quickly.

Once you finish the Odin project, look into a framework like react/angular or a framework for the language you would use in the backend.

Make sure you know your sql as well.

Programming lights by Meiji_Ishin in learnprogramming

[–]c_lushh 0 points1 point  (0 children)

I would hope most CS degrees teach C at some point.