GeekyLink
34
8
GeekyLink

@gekinzuku.com

GeekyLink 3 points 3 years 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;
path: 0 2074601, hotness: undefined, score: 3, children: 0
GeekyLink 3 points 3 years ago

path: 0 1596292 1596507, hotness: undefined, score: 3, children: 0
GeekyLink 2 points 3 years ago

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

curl --silent https://geolocation-db.com/json/ | jq .IPv4 -r
path: 0 1478870, hotness: undefined, score: 2, children: 2
GeekyLink 2 points 3 years 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/

path: 0 1639606, hotness: undefined, score: 2, children: 0
GeekyLink 2 points 3 years ago

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

path: 0 578351 821943, hotness: undefined, score: 2, children: 0
GeekyLink 1 point 3 years ago

Awesome resource, thanks.

path: 0 1596021 1596511, hotness: undefined, score: 1, children: 0
GeekyLink 1 point 3 years 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.

path: 0 575344 822065, hotness: undefined, score: 1, children: 0
GeekyLink 1 point 3 years 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.

path: 0 812801 822123, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...