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

help-circle
  • Yup, that’s exactly the problem I have, it’s ridiculous that it doesn’t let me stream from a local network just because it thinks that it’s local network is only the docker one, it should be fairly simple for Plex to figure out it’s accessible via a direct connection and it doesn’t need to route through the Plex servers for this. But it won’t get fixed because it pushes people to pay, hell from what people are saying here the config to fix this is paywalled so they create a problem for which they sell you the solutions.





  • Docker is a virtualization platform, similar to setting out a Virtual Machine but a lot less resource intense. You need to:

    • install docker on your machine
    • Start/enable the service (this is usually done automatically on most user friendly distros, and if you’re using one that doesn’t I expect you to know how to do it)
    • Add your user to the docker group

    That’s it, docker setup done, now you need to write a compose file, i.e. something that tells docker what do you want to run, usually you get a working example on any project website, and linuxserver.io is a great site for them too, for example for Jellyfin can be found here: https://docs.linuxserver.io/images/docker-jellyfin/

    Just create a folder, create a file called compose.yaml there and put that content in it, now run docker compose up -d and congratulations you have a working Jellyfin server.

    With time you’ll learn what the compose file is doing, for example the ports map ports from the docker to your machine, volumes does the same, so for example the example has /path/to/jellyfin/library:/config if instead you write ./config:/config a folder called config will be created on the same folder the compose.yaml file is and inside the docker it will be mounted as /config which is where Jellyfin will look for configurations. In the same manner you can add /home/myuser/Movies:/Movies and inside docker you will be able to see the contents of /home/myuser/Movies when scanning the /Movies folder.


  • I can’t speak for OP, but I self host lots of stuff, have literally dozens of services running, have an Ansible repo to manage it all and routi some stuff through a VPS, not to mention my day job has included managing services in one way or another for a long while. This is to say, I know what I’m doing. I couldn’t setup Plex to work the way I wanted to, they expect it to run in a docker with network set to host mode, I couldn’t find any way to tell Plex that my living room TV was in the same network, it just wouldn’t accept any connections as local. I know I shot myself in the foot here by not letting it run with network on host mode, but I shouldn’t have to, the port was exposed, I could reach it through the local network IP, but I wasn’t able to stream any content locally.


  • I’ve had that happen to me with plex, it was probably 100% my fault because I specifically changed things during the setup of the docker file, but apparently Plex can’t figure out that is local if it’s running inside docker with non-host network, it probably only accepts local connections from the docker network, and I was never able to make it treat my actual home network as local.


  • Not really, if you use Kodi the information on what you have watched remains on the PC running Kodi, if you always watch from the same device that’s not a big deal, but if you like to watch stuff on your smart tv, then on your PC, and downloading some to watch on your phone on the go, having the information of which episodes you’ve watched on the server helps keep things organized.


  • The best way is asking: what’s your point? Is it that transgender shouldn’t be accepted or that transrace should?. And proceed from there to either defend transgenderism or criticize transracism accordingly.

    First let me start by saying I strongly dislike the race therminology, but I’ll use it here for consistency, although normally I would call it ethnicity.

    The difference between those lies in that gender is a social construct, and race is not. Race has some biological meaning, just like sex, people can’t change their sex (yet), they can’t change their race (yet).

    Gender is a social construct, it’s things that have nothing to do with biology but that we as a society attribute in general to a specific sex. A similar concept for race would be culture, a person can be of the sex male but prefer to wear clothes usually associated with female sex, just like someone can be of the white ethnicity but prefer to hear music usually associated with black ethnicity. I wouldn’t call Eminem or Michael Jackson transrace, what would that even mean?


  • I get your point, but you’re missing the point of what the person is saying. They said that if no one cared about gender or race transgenders or transrace wouldn’t be an issue, it would be seen similarly to people who dye their hair or undergo plastic surgery to change something they don’t like on themselves, i.e. cosmetic changes that society in general doesn’t give a crap.

    If society treated race the same way we treat shoe sizes, i.e. they exist, we recognize them when it’s needed but understand that outside of picking a shoe you don’t care about it (there are no toilets for people who use size 6, or a special door that only people with size 7, and people certainly don’t require your shoe size in your CV and use that as a decision point as to whether they will hire you). IF we could get everyone to think like this, then we wouldn’t need to worry about the plights of any group because they would be in the past. That being said, this is not realistic because people are habit creatures, and if you grew up being taught to be racist and are never confronted about it you will keep those beliefs, that’s why it’s important to break stereotypes, that’s why affirmative actions are important, not because it helps the individual break through a societal barrier (although that’s important as well) but because they help society break from the preconceived notions that have engrained in most people’s minds through centuries of oppression.

    The ideal future is one where gender or race doesn’t matter, but the road there goes through recognizing the plights that each gender and race has to face and adjust society to compensate for them so they can live “similar” lives and that on the long run society walks towards a more diverse and inclusive group. It’s easy to have a prejudice against someone different from your “normal”, which is why it’s important to break “normal” views and extremely important to normalize taboo behavior.


  • Yes, evil-mode would have bridged the gap, however I didn’t go emacs -> vim in one step, I left emacs back in 2017 because of pinky strain, and other ergonomic issues that made me switch keyboard layout as well (which made me lose lots of agility on emacs) and started using Pycharm for python dev, VSCode for other languages (including Markdown for note taking) and nano for system file edition. I tried some of the other suggestions here like atom, sublime, Kate, etc, but they never became my everything tool like emacs used to be. Very recently I discovered Helix, and I gave it a try and loved it, however the lack of plugin support made me have reservations on diving in. But the interaction mode is very close to vim, so I decided to give vim another go and went through a few tutorials on how to set Nvim up while refreshing muscle memory for vim movements and learning new stuff and it’s slowly becoming the everything tool that emacs once was for me.

    All of that being said, I don’t think I would use evil-mode on Emacs, the reason is that vim is made with those motions from the ground up, whereas in emacs they will be an after-thought so it will probably not be integrated enough (or more likely will require lots of configurations).

    I wasn’t able to see for myself how cin" worked within Vim*.

    It’s simple, imagine you have a line of code like so:

    my_var = "some string with spaces"
    

    If your cursor is almost anywhere on that line pressing ci" will erase the contents of inside the string and place you in insert mode, i.e. the line will look line this:

    my_var = "|"
    

    With | being the cursor in insert mode. There are other similar things, for example ca" (Change Around ") will also erase the quotes, very useful for example to change a hard coded string with a variable.


  • If you had started with that people would have told you that nothing comes even close. The closest things you will find are Atom (archived), Sublime (closed source) and Helix (still very new and no plugin support, but something to keep an eye on).

    Speaking of obsidian, the reason why it took me forever to start using Silverbullet is that Emacs has org-mode which does most of what Silverbullet/Obsidian do out of the box, plus some other stuff that they don’t do (e.g. excel like tables).

    But I wanted something I could edit remotely through my phone and web interfaces are better than using text editors over ssh connections. Also I have migrated from Emacs to Nvim, the reasons are purely ergonomical (pinky fatigue is a real issue) but after switching I found a jump in the way to think about an editor. Emacs is great, don’t get me wrong, and if you decide to learn Emacs I can assure you it will be the best editor you’ve used, but it still edits things at a character level, while there are concepts for matching brackets or quotes changing the text inside quotes in Emacs is very character oriented, I.e. go to start of quote, start marking, move to matching quote, delete, whereas in vim is sort of a higher level language where you say Change Inside Next Quote using cin", and expanded with some plugins you can even do srnq' to Surround Replace Next Quote with ’ (which will change the quotations on the next text from whatever to '). And that’s a lot closer to the way I think so it skips a mental step (plus it’s a lot less keystrokes and no Ctrl for my pinky).

    But those are the reasons why I switched, many people use Emacs for decades without ergonomic issues, whichever of the two you decide to learn you’ll understand why they’re the staple editors for most people who actually choose an editor.



  • I can’t believe no one mentioned Maemo and MeeGo, I stand to this day that my Nokia N9 was the best smartphone I ever had because of the OS, I only switched because Nokia abandoned it in favor of Windows phone which made apps stop supporting it and no new apps being released for it, if it hadn’t been for that I wouldn’t have switched to Android.



  • No. Red is a single wavelength, we call red to anything that emits light waves with length between 625 to 750 nanometers, green anything between 500 to 565 and blue anything 450 to 485.

    White is not real, white is what your eyes percebe multiple wavelengths together, if we had evolved near a red dwarf, there would probably be less blue light so out white would likely be independent of blue, just like it is independent of UV currently (because we don’t see those wavelengths).

    Curious thing is that purple is also not real, purple is what your brain interprets blue+red, which are two separate wavelengths, so it’s not a color like red or green, but rather an illusion that your brain creates to show you red and blue at the same time.


  • This is the dictionary definition:

    the deliberate and systematic destruction of a racial, political, or cultural group

    And this is a quote from Israel’s Defence Minister, Yoav Gallant:

    We will eliminate everything - they will regret it

    He also said:

    We are fighting human animals, and we are acting accordingly

    And here’s a quote from Amit Halevi, a Likud member in parliament:

    There should be two goals for this victory: One, there is no more Muslim land in the land of Israel … After we make it the land of Israel, Gaza should be left as a monument, like Sodom

    Those are just some examples that I could find with a quick search, but they clearly show a will to perform a deliberate and systematic destruction of the Palestine people. Therefore since they act on those wishes I would definitely define it as a genocide.


  • Hahaha, I had a friend around college time where we had the exact same dialogue every time:

    • Hey, wanna go watch a movie?
    • I can’t, I don’t have any money
    • How many times have I told you, I’m asking you if you want to, not if you can, I’ll pay for you

    I wasn’t rich or anything, but paying for that extra ticket or meal wouldn’t break my bank and he was my friend, I enjoyed hanging out with, so I would gladly spend that money to hang out with him.