0 Followers
0 Following
2 Posts

Help w/ Area2D and multiple on_body_entered()'s being triggered

https://lemmy.world/post/43648235

Help w/ Area2D and multiple on_body_entered()'s being triggered - Lemmy.World

Essentially, I have some Area2Ds in which I’m changing the direction of gravity. I only want this to happen if the player has enough speed. So, I was checking for that condition and setting gravity_space_override = Area2D.SPACE_OVERRIDE_DISABLED when the player was too slow. That’s when I ran in to this issue… Here is a minimal amount of code to reproduce my issue. On an Area2D, when my player enters it: func _on_body_entered(body: Node2D) -> void: if body is Player: print('enter') gravity_space_override = Area2D.SPACE_OVERRIDE_DISABLED gravity_space_override = Area2D.SPACE_OVERRIDE_REPLACE I see “enter” printed multiple times. If I comment out the last two lines, “enter” is printed once, as I’d expect. How might I modify gravity_space_override without having the body_entered signal firing off again?

Can other countries impose sanctions on the US?

https://lemmy.world/post/41196779

Can other countries impose sanctions on the US? - Lemmy.World

Seems like that is the default course of action when one country is doing a “bad” thing that the US or Europe doesn’t like. I’ll admit that I don’t really know how that works, or how it’s enforced, or whatever. But could the EU and/or Canada or even China impose sanctions on the US now since the US is doing, um, very bad things?

Did the kernel get a lot bigger recently?

https://lemmy.world/post/36414680

Did the kernel get a lot bigger recently? - Lemmy.World

I have a 500MB boot partition, and I keep only the linux and linux-lts kernels. Recently I see that the partition only has about 23Mb free. Is there some recent change which increased the kernel’s size significantly?

New to Godot, I have some quick questions on the editor

https://lemmy.world/post/34103270

New to Godot, I have some quick questions on the editor - Lemmy.World

Hello, as the title says, I am very new to Godot. I just finished following the 2D Game Tutorial [https://docs.godotengine.org/en/stable/getting_started/first_2d_game/index.html], and I have a question on this part: https://github.com/godotengine/godot-demo-projects/blob/bf4d1038d623c355f3b49e613a2c9b686eebb312/2d/dodge_the_creeps/main.gd#L44 [https://github.com/godotengine/godot-demo-projects/blob/bf4d1038d623c355f3b49e613a2c9b686eebb312/2d/dodge_the_creeps/main.gd#L44] Basically, I had the idea to play around and try to give the mob a curved path, so I tried mob. in Godot’s script editor looking for the completion engine to find me things similar to .linear_velocity only to find nothing, and also that linear_velocity didn’t even show up as an autocomplete suggestion. No errors or warnings, and the code runs fine. Question 1: Why does linear_velocity not get suggested? How can I change that, so I can have the editor help me learn the language and APIs? ___ Question 2: Unrelated to the above. I like Vim motions. Any suggestions on either: - Installing a Godot plugin to get Vim bindings? - Setting up Godot to use Neovim as my external editor? - Just using Neovim externally to edit my GD scripts? Just looking for thoughts on what people use and like.

Is it possible to get access to files in an old/inactive S3 bucket?

https://lemmy.world/post/32684565

Is it possible to get access to files in an old/inactive S3 bucket? - Lemmy.World

Many moons ago I was in a band, and we had a website with our songs stored in Amazon AWS. I recently found that our site was archived on the Way Back Machine. But unfortunately, the audio was in S3 and those URLs don’t work. WBM did not archive these URLs (understandably). I no longer have any AWS account because Amazon is poopy. Are these files lost to time, or is there some magic way to retrieve them?

Cannot detect eMMC during install on Chrombook

https://lemmy.world/post/30937570

Cannot detect eMMC during install on Chrombook - Lemmy.World

Hello! I am trying to install Mint on an Acer C720P Chromebook that previously was running GalliumOS. I cannot for the life of me get the Linux Mint Live USB to recognize the internal eMMC storage so I can install to it. I have an Arch live iso that has no issue seeing the device or formatting it, so I don’t believe it’s a BIOS or hardware issue. I have tried both GPT and MBR, and I have also tried LMDE, all to no avail. Please, are there any tips or things I can try to get Mint to recognize the eMMC? I want to install this to give to a friend and I really feel that Mint is a good choice for her if I can just get it to install. If it matters, the BIOS is https://docs.mrchromebox.tech/docs/fwscript.html [https://docs.mrchromebox.tech/docs/fwscript.html]

Why don't these code-writing AIs just output straight up machine code?

https://lemmy.world/post/29760448

Why don't these code-writing AIs just output straight up machine code? - Lemmy.World

For background, I am a programmer, but have largely ignored everything having to do with AI (re: LLMs) for the past few years. I just got to wondering, though. Why are these LLMs generating high level programming language code instead skipping the middle man and spitting out raw 1s and 0s for x86 to execute? Is it that they aren’t trained on this sort of thing? Is it for the human code reviewers to be able to make their own edits on top of the AI-generated code? Are there AIs doing this that I’m just not aware of? I just feel like there might be some level of optimization that could be made by something that understands the code and the machine at this level.

The Contortionist - Monochrome (Passive)

https://lemmy.world/post/28936614

The Contortionist - Monochrome (Passive) - Lemmy.World

And for the closer track, Monochrome (Pensive): https://youtu.be/Em8X3UVIX5w?list=OLAK5uy_ms-vQooC9LSP6KtIGJZDtns9NYdXUGUB0 [https://youtu.be/Em8X3UVIX5w?list=OLAK5uy_ms-vQooC9LSP6KtIGJZDtns9NYdXUGUB0]

Frost* - Evaporator - Lemmy.World

I recently came across this band and can’t recommend this enough to prog or prog metal fans. This whole album is gold.

What are people usong as thei music player app nowadays?

https://lemmy.world/post/26564745

What are people usong as thei music player app nowadays? - Lemmy.World

I have been using Lollypop on my phone for about 2 years now. I have tried a few other apps but nothing worked quite as well for me as Lollypop. That said, I still have a lot of gripes with Lollypop. Rather than complain about it, though, I’d rather hear about something new. The last time I went looking for a new app was in 2023. Is there anything new in 2025 worth checking out? ___ My wants: - Large-ish local library (350gb) and I want it to load/scroll through fast. Lollypop is quite slow here. - I really prefer the UI to list artists, open one, then list albums, open one, then list songs. Too many apps list all your albums, or all your individual songs, and I hate this.