eskuero

joined 1 year ago
MODERATOR OF
[–] [email protected] 6 points 23 hours ago

The G in LLM stands for Girlfriend

[–] [email protected] 7 points 1 day ago

I just stop my containers and tar gzip their compose files, their volumes and the /etc folder on the host

[–] [email protected] 7 points 5 days ago* (last edited 5 days ago)

Assuming you have all of them under a folder, I just run this lol

for f in *; do
    echo "$f";
    git -C "$f" pull;
    git -C "$f" submodule update --recursive --remote;
    echo "";
    echo "#########################################################################";
    echo "";
done
[–] [email protected] 4 points 1 week 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.

[–] [email protected] 6 points 1 week ago* (last edited 1 week 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.

[–] [email protected] 11 points 1 week ago (4 children)

From what I understand its still restrained by the server in real time so downloading a 2 hour movie would still take two hours 🥲

[–] [email protected] 4 points 1 week ago

Yeah, I have been eyeing upgrades to get avx512 anyway because lately I have been doing very heave very low preset av1 encodes but when they are a dick about it I just feel like postponing it.

[–] [email protected] 41 points 1 week ago (4 children)

lol for the past 15 years I have "rebuilt" my desktop every 5 years but I didn't expect the would try to force me out of my 7 3700x right on the date

[–] [email protected] 11 points 1 week ago

I am an arch linux user btw

[–] [email protected] 23 points 1 week ago

Your connection is 40MB/s I assume

5e is capable of getting the full 1Gbps of my connection so I easily see over 90MB/s. That being said I bought a big 100m bulk years ago and have been clipping it myself with care.

If you were indeed using leftover/ free cables of cuestionable quality it indeed could be a reason for poor perfomance

[–] [email protected] 4 points 2 weeks 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.

[–] [email protected] 28 points 1 month ago (3 children)

As someone who only codes solutions for himself I don't relate. All the extra time I would spend writting a C solution it would never attone the runtime loses of doing it in maybe python.

 

Lissa and Frederick for kids banner.

15
Chiorizo (lemmy.fromshado.ws)
 
 

Per the new banner released for Heroes where he got an (tea butler?) alt.

 
 

Out first NPC legendary hero!

2
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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

5
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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 ›