The Linux Thread - The Autist's OS of Choice

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
Yes, this was my guess of what the problem is. Looking back at my /var/log/emerge.log it never used to be this bad, so it's definitely something they could fix. Maybe C++20 modules will solve the problem eventually ( :optimistic: )
People have filed bug reports about it and Google doesn't really seem to care.

Here's a funny blog post about it where the author developed some cool tooling to describe what was going on.

tldr this version of Chromium has 11.6 million lines of source code. The build process compiled 3.6 billion lines of source code. C++ compile times are O(n^2) with n being the number of translation units and Chromium is a good example of how this goes wildly off the fucking rails.
 
People have filed bug reports about it and Google doesn't really seem to care.

Here's a funny blog post about it where the author developed some cool tooling to describe what was going on.

tldr this version of Chromium has 11.6 million lines of source code. The build process compiled 3.6 billion lines of source code. C++ compile times are O(n^2) with n being the number of translation units and Chromium is a good example of how this goes wildly off the fucking rails.
Oof, do chromium based browsers attempt to mitigate this?
 
Oof, do chromium based browsers attempt to mitigate this?
No, it's not really possible.

Keeping build times down in huge C++ projects requires modularizing stuff into its own realm so you're not cross including so many headers. Chromium is...not actually a browser! It's like 80% of the way to being its own fucking OS. That's just how it was designed.
 
No, it's not really possible.

Keeping build times down in huge C++ projects requires modularizing stuff into its own realm so you're not cross including so many headers. Chromium is...not actually a browser! It's like 80% of the way to being its own fucking OS. That's just how it was designed.
Edge might as Microsoft has used their skills to optimize it, but it's source isn't available for compiling
 
No, it's not really possible.

Keeping build times down in huge C++ projects requires modularizing stuff into its own realm so you're not cross including so many headers. Chromium is...not actually a browser! It's like 80% of the way to being its own fucking OS. That's just how it was designed.
To some extent I disagree. All the real ground work that Google and Apple and Microsoft bastardized was done by KDE developers in the KDE2/KDE3 days. That never took six million years to compile. The WebKit fork of KHTML that the google trash was based on isn't nearly as bad as Google's version in that regard. I blame pajeets.
 
I decided to take the plunge and install Gentoo on a spare machine. I will say that it does take more work than installing the arch "the trve arch way", but I got far enough to atleast get wifi and xorg working and got JWM and xterm installed. I'll definitely have to get more stuff background stuff installed so I can monitor the battery level and have audio and shit. Also still have to install a browser, file manager, and other basic graphical utilities. And of course, I'm sure I'm going to have to do more tweaking with use flags and what not.
 
I decided to take the plunge and install Gentoo on a spare machine. I will say that it does take more work than installing the arch "the trve arch way", but I got far enough to atleast get wifi and xorg working and got JWM and xterm installed. I'll definitely have to get more stuff background stuff installed so I can monitor the battery level and have audio and shit. Also still have to install a browser, file manager, and other basic graphical utilities. And of course, I'm sure I'm going to have to do more tweaking with use flags and what not.
Yeah, Gentoo teaches you about parts of the "Linux" stack you won't find nearly anywhere else. The upside and downside of this is that it takes a lot of effort to get things how you want them.
 
To some extent I disagree. All the real ground work that Google and Apple and Microsoft bastardized was done by KDE developers in the KDE2/KDE3 days. That never took six million years to compile. The WebKit fork of KHTML that the google trash was based on isn't nearly as bad as Google's version in that regard. I blame pajeets.
WebKit is still upgraded by Apple, right? How fast does a Linux WebKit browser compile just for curiosity's sake? Is it half decent?
 
Hey, how difficult is it to change a Debian computer from EFI to bios if /boot is on a usb drive? EFI is flaky on this computer and I have to plug it into a monitor to successfully reboot
 
Discord just runs like absolute hot garbage. You're almost better off running it in a browser if you want to use it since it's basically built like a web app and uses Web RTC anyways.
Too bad discord is fucking freezing its firefox window because it's so fucking hot garbage.
I have about 200 open tabs, the only time when I have an issue is when I decide to open up discord, and it conveniently also makes it impossible to close discord's tab. Other windows/processes are totally fine, just the one that just happens to have discord open becomes irresponsive.

Malware, spyware, and soyware.
I hate it with a passion.
 
Hey, how difficult is it to change a Debian computer from EFI to bios if /boot is on a usb drive? EFI is flaky on this computer and I have to plug it into a monitor to successfully reboot
Every "BIOS" is now EFI, unless you don't have virtualization support and your computer is super old. You probably meant something like GPT partition -> MBR as this influences boot-up.
MBR is tied to "BIOS" and its restrictions, GPT goes in pair w/ EFI.
You can find instructions online on how to convert a partition to GPT/MBR.

Check if your EFI supports legacy boot, and enable it. You should be able to boot from MBR no problem.
Unless you have a situation where you have mixed GPT/MBR disks, I wouldn't fuck with partition tables, personally.



Oh, also, apologies for tripple posting.
 
Last edited:
In my search of alternative browsers I also stumbled across webkit2gtk. It's slow and doesn't like some websites. The browsers you can find with it (e.g. luakit, suckless surf) are all in various state of disrepair. I like suckless surf conceptually. You could set it up to open websites like programs in an highly isolated way that doesn't clutter the various storages modern browsers have and lessen the risk of cross-contamination of your online footprint. Sadly it renders website like ass. (which is not webkits fault, somehow with surf the part that renders the website doesn't seem to be aware what the resolution is and how big exactly the window is).

Also build time dependencies of webkit are absolute insane ass. I think even ruby was in there.

The only useful, "alternative browser" I found was qutebrowser, using qtwebengine which is basically chromium-lts for all intents and purposes. It has some cool features included you'd have to install as addons in firefox, and even some rudimentary adblocking on top. Fairly lightweight too. It's not perfect either though. If you want the full modern web experience, it's either firefox or chrome and it fucking sucks.

I wrote a small program in golang (not employing any of the ready made llm stuff) that can send requests to an Openai API compatible LLM program. The way to use it is pipe in text and give a prompt as parameter and hopefully get text out that can be used further along in a shell script. LLM reasoning in my shell scripts. I can't see this going wrong, at all!
 
Hey, how difficult is it to change a Debian computer from EFI to bios if /boot is on a usb drive? EFI is flaky on this computer and I have to plug it into a monitor to successfully reboot
It can be as easy as a grub-install invocation with the correct parameters. Like someone said, MBR vs GPT can be a problem, but you can also set up hybrid systems using fdisk. I don't really know your boot config, so there might be unseen hiccups.
 
  • Informative
Reactions: But Nuster
It can be as easy as a grub-install invocation with the correct parameters. Like someone said, MBR vs GPT can be a problem, but you can also set up hybrid systems using fdisk. I don't really know your boot config, so there might be unseen hiccups.
I used to have a 1tb SATA SSD as my boot drive, but I found that it would become unresponsive when I was torrenting to the drive then moving files to my data pool and the whole os would lock up. I bought a NVMe drive I could plug into one of the PCIe slots, but the server's EFI bios will not boot from the NVMe drive, so I plugged in a usb drive that I put the EFI partition and /boot onto. But the computer is fussy and will only boot when a monitor is plugged in, and something's funky with the bios where it has a bunch of invalid boot entries I can't delete (and bootup is slow because it boots the SAS controller card first for no good reason). So I want to migrate to using CSM/legacy boot. And the old 1tb drive still has the old os on it and I just have it mounted to download files to, I think I want to wipe it and make a /boot partition and a /work partition since I no longer need the backup os install.
 
I used to have a 1tb SATA SSD as my boot drive, but I found that it would become unresponsive when I was torrenting to the drive then moving files to my data pool and the whole os would lock up. I bought a NVMe drive I could plug into one of the PCIe slots, but the server's EFI bios will not boot from the NVMe drive, so I plugged in a usb drive that I put the EFI partition and /boot onto. But the computer is fussy and will only boot when a monitor is plugged in, and something's funky with the bios where it has a bunch of invalid boot entries I can't delete (and bootup is slow because it boots the SAS controller card first for no good reason). So I want to migrate to using CSM/legacy boot. And the old 1tb drive still has the old os on it and I just have it mounted to download files to, I think I want to wipe it and make a /boot partition and a /work partition since I no longer need the backup os install.
1) HDMI plug
2) Change the setting (if it works) to disable
3) Per chance do you have a shit board manufacture who won't accept individual boot entries? Gentoo has a quote on that:
Some rare (U)EFI implementations do not accept individual EFI entries. In this case it often works to use the removable media boot path, see EFI System Partition #removable media for details. E.g. this command will copy the kernel for a 64 bit UEFI:
Code:
root #cp /usr/src/linux/arch/x86/boot/bzImage /efi/EFI/boot/bootx64.efi
Be advised that this is against the (U)EFI specification, as it will circumvent the (U)EFI boot selection on internal drives (which are configured using EFI boot entries).
...Or check to see if you have two ESPs which causes pajeet coding to shit itself.
 
1) HDMI plug
2) Change the setting (if it works) to disable
3) Per chance do you have a shit board manufacture who won't accept individual boot entries? Gentoo has a quote on that:

...Or check to see if you have two ESPs which causes pajeet coding to shit itself.
1. there's no hdmi on the computer, just a vga on the motherboard and mini disppayport for the Nvidia card. but i did get a dummy minidisplayport that's in the mail
2. disable what?
3. it seems to accept custom boot entries, but they are all corrupt
4. I only have one ESP partition

Code:
(parted) print list
Model: ATA WDC WDS100T2G0A- (scsi) // old boot drive that's being used as a download drive
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  999GB   999GB   primary   ext4            boot
 2      999GB   1000GB  1021MB  extended
 5      999GB   1000GB  1021MB  logical   linux-swap(v1)  swap


Model: SEAGATE ST8000NM0075 (scsi) //storage drive, other storage drives ommitted as they have identical partition structure
Disk /dev/sdb: 8002GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name              Flags
 1      1049kB  8002GB  8002GB  ext4         Linux filesystem


Model: SPCC M.2 PCIe SSD (nvme) //OS drive
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size    File system     Name  Flags
 1      1049kB  254GB  254GB   ext4
 2      254GB   256GB  2147MB  linux-swap(v1)        swap


Model: SanDisk Cruzer Fit (scsi) // bootloader drive
Disk /dev/sdg: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  250MB   249MB   primary  fat32        boot, esp
 2      250MB   1250MB  1000MB  primary  ext4
Code:
$ efibootmgr
** Warning ** : Boot000e is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : Boot000f is not UEFI Spec compliant (lowercase hex in name)
** Warning ** : please recreate these using efibootmgr to remove this warning.
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0010,000B,000E,000F
Boot0000* debian
Boot000B* UEFI: Built-in EFI Shell
Boot000E  WDC WDS100T2G0A-00JH30
Boot000F  SanDisk
Boot000e_BbsIndex*
Boot000f_BbsIndex*
Boot0010* PLDS DVD-RW DH16ACSH
Boot0010_BbsIndex*
 
Back