• 1 Post
  • 23 Comments
Joined 1 year ago
cake
Cake day: August 10th, 2023

help-circle
  • Not quite a scripting language, but I highly recommend you check out cosmo for your usecase. Cosmopolitan, and/or Actually Portable Executable (APE for short) is a project to compile a single binary in such a way that is is extremely portable, and that single binary can be copied across multiple operating systems and it will still just run. It supports, windows, linux, mac, and a few BSD’s.

    https://cosmo.zip/pub/cosmos/bin/ — this is where you can download precompiled binaries of certain things using cosmo.

    From my testing, the APE version of python works great, and is only 34 megabytes, + 12 kilobytes for the ape elf interpreter.

    In addition to python, cosmopolitan also has precompiled binaries of:

    • Janet 2.5 MB
    • Berry 4.0 MB
    • Python 34 MB
    • Php 11 MB
    • Lua 2.1 MB
    • Bash 5.1 MB

    And a few more, like tclsh, zsh, dash or emacs (53 MB), which I’m pretty sure can be used as an emacs lisp intepreter.

    And it should be noted these may require the ape elf interpeter, which is 12 kilobytes, or the ape assimilate program, which is 476 kilobytes.

    EDIT: It also looks like there is an APE version of perl, and the full executable is 24 MB.

    EDIT again: I found even more APE/cosmo binaries:



  • I dunno what’s most appropriate for email, but I often joke:

    Isn’t open source kinda like a cult?

    It’s a not a cult I swear! Just switch to free software, and free yourself!

    I’ve also heard my friend say something along the lines of:

    Free software, free culture, free people

    Or maybe it was free world or free trade? I can’t remember.

    Although, for slogans like this, I might go with something that has more of an immediate effect, like shilling an adblocker.

    • Install uBlock Origin. Blocking ads is one of the easiest ways to increase your security.
    • Install uBlock Origin. It blocks more than just ads, but also tracker scripts that follow you around the net and collect your data.

    Or the ever so simple:

    • Free software means free as in freedom — not as in beer.

    Anyway, I partially agree with the other poster, but I think a one sentence quip at the end of an email is unobtrusive enough that it gets a pass. Of course, it depends on your specific workplace and how strict they are, but I would assume most workplaces have a little space for humanity.





  • Yeah, I read that manual but it didn’t answer my question.

    The big problem is that the arch wiki describes a setup with nested subvolumes first (in a subvolume below @ or whatever your root subvolume is), but then suggests in a tip to use a subvolume directly below the top level subvolume. The limitations mentioned in that manual don’t seem to apply to either setup, as they would prevent swap from working, which is not the case. I have tested both setups and they work fine — or so it seems. I’m worried there is some hidden gotcha I’m missing.

    in addition to that, some of those limitations simply don’t apply to my setup, as I only have a single device.






  • When syncthing is configured to go both ways (the default), it also syncs any deletions. You can somewhat get around this by something like one way sync, but it’s not really a proper “backup” software.

    Personally, I like to treat data synced by syncthing, even between multiple machines, as one copy of the data when I am following the 3-2-1 backup rule*, because syncthing won’t save me from a buggy program deleting all my files or user error, or anything like that.

    *See wikipedia for info about the 3-2-1 backup rule.




  • Also switched here. OBS on wayland has some new features, that I’m excited to take advantage of, but I still cannot find a way to share some windows, but not an entire monitor.

    OBS has another feature: “virtual monitor”. It does what it sounds like, and creates a virtual monitor, which you can then treat like a real monitor, like extending to, or unifying outputs, etc.

    It also has a feature to share the entire workspace, but it doesn’t work like I expect, and instead uses all monitors (not workspaces) as a single input source. I suspect that’s a bug tbh, because this behavior is useless considering you can just add monitors as a source side by side.



  • In order to receive messages from a mailing list you must subscribe to it

    It would have been really nice for this to be documented in the docs for the openstack mailing list, so I could know before I sent an email. I read their 3 different pages on the mailing lists, wrote up a email with all correct formatting and etiquette, and read through the archives to ensure I was sending my question to the correct mailing list, only to receive a “Your message needs to be approved by a moderator.”

    Almost a year later, still in quarantine. It doesn’t matter though, I figured my issue out.

    Despite all the effort put into documenting mailing lists, and all the effort I put into reading that documentation, there are still de-facto standards people are just expected to know on top of that and it’s bullshit. Software forges (github, forgejo, etc) don’t have this problem, people can just contribute or ask for help using the integrated tooling (issues, PR’s, etc). There is a problem with centralization, but hopefully activitypub federation between software forges fixes that.




  • It’s cause you’re not actually supposed to use nix-env: https://stop-using-nix-env.privatevoid.net/

    You’re actually supposed to be using nix search nixpkgs#packagename to search and nix profile install nixpkgs#packagename to install.

    However, to use both of those, you need to have the “experimental” (not really though, most of the community uses them) features of nix-command and nix flakes enabled, which they aren’t by default.

    And of course, nowhere on the main documentation did I find any if that, I only found it via the pain of using it wrong, and forum posts.

    Nix’s documentation is horrific. I’ve had situations where I only got help via discord…