klangcola

joined 2 years ago
[–] klangcola@reddthat.com 4 points 5 days ago

The telegraph article is very thorough, and doesn't mince word. Give it a read

[–] klangcola@reddthat.com 4 points 6 days ago

Some key points regarding Proxmox:

  • Even if you only want to run two services, you still want to keep them isolated. This can save you much pain and frustration in the future when they require upgrades
  • Proxmox let's you easily manage VM and LXC containers. So you can easily manage backups, or spinning up a separate test instance of your service. Which again, can save you pain and frustration when it comes to future updates of your services.
  • Backups are even better if you can deploy the separate Proxmox Backup Server
  • Should you ever want to add another service in the future, you can test it out in a new VM or container without it affecting your existing services at all
  • ZFS is indeed quite memory hungry, but AFAIK it's mainly used for the read cache, and can be tuned to use less RAM at the cost of performance
  • ZFS is mentioned a lot because it's good, but Proxmox also supports a range of other storage technologies: LVM, mdraid, EXT4, CEPH
  • Proxmox is just standard Debian and KVM/QEMU virtual machines under the hood. Which means you can use standard tooling and workflow should you need it for some edgecase.
  • You mentioned Jellyfin in a container: My understanding is that Jellyfin in Docker has some extra limitations or complexities when it comes to hardware encoding.
    • Jellyfin also has official documentation for how to deploy in LXC container and get HW transcoding working (Less complex than in Docker).
    • LXC containers are not like Docker containers. While a Docker container is meant to be an immutable image of a (single) application, LXC is more like a full fledged VM, but without the overhead of virtualization. LXC containers are full systems, and you install software via the usual apt, dnf etc
    • The "correct" way to run Docker in Proxmox is to run Docker in a Virtual machine. Installing Docker inside a LXC container is also possible, with some caveats. Installing Docker directly on the Proxmox host is not recommended

For reference, my oldest Proxmox server is a 2013 AMD dualcore 16GB DDR2 ram with VMs on LVMthin on a single SSD, with legacy VM doing mdraid of 3 HDDs using hardware passthrough. Performance is still OK, the overhead from Proxmox is negligible compared to strain from the actual workloads

[–] klangcola@reddthat.com 4 points 1 week ago

"QR & Barcode scanner" is Free an Open Source, and supports what you want (if i understood you correctly) https://github.com/wewewe718/QrAndBarcodeScanner

Looks like it's not been updated in a while, but it works just fine. Available on F-Droid and on Google Play

[–] klangcola@reddthat.com 2 points 1 week ago

On Windows the system wakes up when connected or disconnected from an AC adapter.

Does it? I could sweat my work laptop (windows 10) doesn't , and I'm pretty sure I'd notice cause I sleep and move it a lot during a working day.

Is it a windows 11 thing? Or something to do with the so-called "hybrid sleep / hybrid boot"? (Pretty sure that's disabled by corporate, and for friends and family I always disable that when their laptop goes in a boot crash loop). Does BitLocker matter ?

[–] klangcola@reddthat.com 1 points 1 week ago

What if you put your laptop to sleep cause youre done using it and intend to pack up. Then you unplug it and put it in your backpack?

[–] klangcola@reddthat.com 2 points 2 weeks ago

Oh cool, didn't know you could do that

[–] klangcola@reddthat.com 2 points 2 weeks ago (2 children)

Ah, I didn't even consider ads in the UI would be a thing. How disgusting

[–] klangcola@reddthat.com 3 points 2 weeks ago (2 children)

Regarding DRM, Netflix (and probably others) require the Widewine library to play back DRM content. This works perfectly fine on a normal Ubuntu PC, but does not work on the Pi because the library does not support ARM, only x86.

So Id just get any normal PC. Used enterprise mini PCs can be had for quite cheap, and they are small and efficient, and high quality. Search for HP, Dell or Lenovo mini PCs , or 1 litre PCs.

[–] klangcola@reddthat.com 2 points 2 weeks ago (5 children)

None at all? If so how? My friends with Apple TV get an obnoxious amount of ads in their YouTube app for example.

[–] klangcola@reddthat.com 4 points 2 weeks ago

There is one potential (small) hurdle you should be aware off: Secure Boot.

Basically some laptops came with Secure Boot locked to only allow booting Windows. These days Linux distros should still be able to boot even if the laptop was windows-only back then (thanks to the so-called shim bootloader). If you get an error about secure boot, just go in to BIOS/UEFI menu and disable secure boot for now (after installing Linux you can google the steps to enroll a key to re-enable Secure Boot).

Beyond that, just flash a USB stick with Linux Mint, boot the laptop, smash the keyboard to find the button for BIOS menu or Boot Device selection, then follow the installer. Installing Linux should take less than an hour. Way less if your computer is fast.

[–] klangcola@reddthat.com 2 points 2 weeks ago

Haven't tried it myself, but have heard in passing that they are generally not waterproof. Might be different for different materials or print orientations though?

Or you can do some post processing, add a coating, or vapor smooth?

[–] klangcola@reddthat.com 2 points 2 weeks ago

Nice, my HM90s have a really great cooling solution for the CPU (big silent fan, fine finned heat sink). But no cooling on the bottom side of the main board, which houses the RAM, a NVMe and two 2,5" SATA SSDs.

As usual, the arch wiki is super helpful also for non-arch distros https://wiki.archlinux.org/title/Lm_sensors#Adding_DIMM_temperature_sensors

 

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.

 

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 Memes@lemmy.ml ( 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)

 

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 gaming@beehaw.org and lemmy_support@lemmy.ml , 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 more: next ›