I just wonder though, how hard would it be to statically compile something like React's JSX into a form that can be run without a browsers' worth of overhead.
Also, maybe some form of const in the next version of HTML might help with performance by allowing more sophisticated optimizations?
Yeah. The surface gravity of a planet is directly proportional to both its density and its radius, so you can compensate for a larger radius with less dense material, or by accepting a slightly lower surface gravity (like Venus IRL).
I use btrfs. I used to use ext4. There isn't much of a difference, other than btrfs using disk space more efficiently due to deduplication and compression. btrfs is also newer, but unless you know of a specific compatibility issue (e.x. it can't handle swap files; you'll need a partition), I wouldn't worry about it. Both are reasonable for SSDs.
The file system is unlikely to be the primary determinant of SSD lifespan; workload is. Typical SSDs can handle their entire capacity written thousands of times over; unless you work with a substantial fraction of your drive daily, you probably don't need to worry much.
It sounds like you didn't fully install and configure GRUB.
Let's go over your problems in order.
"can't find efi dir"
You might have booted in legacy instead of EFI mode. The exact procedure to boot into EFI mode will vary by BIOS, so I can't go into that here.
"Minimal Bash-like editing"
This is a GRUB fallback, when either it hasn't been configured, or the configuration is glaringly incorrect. The wiki page has details on how to create the config file, which can then be placed in the ESP with GRUB itself (under $ESP/grub/grub.cfg). (On my system $ESP=/boot; /efi is also common).
I'm guessing you made the same mistake with rEFInd, though I'm not familiar with it (having only ever used GRUB) so I can't answer with any real confidence.
GRUB is a bootloader, not part of your OS. It sounds like it's not finding your OS, because you haven't configured it to.
There are utilities (such as grub-mkconfig) to do this in the grub repository package, documented on the wiki. IMX Arch doesn't usually install grub unless told to do so, presumably so you can choose alternatives more easily.
If you want to expand the filesystem, you could move sdb4 down to make space, then expand the partition from a liveusb.
But frankly, I'd just switch to btrfs, which lets you use noncontiguous partitions for a single volume, and also compresses data (which has performance benefits as well since mass storage is generally much slower than CPU). You can even convert ext3/4 partitions to btrfs without affecting the data on them.
All of your kernel module drivers need to be for the same version, not just the ones initially causing problems. Linux kernel modules aren't forwards or backwards compatible with kernel versions they weren't intended for, because they depend on specific implementation details that change with every kernel version. Manjaro makes managing this fairly simple, but Arch seems to be a bit obstinate about providing older versions.
You might need to get these packages from outside of the Arch/AUR repos. I think Manjaro keeps pacman-compatible repos of its own, or you can probably just install these directly.
I mean, even in the days of fragmentation, we still had a fairly small list of common ISAs - x86 and the surrounding hardware conventions became pretty standardized (under the term 'IBM-compatible') well-before Java was a thing.
If you want to learn how the ISA's work (and, by extension, how the CPU at least pretends to work), try learning assembly - and then maybe machine code - for your architecture. My first foray into assembly was a website about the 6502, before I'd even started with C.
Technically speaking, the JVM's bytecode is an ISA, and people have made CPUs that can run it directly, but it's generally best suited to either interpretation or JIT-compilation into native code by the JVM.
Not every machine has an utterly different CPU design requiring different compilations. Rather, CPUs of the same design will run the same compiled (machine) code exactly the same, and CPUs of different designs can be designed to run the same code as well.
We refer to the code a CPU can run as its instruction set architecture (ISA), and this is usually what people mean when they refer to architectures. x86 (more precisely, AMD64, also known as x86_64) is probably the example with which you're most familiar. Other common ISAs include the ARM variants (ARMv7 and ARMv8 most commonly, though some very simple systems like my Pi 0 use ARMv6) and AVR (used by Arduinos).
A compiler doesn't need to know the exact CPU design it's compiling for to produce workable code, only the ISA it uses - meaning that, as long as a CPU maker is careful to make a CPU compatible with an existing ISA, that compiler - and binaries made by that compiler - will continue to work with the new CPU.
If switching goes poorly due to hardware wierdness, sell your Mac, and get a comparably priced, comparably aged used Thinkpad. I did that this summer before college, best decision ever.
Welcome to the I Use Arch BTW side!
Not really. BIOS is older and less sophisticated, but they both do the same thing.
I just wonder though, how hard would it be to statically compile something like React's JSX into a form that can be run without a browsers' worth of overhead.
Also, maybe some form of
constin the next version of HTML might help with performance by allowing more sophisticated optimizations?Yeah. The surface gravity of a planet is directly proportional to both its density and its radius, so you can compensate for a larger radius with less dense material, or by accepting a slightly lower surface gravity (like Venus IRL).
Yeah. As someone who likes to game on Arch on a Dell G7 7588, NVidia drivers and X are always a bit tricky.
Probably. Mine's about a tenth that, but that system also has very low uptime, so it's not that surprising.
Try adding an extra
|tailto see just the most recent data, or extragrepcommands to filter additional subsystems.journalctl -b | grep -v NVIDIAYeah. Arch is probably the first distro I've been on for a while. I occasionally try something else (usually a BSD), but I always come back.
So your first distro is Arch!
NICE!
I3/XFCE? NICE!
(I wonder if that'd work with Sway. I've been considering a better bar.)
I just use the community/firefox-developer-edition package, though any binary Firefox variant should work. Default configs, SwayWM, Intel GPU.
You need to configure WPA supplicant directly, or install whatever menu you prefer yourself.
It's included in the liveUSB, so if you haven't installed it, just boot to the liveUSB and chroot back in.
It can be a good bit to learn, but it's not exactly hard if you can read documents. There's even an install guide on the Arch wiki.
I don't really worry about deduplication.
I use
btrfs. I used to useext4. There isn't much of a difference, other thanbtrfsusing disk space more efficiently due to deduplication and compression.btrfsis also newer, but unless you know of a specific compatibility issue (e.x. it can't handle swap files; you'll need a partition), I wouldn't worry about it. Both are reasonable for SSDs.The file system is unlikely to be the primary determinant of SSD lifespan; workload is. Typical SSDs can handle their entire capacity written thousands of times over; unless you work with a substantial fraction of your drive daily, you probably don't need to worry much.
It sounds like you didn't fully install and configure GRUB.
Let's go over your problems in order.
You might have booted in legacy instead of EFI mode. The exact procedure to boot into EFI mode will vary by BIOS, so I can't go into that here.
This is a GRUB fallback, when either it hasn't been configured, or the configuration is glaringly incorrect. The wiki page has details on how to create the config file, which can then be placed in the ESP with GRUB itself (under
$ESP/grub/grub.cfg). (On my system$ESP=/boot;/efiis also common).I'm guessing you made the same mistake with rEFInd, though I'm not familiar with it (having only ever used GRUB) so I can't answer with any real confidence.
GRUB is a bootloader, not part of your OS. It sounds like it's not finding your OS, because you haven't configured it to.
There are utilities (such as
grub-mkconfig) to do this in thegrubrepository package, documented on the wiki. IMX Arch doesn't usually installgrubunless told to do so, presumably so you can choose alternatives more easily.No, but for reasons unrelated to Linux. (Thanks transphobic ableist parents!)
If you want to expand the filesystem, you could move sdb4 down to make space, then expand the partition from a liveusb.
But frankly, I'd just switch to btrfs, which lets you use noncontiguous partitions for a single volume, and also compresses data (which has performance benefits as well since mass storage is generally much slower than CPU). You can even convert ext3/4 partitions to btrfs without affecting the data on them.
All of your kernel module drivers need to be for the same version, not just the ones initially causing problems. Linux kernel modules aren't forwards or backwards compatible with kernel versions they weren't intended for, because they depend on specific implementation details that change with every kernel version. Manjaro makes managing this fairly simple, but Arch seems to be a bit obstinate about providing older versions.
You might need to get these packages from outside of the Arch/AUR repos. I think Manjaro keeps pacman-compatible repos of its own, or you can probably just install these directly.
My guess, your radeonsi didn't get updated, and is now incompatible with your kernel.
My recommendation, is to either wait for a new update to radeonsi, or revert kernels until it comes.
I mean, even in the days of fragmentation, we still had a fairly small list of common ISAs - x86 and the surrounding hardware conventions became pretty standardized (under the term 'IBM-compatible') well-before Java was a thing.
If you want to learn how the ISA's work (and, by extension, how the CPU at least pretends to work), try learning assembly - and then maybe machine code - for your architecture. My first foray into assembly was a website about the 6502, before I'd even started with C.
Technically speaking, the JVM's bytecode is an ISA, and people have made CPUs that can run it directly, but it's generally best suited to either interpretation or JIT-compilation into native code by the JVM.
Not every machine has an utterly different CPU design requiring different compilations. Rather, CPUs of the same design will run the same compiled (machine) code exactly the same, and CPUs of different designs can be designed to run the same code as well.
We refer to the code a CPU can run as its instruction set architecture (ISA), and this is usually what people mean when they refer to architectures. x86 (more precisely, AMD64, also known as x86_64) is probably the example with which you're most familiar. Other common ISAs include the ARM variants (ARMv7 and ARMv8 most commonly, though some very simple systems like my Pi 0 use ARMv6) and AVR (used by Arduinos).
A compiler doesn't need to know the exact CPU design it's compiling for to produce workable code, only the ISA it uses - meaning that, as long as a CPU maker is careful to make a CPU compatible with an existing ISA, that compiler - and binaries made by that compiler - will continue to work with the new CPU.
Hate when my systems come with malware where the OS should be.
Protip:
If switching goes poorly due to hardware wierdness, sell your Mac, and get a comparably priced, comparably aged used Thinkpad. I did that this summer before college, best decision ever.
End of this list.
Back to top