• 0 Posts
  • 16 Comments
Joined 2 years ago
cake
Cake day: June 19th, 2023

help-circle










  • Second this. What you need for high quality media is space, not speed. For any single stream, network and drive will be fast enough anyway. Your typical HDD offers like 4-6 times the bandwidth that a regular Blu-ray can provide. You can get 8TB HDDs for the price of 2TB SSDs. Random access doesn’t matter for that application.

    You might want to invest in redundancy and use a RAID 1 or RAID 10 array, depends on how valuable that media is to you or how long it would take to recover in case it’s lost. A simple solution would be a btrfs software RAID, in case your are after something like a Linux home media server with Jellyfin.



  • Tons of people making Python comparisons regarding indentation here. I disagree. If you make an indentation error in Python, you will usually notice it right away. On the one hand because the logic is off or you’re referencing stuff that’s not in scope, on the other because if you are a sane person, you use a formatter and a linter when writing code.

    The places you can make these error are also very limited. At most at the very beginning and very end of a block. I can remember a single indentation error I only caught during debugging and that’s it. 99% of the time your linter will catch them.

    YAML is much worse in that regard, because you are not programming, you are structuring data. There is a high chance nothing will immediately go wrong. Items have default values, high-level languages might hide mistakes, badly trained programmers might be quick to cast stuff and don’t question it, and most of the time tools can’t help you either, because they cannot know you meant to create a different structure.

    That said, while I much prefer TOML for being significantly simpler, I can’t say YAML doesn’t get the job done. It’s also very readable as long as you don’t go crazy with nesting. What’s annoying about it is the amount of very subtle mistakes it allows you to make. I get super anxious when writing YAML.


  • The thing is, it was already known they were in contact and the politician in question claimed he did nothing sketchy. So he’s not only corrupt, or a traitor to our country, or (most likely) both, he also already publicly lied about it and there is supposedly evidence he actually accepted money. This makes things much worse for him.

    His party also already claimed it’s a smear campaign, so if there really is evidence, they’ll look pretty stupid as well (although this really isn’t news).