• 0 Posts
  • 14 Comments
Joined 2 years ago
cake
Cake day: July 19th, 2023

help-circle


  • Honest question, since I have no clue about web/browser engines other than being able to maybe name 4-5 of them (Ladybird, Servo, Webkit, Gecko, … shit, what was Chromium’s called again?):

    What makes browsers/browser engines so difficult that they need millions upon millions of LOC?

    Naively thinking, it’s “just” XML + CSS + JS, right? (Edit: and then the networking stack/hyperlinks)

    So what am I missing? (Since I’m obviously either forgetting something and/or underestimating how difficult engines for the aforementioned three are to build…)






  • Server (Linux) and personal machine (non-Linux Macbook) with the same general shell config (aliases etc.), but different applications/CLI tools installed.

    No idea how it compares against the Nix paradigms, but I like the ease of use in setting up a new machine. It’ll copy all files to their intended destinations and will be able to fill in credentials from templates using e.g. rbw (third-party Bitwarden, i.e. password manager, CLI tool), meaning, once all fields have been templated, you can make it public without even worrying about leaking a personal email address (I use different ones for git vs. other accounts vs. even other stuff).






  • To you, @[email protected], and anyone else planning to do the switch:

    Back when I was still a VSC(odium) user, you needed to perform a small tweak to regain access to the quite useful extensions marketplace (in the sense of, paste the extension ID, see the same results as a M$ VSCode user*): There is a file named product.json which allows you to “regain” access if you populate it with the following values:

    {
      "extensionsGallery": {
        "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
        "itemUrl": "https://marketplace.visualstudio.com/items",
        "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
        "controlUrl": ""
      }
    }
    

    (Taken from my old dotfiles, so this may be outdated, not sure. Also, you’ll have to look up the location of this file, it will differ depending on OS. On macOS it goes in ~/Library/Application Support/VSCodium.)

    *If you do not need this 1:1 identical functionality, you may try the Open VSX marketplace. But especially in a class setting, I found this very useful, since all the tutorials/instructions will work without needing adaptation.