• 12 Posts
  • 148 Comments
Joined 2 years ago
cake
Cake day: September 1st, 2023

help-circle
  • the idea boils down to either outside instances aggregating votes made on their side and sending final voting result on a scale -1/0/1 or alternatively this aggregation could be done by the hosting community

    Could you provide an example calculation? I’m not getting it. Do you want to map values from one range to another e.g [-1000,1000] to [-1,1]? Will each instance have its own mapping?

    Also, computationally, I’m not sure how this is going to work iteratively. From what I understand, activitypub sends events either singular or batched to other servers e.g User X votes up, that’s an event sent, User Y votes down, that’s another event sent. If I’m not mistaken, lemmy doesn’t store the events it receives so reconstituting a vote tally isn’t possible.

    I kinda get where you’re coming from, but I’m not sure it’s the right solution.

    Anti Commercial-AI license







  • This way, if the third party starts doing some bullshit like trying to lock me in, donating to a dickhead, or whatever else I disagree with, I can cancel my subscription, move to another third party, and keep all mails on my server.

    I would like to be able to change providers and have the emails available on multiple devices.

    IMAP allows multiple devices but leaves the emails on the server. POP pulls them from the server but that means they aren’t available to other devices anymore.

    The solution (I think) is to pull using POP onto a shared server, then make the pulled emails available using IMAP.

    Anti Commercial-AI license





  • It’s called Web Monetisation. It’s a standard that’s in development. In short, you, the user, can donate/pay money on any website that follows the standard. No patreon, no PayPal, no VISA, no yada yada.

    Setup: You install an extension or use a compatible browser, create a wallet with a web payment provider, login / connect with the extension / browser.

    Example operation: while browsing you happen upon a website (Lemmy.world for example) or web page (tilvids.com/u/thelinuxexperiment or one of the video pages), the “tip” button is made available, you hit it and 1£ is queued to be sent to the website or person on the webpage. At your leisure, you accept the transaction.

    This can be implemented any number of ways e.g statistics are collected (locally) about which websites you visited with web monetisation active, at the end of the month, you are shown a breakdown of that activity. Say 10% peertube, 30% Lemmy, 40% mastodon, and a smattering of other softwares. You say “I want 10£ to be split across the different softwares with a minimum of 1£ per transaction”. Or anything else you can come up with.

    That’s it. The website operator doesn’t need you to have PayPal, or patreon, or some special bank. You have a " wallet", you decide how the money is transfered and to whom, and you’re done.

    Anti Commercial-AI license











  • sequenceDiagram
        Computer->>+Nameserver: Where's wikipedia.org
        Nameserver-->>-Computer: 185.15.59.224
        Computer->>+Wikipedia: GET /
        Wikipedia-->>-Computer: return /
    

    Here is the simplified sequence diagram

    As you can see the request to wikipedia itself does not go through a nameserver, only the DNS request does. It’s the entire reason Firefox has the option to proxy DNS queries over the proxy: to avoid DNS leaks

    Right now, all that should be happening is DNS requests being proxied, not the rest of your traffic.

    There’s a huge difference when I enter https://one.one.one.one/help/ normally with "Use system proxy settings" in my browser and when I enter it with a "Manual proxy configuration" with the SOCKS Host set up and "Proxy DNS when using SOCKS v5" checked on.

    To me that indicates the DNS proxy through TOR isn’t actually working with your dnscrypt setup 🤔 However it’s difficult to debug from here. It’s possible the DNS query is slow, but because the actual HTTP request is going through your standard internet with no proxy it’s fast, and when you do turn on the proxy for HTTP/S requests, you observe actually using TOR for everything and thus the latency.

    Could you run these commands please

    # Find which process is running the local DNS server
    sudo ss -plant | grep ":53 " # alternatively sudo netstat -plant | grep ":53 "
    
    # Check your DNS resolver config
    # You can share it or not, but 127.0.0.1 MUST be in it, otherwise your DNS queries aren't being encrypted/proxied
    cat /etc/resolv.conf
    
    # Measure how long it takes to query a new domain name
    time dig techhub.hpe.com
    time dig bash.org
    time dig element.io
    

    If you feel comfortable with it, you share the logs of dnscrypt (I don’t know what kind of information is in there, so you might have to clean it).

    journalctl -u dnscrypt-proxy2 or just systemctl status dnscrypt-proxy2. Either here or PMed. Here are encrypted pastebin alternatives.

    Anti Commercial-AI license


  • I don’t think that’s a correct assumption. DNS just resolves domain names to IPs. When you access a website, if the IP isn’t in your dns cache, it will look it up and that’s the only part that should be going through dnscrypt. The actual request to the site goes to the IP directly. To use TOR across your entire system, it should either be used as a VPN or as a system-wide proxy. Dunno how to set that up though…

    You should be able to at least activate logs for dnscrypt and see which DNS entries are being requested. To have a deeper look into your traffic, the only thing I know of is wireshark, which can sniff all your packets. You should be able to observe your DNS request going to dnscrypt, possibly through TOR (I doubt the packet tracing will work, sequence numbers or something should be disrupted by going through TOR), then a request going out to the IP it found over HTTP (port 80) or HTTPS (port 443).

    Anti Commercial-AI license



  • To answer your question: no guideline (as is typical with nix).

    I always check https://search.nixos.org/options first. There’s a chance it’s a package which requires setup or even a service that has extra config. If it’s not there, then https://search.nixos.org/packages is next.

    When multiple come up, it depends which prefix or suffix they have. Prefixes like pythonPackages. either mean the package is written in a specific programming language with its own packaging intricacies and its easier to keep them under that prefix, other prefixes like neovimPackages. mean it’s a package for a program and something like a plugin or so. Probably more prefixes exist.

    There are some agreed upon but badly documented suffixes (the usual nix style). But if it’s a version suffix, then it’s up to you to decide which one to use. In a comment you mentioned julia, well that’s a programming language so you have to choose the version you want. Sometimes the manual has information on how to use the programming language or one of the wikis.

    Anti Commercial-AI license