• 16 Posts
  • 353 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle






  • verstratoNix / NixOSNix CI Benchmarks
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Cool, looks like garnix is fast. I wanted to use it, but home page and docs are hard to parse. Too big fonts, required scrolling and bad docs organization. Why can’t all projects just use material for mkdocs?


  • verstratoProgrammingHardware Stockholm Syndrome
    link
    fedilink
    arrow-up
    7
    ·
    2 months ago

    Ok, good point, most languages I know use “C-style sequential function-calling” paradigm. Is there a specific idea that you have for a language that would better utilize our CPUs?

    Notation that treats asynchronous message-passing as fundamental rather than exceptional.

    I’m pretty sure there exists at least one research paper about notation for the actor pattern.

    You explain pretty well why you don’t think C is a good fit for hardware we have today, but that warrants a proposal for something better. Because I for sure don’t want to debug programs where everything is happening in parallel (as it does in pong).








  • verstraOPtoSelfhosted@lemmy.worldAnyone running Sandstorm?
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    For example, ether pad (document editor) is a) packaged to be single-click deployable on sandstorm (this is similar to dokploy), but also b) modified so that it runs each document as a “grain”.

    In sandstorm, “grain” is some chunk of data + an instance of the app running. So when you open a document, it will spawn a new process for it on the server and attach the data needed to that process (similar to how you would attach volumes to docker containers). This grain is isolated from other open documents, which is good for security, but also good for development:

    • apps don’t need to handle the organization or storage of documents (they just write to a dir and sandstorm associates it with the grain),
    • apps don’t need to handle user auth or permissions,



  • My matrix server is nearing 5 years old. I have federation disabled, because I don’t need that - we are using it as a family chat. sqlite database I’m using is now 2GB, but other than that it is working great.

    I do acknowledge that I’m not leveraging the things matrix is designed for (federation, e2e encryption), but to be honest, it’s not really good at that.