Scrath

joined 1 year ago
[–] Scrath@feddit.de 2 points 11 months ago (2 children)

I have 2 questions:

Do I understand the colors correctly in that /home is deprecated and shouldn't be used? What's the alternative in that case?

Where would you guys put configuration files for services? /srv seems like an adequate directory

[–] Scrath@feddit.de 1 points 11 months ago

I found it a pain in the ass to remove amazon drm ebooks. What worked for one book suddenly didn't for the next.

Whenever possible I try to avoid them for that reason

[–] Scrath@feddit.de 1 points 11 months ago (1 children)

Honestly, in my opinion it kind of is (though I'm not an expert on it). Except for convenience I don't think a browser should be allowed to access my USB devices. Though I would welcome it if it was enabled with the same kind of request that pops up when a browser wants to access the microphone or camera.

[–] Scrath@feddit.de 11 points 11 months ago

Honestly, what else would it be? Text takes ridiculously little storage compared to a single picture of a decent resolution.

[–] Scrath@feddit.de 1 points 1 year ago

Depends I guess. For me the biggest concern when I bought my Synology was simplicity of usage and idle power consumption which is much lower than I could get with one of the older computers I have lying around.

[–] Scrath@feddit.de 1 points 1 year ago (1 children)

I am currently using 2 16TB drives in Raid 1 and was planning to move to Raid 5 (or maybe it was 6) if I need more storage by adding a 3rd drive.

What would you recommend instead?

[–] Scrath@feddit.de 60 points 1 year ago* (last edited 1 year ago) (5 children)

I just wished they were more relevant in german politics.

It's the typical dilemma. Vote for a party you know won't get enough votes to do something or vote for the least bad of the established parties.

[–] Scrath@feddit.de 4 points 1 year ago (1 children)

It's been a while since I last looked into those.

If you aren't looking for neural networks I found sklearn to be quite capable and easy to understand.

I also tried tensorflow and pytorch a couple times (not enough to get really proficient in them) and I think I found pytorch the hardest to wrap my head around. It's been quite a while though so maybe it's better to listen to others with more experience in that regard.

[–] Scrath@feddit.de 1 points 1 year ago

I wouldn't go as far as to say that without germans we wouldn't have computers today. What he is probably referencing is the Zuse Z3, which can be considered one of the first computers.

The main argument against it being the first is that it's a mechanical design rather than electronic and that turing completeness was only achieved on it much later using a trick which the designer had not intended. Interestingly, ENIAC, which is considered the first computer by many, uses a decimal design. The Z3 on the other hand was already using binary.

I took this info from the german wikipedia article on the Z3. I'm not sure if the english article goes into similar detail on those points.

[–] Scrath@feddit.de 3 points 1 year ago

I wanted to write a minecraft mod. I have never written a minecraft mod but I got interested in actually learning to program after I realized I had no idea what I was doing. Also english and computer science where the only 2 subjects in school I was pretty good at

[–] Scrath@feddit.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

Performance is good and streaming works well. Not a fan of the webinterface personally but there are client programs available for all platforms since navidrome exposes the subsonic api.

Personally I use sonix on windows and linux as well as symfonium (paid but really great app) on android.

The only thing I am missing from it is better user management so that I can restrict specific users from accessing parts of my library.

Regarding access from outside my network I specifically wanted to avoid needing to be connected to a VPN so that's why I use a cloudflare tunnel. Since my upload rate is not very good I have a Pi-Hole DNS server at home so that queries to my domain while in the home network don't need to leave my network.

[–] Scrath@feddit.de 7 points 1 year ago (6 children)

+1 for navidrome.

I'm also using that and have it exposed to the web using a cloudflare tunnel. What I didn't like in the beginning but really appreciate now is that the service itself doesn't have a lot of permissions and cannot delete files or change their metadata. I'm hosting it in a docker container and everything except the config file is mounted read-only.

I'm not sure how relevant that is but it gives me more peace of mind exposing it publicly.

 

Hey everyone, I wanted to ask for some help regarding my DNS setup and for routing requests to my selfhosted services.

Currently I use Pi-Hole as a DNS server with my routers default DNS server as the upstream server. This allowed me to define local DNS entries using Pi-hole and route my requests to these domains directly to my local services. For example I bought a domain a while ago and in preparation for setting it up, I had it entered as a local DNS entry pointing directly to my servers IP address.

Earlier today I finally got around to setting up a cloudflare tunnel to expose one of my services to the outside world using the domain I bought. Ever since I did that, all requests to that domain seem to exit my home network, go through cloudflares network and then return through the tunnel, even though I have a local DNS entry for that domain name.

What I would prefer is for the request to be routed directly to my server instead, since I am in the same network already. Since my DNS server is the Pi-Hole, I figured this should happen automatically.

Is there an issue with my Pi-Hole setup? If there is any information missing I'll be happy to provide it. I wasn't sure what information I could safely post here.

Solution

I think I managed to fix the problem. After enabling the option Never forward reverse lookups for private IP ranges in Pi-Hole and clearing my DNS cache again, nslookup only returns local IP addresses instead of the IPv6 address of two cloudflare servers.

view more: next ›