Spyke

Posts

Is there an app to quickly compare two pasted texts?

On windows, Notepad++ compare plugin let's you compare unsaved files. So to compare two texts copied from elsewhere, just make two new tabs and paste the texts. Compare plugin will happily compare line by line.

On Linux I havent found something similar. The closes is Kate, but you still have to save tmp1.txt and tmp2.txt , and remove the clutter when finished.

Does anybody know a compare app that just lets you paste two text blocks without saving files first?

View original on reddthat.com
20
selfhosted·Selfhostedbyklangcola

Why use Named volume vs Anonymous volume in Docker?

What are the pros and cons of using Named vs Anonymous volumes in Docker for self-hosting?

I've always used "regular" Anonymous volumes, and that's what is usually in official docker-compose.yml examples for various apps:

volumes:
  - ./myAppDataFolder:/data

where myAppDataFolder/ is in the same folder as the docker-compose.yml file.

As a self-hoster I find this neat and tidy; my docker folder has a subfolder for each app. Each app folder has a docker-compose.yml, .env and one or more data-folders. I version-control the compose files, and back up the data folders.

However some apps have docker-compose.yml examples using named volumes:

services:
  mealie:
    volumes:
      - mealie-data:/app/data/
volumes:
  mealie-data:

I had to google documentation https://docs.docker.com/engine/storage/volumes/ to find that the volume is actually called mealie_mealie-data

$ docker volume ls
DRIVER    VOLUME NAME
...
local     mealie_mealie-data

and it is stored in /var/lib/docker/volumes/mealie_mealie-data/_data

$ docker volume inspect mealie_mealie-data
...
  "Mountpoint": "/var/lib/docker/volumes/mealie_mealie-data/_data",
...

I tried googling the why of named volumes, but most answers were talking about things that sounded very enterprise'y, docker swarms, and how all state information should be stored in "the database" so you shouldnt need to ever touch the actual files backing the volume for any container.

So to summarize: Named volumes, why? Or why not? What are your preferences? Given the context that we are self-hosting, and not running huge enterprise clusters.

View original on reddthat.com
64
lemmy_support·Lemmy Supportbyklangcola

Downvoting disabled, federated voting

Some instances disable downvoting. Is this intended to be for communities on that instance or users on that instance, or both?

I noticed while reading [email protected] ( https://reddthat.com/post/2053 ) that some commenters were talking about being downvoted, but I have no downvote button. Because downvoting is disabled on my instance?

How does it work the opposite way? Are users from lemmy.ml allowed to downvote on posts for example beehaw (who also has disabled downvoting)

View original on reddthat.com
12
lemmy_support·Lemmy Supportbyklangcola

How does "language" selection work in Lemmy?

Many instances say to keep language settings as "undetermined" otherwise you won't see most posts Example: https://lemmy.blahaj.zone/post/59161 Example: https://reddthat.com/settings

Yet when I try to post a comment it will fail with language_not_allowed because initially there is no language selected. So I need to click on the "Select language" drop-down and choose English (the only option)

Actually in the Lemmy web interface (at least on my instance reddthat.com) the Post button will spin endlessly with no indication of what's wrong. Using the Jerboa Android app there's is the very brief error message language_not_allowed, and the comment disappears so I have to type it out again! On the Jerboa app there's also no option to select the language for the comment, so I can't use it to comment at all.

I experienced this language_not_allowed error while commentating on [email protected] and [email protected] , both English language communities

So how is this language setting supposed to work?

Is the language selected for posting comments the same setting as the profile setting, which the links recommend to keep as "undetermined" to be able to see (English language) posts?

Have i encountered a bug? Specific to my instance or Lemmy in general?

View original on reddthat.com
13

You reached the end