When is an int not 32bits nowadays
C standard does not actually define the exact sizes of long/int and so on, it’s just what is now most popular (it does have some limitations and requirements on these types though)
Guessing this is the one https://www.hbo.com/movies/money-electric-the-bitcoin-mystery
It hasn’t released yet it seems, october 8. Though HBO does not seem to claim any of the above, I smell another flop.
There is a youtuber for that!
Asianometry has a lot of “documentary”-style videos about microchips, civil engineering and histories of interesting industries (Zweis lenses, ASML, so on).
I’ve once tried WinBTRFS and on top of not making it work I still have leftover drivers that can’t be deleted.
I just use ntfs3 and ever since tweaking steam so that it does not put proton compatdata on it I didn’t have to reboot and run chkdsk for months now.
Wohoo time to hack this old phone of mine. (for the interested, I’ve found CVE-2024-31317 which is easier but should get only system user/uid 1000)
Unpopular opinion?: without wordpress, mysql/mariadb would have died years ago.
Uh probably not that helpful but I am somewhat sure that this was super easy to do from virt-manager (on Arch qemu & kvm, virtualizing Tiny11 )
So the lower-ish difficulty answer would be to run the iso installer in a VM with the usb stick forwarded to that VM.
Or you can learn what those fancy installers do: on debian you would use debootstrap
Here seems the whole guide on how to install debian manually with it:
https://gist.github.com/tr3buchet/6407920
Btw, this is also basically how you install Arch. As of until recently there wasn’t any installer and you had to go through each step manually (create partitions and fs, install the base system with <insert distro specific tool>, chroot, update fstab, distro specific finishing touches, voilà)
/sbin are system binaries, eg root only stuff, dunno the rest but I would guess there are some historical reasons for the bin usr/bin separation
How did you install jellyfin?
It should not core-dump (read: hard crash, something has gone terribly wrong), at best you should get a configuration error and errors like that.
You can see the logs of any systemd service/unit with this: journalctl -u <name of sevice>
so in this case journalctl -u jellyfin
(Tip: add -f
to follow the output of a running service - useful for monitoring).
Note that some programs log to their own files (and not to stdout) so if the above command comes out empty you should look into /var/log/
directory.
I am currently in the market for a new mobile phone. The current’s one battery is basically dead and because of security patches now being about 2 years old I have to replace it whole instead of just getting the battery replaced again.
Pixel with GrapheneOS has been my number one choice for some time but…
I will probably just get the OnePlus Nord 4 instead because of their pledge to do 6 years of updates.
Afaik RedBot (oss, extensible discord bot in Python) used it to allow people to run python scripts directly from discord without access to the file system, network and to limit the run time.
In my book I’ve had categorised it as a lower-level tool for security and sandboxing, a lot lower level then firejail is.
Uv is currently only a pip replacement as a dependency resolver (and downloader), it was actually adopted by astral from a different dev afaik
You could also (hard) limit the total (virtual) memory process will use (but the system will hard kill it if tries to get more) with this:
systemd-run --user --scope -p MemoryMax=8G -p MemorySwapMax=0 prismlauncher
You would have to experiment with how much Gs you want to specify as max so that it does not get outright killed.
If you remove MemorySwapMax
the system will not kill the process but will start aggressively swapping the processes’ memory, so if you do have a swap it will work (an depending on how slow the disk of the swap is, start lagging).
In my case I have a small swap partition on an m2 disk (which might not be recommended?) so I didn’t notice any lagging or stutters once it overflow the max memory.
So in theory, if you are memory starved and have swap on a fast disk, you could instead use MemoryHigh
flag to create a limit from where systemd will start the swapping without any of the OOM killing (or use both, Max has to be higher then High obv).
Fabric is one of many mod loaders ala Forge. It’s newer and less bulky then Forge (but afaik it already did have it’s own drama so now we also have a fork called Quilt, the same goes for Forge and NeoForge).
The mods I’ve specified above can be considered as a suite replacement for the (old) OptiFine.
E: For example this all the mod loaders modrinth (mod hosting website, curseforge alternative) currently lists:
As a side note and a little psa, if you need to squeeze out more overall performance of out of MC (and you are playing vanilla or Fabric modpack) I very much recommend using these Fabric mods: Sodium, Lithium, FerriteCore and optionally Krypton (server-only), LazyDFU, Entity Culling, ImmediatelyFast.
Big modpacks that add a lot of different blocks will also always explode the memory usage as at the start, Minecraft pre-bakes all the 3d models of the blocks.
Pretty sure this is directly inspired by C so I would guess Guido van Rossum (the author of Python) just used what was already common back then. As in,
=
is assignment operator and==
is equality/comparison operator.https://en.cppreference.com/w/c/language/operator_comparison