Scrath

joined 11 months ago
[–] [email protected] 23 points 8 months ago (2 children)

There's qobuz but they don't have everything

[–] [email protected] 3 points 9 months ago

Can you give some examples of what you consider to be the issues?

My professor said that C++ embedded compilers used to be very buggy but have matured quite a lot as of ~10 years ago while C was stable a lot longer.

Another thing I could think of is the language complexity causing higher resource usage, e.g. by including large libraries though I'm not sure about that since most of the unused stuff should theoretically get optimized out.

I guess if you don't know roughly how the internals of some C++ data types work it could cause you to accidentally use dynamic memory allocation when using strings or vectors.

On the other side, C++ style casts provide more safety as compared to C style casts and allows for usage of references instead of raw pointers to make the code generally safer.

[–] [email protected] 3 points 9 months ago

You bring back my bad memories of having to implement a server program in rust and all my searches ended up with about 1/3 useful results and the rest being hosting options for rust gameservers

[–] [email protected] 2 points 9 months ago (1 children)

Just to be sure there isn't a misunderstanding. With 7th gen I mean any intel iX-7xxx processor or higher.

The first (or first 2) numbers of the second part of the processor name determine the generation of the processor. The number immediately following the i just denotes the performance tier within the processors own generation

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (3 children)

I run a couple of containers on my lenovo mini pc. I have proxmox installed on bare metal and then one VM for truenas, one for docker containers and one for home assistant OS.

For me the limiting factor is definitely RAM. I have 20GB (because the machine came with a 2x4GB configuration and I bought a single 16GB upgrade stick) and am constantly at ~98% utilization.

To be fair, about half of that is eaten up by TrueNAS alone due to ZFS.

The point I'm trying to make is basically make sure you can put enough RAM into your machine. Some NAS have soldered memory you won't be able to upgrade. The CPU performance you need highly depends on what you want to do.

In my case the only CPU intensive task I have is media transcoding which can often be offloaded to dedicated bardware like intel quicksync. The only annoying exception is hardware transcoding of x265 media which is apparently only supported from intel 7th gen and upwards processors and I have a 6th gen i5... Or maybe I configured something wrong. No clue

Edit: I wrote that after reading the first half of your comment. Regarding connecting a screen, I think I had one connected once to set up proxmox. Afterwards I just log into the proxmox web interface. If required I can use that to get a GUI session of each VM as well.

[–] [email protected] 26 points 9 months ago (2 children)

Raid is not a backup

[–] [email protected] 1 points 9 months ago

Good to know. I thought there was some issue with those ports and the reverse-proxy because the DLNA function doesn't seem to be working but from some googling this seems to be more of a docker problem in general when you are not using host mode for networking.

[–] [email protected] 1 points 9 months ago

Thanks for the configuration example. Unfortunately it doesn't seem to work for me. I've replied to someone above with screenshots of what my configuration now looks like. The base_url option you use there wasn't available to me because it apparently has been deprecated and replaced with internal_url and external_url.

[–] [email protected] 1 points 9 months ago (1 children)

Thanks. I tried it like this and still get a 400 Bad Request error.

Someone below mentioned adding some more IPs to the trusted_proxies list so I tried that as well without result. The IP I used for the reverse-proxy is the IP listed in portainer under the network for the proxy container. Just to reiterate, the container is running on a different device than homeassistant (technically same device but different VM but that shouldn't make a difference).

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 192.168.208.2 # IP of reverse-proxy in its network
    - 192.168.208.0/20 # Subnet of proxy docker network
    - 192.168.1.103 # HA IP
[–] [email protected] 2 points 9 months ago (6 children)

By exposed you basically mean that I can reach them using my browser? I can reach my homeassistant web ui on port 8123 but when I try to forward to that port with the servers IP I get a 400 Bad Request error. I'm not sure if this is caused by nginx being unable to forward or by homeassistant not accepting the connection somehow

[–] [email protected] 3 points 9 months ago (3 children)

Can proxmox do docker containers? Last I checked it could only do LXC

[–] [email protected] 2 points 9 months ago

I use annas archive for ebooks but I organize those with calibre, not audiobookshelf because I have a somewhat peculiar organization scheme that relies on calibres custom columns and export feature.

My audiobooks I get from abtorrents but I heard great things about myanonamouse

view more: ‹ prev next ›