Posts
Gekinzuku is back up (again)
There was a fan and the fan decided it wanted to make loud noises and become unbearable and thus gekinzuku was moved again.
CloudFlare is blocking traffic to Discord API - Discord Unusable on Desktop Worldwide
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.
Corrupted memes can break databases and make lemmy sad
"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
PSA for Lemmy instance admins: in backend v0.18.3 there is a bug that causes your instance to stop federating properly and to stop sending out outgoing messages
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.
docker exec -it domaincom_postgres_1 busybox /bin/sh
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 instanceto 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.
Lemmy 0.18.3 update
It's been done, memes from this time forth shall take less space.
Links for creating your own LLM
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/#/
Minecraft Forge Docker Server
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:
Gekinzuku Moved & Upgraded
Gekinzuku has been upgraded to lemmy 0.18.2 and the site has been moved to a better server, upgrades all around
Also, note: I had to upgrade the picts to 0.4.0 and run the following command to import my migrated db:
sudo chown -R 991:991 volumes/pictrs
Please do something?
@[email protected] please write a post about why gekinzuku is the greatest website ever to have been created.
Using rclone to backup your data encrypted in the cloud
Rclone is a cool little CLI tool for Linux/WSL that allows you to backup, sync, and even mount various cloud server provider options on your desktop/server and protect your data.
For additional security, you can encrypt the files before they are uploaded to the cloud so even the folder & file names, and file types are encrypted. By doing this client-side encryption you can pretty safely assume your files are free for snooping.
Your password can be two passwords so you can access it from machine as well and recover your archive in case of your device failing.
Once you have a crypt volume setup you can then copy your files manually, sync a directory to the cloud, or even mount your cloud drive as a local directory for easy exploration.
sudo apt install rclone
Then run:
rclone config
Optional: You don't have to use your own API keys but you'll be sharing it with everyone else who uses rclone with the default API keys and they throttle the connections with usage. So it's best to setup your own oauth consent screen and credentials here:
https://console.cloud.google.com/apis/
If you want a detailed guide on configuring rclone for Google Drive check this guide:
https://www.maketecheasier.com/rclone-sync-multiple-cloud-storage-providers-linux/
After you have a cloud account connected and named, you can create a crypt volume on top of it:
https://www.maketecheasier.com/use-rclone-crypt-encrypt-files/
rclone github:
Minecraft Server Deployed
Updated to latest "All the Mods 8" so make sure to upgrade:
Note: until this notice is removed, server will likely go down one more time as it is dockerized
minecraft.gekinzuku.com