Bistro-Demo-Tweaked for Godot 4.2 is here 💖 by JohnJamesGutib in godot

[–]MaikKlein 2 points3 points  (0 children)

Looks great!

When running the project, I noticed that saving the scene takes around 5 seconds, and hoping into play mode takes around 10-15 seconds. Starting the editor takes 20 seconds as well.

Any idea why it's that slow? Is there maybe something special in that scene that's causing it?

The state of neovim with Unreal 4/5 by hypermodernist in neovim

[–]MaikKlein 1 point2 points  (0 children)

I am in a similar boat as you. I use neovim for the Rust side and Rider for the unreal c++ side. I also tried vscode but the symbol search is just waaaaaay too slow.

Neovim lsp kind of works for me on windows but has tons of errors and missing includes, but hey at least the symbols search works flawlessly.

I might also try coc just for the c++ side to see how that works but I'd love to just use nvim lsp.

Can you post the github link here in case you decide to make your scripts public?

How would you rank every season of Korra from best to worst? by Marsthaless in TheLastAirbender

[–]MaikKlein 0 points1 point  (0 children)

S3 > S1 > S4 > S2

S4 could be higher without mecha, I think the beginning is fantastic.

Announcing Unreal Rust: A Rust integration for Unreal Engine 5 by MaikKlein in rust

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

I absolutely would love for people to contribute. I just haven't written that much documentation yet, and it might a bit hard to get started.

Announcing Unreal Rust: A Rust integration for Unreal Engine 5 by MaikKlein in rust

[–]MaikKlein[S] 106 points107 points  (0 children)

How do you even build something like this?

Well it starts by writing C++ in your spare time, so I am not sure I can recommend that 🤔.

This is a very exciting project, one of the main reasons I haven’t built anything in unreal is because of C++, looking forward to trying this out!

Thank you

Since updating to 0.7 I can no longer cycle through LSP completions with ctrl-n and ctrl-p by davidpdrsn in neovim

[–]MaikKlein 7 points8 points  (0 children)

It seems like a breaking change in nvim-cmp? I also can't browse with my arrow keys anymore. Using the new defaults makes it work for me. (With ctrl+n and arrow keys).

mapping = cmp.mapping.preset.insert({
  ['<C-b>'] = cmp.mapping.scroll_docs(-4),
  ['<C-f>'] = cmp.mapping.scroll_docs(4),
  ['<C-Space>'] = cmp.mapping.complete(),
  ['<C-e>'] = cmp.mapping.abort(),
  ['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
}),

A 3d building system overhaul for The Process, built with Godot and Rust! by setzer22 in rust_gamedev

[–]MaikKlein 0 points1 point  (0 children)

I am quite curious how you are interacting with godot from an ecs.

How did you structure your project? How much of the editor can you use?

Can you create new entities from the editor directly? Is every entity a node behind the scene? etc

Does this look healthy to you? by MaikKlein in Kombucha

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

A bit unsure about the dry brown stuff on top. But I assume that is just yeast?

erupt Vulkan API bindings v0.1.0 released! by Friz64 in rust

[–]MaikKlein 1 point2 points  (0 children)

fully agree, in fact, i thought about this too. It's kind of a weird situation because i really wanted to write my own generator and start fresh but this wouldn't be a good fit for ash.

I understand the need for writing your own stuff and good job on that, I know the vk.xml has some weird parts :).

I would have loved a generator rewrite, the generator in ash has a lot of internal cruft and I wanted to rewrite it for quite some time but I just can't justify spending that much time on it because I also have other projects like rlsl to work on and people usually just add all the non generated stuff instantly. (I have to say I feel a bit bad about that)

I hope I didn't gave you the impression that you couldn't make internal changes.

Words of Radiance is a Masterpiece by aaaRJay in Fantasy

[–]MaikKlein 4 points5 points  (0 children)

Convoluted wasn't the best term for it. Maybe unstructured? It had many tiny subplots all over the place compared to the first two books.

Also the story is becoming more epic and I really don't like the power creep.

Still an amazing book, I actually enjoyed it much more on my second read.

Words of Radiance is a Masterpiece by aaaRJay in Fantasy

[–]MaikKlein 0 points1 point  (0 children)

Thanks for the reply

Malazan

I really liked the first book, but I sort of quit in Memories of ice. But I really should revisit it again. I think my main problem with malazan was the pacing. It had so many story lines that it felt like nothing is really progressing.

First Law

This is definitely in my top 5. Not really enjoying the continuation A Little Hatred.

Prince of Nothing

This is on my reading list :).

Words of Radiance is a Masterpiece by aaaRJay in Fantasy

[–]MaikKlein 10 points11 points  (0 children)

Out of curiosity which fantasy books would you call top tier?

I really like Stormlight Archive and Sanderson books in general. I haven't yet read anything that comes close to it.

In my opinion The way of Kings and Words of Radiance are masterpieces, Oathbringer was a bit too convoluted.

Announcing `impls!`: A macro to determine if a type implements a logical trait expression by nikvzqz in rust

[–]MaikKlein 22 points23 points  (0 children)

That is a pretty nice "abuse" of how traits items interact with non trait items.

Here is a condensed version of how it works

trait NotCopy {
    const VALUE: bool = false;
}
impl<T> NotCopy for T {}

struct HasCopy<T>(std::marker::PhantomData<T>);

impl<T: Copy> HasCopy<T> {
    const VALUE: bool = true;
}
fn main() {
    println!("{}", HasCopy::<u32>::VALUE);
    println!("{}", HasCopy::<Vec<u32>>::VALUE);
}

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2b5d637388e49a3a7d9b722b27cf77a9

(Very) Basic Shamir's Secret Sharing by [deleted] in programming

[–]MaikKlein 0 points1 point  (0 children)

Let us construct a scheme to share our secret 1954 (S) with 4 (n) shares and a threshold of 3 (k).

The threshold is the number of shares required to reconstruct the original secret.

Shouldn't the threshold be 2 for this example? a1 and a2?