quartz is an operating system designed to keep apps working across system updates.

You download apps, otherwise known as gems, either from a repository remote or from nonremote sources such as a USB flash drive or directly from an online vendor. Apps can then be synchronized with the repository if they’re supported. Apps can also optionally be detached from the remote for ease of portability.

Application developers bundle private dependencies with each app, while userspace remains separate and is not of concern to the app at all. This ensures that apps never actually bundle anything from userspace, while at the same time solving dependency complications by simply having each application retain its own dependencies.

The userspace is written from scratch to increase backward-compatibility guarantees. Applications are written with this specific userspace in mind.

Finally, the entire OS can be described by a scheme file, à la Nix and Guix. Each gem (or application) also contains a meta-scheme file.

This is a very early build; it will take a few months to get it right. Right now, I’m looking for volunteers who can help me build this project.

  • non_burglar@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    18 hours ago

    quartz is an operating system designed to keep apps working across system updates

    So, containers?

    You download apps, otherwise known as gems

    I personally am turned off by dreamt-up marketing terms before the product even works. Pass.

      • parallelminds@piefed.zipOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        17 hours ago

        Right now just the basic gems or apps work and the GNOME desktop launches successfully. it’s in an alpha stage though, look back in a couple of months.

    • parallelminds@piefed.zipOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      4
      ·
      edit-2
      18 hours ago

      No, not mere containers, an actual app distribution service and format that is simpler than Flatpak. and a backward compatible ABI through a stable userspace. Much more than just “containers”.

      You can be turned off, I’m not sure what actual work you’ve done in comparison. but I just started work on this a while ago, it’s a work in progress that should be ready in a few months time.

      • non_burglar@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        1
        ·
        17 hours ago

        I’m not sure sure what actual work you’ve done in comparison

        I’m not here to tell you what work I’ve done, I work primarily in security audits and my hobby is realtime geolocation using gnss and open tooling. You posted here, this is your product. It is on you to explain what it does, how it does it, and why we should choose it.

        You are in the wrong space to just drop pseudo-technical language and walk away without explaining how it works.

        What exactly is a “stable userspace”?

        • parallelminds@piefed.zipOP
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          5
          ·
          edit-2
          17 hours ago

          LOL, I’m in the wrong? you’re one rude individual. The website and my post already explain everything that needs to be said. You downvote my post (which is not irrelevant to the community) you question the work being put while not showing yours and I’m in the wrong for questioning you??? You sir, are in the wrong and very rude for that. That said:

          The userspace is stable because everything was written from scratch to ensure backward compatibility, on top of that, any maintainer joining the project would have a personal responsibility to ensure of no backward compatible breakage points.

          Then there are the apps (gems), they simply depend on this userspace without including it since its compatibility became OS maintainer responsibility, not the app’s developer responsibility, which means now developers only need to supply the needed dependencies and nothing from the OS layer at all.

          • non_burglar@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            10 hours ago

            LOL, I’m in the wrong?

            I re-read my comment and it clearly says the wrong space, I’m not trying to say you’re wrong. I just want some details of how it works.

            The userspace is stable because everything was written from scratch to ensure backward compatibility, on top of that, any maintainer joining the project would have a personal responsibility to ensure of no backward compatible breakage points.

            Thank you for this answer. I’m looking for way more detail, but I suspect that won’t be forthcoming.

            • parallelminds@piefed.zipOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 hours ago

              The reason for building quartz is pretty simple. If you build an app for a Linux desktop today, a system update can change something the app depends on even though the app itself hasn’t changed. Bundling libraries helps, but the app still has to talk to the operating system for things like opening a file the user picked or showing a notification. quartz wants to make that boundary explicit. If you build against an interface quartz publishes, you should be able to keep running the same binary across system updates. The way to prove that is to save the binary and actually run it on later releases. Recompiling it every time would miss the point.

              quartz uses the Linux kernel and aims to own a small, stable userspace around it. mica is the planned C library. It covers the basic runtime that C programs need. libquartz is separate and gives apps a way to ask for OS services. Keeping those separate matters. Changing how the desktop handles notifications shouldn’t require changing the C runtime, and an app that wants to start a service shouldn’t need to know how the init system starts processes. garnet starts and supervises them. quartz-core handles the system-facing decisions exposed to apps. agate provides the everyday command-line tools, including the newer Linux storage tools.

              The base ships as a unit. The desktop, init, C library, and system services are part of the same release. An update stages a new read-only Btrfs deployment alongside the working one, then tries it on the next boot. The VM prototype keeps track of which release was tried and which one was accepted. If the trial fails, the next boot goes back to the accepted base. Your home directory lives on a separate writable subvolume, so switching the base leaves your files and installed apps where they were. There’s an important wrinkle here. If a newer app changes the format of its saved data, switching the OS back won’t undo that change. Writable data still needs its own migration rules.

              Apps come in .gem files. Think of an AppImage with a small Lisp manifest that says what the app is, what version it is, and which executable to run. The app brings its private libraries and uses the interfaces supplied by the base. You can open a gem where it is, or install it into ~/Applications. Installing registers it with quartz. GNOME reads that registry through a quartz adapter so the app can appear in the launcher. A download from vein (the remote repository server software) ends up going through the same local install code. The difference is what happens before installation. The client checks the catalog’s signature against a trusted key, verifies the downloaded file’s hash, and checks that the bundle really contains the app and version you requested. System components have a separate update path because replacing a desktop or init system changes the base deployment.

              GNOME is the reference desktop. We track upstream and keep quartz changes in patch sets so we can see exactly what we changed and reapply it to new releases. Files is a good example of why this takes work. Its executable pulled in systemd through a mount library used by GIO, and udev through optional GTK features. We rebuilt those private dependencies with the relevant features disabled and tested the resulting Files gem. Settings and Parental Controls are harder because some of their dependencies answer questions about who is logged in and who can change another person’s settings. You can drop an optional media backend from a file manager. You have to replace an authorization check with something that actually makes and enforces the right decision.

              That’s where corundum comes in. The app asks through libquartz, and the base checks who made the request using credentials supplied by the kernel. One small piece of this works already. In a test VM, an administrator approved a specific process to change the running hostname once. The write succeeded, and the next attempt was denied. The desktop prompts and parental-control writes still use the preview’s existing policy. Likewise, TinyScheme already runs as the quartz shell, and the app and rollback workflows have been tested, but mica and the full compatibility contract are still being built. What works today is enough to test parts of the idea. The long-term promise depends on doing those tests across real releases.

          • actionjbone@sh.itjust.works
            link
            fedilink
            arrow-up
            7
            ·
            17 hours ago

            So if everything is written from scratch, it means there are unknown security vulnerabilities.

            And yes, you’re the one pitching this. It’s your job to answer our questions if you want us to take your project seriously.

            • parallelminds@piefed.zipOP
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              3
              ·
              17 hours ago

              I did answer questions, in the post. They didn’t bother reading. and I reexplained anyways.

              and yes, of course with new code comes vulnerabilities, but that’s true of new software in general. I’m not sure what your argument is, should anything not be started ever because of that? everything has to start somewhere.

              • actionjbone@sh.itjust.works
                link
                fedilink
                arrow-up
                7
                ·
                16 hours ago

                Here’s the thing about communication: None of us gets to decide what other people understand or don’t. And if they don’t understand it, they will ask questions.

                I read your whole post and it didn’t seem to fully answer the questions that the other guy asked. Maybe you feel it covers them, but not everybody else will understand that.

                I’ve been a marketing writer for a pretty long time now. As the person communicating, it’s my responsibility to ensure it’s clear to everyone. And if it isn’t, it’s my responsibility to make sure it gets fixed.

                If you begin your responses by accusing people of not reading? You are alienating potential users - because you are not willing to meet them at their level of understanding.

                Maybe you’re okay with this. Maybe you don’t want users who don’t think the same way that you do. But if that were the case, I imagine you wouldn’t be sharing this in a public Linux group.