eskuero

joined 1 year ago
MODERATOR OF
[–] eskuero@lemmy.fromshado.ws 4 points 2 weeks ago

I have a lot of artworks I downloaded over years that were saved in png files and after converting them loslessly to avif I still was able to regain some space.

For videos you cant afford lossless if you want to recover space but visually lossless results are usually good enough on AV1

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

For archival purposes software encoding is always more efficient size wise.

I am also waiting for an Arc to arrive to plug into my jellyfin box.

Hardware encoding is fast yeah but wont save me disk space.

[–] eskuero@lemmy.fromshado.ws 4 points 2 months ago* (last edited 2 months ago) (2 children)

Still not sure whether I will upgrade to 9900x or 9700x from my 3700x

I'm recently:

  • Doing a lot of av1 software encoding at low presets
  • Not trusting yet of rocm future

So going harder on the stronger CPU rather than an expensive the GPU seems to be the answer for me. If I gamble on proper rocm support for some AI workloads and fail at least I could run some casual stuff using the CPU device.

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

I'm honestly in the market to build a new pc and leaving the one with my 7 3700X as a secondary.

Originally I was planning to get more cores but honestly staying at the lower wattage might be better.

[–] eskuero@lemmy.fromshado.ws 8 points 4 months ago

My ass who was sending patches to cyanogenmod gerrit ten years ago would never.

device: msm8916-common: BoardConfig: Build libril from source

[–] eskuero@lemmy.fromshado.ws 18 points 6 months ago

They "complied".

[–] eskuero@lemmy.fromshado.ws 1 points 7 months ago

I think the safer bet is duo robins, chrom, lissa, then fredering and emmeryn swapping the demote/TT spots.

 

Lissa and Frederick for kids banner.

[–] eskuero@lemmy.fromshado.ws 7 points 8 months ago* (last edited 8 months ago) (1 children)

You should post the text here rather than a link to reddit

[–] eskuero@lemmy.fromshado.ws 17 points 8 months ago (5 children)

can i selfhost an ai girlfriend in my pi3

[–] eskuero@lemmy.fromshado.ws 6 points 9 months ago

I'm using Notally on Android

[–] eskuero@lemmy.fromshado.ws 12 points 9 months ago

ty for your work

 

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

Since we are here I though it would be best to list the ones currently existing for ease of any new users:

Generally speaking I would suggest if creating new ones to avoid very big instances, since those are currently a bit overloaded and struggling to get the content across to other instances. Prime instance of this is lemmy.ml where it can take multiple hours if ever for content to catch up.

You can use https://lemmyverse.net/communities to scout for new ones communities of your interest

 

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 ›