Skip Navigation
When Harris had to pick a VP, all media kinda agreed it should be a white male, to balance the fact that she is black and a woman. So Walz is the DEI hire.
  • I don't know. The 6 finalists that we know about were all white males but we can only speculate who she interviewed to get down to those 6 finalists.

    While it's always a reasonable guess that a white male's identity played a role in their hiring process, we don't seem to have any evidence to support it.

    Calling someone a "DEI hire" doesn't just mean that they're a different race than other people in an organization. It's used to imply that the person is otherwise unqualified for the job and was specifically hired to fill a diversity requirement.

    I don't think that's an accurate description of Walz and I'd do some pretty serious eye rolling if MAGA starts trying to portray him as such.

  • When Harris had to pick a VP, all media kinda agreed it should be a white male, to balance the fact that she is black and a woman. So Walz is the DEI hire.
  • He was clearly chosen for the votes he's likely to bring in. That's smart strategy on Harris' part.
    As near as I can tell "the media" spent a few days wildly guessing about who her VP pick would be and many of them where white males. There are many articles that predicted that she would pick a white male but I couldn't find any that argued that it should be a consideration.

  • All the posts I've liked
  • Thanks. Those look like they're likes per post or comment rather than per user but it's pretty close to what I'm looking for. I'm gonna test that out when I get back from my conference!

  • All the posts I've liked
  • That's exactly what I'm looking for!

    I'm gonna go test out Boost. Do you happen to know what API endpoint it hits?

    update: It looks like Boost is only available on Android and I don't have one.

  • Lemmy Support @lemmy.ml aprentic @lemm.ee
    All the posts I've liked

    Is there a way for me to get a list of all the posts I've liked/disliked?

    11
    Understanding an error message

    I'm trying to follow the instructions at https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-server/

    I get the error message: {"error":"Unable to fetch key JSON at https://<domain>/actor"}

    The actor file is located at: /var/www/<subdomain>/actor

    that contains: ``` { "@context": [ "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1" ],

    "id": "https://<domain>/actor", "type": "Person", "preferredUsername": "alice", "inbox": "https://<domain>/inbox",

    "publicKey": { "id": "https://<domain>/actor#main-key", "owner": "https://<domain>/actor", "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnioC3W5cHbHLo+ln4QPm\n6EX1Ypvs5h+h47b5RwhF+2N84dSHXURUuA6a33+IlVqiO/3gGxIX+4MJuSDAxGZM\nWFDbuqDnHft2zWorKmIqyDzSSB/oMSqOVL8QV1KYWsCyhw9v2l5U6EIw2Z7u3Fc9\nW19dumK0ieL7CPME2dJGV5quBoa2AGg0D36XCp8hAWMXGUnlEcaqjyePJg9/quZn\no3W/+h5ujoUQG73SIUaJdsK16Q0E7o5N7JP7pqqE8p8pEXtpwXJJYE9y9ItTqvRS\na29xymyboCI6jSK+VTgjz1tj6W+EGQsPfka6t8Gq82NL00VxBEYb/eiEFuOSy4RL\ndwIDAQAB\n-----END PUBLIC KEY-----" } } ```

    I haven't been able to find out what that error means. Is it unable to find the actor file? Maybe I should change /actor to /actor/ and put the file inside that? If so, what should the filename be? Is it some problem with the public key inside the JSON? Is it mad about the newlines?

    0
    Lemmy Support @lemmy.ml aprentic @lemm.ee
    Help Building Lemmy [part 3/???]

    Continuation from: https://lemm.ee/post/10351499 (I think that's the right thing to do rather than necroing an old thread)

    I've been following the directions in https://join-lemmy.org/docs/administration/from_scratch.html and I'm hoping to get some help debugging my nginx config files.

    It seems that the instructions for configuring nginx have some bugs.

    ``` curl https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf \ --output /etc/nginx/sites-enabled/lemmy.conf

    put your actual domain instead of example.com

    sed -i -e 's/{{domain}}/example.com/g' /etc/nginx/sites-enabled/lemmy.conf sed -i -e 's/{{lemmy_port}}/8536/g' /etc/nginx/sites-enabled/lemmy.conf sed -i -e 's/{{lemmy_ui_port}}/1234/g' /etc/nginx/sites-enabled/lemmy.conf nginx -s reload ```

    I was pointed at a thread which suggests using something similar to the ansible configuration https://github.com/LemmyNet/lemmy-ansible/pull/90/files

    but I haven't been able to get that working either. Whenever I try to connect I get an error page and the logs are full of: 127.0.0.1 - - [18/Oct/2023:19:53:51 +0000] "GET /api/v3/site? HTTP/1.0" 500 170 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" and 2023/10/18 18:48:08 [alert] 73064#73064: *321837 768 worker_connections are not enough while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /api/v3/site? HTTP/1.0", upstream: "http://127.0.0.1:8536/api/v3/site?", host: "44.205.105.157" I found some other threads that suggest this is a problem with a loop in nginx.

    These are my config files: /etc/nginx/nginx.conf: https://pastebin.com/aN78drum /etc/nginx/sites_enabled/lemmy.conf: https://pastebin.com/ZGywujAB /etc/nginx/sites_enabled/lemmy_internal.conf: https://pastebin.com/5AXbvmPx

    I think I remembered to comment all the changes I made.

    lemmy and lemmy-ui resolve to 127.0.0.1 in localhost

    mydomain.com is a dummy I own the actual domain and it's pointed at an elastic IP that's associated with the ec2 instance. Everything is on that ec2 instance.

    0
    Help Building Lemmy [continued]
  • Can you elaborate on that? I'm not at all familiar with nginx configuration.

    That was merged into lemmy-ansible on June 22. The instructions say to run:

    curl https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx.conf --output /etc/nginx/sites-enabled/lemmy.conf
    # put your actual domain instead of example.com
    sed -i -e 's/{{domain}}/example.com/g' /etc/nginx/sites-enabled/lemmy.conf
    sed -i -e 's/{{lemmy_port}}/8536/g' /etc/nginx/sites-enabled/lemmy.conf
    sed -i -e 's/{{lemmy_ui_port}}/1234/g' /etc/nginx/sites-enabled/lemmy.conf
    nginx -s reload
    

    Do you mean that I need to also do something like:

    curl https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/nginx_internal.conf
    --output /etc/nginx/sites-enabled/lemmy_internal.conf

  • Help Building Lemmy [continued]
  • Happy to share my notes.

    Holding off for a bit though. The changes I made seemed to move me forward but I'd like to confirm that my changes at least work for me before I start recommending them to anyone else :)

  • Lemmy Support @lemmy.ml aprentic @lemm.ee
    Help Building Lemmy [continued]

    follow up from: https://lemm.ee/post/9562431

    I ended up starting over on a t2.medium with Ubuntu and Lemmy 0.18.5.

    Still following: https://join-lemmy.org/docs/administration/from_scratch.html

    I had to make a few adjustments but that got me as far as:

    >nginx -s reload

    But when I try to point a browser at my host, I don't get a config screen, just a JSON doc. I haven't been able to find anything in the logs that seems suspicious.

    The only thing I did notice was that "id", "inbox", and "outbox" all have the wrong value. They all use:

    >https://lemmy.[mydomain]

    instead of

    >https://lemmytests.[mydomain] (which is the correct name)

    @rikudou@lemmings.world Was super helpful on my last post. I hope I can invoke their favor again.

    4
    Help building Lemmy
  • Thank you. I tried that and got:

    curl: (7) Failed to connect to localhost port 80 after 0 ms: Couldn't connect to server

    When I put the port number back in:

    curl -I http://localhost:8536/api/v3/site

    I get the same 404 errors, with different time stamps.

    journalctl -u lemmy

    shows the same thing. Entries like:

    Sep 27 20:26:04 ip-172-31-44-10 lemmy_server[12299]: 2023-09-27T20:26:04.726387Z INFO actix_web::middleware::logger: 127.0.0.1 'HEAD /api/v3/site HTTP/1.1' 404 0 '-' 'curl/7.88.1' 0.000054

    I assume that /ap/v3/site is dynamically generated and there isn't a location I can look at in the file system to make sure that everything is correct there, right?
    The instructions have you create /usr/bin/lemmy, /etc/lemmy/lemmy.hjson (outside of stuff you download to the user directory) so I don't think there is.

  • Lemmy Support @lemmy.ml aprentic @lemm.ee
    Help building Lemmy

    I'm working on an idea to improve comment sorting and I need to be able to get Lemmy running from source so I can implement and test it.

    Right now I'm stuck on a fairly basic (I hope) problem.

    I'm mostly following https://join-lemmy.org/docs/administration/from_scratch.html I'm running it on Debian instead of Ubuntu but I don't think that's the problem. (specifically a t2.small with the AWS Debian image). I'm also using 0.18.4 instead of 0.18.2. I also haven't (yet) done the possibly optional step of editing postgres config to allow password authentication instead of peer authentication.

    Everything seems fine until I start Lemmy. After I run

    >systemctl enable lemmy; systemctl start lemmy

    I try

    >curl -I localhost:8536/api/0.18.4/site

    But I get:

    >HTTP/1.1 404 Not Found >content-length: 0 >vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers >date: Wed, 27 Sep 2023 17:51:51 GMT

    When I check

    >journalctl -u lemmy

    It does contain:

    >Starting http server at 127.0.0.1:8536

    There are still a bunch of things I'll be trying but I wanted to check if this is a well known problem with a simple solution.

    4
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AP
    aprentic @lemm.ee
    Posts 5
    Comments 8