eskuero

joined 2 years ago
[–] eskuero@lemmy.fromshado.ws 4 points 4 days ago* (last edited 4 days ago)

4-2-1-1 for me I guess 🫣 or 4-2-2?

Two copies at home, synced daily, one of them in an external drive that I like to refer as the emergency grab and run copy lol

One at a family member synced weekly and manually every time I visit.

All of those three copies are always within a 10 kilometer radius in a valley overseen by a volcano so..

One partial copy of the so-critical-would-cry-if-Iost data is synced every few days to a backblaze bucket.

[–] eskuero@lemmy.fromshado.ws 32 points 1 week ago (1 children)

Yeah dont read their comments.

I have them on my RSS because is a nice feed of news even if he does some clickbaity titles but the community has zero moderation.

Like, it's not just rude technical arguments, but also a lot of political and personal insults.

I don't have the energy for it.

[–] eskuero@lemmy.fromshado.ws 4 points 2 weeks ago

"36 unavailable videos are hidden"

[–] eskuero@lemmy.fromshado.ws 19 points 2 weeks ago (4 children)

First FreeDesktop and now Alpine damm

[–] eskuero@lemmy.fromshado.ws 19 points 3 weeks ago (3 children)

I did setup UptimeKuma for notifications on this. let's see if it works out when the expiry arrives in a month

[–] eskuero@lemmy.fromshado.ws 2 points 1 month ago

The Wildfire S is more than 10 years old tho

[–] eskuero@lemmy.fromshado.ws 6 points 1 month ago (1 children)

That's not Bennett though.

[–] eskuero@lemmy.fromshado.ws 4 points 1 month ago

Bold of you to not run to assume I don't run Arch on my server too (but with all the services inside containers (which are arch images))

[–] eskuero@lemmy.fromshado.ws 31 points 1 month ago* (last edited 1 month ago) (6 children)

I started using Linux 2 years back.

Here's the cause and it's normal.

I remember going through a lot of hopping the first 3 or 4 years but have been settled on Arch since then.

[–] eskuero@lemmy.fromshado.ws 43 points 1 month ago (6 children)

"Google could be forced to sell Chrome" was the news in late november so I guess this a reaction to that.

[–] eskuero@lemmy.fromshado.ws 2 points 2 months ago (1 children)

that's embarrassing one thing is to patch it to make it work on your system but to remove the donation buttons entirely...

[–] eskuero@lemmy.fromshado.ws 5 points 2 months ago

You can also disable app install and update for each profile and instead just apply them directly and manually from the owner profile.

 
 
 

cross-posted from: https://lemmy.fromshado.ws/post/793

Disclaimer

You are responsible of cloning whatever content you decide to migrate. I suggest to keep it to posts you made originally or have been given permissions to migrate. DO NOT SPAM

Background

Following all the recent issues I caught wind of Lemmy, I was aware of the Fediverse already and been present of Mastodon for years but unlike with microblogging alternatives I don't mind losing contact with people on link aggregators.

But since I was considering also deleting or overwriting all my original submissions (lol it's all gacha memes) I wanted to keep them available somewhere else. So I migrated a bunch of them to /c/fireemblemheroes

The program

So I coded a small python script (it's actually 500 poorly written lines) that given a file where each line is an URl of a Reddit post it can parse the corresponding content and using Lemmy's API clone them into your instance.

sample execution migrating 40 posts and their comments into a local test instance

Migration of text

For the most part simply copying and pasting original and texts back into Lemmy works.

Still there's a need to clean the body to make sure inlined picture links are expanded and characters are unescaped.

Migration of media

The post might be a single link or might contain links hosted on Reddit in it's body.

If enabled, the script is capable of downloading this media and reuploading to the pictrs instance asociated with it, then replacing with the new selfhosted link. Otherwise the original link is kept.

I suggest to disable video uploading though, as most of the time pictrs will not finish handling of the file before lemmy decides to timeout the connection

Migration of comments

The script is capable of tracing all comments in the particular post and migrate them while keeping the threaded relation between parent and child comments.

It also keeps a credit of name and date to the original author. In any case migrating comments will make you hit rate limits severely, increase runtime drastically.

This option really is only intended if you are migrating your community from reddit and want to keep all the top content.

This is how an URL link looks with migrated thread comments

Migration of upvotes

This is not possible without possible affecting federation. You would require editing the database directly as obviously the API doesn't allow it.

The same happens with original posting dates.

Running it

The prerequisite is having an user to authenticate to the instance you will use and the community where the posts will be migrated to exist already. The code is located at https://github.com/Eskuero/antenna2lemmy

Clone it locally:

$ git clone https://github.com/Eskuero/antenna2lemmy; cd antenna2lemmy

Create a python virtual environment and install the required dependencies on it:

$ virtualenv env; . env/bin/activate; pip install -r requirements.txt

READ THE CONFIGURATION FILE CAREFULLY, it documents each option. Adjust it to your needs.

Execute with the following command, where "personal" is the name of the community where the posts will be migrated to and "links.txt" a simple text file containing a single Reddit url per line. They are comma separated.

$ python antenna2lemmy.py personal,links.txt

The program should start running with a curses interface to report on progress. You can disable it by passing the environment variable DEBUGMODE=1.

The full log output will be saved to migration.log on execution directory

Reminder to be respectful of the other users of your instance, just because the tool runs automated and you are essentially crossposting from Reddit spamming a lot of migrated links might get you banned

view more: next ›