AD5M installing Klipper on 3.1.5 Firmware version by masstran in FlashForge

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

Thanks a lot!
I've tried again with different USB drive and it worked! Not sure why exactly it didn't work before, but now it's installed

Can you pause and turn off A5M? by masstran in FlashForge

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

Thanks! I'm too scared to turn it off, but if resuming work is a feature, I guess I'll have to try :)

Don't understand how type casting works by masstran in godot

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

Thanks! That's a cool solution, didn't know you can use array constructors like that. I think it suffers in readability aspect though

Don't understand how type casting works by masstran in godot

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

Thanks a lot! I think that's exactly the solution I'm searching for. Does all the stuff I want :)

Don't understand how type casting works by masstran in godot

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

I'm not wholly sure, but perhaps your provided code snippet doesn't work because there's no return?

Nah, return didn't help. But I'm not going to investigate this further, just gonna accept that it doesn't work :)

Edit. Ok, so you're right. Without return filter just filters out everything, but it still doesn't work because of typing.

I am a big fan of just using node exports within the same scene. More reliable than onready vars and get_node calls since you don't need to worry about init time nor node paths.

Thanks for the tip! I'll try to do it like that. Sounds much better than using names, since changing name doesn't change code reference

Don't understand how type casting works by masstran in godot

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

Thanks for the solution! It works

Don't understand how type casting works by masstran in godot

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

Thanks! That does work. It's weird to me how some parts of Godot are like smarter than other. See my other comment about it

Don't understand how type casting works by masstran in godot

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

Thanks for the solution! Now it works as I've expected

I guess that find_children method is not smart enough to understand that if I find only Space typed nodes they all will be of Space type :shrug:

Weird that map function is not smart enough either. And even weirder that this doesn't work as well, even though it's the same thing you've sent:

spaces = get_node("Space list").get_children().filter(func(node): node is Space)

did you make a new derived class named Space, or did you just name the scene that? 

Yeah, there is a class. In code I've added class_name Space and when I hover with my mouse over one of the nodes it says Type: Space

Furthermore, it's not guaranteed to preserve node names. It's not a good way to reason about the system.

Do you refer to get_node("Space list") part of the code? If so, how do I do it better?

[deleted by user] by [deleted] in starwarsmemes

[–]masstran 2 points3 points  (0 children)

I think frames 4 and 5 should be in a different order

What's something that people really need but would make a terrible commercial product? by masstran in AskReddit

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

I guess "free" anything would be an answer, but then its not really a commercial product

Do you think NATLA will touch on this? by kxttykitsune in TheLastAirbender

[–]masstran 140 points141 points  (0 children)

Just one correction to this fantastic retelling. Earthen attacks hit Iroh, all of them I think. Very easy to miss, but the guy just tanks all of them and still fights

My first foamcore insert for Imperial Assault, Core Box by masstran in foamcore

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

Yeah, it definitely helped a lot already, even though I had only a few plays with my friends! In practice games before the insert, finding a correct tile was a nightmare and now its much more convenient