1
Git repo (codeberg.org)
1

PieFed - Explore Anything, Discuss Everything.

6
submitted 8 months ago* (last edited 8 months ago) by freamon@endlesstalk.org to c/piefed_meta@piefed.social

This is probably just me, but I found INSTALL.md to be a bit confusing.

So, for a fresh install of Ubuntu in a Windows Hyper-V VM, this is the list of steps I took to get something that at least looks like it might be the right thing:

remove unattended-upgrades, and clean up after OS install

sudo systemctl stop unattended-upgrades
sudo apt-get purge unattended-upgrades
sudo apt autoremove

install postgresql 16

sudo apt install ca-certificates pkg-config
wget --quiet -O - [https://www.postgresql.org/media/keys/ACCC4CF8.asc](https://www.postgresql.org/media/keys/ACCC4CF8.asc) | sudo apt-key add -
sudo sh -c 'echo "deb [http://apt.postgresql.org/pub/repos/apt/](http://apt.postgresql.org/pub/repos/apt/) $(lsb_release -cs)-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
sudo apt update
sudo apt install libpq-dev postgresql

install python libs

sudo apt install python3-pip python3-venv python3-dev python3-psycopg2

install redis server

sudo apt install redis-server

install git

sudo apt install git

set up database

sudo -iu postgres psql -c "CREATE USER pyfedi WITH PASSWORD 'pyfedi';"
sudo -iu postgres psql -c "CREATE DATABASE pyfedi WITH OWNER pyfedi;"

clone PieFed

git clone [https://codeberg.org/rimu/pyfedi.git](https://codeberg.org/rimu/pyfedi.git)

cd into pyfedi, set up and enter virtual environment

cd pyfedi
python3 -m venv ./venv
source venv/bin/activate

use pip to install requirements

pip install wheel
pip install -r requirements.txt

edit .env file

cp env.sample .env
nano .env
(change SECRET_KEY to some random sequence of numbers and letters)

initialise database, and set up admin account

flask init-db

run the app

flask run
(open web browser at http://127.0.0.1:5000))
(log in with username and password from admin account)

Maybe this will help someone else (or maybe someone has spotted something that I missed - like I say: it looks right when loaded in a browser, but I'm not 100% sure)

85
[-] freamon@endlesstalk.org 93 points 8 months ago

I changed the link to nbcnews rather than businessinsider - I tested it but the paywall on there is sneaky.

The full memo is:


Dear Vice Team,

As we navigate the ever-evolving business landscape, we need to adapt and best align our strategies to be more competitive in the long term. After careful consideration and discussion with the board, we have decided to make some fundamental changes to our strategic vision at Vice.

We create and produce outstanding original content true to the Vice brand. However, it is no longer cost-effective for us to distribute our digital content the way we have done previously.

Moving forward, we will look to partner with established media companies to distribute our digital content, including news, on their global platforms, as we fully transition to a studio model. As part of this shift, we will no longer publish content on vice.com, instead putting more emphasis on our social channels as we accelerate our discussions with partners to take our content to where it will be viewed most broadly.

Separately, Refinery 29 will continue to operate as a standalone diversified digital publishing business, creating engaging, social first content. As you know, we are in advanced discussions to sell this business, and we are continuing with that process. We expect to announce more on that in the coming weeks.

With this strategic shift comes the need to realign our resources and streamline our overall operations at Vice. Regrettably, this means that we will be reducing our workforce, eliminating several hundred positions. This decision was not made lightly, and I understand the significant impact it will have on those affected. Employees who will be affected will notified about next steps early next week, consistent with local laws and practices.

I know that saying goodbye to our valued colleagues is difficult and feels overwhelming, but this is the best path forward for Vice as we position the company for long-term creative and financial success. Our financial partners are supportive and have agreed to invest in this operating model going forward. We will emerge stronger and more resilient as we embark on this new phase of our journey.

Thank you for your continued dedication to Vice and support during this time of transition.

Together, I am confident that we will overcome any challenges and achieve our shared goals.

Bruce

221
submitted 8 months ago* (last edited 8 months ago) by freamon@endlesstalk.org to c/news@lemmy.world
15

From my nginx access log:

your.ip.address - - [21/Feb/2024:06:50:09 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3; +https://lemmy.sdf.org"
your.ip.address - - [21/Feb/2024:06:50:09 +0000] "POST /inbox HTTP/1.1" 400 0 "-" "Lemmy/0.19.3; +https://lemmy.sdf.org"
your.ip.address - - [21/Feb/2024:06:50:09 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3; +https://lemmy.sdf.org"
your.ip.address - - [21/Feb/2024:06:50:09 +0000] "POST /inbox HTTP/1.1" 400 0 "-" "Lemmy/0.19.3; +https://lemmy.sdf.org"

2 of the entries are "https://lemmy.sdf.org/activities/like/88bc5b6d-f11f-4245-90aa-908e43befe97" being sent twice,
the other two are "https://lemmy.sdf.org/activities/like/437327e5-a262-46bc-8ce7-1c2c5bd440b3" being sent twice

I've reported this problem to other affected servers that I've seen:
the lemmy.ca post suggests the problem was something to do with running multiple containers with the same index number;
the endlesstalk.org post suggests that re-starting the backend containers is a fix
(their answers will likely more sense to you than to me, as I don't run lemmy).

Thanks!

[-] freamon@endlesstalk.org 125 points 8 months ago* (last edited 8 months ago)

A meme made in response (not by me):

215
Best we can do right now. (media.mstdn.social)
submitted 8 months ago by freamon@endlesstalk.org to c/memes@feddit.uk
1
submitted 8 months ago* (last edited 8 months ago) by freamon@endlesstalk.org to c/lemmy_ca_support@lemmy.ca

Hi. Just looking at what lemmy.ca sends my server:

From nginx log:

your.ip.address - - [20/Feb/2024:03:48:47 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3; +https://lemmy.ca"               
your.ip.address - - [20/Feb/2024:03:48:49 +0000] "POST /inbox HTTP/1.1" 400 0 "-" "Lemmy/0.19.3; +https://lemmy.ca"         
your.ip.address - - [20/Feb/2024:03:48:57 +0000] "POST /inbox HTTP/1.1" 400 0 "-" "Lemmy/0.19.3; +https://lemmy.ca"              

Dumping the JSONs reveals 3 duplicate files, all containing:

"id": "https://lemmy.ca/activities/create/0968bf93-ac05-4178-bf3f-28cdc65fc338"
"actor": "https://lemmy.ca/u/HairyOldCoot"
"object": {
  "id": "https://lemmy.ca/comment/7454502"            
  "content": "That was an episode of Sliders."
  "published": "2024-02-20T03:48:45.810068Z"

These are 3 Creates, not 1 Create and 2 Updates or anything. I've chosen a comment 'cos that's public info, but it's the same for all other activity too (Votes, Deletes, etc).

lemmy.ca isn't alone in this. endlesstalk.org sends everything twice (info posted here), as does lemmy.sdf.org and mander.xyz, but lemmy.ca is the only one I've seen send stuff 3 times. Other instances (e.g. aussie.zone, feddit.nl, lemm.ee, lemmings.world, lemmy.world, programming.dev, reddthat.com, sh.itjust.works, slrpnk.net) don't, but there's nothing obvious like lemmy version numbers to indicate the difference.

Whilst I'd prefer you didn't send me stuff 3 times, I'm mostly mentioning it because I doubt it's good for your own resources to send every activity by every lemmy.ca user out multiple times. Also, the OPs of my community are from Mastodon, so I imagine you're sending them the same message 3 times too ...

84
6
submitted 8 months ago* (last edited 8 months ago) by freamon@endlesstalk.org to c/issues@endlesstalk.org

I just upvoted a comment in a community hosted on my site, and in the nginx log I can see:

ip.address - - [19/Feb/2024:14:33:31 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3; +https://endlesstalk.org"
ip.address - - [19/Feb/2024:14:33:43 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3; +https://endlesstalk.org"

Dumping out the activity, I can see:

... (single vote from account on another instance) ...                   
{
  "@context": [
    "https://join-lemmy.org/context.json",
    "https://www.w3.org/ns/activitystreams"
  ],
  "id": "https://endlesstalk.org/activities/like/f102d062-dfe9-4ece-96e8-310a09b249ba",
  "actor": "https://endlesstalk.org/u/freamon",
  "object": "https://sh.itjust.works/comment/9061222",
  "type": "Like",
  "audience": "https://lemmon.website/c/tails"
}
... (single vote from account on another instance) ...        
{
  "@context": [
    "https://join-lemmy.org/context.json",
    "https://www.w3.org/ns/activitystreams"
  ],
  "id": "https://endlesstalk.org/activities/like/f102d062-dfe9-4ece-96e8-310a09b249ba",
  "actor": "https://endlesstalk.org/u/freamon",
  "object": "https://sh.itjust.works/comment/9061222",
  "type": "Like",
  "audience": "https://lemmon.website/c/tails"
}
... (single vote from account on another instance) ...        

It's the same for comments too (if I grep the dump for other people's comments, there's only one, but there's two for comments made by me)

EDIT: can also see dupes from lemmy.ca (they actually sent the same Like 3 times).

166
submitted 8 months ago by freamon@endlesstalk.org to c/funny@lemmy.world
259
Did someone call for IT support? (files.mastodon.social)
submitted 8 months ago by freamon@endlesstalk.org to c/funny@lemmy.world
[-] freamon@endlesstalk.org 90 points 8 months ago

Or perhaps:

[-] freamon@endlesstalk.org 93 points 9 months ago

Similar vibe:

[-] freamon@endlesstalk.org 82 points 9 months ago

Just to say, I massively prefer the name 'microblogmemes' over 'whitepeopletwitter'. That was always a weird one - posts didn't always involve white people, didn't always come from Twitter (which - technically - doesn't even exist anymore) and seemed based on a petty misunderstanding of what Black People Twitter was.

FWIW, I agree with you about the Denny's post. I'm also the moderator of a community that Stamets has quit, so I know that losing him is a blow, because he posts a lot of content. But I also know that he's a complicated human.

[-] freamon@endlesstalk.org 67 points 1 year ago

Right way up

[-] freamon@endlesstalk.org 70 points 1 year ago

New home: !trendingcommunities@endlesstalk.org

Will probably post to both for a while, until we have some kind of resolution.

[-] freamon@endlesstalk.org 77 points 1 year ago

I always took the term 'bullshit jobs' to refer to jobs that produce something that society doesn't really require, and typically only exists because they need someone to deal with the output of someone else's bullshit job.

[-] freamon@endlesstalk.org 109 points 1 year ago

lemmy.world deleted their copy of it (due to site rules, and prompted by a concerned Internet citizen)

It's probably the biggest Community in all of Lemmy, so the ramifications will be interesting.

[-] freamon@endlesstalk.org 78 points 1 year ago

It can certainly seem that way sometimes. Shows like The Handmaid's Tale have been circling the drain of their own premise for a few years now. A big part of it, I think, is that they want to keep their main cast for as long as possible, which limits the options of what can happen.

Give me a mini-series, or even an anthology series, any day.

[-] freamon@endlesstalk.org 95 points 1 year ago

TempleOS. All other operating systems are sinful.

[-] freamon@endlesstalk.org 130 points 1 year ago

That's a very positive spin on quite a shitty situation (especially if lemmy.ml goes kaputt)

view more: next ›

freamon

joined 1 year ago
MODERATOR OF