Spyke

Replies

liftoff

Comment on

What is this button for?

A Google image search of the icon wasn't super helpful, but did return a similar-looking image named "style" among the results.

Knowing that Liftoff is written in Flutter, I confirmed that it is called the "style" icon.

A search of the Liftoff code on GitHub for the "style" icon turned up a match with the comment:

// TODO: change styles?

So the answer is that it does nothing now, but appears like it might be used in the future to "change styles." Maybe as a shortcut to the "Post Style" screen in "Settings."

Comment on

In over my head

Reply in thread

Now I feel dumb.

That didn't work earlier.

I just went to copy the error message I saw before and... it's working.

Maybe because I switched back to Namecheap's nameserver? Or maybe because I cleared my cache again? Or maybe because I game it some more propagation time?

Or maybe magic?

Each potential reason seems equally likely to me.

Thanks

science

Comment on

An Enormous Gravity ‘Hum’ Moves Through the Universe

Reply in thread

Always there. Here's an ELI5 from Bing:

The article is about a very quiet sound that comes from space. The sound is made by things that are very big and heavy, like giant balls of fire or holes that suck everything in. The sound is so quiet that we can't hear it, but we can use special machines to find it.

The article says that this sound is all around us, and it comes from different places in space. Some places are very far away, like other stars or other worlds. Some places are closer, like our big family of stars. The article also says that this sound can help us learn more about space and how it works.

The article is very cool because it shows that there are many things in space that we don't see, but we can find them by listening to the sounds they make.

Comment on

is there a simple way to determine who is federated with/defederated from who?

I've seen this site suggested in posts like this:

::: spoiler spoiler https://fba.ryona.agency :::

I'm using the spoiler tag because elsewhere I've seen this warning about the site:

run by people from kiwifarms (a known bad actor on the fediverse).

I'm unfamiliar with "kiwifarms" but the site currently does has some offensive language at the bottom that's associated with 4chan, so be warned.

That said, it appears to be the only site currently available to see which instances in the fediverse have blocked/defederated your instance. (The reverse of <instance domain>/instances, which only shows which instances your instance has blocked/defederated.)

python

Comment on

Wrote a Python script to sync your accounts across instances.

Reply in thread

That was it exactly. Thank you.

This was a journey, so I'm documenting it here for anyone who might run into a similar situation.

I'm using a Chromebook with Linux enabled.

To confirm my version of Python I ran python --version:

Python 3.9.2

OK! Getting somewhere. So I have to check what distribution of Linux is installed with grep '^PRETTY_NAME' /etc/os-release

PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"

Alright. Google says if I want to upgrade Python on Debian 11 I have to compile it from source. Yikes! But, wait, there's a PPA - Yay! But the PPA is for Ubuntu - Boo.

There isn't an active community for ChromeOS on Lemmy yet, but that other website has directions for replacing Debian with Ubuntu.

I'm lazy so I'm not doing that. I'm just going to spin up a temporary Ubuntu container that I can delete later, so my directions are much simpler:

Ctr-Alt-T to enter crosh, the ChromeOS developer shell.

vmc start termina
lxc launch ubuntu:22.04 ubuntu
lxc exec ubuntu -- bash
apt update && apt -y upgrade
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install -y python3.11 python3.11-venv
python3.11 -m ensurepip
git clone https://github.com/Ac5000/lemmy_account_sync.git
cd lemmy_account_sync/
pip3.11 install -r requirements.txt
cp exampleconfig.ini src/myconfig.ini
nano src/myconfig.ini
python3.11 src/lemmy_sync.py

Success! I had to escape some special characters in my passwords, but that's easily Google-able.

I'll be keeping the container around for a little while to do some periodic syncs. Then I'll remove it using crosh.

vmc start termina
lxc delete ubuntu --force
python

Comment on

Wrote a Python script to sync your accounts across instances.

I'm getting a TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' when I do:

git clone https://github.com/Ac5000/lemmy_account_sync.git
cd lemmy_account_sync/
pip install -r requirements.txt
cp exampleconfig.ini src/myconfig.ini
nano src/myconfig.ini
python3 src/lemmy_sync.py

I've confirmed that my [Main Account] and [Account 2] details are correct in myconfig.ini, but beyond that I don't really know what I'm doing.

Comment on

What are your top three features you'd like to see on your favorite Lemmy client?

  1. Ability to log in to accounts on multiple instances This one is common, but I'm specifying it for #2 & #3.
  2. Optional sync community subscriptions between accounts I'm too locked-in to an instance after subscribing to many communities. Make it easy for me to migrate by keeping my subscriptions in sync between accounts.
  3. Optional publish alt account links to Bio To make migration easier, if I'm syncing subscriptions between my @[email protected] account and my @[email protected] accounts, then modify my @[email protected] Bio to say "aka @[email protected]" and vice-versa.
  4. Shared inbox for all accounts If I get a fourth then this would be it.
general

Comment on

What is the planned solution for cross-host link sharing?

ChatGPT and I came up with this bookmarklet which I'm using until this is resolved.

You set your home instance, then just click it when on a post on another instance. It grabs the post title and the author, redirects to a post search of the title on your home instance, and copies the author to your clipboard to Ctrl-F if there are too many results.

You have to be pretty quick on the draw to be able to enable clipboard access when using it on a new instance for the first time. So it's like a game, too.

javascript:(function(){
  let instance = "lemm.ee";
  const personListing = document.querySelector('.person-listing');
  const author = personListing.getAttribute('title');
  navigator.clipboard.writeText(author);
  alert("Post author copied to clipboard.\n\nCtrl-F + Crtl-V when redirected, if necessary.");
  var title = document.title;
  var lastDashIndex = title.lastIndexOf(" - ");
  if (lastDashIndex !== -1) {
    title = title.substr(0, lastDashIndex);
  }
  var encodedTitle = encodeURIComponent(title);
  let search = "https://" + instance + "/search?q=" + encodedTitle + "&type=Posts";
  window.location.href = search
})();

Comment on

Looking at Prime, there are a few free audiobooks that aren't tied to Audible. There are more free ones tied to Audible. What are the pros and cons of Audible?

Audible is great, but also check out Libby and your local library. New, popular titles tend to have long queues, but I always check Libby before buying from Audible. Most libraries also have a "suggest a book" option if there is something on Audible that your library doesn't have in Libby, and I've been lucky that my local library is fast to accept and fill requests.