Skip Navigation

onlinepersona

@onlinepersona.programming.dev.ap.tdpl.io

30 Posts221 Comments0 Memberships

Joined August 2026

  • Maybe it's time somebody just made a flakes fork to end its endless "experimental" status

    Flakes is reaching 10 years of age and is not any closer to being "stable". Nix maintainers can't seem to just drop the cojones on the table and say "it's stable now and it will be versioned, so some old flakes may break if they don't update". What could the community do to implement an external, versioned, flakes solution? Which features would be necessary to have parity with flakes and/or even improve them?

  • Does an index of source forges exist?

    I left github a while ago and want to publish my code to multiple forges in order have a fair distribution and assurance that they don't disappear if a forge dies. Is there maybe a matrix, sheet, or "awesome-git-forges" repo or something where I could find a list?

    I know of codeberg, gitlab, codefloe, and srcht, but there are probably more and it would good to know of them, or have an index thereof.

  • 07:22

    Making Matrix Feel Like WhatsApp Without Centralizing It

    Presentation of an app built on top of matrix that makes usage and discovery as a easy as WhatsApp. No need for the user to know what a homeserver is, no need to exchange usernames to find each other, etc.

    media.ccc.de
  • The Steam Video you have been waiting for….

    cross-posted from: https://vid.freedif.org/videos/watch/c3674093-3d94-4e3d-807f-6f53d83e91be

    Thanks to UGREEN for sponsoring this video! Check out their MagFlow Pro lineup below! UGREEN MagFlow Pro Magnetic Power Bank(US): https://amzn.to/4hZTV5u UGREEN MagFlow Pro Magnetic Power Bank(CA): https://amzn.to/4cgErGr UGREEN MagFlow Lineup(US) https://amzn.to/3SjRu3f There's been rumors. Speculation. Post after post on Reddit. But it's finally here, the steam product you've all been waiting for! Join us on this steamy journey and find out if it was worth the wait. Discuss on the forum: https://linustechtips.com/topic/1642697-the-steam-video-you-have-been-waiting-for%E2%80%A6/ Check out our Channel Partners: Secretlab • Grab a TITAN Evo ergonomic gaming chair: https://lmg.gg/secretlabltt • Grab an ATLAS ergonomic office chair: https://lmg.gg/secretlablttatlas PIA • Get the VPN of our choice: https://www.piavpn.com/ltt dbrand • Buy a "Circuit" series skin for your device: https://dbrand.com/pcb ► SHOP LTT PRODUCTS: https://lttstore.com/ ► GET EXCLUSIVE CONTENT ON FLOATPLANE: https://lmg.gg/lttfloatplane ► DIVE DEEPER ON THE LTT LABS WEBSITE: https://lmg.gg/labs ► SPONSORS, AFFILIATES, AND PARTNERS: https://lmg.gg/partners Purchases made through some store links may provide some compensation to Linus Media Group. Affiliate links powered in part by https://affilimate.com/?aid=ghz1izbpb Linus Sebastian is an investor in Framework Computer, Inc and HexOS by Eshtek.

    CHAPTERS

    0:00 Intro 1:30 How did this come to be? 2:00 PRAISE ALIEXPRESS 3:09 Testing before steam cooling 4:12 Surgery 6:50 Let's talk GEARS baby 7:45 Back to Surgery 9:47 Who knew an engine would need oil 11:35 FIRE 12:12 What? 12:20 Things are happening 14:56 IT'S REALLY HAPPENING 16:38 Mandatory Friendslop :) 17:57 Changing gears 23:11 WE GOT THIS BOIS 25:13 Outro

    vid.freedif.org
  • 1:00:38

    Let's talk about Desktop Linux Platform Issues

    What's holding back Linux on the desktop? Speakers: probono - https://media.ccc.de/search?p=probono Language: English Tags: #froscon2018, There’s a Tux in your window Event page: https://programm.froscon.de/2018/events/2146.html ——— To make Linux on the desktop successful on a level comparable to Windows and macOS, it is key to think about the Linux desktop as a core OS platform that makes certain platform stability guarantees to developers, rather than a bunch of packages distributed by a Linux distribution. As of today, there is a number of issues making the deployment of applications to the Linux desktop unnecessarily cumbersome. In this talk we will highlight real-world difficulties in using the Linux desktop platform as of today, and present some ideas on how to fix them.

    media.ccc.de
  • "foo bar baz" is crap - use representative names ffs

    Code examples that use this convention are in my opinion terrible for comprehension - especially for domain specific examples. Say you have a library called libprefix and you want to demonstrate how to use it foobar example

     py
    import prefixer
    
    foo = "foo"
    bar = prefixer.prefix(foo, "bar")
    print(bar) # foobar

    vs representative

     py
    import prefixer 
    
    to_prefix = "to prefix"
    prefixed = prefixer.prefix(to_prefix, "not ")
    print(prefixed) # not to prefix

    The variables tell you what they represent • to_prefix a string that has to be prefixed • prefixed contains a string that has been prefixed This is just a small example, but some example have 10, 20, 50 lines of code and when I start reading and it uses this foobarbaz crap, it makes me want to close the tab and move on. Naming things is hard, but come on... Sometimes there are even domain specific examples where the effort is made to convert it to foobar convention just for the sake of it.

     py
    import traffic_light
    
    foo = traffic_light.intersection("cross", 2) # 2 roads intersect
    bar = { "north": 4, "east": 1, "south": 10, "west": 0} # vehicles at each light
    baz = foo.simulate(bar) # creates a simulation object
    
    print(baz) # print out the state of the intersection (bar in this cas)
    quux = baz.step() # state of intersection after one step
    print(quux)

    We have all seen worse than this. Seriously, why?

  • Can't seem to execute commands with local models

    I was curious about opencode and tried to run it with mistral:7b as well as qwencode3:8b, but it simply couldn't execute a single command. It was necessary, I think, to be able to execute commands because it kept attempting to write to /home/user. So I told it to run pwd to find out where it was. That always failed. Was j using a wrong model? Or is opencode just incapable of running commands?

  • No need to move from Github, git is already decentralised

    I've heard and read variations of this a lot. GitHub never was simply a git frontend. It always had a community and artefacts around the code. When Github was stable and well loved, people defended it all the time. It was the place to upload code, find contributors, and (after Microslop bought it) even funding for those lucky few popular enough to get it. I understand that change is hard but GitHub's trajectory was written in stone the second Microslop bought it. Of course, letting go of something is difficult, especially if it feels simple to use and everybody else seems to be using it. But when cracks start to show, the minority will react. The majority will simply tolerate enshittification and reject anything else, for many reasons. Some are valid, some not, it's perspective sometimes. However, claiming that moving away from Github is easy because git is decentralised... that's either a profound lack of understanding or a bad faith argument. Maybe even both. If you honestly think that's the case, go see how fun it is to contribute to the Linux kernel (or any project using mailing lists). Go to a project hosted on Git Web and try to submit a bug report.

    Alternatives

    There is hope for one GitHub alternative in particular with a highly unfortunate name for reason I won't get into: forgejo. They have been trying for years to build a federated gitforge (without much success unfortunately), but hope might be on the horizon as Europe starts down the path of leaving foreign Big Tech behind. The Netherlands wants to contribute to forgejo. Gitlab, another GitHub alternative, has many French institutions as customers, but they have done their absolute best to ignore any requests for federation support. Instead, they've jumped onto the bandwagon and gone all in on AI. Don't expect any progress on that front any time soon.

    Why federation

    As stated before, GitHub has many things besides git, the biggest one is the community. But to contribute, you need to create an account Microslop's platform. You cannot use that account for smooth experience once you move to an alternative. You can login with it, but that's about it. Without federation, any alternative is fighting an already immense uphill battle. When you create your user with your repositories on ALTERNATIVE SERVER that cannot connect to ANOTHER SERVER, which forces you to create accounts on every other server. Federation would solve that. You could search, find and contribute to repositories on the fediverse. It could (hopefully) put a dent in GitHub's omnipresence and allow for users to migrate away once, without creating accounts everywhere. Normal users could also contribute straight from the fediverse without having to create an account on Github first. Let's hope European countries fund forgejo instead of forking it or starting a completely new project.

  • Are the good, opensource email clients out there that check emails at regular intervals and configurable filters?

    I've tried FairEMail and SimpleEmail, but they require opening the app to see emails. They seem to be forks or versions of each other without background syncing and (sorry) a terribly ugly interface. Neither seem to have filters. Background syncing shouldn't be constantly on, just every 5-10 minutes or so. Normally I check once a day, but forget to quite easily and then miss an email. If it checked automatically even twice daily, that'd be enough.

  • Wrote a module to fetch emails and serve them via IMAP

    TL;DR fetchmail to move all emails from email provider to local mailbox that is then served via IMAP by dovecot Hi, I like being able to switch between email providers easily without having to change my email address (related post). For example right now people have to go through the hassle of going from mygreatusername@some.host to anotherusername@another.host. It's a big barrier because you now have to update that email address everywhere. Imagine having everything on gmail and then moving to startmail, fastmail, posteo, or whatever else. A solution I was made aware of is to: • pay for a domain e.g mydomain.org for 10 years (can be cheap) • use their inbuilt email (sometimes free) or pick an email provider that allows custom domains • pull all the email to server you host • serve that email That way, you will have your myname@mydomain.org and switch email providers underneath while keeping all your emails. Example config This config uses the module I wrote (maybe something else exists, but I couldn't find it). It pulls emails of myaccount@my.domain from pop.remote.host to my.host and exposes them via IMAPS as myaccount@my.domain on my.host. Notice that my.domain need not be the same as my.host. This allows me to hide my IMAP server. Somebody looking at the MX record of my.domain won't immediately find the IMAP server.

     nix
    { config, ... }:
    {
      /**
        configuration to for fetchmail to retrieve from the remote host
        emails will be moved into a the **local** mailbox of a user with the same email address
      */
      environment.etc."mail/fetchmailrc" = {
        text = ''
          poll pop.remote.host protocol pop3 port 995:
                user "myaccount@my.domain" with password "passwordWithouQuotes" is vmail here
                options fetchall
                ssl
                mda "dovecot-deliver -d myaccount@my.domain"
        '';
        user = config.services.email-fetch-serve.daemonUser;
        group = config.services.email-fetch-serve.daemonGroup;
      };
      
      /**
        usernames and passwords used to log into the **self-hosted** IMAP service
        Uses same format as /etc/passwd
        https://doc.dovecot.org/2.4.3/core/config/auth/databases/passwd_file.html
      */
      environment.etc."mail/imap.passwd" = {
        text = ''
          myAccount@my.domain:{plain}password
        '';
        user = config.services.email-fetch-serve.daemonUser;
        group = config.services.email-fetch-serve.daemonGroup;
      };
      services.email-fetch-serve = {
        enable = true;
        sslCertPath = "/var/acme/certs/mydomain.crt";
        sslCertKey = "/var/acme/certs/mydomain.key";
        fetchmailRcPath = "/etc/mail/fetchmailrc";
        imap = {
          port = 993;
          openFirewall = true;
          passdb = "/etc/mail/imap.passwd";
        };
      };
    }
     nix
    {
      config,
      lib,
      pkgs,
      ...
    }:
    
    let
      cfg = config.services.email-fetch-serve;
      daemonUserHome = "/var/spool/${cfg.daemonUser}";
      sslEnabled = (cfg.sslCertPath != null) && (cfg.sslCertKey != null);
      /**
        Used by fetchmail to deliver mail to dovecot
      */
      dovecot-deliver-wrapper = pkgs.writeShellScriptBin "dovecot-deliver" ''${pkgs.dovecot}/libexec/dovecot/deliver "''${@}"'';
    in
    {
      /**
        A self-hosted "email relay" that allows fetching emails from a server and then serving it
        via IMAP.
    
        Emails are retrieved with fetchmail and exposed via dovecot.
    
        By default, dovecot used IMAP which unencrypted, but with an ssl certificate and key, it can
        be encrypted and thus turned into IMAPS.
        To generate SSL certs, the `security.acme` option is powerful, but you can also use a
        self-signed certificate.
    
        To store secrets, do consider using
        - agenix: https://github.com/ryantm/agenix
        - sopsnix: https://github.com/Mic92/sops-nix
      */
      options = with lib; {
        services.email-fetch-serve = {
          enable = mkEnableOption "emails from an email server and serve them via IMAP";
          sslCertPath = mkOption {
            type = types.nullOr types.externalPath;
            description = "Giving a path to an SSL cert **and** key will enable IMAPS and disable IMAP";
            default = null;
          };
          sslCertKey = mkOption {
            type = types.nullOr types.externalPath;
            description = "Giving a path to an SSL key **and** cert will enable IMAPS and disable IMAP";
            default = null;
          };
          fetchmailRcPath = mkOption {
            type = types.externalPath;
            description = "Configuration for fetchmail";
            example = ''
              poll pop.remote.host protocol pop3 port 995:
                user "accountName@remote.host" with password "passwordWithouQuotes" is vmail here
                options fetchall
                ssl
                mda "dovecot-deliver -d accountName@remote.host"
            '';
          };
          imap = {
            port = mkOption {
              type = types.int;
              description = ''
                Which port to host the IMAP service on. If sslCertPath is set this will
                            be the port of othe IMAPS service'';
              default = 143; # Default IMAP port
            };
            openFirewall = lib.mkOption {
              type = lib.types.bool;
              default = false;
              example = true;
              description = "Allow external traffic to reach the IMAP(S) port";
            };
            passdb = mkOption {
              type = types.externalPath;
              description = ''
                Where passwords for IMAP are stored. Should be secret and accessible by vmail user
                            https://doc.dovecot.org/2.4.3/core/config/auth/databases/passwd_file.html
                            https://doc.dovecot.org/2.4.3/core/config/auth/passdb.html
              '';
            };
          };
          daemonUser = mkOption {
            type = types.str;
            description = "Name of the user running the daemons";
            default = "vmail";
          };
          daemonGroup = mkOption {
            type = types.str;
            description = "Name of the user's group running the daemons";
            default = "vmail";
          };
        };
      };
    
      config = lib.mkIf cfg.enable {
        assertions = [
          {
            # Either both SSL vars are set or none are set
            assertion =
              (cfg.sslCertPath == null && cfg.sslCertKey == null)
              || (cfg.sslCertPath != null && cfg.sslCertKey != null);
            message = "email-fetch-serve service must have sslCertPath AND sslCertKey to have functional SSL";
          }
        ];
        # How electronic email works
        # https://tldp.org/HOWTO/Mail-Administrator-HOWTO-3.html
    
        # ${daemonUserHome} needs to be created and owned by vmail
        users.users."${cfg.daemonUser}" = {
          createHome = true;
          home = daemonUserHome;
          group = cfg.daemonGroup;
          isSystemUser = true;
        };
        users.groups."${cfg.daemonGroup}" = { };
    
        services.dovecot2 = lib.mkMerge [
          ({
            # Taken and adapted from https://wiki.nixos.org/wiki/Dovecot
            enable = cfg.enable;
            createMailUser = true;
    
            enableImap = true;
    
            mailUser = cfg.daemonUser;
            mailGroup = cfg.daemonGroup;
    
            # implement virtual users
            # https://doc.dovecot.org/2.3/configuration_manual/howto/simple_virtual_install/
            # store virtual mail under
            # /var/spool/mail/vmail/<DOMAIN>/<USER>/Maildir/
            mailLocation = "maildir:~/Maildir";
    
            mailboxes = {
              # use rfc standard https://apple.stackexchange.com/a/201346
              All = {
                auto = "create";
                autoexpunge = null;
                specialUse = "All";
              };
              Archive = {
                auto = "create";
                autoexpunge = null;
                specialUse = "Archive";
              };
              Drafts = {
                auto = "create";
                autoexpunge = null;
                specialUse = "Drafts";
              };
              Flagged = {
                auto = "create";
                autoexpunge = null;
                specialUse = "Flagged";
              };
              Junk = {
                auto = "create";
                autoexpunge = "60d";
                specialUse = "Junk";
              };
              Sent = {
                auto = "create";
                autoexpunge = null;
                specialUse = "Sent";
              };
              Trash = {
                auto = "create";
                autoexpunge = "60d";
                specialUse = "Trash";
              };
            };
    
            extraConfig = lib.concatStrings [
              ''
                # force to use full user name plus domain name
                # for disambiguation
                auth_username_format = %Lu
    
                # Authentication configuration:
                auth_mechanisms = plain
                passdb {
                  driver = passwd-file
                  args = ${cfg.imap.passdb}
                }
    
                userdb {
                  driver = static
                  # the full e-mail address inside passwd-file is the username (%u)
                  # user@example.com
                  # %d for domain_name %n for user_name
                  args = uid=${cfg.daemonUser} gid=${cfg.daemonGroup} username_format=%u home=${daemonUserHome}/%d/%n
                }
              ''
    
              (lib.optionalString (!sslEnabled) ''
                service imap-login {
                  inet_listener imap {
                    port = ${builtins.toString cfg.imap.port}
                  }
                  inet_listener imaps {
                    port = 0
                  }
              '')
              (lib.optionalString (sslEnabled) ''
                service imap-login {
                  inet_listener imap {
                    port = 0
                  }
                  inet_listener imaps {
                    port = ${builtins.toString cfg.imap.port}
                  }
                }'')
            ];
          })
          (lib.mkIf sslEnabled {
            sslServerCert = cfg.sslCertPath;
            sslServerKey = cfg.sslCertKey;
          })
        ];
    
        # Open the firewall port to be able to be contacted
        networking.firewall.allowedTCPPorts = [ cfg.imap.port ];
        networking.firewall.allowedUDPPorts = [ cfg.imap.port ];
    
        #####################
        # To fetch the emails
        systemd.services.fetchmail = {
          enable = cfg.enable;
          after = [ "dovecot2.service" ];
          wantedBy = [ "dovecot2.service" ];
          path = [ dovecot-deliver-wrapper ];
          serviceConfig = {
            User = cfg.daemonUser;
            ExecStart = "${pkgs.fetchmail}/bin/fetchmail --fetchmailrc ${cfg.fetchmailRcPath} --daemon 60";
          };
        };
      };
    }
  • "Why don't you just?" The most insidious phrase in the opensource community

    Opensource is undeniably a boon to the world. Without it, not only would there be few to no viable options to tech giants, competition would be rendered much more difficult. Fledgling companies would either have to pay for licensed code or implement everything themselves and that would lock out many from even starting companies and dare I say it, even programming as a whole. But for all the good it has done, there is one thing (amongst many others) that irks me about the opensource community: the phrase "why don't you just...". It is uttered so easily and so thoughtlessly, as if the other person is either too dumb to have considered it, too lazy to have looked it up, or just unwilling to admit it's the right way to do things. • I can't figure out how to do X: why don't you just do Y? • Bug X has been hampering me: why don't you just fix it? • Software X has been crashing and I don't know why: why don't you just.... We could go on and on. Yes, of course, people new to opensource or software in general have trouble voicing their thoughts and approaching problems in the way we software developers are used to. We have experienced the pain of having to track down the source of a bug, had to dig through somebody else's code, read terrible documentation (and consider ourselves lucky it even exists), basically, we have been through the baptism of fire. Having gone through the hardships, we forget what it was like when we first started and what it was like to acquire the knowledge we have. To some, going through the fire must be the only way because "if I suffered, so should you"; a self-righteous, unsympathetic notion I wholeheartedly loathe.

    How to improve

    Some might not actually mean it badly, but "just" don't know how to express themselves better. To those who do actually want to help and not sound belittling, please do consider alternative wording: • Have you thought of ... • Could you try ... and get back with the results? • I've had success with ...., maybe that could work for you • I think this could help ... If you are one of those people though who genuinely don't see a problem with it, why don't you just understand?

  • 1658 responses for the Call For Evidence forEuropean Open Digital Ecosystems

    I was hoping for thousands of responses. The EU Commission better not dismiss it all.

    ec.europa.eu
  • Are there war-resistant networks citizens can join?

    The European Union is slowly waking up to the fact that the US might not continue protecting it (a Republican senator introducing a bill to exit NATO, a new security direction talking about breaking up the EU) and the possibility of a Russian invasion. Multiple military and civilian facilities reporting drone sightings, Polish railway tracks being sabotaged, Portugal and Spain losing electricity for multiple hours, Russian submarines and warships along the EU coasts, severing fiber connections between Sweden and central Europe, the list goes on and on.

    Obviously infrastructure will be attacked and communication cannot depend on Starlink, services from US tech companies, nor be centralised.

    So, which networks (from software to hardware), can citizens join to bolster their communication in case of war? Meshtastic? Meshcore? Jami? Briar? Freifunk? What exists? What can work? Which limitations are there?