#til In #Godot when you attach a node with a scale as a child of one that doesn't support scale (Node vs Node2D for example), there is a flicker as the card is rescaled. Convert the node to a scale supporting type to fix this.
Sander van Dragt's Notes
-
-
#til In Godot, if a scene is instantiated at design time and a child is added to it, does the child belongs to the scene whose tree is currently open, or the scene it's attached to?
When duplicating a node (including a scene) at runtime it is the node tree where the node sits that is duplicated, so it includes the child. But if the scene is marked as a
InstancePlaceholder, andcreate_instance()is called at runtime, it creates a instance of the scene, and any attached children have to be duplicated and attached to the instance with code. #Godot -
#til In Godot, when you have a project containing a node
MyNodethat is a scene itself, andMyNodecontains two child nodes within the scene and one is added as a child ofMyNodein the project, the number ofget_children()that a script belonging to the root node of theMyNodescene returns is 3. #godot

-
Additional housekeeping routine prior to upgrading Ubuntu server
I upgraded one of my personal Ubuntu servers yesterday and with the knowledge of a good daily backup I knew I didn't have to prepare and see what I would encounter. This particular server has upgraded twice before, so has some custom and legacy configuration. After the third try I was successful and I wanted to share the following tips that helped me smooth out the upgrade process.
Clean up apt sources
The upgrade process will disable all third-party sources from your system to avoid complications updating system software, so it is helpful to be able to list all disabled sources. To aid in this I found it helpful to clear out the apt sources files before the upgrade my self.
In particular, in preparation of the upgrade, I removed .distUpgrade and .save files created by previous upgrades. I then removed all commented lines from the remaining source files starting with
# deb, then deleted any 0 byte files which have no content:find . -type f -size 0c -delete.This made it obvious what files had changed and what those changes are, that I needed to review. Typically by running
find . -name "*.list" -exec sed -i 's/jammy/noble/g' {} \;after the upgrade was complete.Update custom apt sources / PPAs before upgrading
It turns out I had Nginx and MariaDB installed pinned to a particular version that was no longer supported on the target Ubuntu Server version, this caused one upgrade to install the system versions which were incompatible with my configuration. On a second go, I first upgraded the software to the latest supported version for my legacy Ubuntu version, which updated the apt sources to something that was better supported.
Set DNS servers
Somewhere Ubuntu switched to systemd DNS management and I hadn't run
sudo nano /etc/systemd/resolved.confand set a DNS server, resulting in not being able to resolve any domains after the upgrade. I was able to set and verify theResolveDconfiguration before the upgrade as the system service was already installed. After this, I encountered no issues. -
Lamb 0.5.1
It's been a while since 0.5.0. Changes:
- Mainly third party package updates
- Compatibility fixes for atom feed
Originally written on lamb-releases:
What's Changed
Create FUNDING.yml by @svandragt in #97 Bump symfony/yaml from 7.1.5 to 7.1.6 by @dependabot in #99 Bump squizlabs/php_codesniffer from 3.10.3 to 3.11.1 by @dependabot in #100
-
GitHub, if you read this, please let me change the default e-mail address associated with my employer GitHub organisation to my work address, so that by default I don't have to change it from my personal one, when merging PRs. Thanks.
-
Saw you can get GitHub to generate a CSV file of the sponsorable direct dependencies your projects use! and then tweak the CSV and do one off/monthly sponsorships, getting insight into the number of sponsors and organisational sponsors. Nice!
-
If you're using Ubuntu 22.04 or derived distributions like elementaryOS 7.1 and are trying to run a gcc13 compiled program, such as Anytype 0.45+, you might find you need to upgrade your system libraries before it runs: https://stackoverflow.com/a/16605759/997
-
If you use WordPress for a blog, what is the plugin you can’t live without?
-
#TIL Deleted files can be restored in JetBrains products' Local History feature, such as PHPStorm.