Web developer, gamer, reader, and a true ligma male

  • 7 Posts
  • 28 Comments
Joined 1Y ago
cake
Cake day: Jun 08, 2023

help-circle
rss

I considered voting for them, but I didn’t.

The reason is because there are other parties with comprehensive plans for digitalisation / IT stuff PLUS lots of other plans for healthcare, economy, infrastructure, etc.

Pirate party seems like a party focused on IT stuff only, whereas I also care about other topics, such as international trains, subsidizing healthcare, improving education and lots of other things.

(I voted for Volt Nederland BTW)



I wanted to watch Game of Thrones, but I couldn’t, because there was no legal streaming service available back then. (This was in 2015 or something).

That’s when I discovered the Pirate Bay and its wonders…


I use it to manage my documents, backup my photos from my phone to my server and access all my files from any other device. Basically Nextcloud is my replacement for OneDrive.

Additionally, I have used it in the past to collaborate on various group projects which require documents. For example, I had to make a presentation with some other people and I could create a PowerPoint in Nextcloud, send a share link to others and then we could edit the PowerPoint in realtime with Nextcloud + Collabora, which is pretty cool. It’s the only FOSS alternative (at least as far as I’m aware of) that can compete with Microsoft 365 / Google Workspaces.


Honestly, I’m not really excited about the past couple of major Nextcloud releases.

Mainly because there’s still one big issue for small-scale Nextcloud servers: performance.

Mainly the web UI is still too slow for me to properly use, which is why I don’t use it at all (unless I have to update an app).

It’s a bit disappointing that they’re mainly focused on the large enterprise customers instead of small hobbyists like me, but it’s still understandable; after all, their income is mainly from the enterprise customers, not from selfhosters.

I also don’t really like how they’ve jumped on the AI hypetrain instead of improving performance. But once again, I guess this generates more income for them than focusing on other things like improving performance.



Depends.

If there are no external volumes and the container is in its own network without any other containers, then any malware in the container shouldn’t be able to reach / affect the host server, because it’s isolated.


Docker is a container manager, but that doesn’t say anything if you don’t know what containers are.

Containers are basically isolated apps. For example, take something like Nextcloud. Nextcloud can run in a Docker container, which means that it runs in an isolated environment completely separated from the user’s system. If Nextcloud breaks, the user’s server won’t be affected at all, because it’s running isolated.

Why is this useful? Well, it’s useful because dependencies and such automatically update. Nextcloud for example, is dependent on PHP and if you install Nextcloud directly on your server, you’ll need to ensure that PHP 8 has been installed and set up properly. If PHP (or the required PHP extensions) aren’t properly installed, Nextcloud won’t work. Or, maybe if there’s a Nextcloud update that requires a new version of PHP (PHP 9 or 10 in the future), you’ll have to manually update PHP to the newer version.

All that dependency management is completely gone with containers. The container itself automatically installs and sets up a proper environment for the app that’s running. So in the case of Nextcloud, the PHP binaries, extensions, and all the other stuff is all automatically included without the developer having to do anything at all. Just run one command and your entire Nextcloud instance is automatically updated.


I’d first recommend that you think about what you need.

What do you need? Do you want a safe space to back up your photos & videos from your phone? Or maybe a way to stream your movies, series and/or music in a cheap way?

Once you figure out what you want to host, you can look into which program can fulfill your needs. Check out the awesome-selfhosted list for a HUGE amount of services you could host.


You could try making a symlink, so that there is a ‘file’ in the Nextcloud directory which points to the Immich gallery, although I’m not sure how good it truly works.


If you would like to keep track of the movies you watch and give them a rating from 1 - 10, I’ll suggest Movary. I’m a contributor of the project and the goal is to eventually add support for TV Shows as well.


Does this also apply to linuxserver/nextcloud image? Because that’s what I’m using.


Ah well, that is a funny coincidence then. I guess neither Christoph Fink nor I were very creative with coming up with a name for our respective apps.

I’ve personally never heard of his project, but I can say that I haven’t published my package at the PyPi register. Although, I do have published it to the Docker Hub.

Maybe metatube-ui for my package and metatube-cli for his? Considering his package mainly runs from the CLI and mine is a web UI.


I didn’t copy any project.

Although, I learnt Flask (the framework I use for this app) while developing MetaTube, and the project structure is heavily inspired by the excellent Flask guide by Miguel Grinberg. Check him out if you’re interested in learning Flask.


You can use this but it doesn’t really download directly from Spotify. Instead, it takes the song name from Spotify, searches it on YouTube, downloads it from YouTube and then adds metadata from Spotify on the downloaded file.

Shameless self-plug, but I made a Python program that basically does the exact same thing, except it has a web ui. It’s called MetaTube and it also supports other metadata providers, such as Musicbrainz and Deezer.


SSO with automatic user creation
I'm considering adding an SSO process in front of my self-hosted apps such as Nextcloud, Calibre-Web and Immich. The thing I'm thinking about, is do I need to make two accounts for each user I want to add? If I have a new user, do I need to make an account for both the SSO provider *and* the protected app such as Nextcloud? Or does Nextcloud (or some other app) automatically create a new account upon the first authentication with the SSO provider? Also, which SSO provider do y'all recommend? I would like to have one with a web UI where I can manage the users :)
fedilink



The bill outlines three years for products costing $50 to $99.99 and seven years for products priced at $100 or more. The bill will cover electronics and appliances made and sold after July 1st, 2021.
fedilink

Maybe check out open subtitles?

Besides that, in my experience movies with foreign languages usually have the subtitles embedded in the file itself (usually as ASS / SSA format), so maybe try to download movies with embedded subtitles.


My setup:

Jellyfin for the frontend. Has apps for android, iOS, windows, android TV, bunch of other platforms as well…

Deluge as torrent downloader. It’s old, but it just works without the (in my opinion) complicated configurations of qbittorrent.

Prowlarr to search a bunch of sites simultaneously for torrents.

Radarr to add movies, search them with Prowlarr and add the best torrent to deluge, eventually moving the downloaded content to Jellyfin to view.

Sonarr to do the same as Radarr but for TV shows instead.


My ELI5 version:

Basically, the ‘Web Environment Integrity’ proposal is a new technique that verifies whether a visitor of a website is actually a human or a bot.

Currently, there are captchas where you need to select all the crosswalks, cars, bicycles, etc. which checks whether you’re a bot, but this can sometimes be bypassed by the bots themselves.

This new ‘Web Environment Integrity’ thing goes as follows:

  1. You visit a website
  2. Website wants to know whether you’re a human or a bot.
  3. Your browser (or the ‘client’) will send request an ‘environment attestation’ from an ‘attester’. This means that your browser (such as Firefox or Chrome) will request approval from some third-party (like Google or something) and the third-party (which is referred to as ‘attester’) will send your browser a message, which basically says ‘This user is a bot’ or ‘This user is a human being’.
  4. Your browser receives this message and will then send it to the website, together with the ‘attester public key’. The ‘attester public key’ can be used by the website to verify whether the attester (a.k.a. the third-party checking whether you’re a human or not) is trustworthy and will then check whether the attester says that you’re a human or not.

I hope this clears things up and if I misinterpreted the GitHub explainer, please correct me.

The reason people (rightfully) worry about this, is because it gives attesters A LOT of power. If Google decides they don’t like you, they won’t tell the website that you’re a human. Or maybe, if Google doesn’t like the website you’re trying to visit, they won’t even cooperate with attesting. Lots of things can go wrong here.


Ah ok. Well anyway, maybe add protocols such as HTTP, HTTPS, TCP, UDP, SMTP, IMAP, POP3, SSL, VPN, Git, TLS, SQL.


Is this exclusive to acronyms related to self hosting or also just general acronyms, such as TMI, PLS, YSK, TIL, etc.


I was seriously considering getting a PS5 until I saw the costs of the games + hardware.
fedilink

Preventing and managing RSI and/or other injuries
Hi fellow programmers. How do you ensure to prevent RSI and/or manage RSI? Especially with your hands and arms. For those who don't know, [RSI](https://en.m.wikipedia.org/wiki/Repetitive_strain_injury) is a disorder that occurs when repeating the same movements too much for a long period of time. This frequently occurs when sitting behind a desk and using keyboard and mouse the entire day. I personally have a great (but expensive) chair with arm rests and have a slightly ergonomic mouse (it has a curve, to make it more comfortable for my thumb). Honestly, I dislike having to disrupt my computer activities every hour, because I'm usually quite immersed / invested into whatever I'm doing. Whether that's watching a movie, developing an app or simply playing videogames. However, I'll probably have to start taking frequent breaks, in order to prevent RSI from taking a hold in my body. Unfortunately, we only get one body, one chance, so let's not mess it up with neglecting breaks and acquiring RSI.
fedilink

Thank you for your comment.

What do you mean with the http layer? I’m already automatically redirecting from HTTP to HTTPS.


Is a Traefik IP whitelist safe?
So I'm hosting a lot of Docker containers, a lot of which are behind a Traefik reverse proxy. Is it safe to use [IPWhitelist](https://doc.traefik.io/traefik/middlewares/http/ipwhitelist/) middleware? I want to ensure that only the LAN can access the services while using HTTPS, because some services (like Radarr and Sonarr) have a password and I don't want that information sent without encryption / SSL. Could someone spoof their client IP address and bypass the Traefik IP whitelist?
fedilink

I have streamlined and automized my entire process with a Python program I made. It allows me to select a video, select the corresponding song from Spotify, select certain parts that have to be cut off (such as intros and outros) and then it will automatically download the video, transcode it, cut off any segments, merge the metadata.


I personally download YouTube videos, convert them to MP3 and then add metadata to them.


Before you set up Collabora, you should know that the rendering is done server-side and not client-side. This provides really good synchronization, as the clients will receive the changes simultaneously, but it also results into slower performance, because the server has to do the rendering, instead of the clients.


Not OP, but I have a Synology NAS DS918+ and run a bunch of Docker containers on there 24/7.


The problem with OnlyOffice is that it doesn’t allow for editing from Android, because then you’ll have to pay, which is why I switched to Collabora Office.


They’re disabling port forwarding due to some bad actors… That’s why we can’t have nice things.

For those who don’t know, port forwarding is mainly used for torrent seeders, aka the people who upload files to other people.


I prefer HEVC, because my media server can transcode it quite easily and it takes way less space than h.264