tuto193

joined 1 year ago
MODERATOR OF
[–] tuto193 4 points 3 months ago

Nutze NixOS zu Hause und bei der Arbeit. Solange man die Sprache einigermaßen versteht, ist es ziemlich easy und die Wiki/die Options sind schon verständlich. Meine Kollegen nutzen Bogen und ich kann nichts damit anfangen.

[–] tuto193 2 points 7 months ago (1 children)

I don't really associate them with child predators, but I personally find them staches ugly AF. But I'm just a millenial, so you do you.

[–] tuto193 4 points 8 months ago* (last edited 8 months ago) (2 children)

GPU acceleration

All the needed AMD stuff is pretty well documented in the manual. I'm gaming on NixOS with even my "relatively old" AMD GPU.

nixgl

The only time I heard about needing that was when using plain "nix" (not NixOS), as in using Nix under any other OS, to run graphical applications. I haven't touched nixgl at all, and don't see the need for it.

alacritty and kitty

Literally my terminals (kitty is my main) + foot. Both working easily either under main NixOS config or Home-Manager. What's supposed to not be working there?

Literally don't know what your problems are/where they lie. I'm a Linux noob (don't even have the patience for Arch Wiki + install), coming from Pop_OS to NixOS and I'm happy it's all so easy. I've installed it on my main PC and two separate laptops and so happy to just share (basically) the same config on all of them.

[–] tuto193 3 points 8 months ago (4 children)

I love NixOS! Been using it on all my devices since January and probably never going back :)

It all sinply just works™! Don't worry about configuration :) As long as you're not using relatively obscure software, you'll be more than fine reading the docs/manual :)

If you still want to use obsure stuff though, the community on matrix is very active and helpful! Plus most (interesting) projects have at least one or two very dedicated Nix fanatics (/maintainers) willing to help others :D

[–] tuto193 9 points 8 months ago

Boxer-briefs 100%

[–] tuto193 3 points 8 months ago

This is what I mean when I say that I'm in a pickle.

[–] tuto193 7 points 8 months ago

Where am I to do unholy things now behind my partner's back?

[–] tuto193 9 points 8 months ago (1 children)

I'm more of a bottom, if you know what I mean.

[–] tuto193 0 points 8 months ago

My interest in the different kinds of tits was present already from a very young age

6
submitted 8 months ago by tuto193 to c/godot_rust
[–] tuto193 3 points 8 months ago

"... when smashed against the wall at the speed of sound" Jk. Will read the article

[–] tuto193 1 points 8 months ago

That wasn't even a teaser. It was basically a slideshow :(

[–] tuto193 4 points 8 months ago

I'm doing Game Dev with Rust (Godot + gdext in my case). Sadly it's just hobby projects, but would love to actually use rust (at all) at work.

I choose Rust over other languages (C#, Python, GDScript, C++, etc), because I enjoy writing in Rust.

I love that it's so concise and easy to read, while providing super useful errors at compile time, and great auto-completion thanks to the rust-analyzer. Despite it being a much more complicated languages than almost even C++, it provides so much useful information when writing/compiling, that running can be mostly taken for granted (but shouldn't of course).

I don't need to worry about types or pointers, but rather about writing what I want in Rust, which is simply too much fun.

74
Bananun rule (lemmy.world)
 
5
Godot-rust now has a devlog! (godot-rust.github.io)
submitted 1 year ago by tuto193 to c/godot_rust
 

From Bromeon:

"Small API change with https://github.com/godot-rust/gdext/pull/370.

There is no more implicit base in user methods, to make a clearer separation between the Rust object (self) and the Godot one (self.base).

fn method(&self) {
    // instead of:
    let pos = self.get_position();
    // now:
    let pos = self.base.get_position();
}

On the other hand, Gd now always has Deref and DerefMut, not only for Godot objects.

fn free_function() {
    let obj: Gd = ...;

    // instead of:
    let pos = obj.bind().get_position(); // or
    let pos = obj.upcast::().get_position();
    // now:
    let pos = obj.get_position();
}

I also improved some safety around the internal instance storage in the process.

In the near future, we need to observe whether the slightly more verbose self.base instead of self is a real issue in practice. However, it comes with quite a few advantages:

  • It's easier to keep the user object self and the Godot object self.base apart, when not all symbols are in one namespace.
  • It's less tempting to do gd.bind_mut().get_position().
    • Now it would be gd.bind_mut().base.get_position() -- however one can as well do gd.get_position() directly. The user is encouraged in the right direction.
  • Users can implement their own custom Deref/DerefMut on T, we don't impose an implementation.
  • We don't cause compilation errors due to orphan rule, if T lives in another crate.

So if you want to update, keep in mind that this has not yet fully settled and may see some changes again 😉"

 

A world-bending platformer uses godot-rust's GDNative bindings (made in Godot 3.3.3)

 

cross-posted from: https://lemmy.world/post/1188351

Hand for scale, because there were no bananas at hand

13
submitted 1 year ago* (last edited 1 year ago) by tuto193 to c/[email protected]
 

Hand for scale, because there were no bananas at hand

 

Explicitly posting on this (lemmy.ml based) community... tl;dr: title (which is from a couple years ago)

Just wanted to check what's the community's stand on this, and hopefully see if the devs came around to "fixing" the issue.

Just wanted to post this for more completion https://lemmy.world/post/1236428

view more: next ›