• 4 Posts
  • 91 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle

  • TBF if you want, you can have a bastion server which is solely whitelisted by IP to stream your content from your local server. It’s obviously a pivot point for hackers, but it’s the level of effort that 99% of hackers would ignore unless they really wanted to target you. And if you’re that high value of a target, you probably shouldn’t be opening any ports on your network, which brings us back to your original solution.

    I, too, don’t expose things to the public because I cannot afford the more safe/obfuscated solutions. But I do think there are reasonable measures that can be taken to expose your content to a wider audience if you wanted.



  • In a nutshell, if your app isn’t able to make a direct connection to your Plex Media Server when you’re away from home, we can act as sort of a middle man and “relay” the stream from your server to your app. To accomplish this, your Plex Media Server establishes a secure connection to one of our Relay servers. Your app then also connects securely to the same Relay server and accesses the stream from your Plex Media Server. (In technical terms, the content is tunneled through.)

    So, your Plex Media Server basically “relays” the media stream through our server so that your app can access it since the app can’t connect with your server directly.

    Source: https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/

    It’s not a requirement to stream and it’s sort of dumb they are lumping this relay service as a part of the remote streaming. Remote streaming should be allowed for free - if you are not a subscriber. The relay should just be a paid service, which makes sense. But if it’s a direct connection to my server, it should be free.

    That being said, I understand how Plex may have built some technical debt into this relay system. It might be hard for them to decouple the relay from the remote streaming. What they should have done is:

    We are removing the relay service as a free service, but you can still do remote streaming with a direct connection.

    And they should have built their architecture in a way that’s easy to decouple the two services.


  • That’s true for PC gaming but might not be true for these NUCs. I’m not an expert but I wouldn’t be surprised if they shaved costs with bulk purchases of RAM and SSDs for these devices. Regardless, I was just addressing a point you made about being forced to buy the components yourself which isn’t the case. Pricing is probably going to vary wildly depending on what you pick and you might be able to save money if you’re ok with less RAM or less storage.




  • People don’t like to admit that we are ants. We are valuable and important. Each one of us is unique and deserves a full, good, life. But we are also ants. We are susceptible to group think, mob behavior, and we tend to follow the scent trail most of the time. It’s not a bad thing. It’s tied to our evolutionary desire to be a part of a community; to fit in and blend in.

    But it also means individuals are likely to do what keeps them alive. We are likely all bad in some way or another.

    But as long as you aren’t, actively, willfully, or gleefully harming people, you’re probably ok.




  • Display and layout rules aren’t difficult at all. Maybe I’m just not experienced enough. I’ve been a web dev for nearly a decade now and I feel like I’ve got the hang of it. That being said, I don’t work on projects that have to work on everything from a Nokia to an ultra wide monitor. We shoot for a few common sizes and hope it clears between edge cases nicely. What is an example of something that wraps randomly?


  • Genuinely, though, CSS is fairly clear cut about the rules of positioning and space. Relative positioning is one of the most important concepts to master since it allows things to flow via the HTML structure and not extra CSS. Fixed positioning is as if you had no relative container other than the window itself. Absolute positioning is a little weird, but it’s just like fixed positioning except within the nearest parent with relative positioning.

    Everything else is incredibly straight forward. Padding adds space within a container. Margins add space outside a container. Color changes text color. Background-color changes the background color of an element.

    Top, left, right, and bottom dictate where the element should be positioned after the default rules are applied. So if you have a relative div inside a parent which is half way down the page, top/right/left/bottom would move the element relative to it’s position within the parent. If you made the div fixed, it would be moved relative to the window.

    Lastly, if you’re designing a webpage just think in boxes or rows and columns. HTML can define 75% of the webpage structure. Then with just a bit of CSS you can organize the content into rows/columns. That’s pretty much it. Most web pages boil down to simple boxes within boxes. It just requires reading and understanding but most people don’t want to do that to use CSS since it feels like it should just “know”.

    As someone who has built QT, Swing, and JavaFx applications, I way prefer the separation of concerns that is afforded us via HTML JS and CSS.