Skip Navigation
GeekyLink GeekyLink @gekinzuku.com
Posts 34
Comments 8

Upgraded to 0.18.5

Aww yeah

0

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.

0

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.

0

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

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

1
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
  • 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;
    
  • 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. > > 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.

    1

    Lemmy 0.18.3 update

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

    1
    Links for creating your own LLM
  • 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/

  • 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/#/

    1
    Old Template Temptations
  • Awesome resource, thanks.

  • Old Template Temptations

    5

    Old Template Temptations

    2
    YSK how to get your IP address from the command line
  • I like it, it's more simple than what I've been using:

    curl --silent https://geolocation-db.com/json/ | jq .IPv4 -r
    
  • Somebody decided to play real-life whack-a-mole with the breakers to find out which one was the right one

    Sorry for any lost memes

    0

    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:

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

    0

    New Gekinzuku Banners

    All the communities now have banners.

    0

    Trying Gentoo for the first time

    8

    Time-traveling Homework Woes

    0

    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

    0

    It's back baby

    fuck yeah

    0

    Please do something?

    @[email protected] please write a post about why gekinzuku is the greatest website ever to have been created.

    0

    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:

    https://github.com/rclone/rclone

    0
    Question About Self-Hosting Lemmy Instance & Federation
  • 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.

  • Question About Self-Hosting Lemmy Instance & Federation
  • 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.

  • Question About Self-Hosting Lemmy Instance & Federation
  • Thanks for this advice, been adding some communities from there and it's definitely improved things significantly.

  • Integrity

    0

    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

    0