GeekyLink

joined 1 year ago
MODERATOR OF
 

Aww yeah

 

There was a fan and the fan decided it wanted to make loud noises and become unbearable and thus gekinzuku was moved again.

 

If you're having problems connecting to Discord on Desktop today, try your phone and/or phone data. If that doesn't work, connecting over VPN seems to solve the issue for now:

https://news.ycombinator.com/item?id=37701476

You also may be able to use the website version for today.

EDIT: Changing your DNS may also resolve the issue.

You are not actually blocked; it seems to be affecting a lot of people at the moment.

 

"empty/corrupt snapshot file" is a solvable issue. Look into pict-rs's storage in the sled directories. there should be some files that have .snap at the end. if any of these are zero-sized, delete them. if none of them are zero-sized, delete the most recently created one. then restart pict-rs

https://github.com/LemmyNet/lemmy/issues/2653

[–] [email protected] 3 points 1 year ago

One liner to get into postgres:

docker exec -it lemmyca_postgres_1 psql -U lemmy

Show only the instances not updated in past 3 days:

 select * from instance where updated > current_date-3;

Fix those old rows:

update instance set updated = current_date where updated > current_date - 3;
 

cross-posted from: https://yiffit.net/post/868741

This new version introduced a system so that your instance stops sending out content to other instances that are supposedly dead / offline.

Unfortunately for some reason there's false positives. When I checked comparing the results from a curl request vs the information in our Lemmy database I found over 350+ false positives.

In the DB there is a table called "instance" which has a column called "updated". If the date on that column is older than 3 days, your server will stop sending any content to those instances.

For some reason I had entries that were dated as last being alive in July, while actually they were always up. If an entry is incorrect, you can fix it by manually using an update statement and adding today's date. If your instance is not too large you can safely update all entries to today's date and check if everything works as expected from then on any new content created on your instances.

The dead instances won't have an impact unless your instance is larger and generates more content, thus it might be easier to simply update all entries and have Lemmy believe they're all alive if you start noticing wonky behavior and don't want to check one by one.

If you don't know how to access the database run this command where domaincom is your instance domain without the dot.

  1. docker exec -it domaincom_postgres_1 busybox /bin/sh

  2. psql -U

(The default user is 'lemmy') You could technically do this is one single step, but it's good to know the command to get shell access to the container itself if you didn't know how to.

This should give you access to a postgres CLI interface. Use \c to connect, \dt to list tables and \d+ tablename to list table definition. You can also run SQL queries from there.

Try with this query: SELECT * from instance to list all instances and their updated date.

You can use other SQL queries to get better results or correct false positives. Just be careful with what you execute since there's no undo.

5
Lemmy 0.18.3 update (gekinzuku.com)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

It's been done, memes from this time forth shall take less space.

[–] [email protected] 2 points 1 year ago

Training data:

OpenWebText2 is an enhanced version of the original OpenWebTextCorpus covering all Reddit submissions from 2005 up until April 2020, with further months becoming available after the corresponding PushShift dump files are released.

https://openwebtext2.readthedocs.io/en/latest/

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

Some helpful links regarding training your own LLM since I've been playing with:

https://github.com/geekylink/PicoGPT

Hacker News post: https://news.ycombinator.com/item?id=36832572

LLAMA: https://github.com/ggerganov/llama.cpp

Dead simple LLAMA: https://cocktailpeanut.github.io/dalai/#/

[–] [email protected] 1 points 1 year ago

Awesome resource, thanks.

 
 
[–] [email protected] 2 points 1 year ago (2 children)

I like it, it's more simple than what I've been using:

curl --silent https://geolocation-db.com/json/ | jq .IPv4 -r
 

Sorry for any lost memes

 

Now you can self-host a minecraft server in a docker container wherever. Just set the forge URL in settings.json build the docker and run:

https://github.com/geekylink/minecraft-forge-docker

2
New Gekinzuku Banners (gekinzuku.com)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

All the communities now have banners.

[–] [email protected] 1 points 1 year ago

This looks pretty cool, I might have to check it out later, thanks. I was a little disappointed that you need to add all the other communities manually to get them on "all". I'm a little worried I need to upgrade my tiny instance before I try automatically adding everything though.

[–] [email protected] 1 points 1 year ago

Thanks for the description, seems a little counterintuitive to me, but I think I get it now. I removed the allow list and after some time it cleared up quite a bit, also rebooted it and then the "hot" page looked a lot better. I think another issue is that my instance has a pitiful amount of resources and is very slow so it also just takes a long time to get synced up with new communities but it's definitely better now after some days.

[–] [email protected] 2 points 1 year ago

Thanks for this advice, been adding some communities from there and it's definitely improved things significantly.

view more: next ›