what prevents the potential hackers from finding where the token is stored and using it to decompile the build
Therein lies the fundamental problem with all measures to prevent copying or reverse engineering.
You have to supply the user with all the data necessary to execute the software - which is, by necessity, all the data necessary to reverse-engineer it. You can obfuscate the software to slow down the reverse-engineer, but you can't stop them entirely.
The hard limits on floats are extremely large (about 228 for FP32).
However, you will run into problems long before hitting the limit. FP32 stores 24 bits of precision. Think of floating-point like a binary version of scientific notation: you can only write so many digits, so if your number is large, small differences will be lost.
Every time you double the number, the minimum representable difference will also double. So while you almost certainly won't reach the hard limit, the degradation of precision may have noticeable effects.
For a quick table of values to give a sense of how FP32 degrades:
Number
Next representable number
Notes
1
1 + 1.19e-7
1.19e-7 is the FP32 machine epsilon
524 288
524 288.06
Godot's physics steps are 40 times per second, so moving 1 unit per second moves you 0.025 units per step. So moving at 1 unit per second will stop working here.
8 388 608
8 388 609
Sub-integer precision is lost entirely.
16 777 216
16 777 218
Counting will stop working here.
We can use the second entry see that, since the "breaking point" scales approximately linearly with velocity, motion at constant velocity (starting at the origin) will stop working after 524288 seconds, which is about 6 days.
Godot, like most game engines, uses FP32 by default, but can be configured at compile-time to use FP64 instead. FP64 is generally a bad choice for games, as consumer GPUs often have very poor FP64 performance*. This needs to be worked around - and no workaround for this will ever be as fast as just using FP32 consistently.
* For NVIDIA GPUs, FP64 is generally 64× slower than FP32. For AMD GPUs, FP64 is generally 32× slower than FP32. Intel GPUs have much better FP64 ratios, but it is still 4-8× slower. Note also that OpenGL and Vulkan devices are only required to support FP32; support for FP64 is an optional extension.
Most obviously, linked lists do not support indexing. The only way to get an arbitrary element from a linked list is to iterate, which is O(n).
More subtly, linked lists also have really slow iteration, due to having a very unpredictable access pattern. Iterating through a linked list will produce a cache miss on every single iteration, which means each iteration costs about 100ns.
Usually, programs which benefit from linked lists make heavy use of their O(1) append and split operations. Otherwise, arrays are almost always better.
Yes, that is a term to be wary of. That's exactly why I pointed it out.
They do advertise that "Xogot projects are fully compatible with desktop Godot", so if they do impose a licence change that you don't agree to, you should be able to cease usage of Xogot and go back to using Godot without losing any work.
Xogot's licence, in particular the section titled "Limitations of Use", explicitly forbids study, modification, and redistribution, as well as restricting the purposes for which you can run the software.
Furthermore, they can change the terms at any time with immediate effect.
From what I gather, the compromised library checks if it is being called by Debian's sshd, and if it is, it starts pokng around in memory, presumably to read the user's secrets. It may also have other, currently unknown, malicious behaviours.
How do you (personally) make sure that not only the main AUR package is safe enough for you to use but the dependencies as well?
Read the PKGBUILDs before you makepkg.
All good AUR helpers will show you the diffs of all newly fetched PKGBUILDs. This gives you the opportunity to read and approve (or reject) the PKGBUILDs.
for example polkit-git, even if the Arch Extra repo contains a newer version
Don't pay any attention to the version numbers written on -git packages. -git packages get the latest version of the source code, direct from the development repository. This means you get the newest version.
Beware: -git packages also give you the newest bugs.
Even with relatively bug-free software, make a backup before doing anything with partitions. Even if your software is perfectly bug-free (an unrealistic assumption), you are a human - you make mistakes. You don't want to, for example, accidentally delete the partition with all your important files on it.
a lot of the 'eyes' are actually devs paid by commercial companies
I don't see this as a downside. Some of these companies have huge sums of money at stake. Security bugs are even more of a concern to these companies than they are to us ordinary users.
There is even some debate in security circles if 'security by obscurity' isn't a better practice for certain domains.
This is not new. Opposition to security through obscurity dates back to 1851 (although at that time, it was about the design of locks, and the term "security through obscurity" is much more recent).
Reliance on security through obscurity is considered to be a common software weakness (CWE-656). For your software to be secure, its security must not depend on the secrecy of implementation details.
Parts of it are open-source, but parts of it are under the Android Software Development Kit Licence. This licence states:
3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.
The AUR package is legal, because it just fetches and installs it from Google. However, distributing the built package (the .pkg.tar.zst file), which is what would happen if the package entered an official repository, would be illegal.
For any Windows software you need, you can look it up on WineHQ AppDB.
Software is rated from "Garbage" to "Platinum". "Garbage" means it does not run well, "Platinum" means it runs perfectly. Clicking on the rating will give a detailed report of which Wine version was tested (a warning is displayed for particularly old versions), what features work, and what features are broken.
This is the EFI System Partition, which is formatted FAT, and hence readable by Windows.
As for your question: There is no way to hide a partition from Windows. Windows is an operating system, and hence while it is running, it gets unfettered access to your entire computer. In fact, Windows can see your other partitions too - the only reason it does not display them in "This PC" is because it doesn't have the necessary drivers for reading them.
If you distrust Windows to the point that you don't want it seeing your ESP, then you certainly should not be running Windows on bare metal.
If you do not distrust Windows to this degree, then there is nothing to worry about here.
You'd need to maintain your own repositories at the very least.
The hard way is to make your repositories from scratch. You'll need to package updates for thousands of software projects. Furthermore, you'll also need to test all those updates. This is a very difficult task, and all big distributions have a lot of people dedicated to keeping the packages up to date.
The easy way is to just pull in the packages from another distribution, and host them on your own servers. This is generally what derivative distributions (e.g. EndeavorOS, Linux Mint, etc) do. This generally locks you in to using the same tooling as the upstream distribution.
Unless you're doing it as an educational exercise, you'll probably want something to set it apart from all the existing distributions - otherwise, there's not much point. For example, what set Arch apart was its easy-to-use build system, as described in the Arch Linux 0.1 news entry.
If you want to make your own distribution, a good starting place is Linux From Scratch.
I can guarantee I'll just want to play with it and accidentally make a custom kernel and or break it completely in the process
If you want to tinker around with the kernel, I'd suggest doing it in a virtual machine.
then what makes ubuntu ubuntu and arch arch or debian debian if they all have a common kernel, doesn't that make them all essentially the same?
The main difference between distributions is the package manager, the repositories, the release cycle, how long each release is supported for, and the default packages in the base install. Some distributions also modify packages by applying patches - mostly to fix bugs and security issues in LTS releases.
The kernel is one of the most important parts of the OS, but it is also one of the parts that users generally don't interact with directly. As such, there is little point in distributions patching the kernel, unless there is some unusual kernel feature that the distribution needs - and even then, Linux has a very good interface for writing kernel modules, so you still probably don't need a patch, just a kernel module.
Therein lies the fundamental problem with all measures to prevent copying or reverse engineering.
You have to supply the user with all the data necessary to execute the software - which is, by necessity, all the data necessary to reverse-engineer it. You can obfuscate the software to slow down the reverse-engineer, but you can't stop them entirely.
The hard limits on floats are extremely large (about 228 for FP32).
However, you will run into problems long before hitting the limit. FP32 stores 24 bits of precision. Think of floating-point like a binary version of scientific notation: you can only write so many digits, so if your number is large, small differences will be lost.
Every time you double the number, the minimum representable difference will also double. So while you almost certainly won't reach the hard limit, the degradation of precision may have noticeable effects.
For a quick table of values to give a sense of how FP32 degrades:
We can use the second entry see that, since the "breaking point" scales approximately linearly with velocity, motion at constant velocity (starting at the origin) will stop working after 524288 seconds, which is about 6 days.
Godot, like most game engines, uses FP32 by default, but can be configured at compile-time to use FP64 instead. FP64 is generally a bad choice for games, as consumer GPUs often have very poor FP64 performance*. This needs to be worked around - and no workaround for this will ever be as fast as just using FP32 consistently.
* For NVIDIA GPUs, FP64 is generally 64× slower than FP32. For AMD GPUs, FP64 is generally 32× slower than FP32. Intel GPUs have much better FP64 ratios, but it is still 4-8× slower. Note also that OpenGL and Vulkan devices are only required to support FP32; support for FP64 is an optional extension.
Linked lists are almost always the wrong choice.
Most obviously, linked lists do not support indexing. The only way to get an arbitrary element from a linked list is to iterate, which is O(n).
More subtly, linked lists also have really slow iteration, due to having a very unpredictable access pattern. Iterating through a linked list will produce a cache miss on every single iteration, which means each iteration costs about 100ns.
Usually, programs which benefit from linked lists make heavy use of their O(1) append and split operations. Otherwise, arrays are almost always better.
That code sample is for Godot 3.
In Godot 4, the function has been renamed to
instantiate.Yes, that is a term to be wary of. That's exactly why I pointed it out.
They do advertise that "Xogot projects are fully compatible with desktop Godot", so if they do impose a licence change that you don't agree to, you should be able to cease usage of Xogot and go back to using Godot without losing any work.
https://xogot.com/terms-of-service
TL;DR: No. It is not free software.
Xogot's licence, in particular the section titled "Limitations of Use", explicitly forbids study, modification, and redistribution, as well as restricting the purposes for which you can run the software.
Furthermore, they can change the terms at any time with immediate effect.
(I am not a lawyer. This is not legal advice.)
The
xzpackage has a library in it,liblzma.so.From what I gather, the compromised library checks if it is being called by Debian's
sshd, and if it is, it starts pokng around in memory, presumably to read the user's secrets. It may also have other, currently unknown, malicious behaviours.Arch isn't vulnerable to the
sshdattack vector, so even if you do usesshd, you should be fine... for the sshd attack vector.The behaviour of the backdoor hasn't been entirely worked out yet. There may be currently-undiscovered attack vectors targetting other programs.
The safest move is to upgrade your system ASAP.
Read the PKGBUILDs before you
makepkg.All good AUR helpers will show you the diffs of all newly fetched PKGBUILDs. This gives you the opportunity to read and approve (or reject) the PKGBUILDs.
An example of a good AUR helper is paru.
Don't pay any attention to the version numbers written on
-gitpackages.-gitpackages get the latest version of the source code, direct from the development repository. This means you get the newest version.Beware:
-gitpackages also give you the newest bugs.Even with relatively bug-free software, make a backup before doing anything with partitions. Even if your software is perfectly bug-free (an unrealistic assumption), you are a human - you make mistakes. You don't want to, for example, accidentally delete the partition with all your important files on it.
Specifically. Ctrl-@.
Ctrl-Shift-2 only emits a null byte if Shift-2 emits @, this is dependent on keyboard layout.
Linux has an extremely strong commitment to backwards compatibility. The first rule of kernel maintenance is to never break userspace.
Python does not have such a strong commitment, as evidenced by the breaking changes in every version.
I don't see this as a downside. Some of these companies have huge sums of money at stake. Security bugs are even more of a concern to these companies than they are to us ordinary users.
This is not new. Opposition to security through obscurity dates back to 1851 (although at that time, it was about the design of locks, and the term "security through obscurity" is much more recent).
Reliance on security through obscurity is considered to be a common software weakness (CWE-656). For your software to be secure, its security must not depend on the secrecy of implementation details.
Because the variable could contain characters that the shell interprets in unexpected ways.
Consider, for instance, a variable containing a space:
This intends to delete a directory called "Old Documents", but instead deletes the directories called "Old" and "Documents".
These are very generic requirements, pretty much any actively maintained distribution will work.
sudo pacman -Sy archlinux-keyring && sudo pacman -SuWho cares what random Reddit users think? Try a few out, and see which you like for yourself.
https://wiki.archlinux.org/title/Desktop_environment
If you have some time spare, you could also have a go at making a custom desktop environment.
i3 is a popular tiling window manager, Sway is basically the same thing for Wayland.
Parts of it are open-source, but parts of it are under the Android Software Development Kit Licence. This licence states:
The AUR package is legal, because it just fetches and installs it from Google. However, distributing the built package (the
.pkg.tar.zstfile), which is what would happen if the package entered an official repository, would be illegal.looks like bloat if you ask me
real arch users use
/s
For any Windows software you need, you can look it up on WineHQ AppDB.
Software is rated from "Garbage" to "Platinum". "Garbage" means it does not run well, "Platinum" means it runs perfectly. Clicking on the rating will give a detailed report of which Wine version was tested (a warning is displayed for particularly old versions), what features work, and what features are broken.
This is the EFI System Partition, which is formatted FAT, and hence readable by Windows.
As for your question: There is no way to hide a partition from Windows. Windows is an operating system, and hence while it is running, it gets unfettered access to your entire computer. In fact, Windows can see your other partitions too - the only reason it does not display them in "This PC" is because it doesn't have the necessary drivers for reading them.
If you distrust Windows to the point that you don't want it seeing your ESP, then you certainly should not be running Windows on bare metal.
If you do not distrust Windows to this degree, then there is nothing to worry about here.
You'd need to maintain your own repositories at the very least.
The hard way is to make your repositories from scratch. You'll need to package updates for thousands of software projects. Furthermore, you'll also need to test all those updates. This is a very difficult task, and all big distributions have a lot of people dedicated to keeping the packages up to date.
The easy way is to just pull in the packages from another distribution, and host them on your own servers. This is generally what derivative distributions (e.g. EndeavorOS, Linux Mint, etc) do. This generally locks you in to using the same tooling as the upstream distribution.
Unless you're doing it as an educational exercise, you'll probably want something to set it apart from all the existing distributions - otherwise, there's not much point. For example, what set Arch apart was its easy-to-use build system, as described in the Arch Linux 0.1 news entry.
If you want to make your own distribution, a good starting place is Linux From Scratch.
If you want to tinker around with the kernel, I'd suggest doing it in a virtual machine.
The main difference between distributions is the package manager, the repositories, the release cycle, how long each release is supported for, and the default packages in the base install. Some distributions also modify packages by applying patches - mostly to fix bugs and security issues in LTS releases.
The kernel is one of the most important parts of the OS, but it is also one of the parts that users generally don't interact with directly. As such, there is little point in distributions patching the kernel, unless there is some unusual kernel feature that the distribution needs - and even then, Linux has a very good interface for writing kernel modules, so you still probably don't need a patch, just a kernel module.
If you have an SSD, boot-up takes mere seconds. No point to leaving it running.
this incident will be reported