• 2 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle

  • Mountaineer@lemmy.worldtoMemes@lemmy.ml"~~Don't~~ be evil"
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 year ago

    This whole episode is giving me flashbacks to the ActiveX days.

    Image

    The tyranny of the default.

    “Here mum, I’ve installed Firefox for you, it’s better than Chrome in every way!”
    “My knitting circle website doesn’t work, I can’t download patterns, it says I need Chrome”

    Internet Explorer was effectively abandon-ware for a decade after Microsoft used their OS pseudo-monopoly to crush Netscape.
    It took another tech giant abusing THEIR monopoly to relegate IE to the trash heap it should have already been on.



  • Mountaineer@lemmy.worldtoMemes@lemmy.ml"~~Don't~~ be evil"
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    5
    ·
    edit-2
    1 year ago

    So you won’t use your banks website?
    Or your utilities (gas/water/electricity/internet)?
    You won’t let your kids use the portal at their school for submitting assignments?
    Your government sites for renewing your drivers license or scheduling hard refuse pickup?

    I can think of lots of reasons that will force me to have chrome installed if this goes ahead.



  • I’m pretty sure Firefox doesn’t know how to cast, that’s a chrome feature.
    Secondly, a chromecast dongle can either be targetted locally by an app (such as chrome) or over the internet via https.
    If you are just hosting on your windows laptop, you probably don’t have a domain with TLS, yes?
    From localhost (the laptop itself), if you run chrome, you can probably cast to your dongle whilst on the same LAN.

    If you have one of the newer Chromecasts with the remote, you can simply install the Jellyfin app on it directly, and address your Jellyfin install by IP and port.

    Plex uses some fancy redirection work around these limitations, but it relies on an external service that they provide.


  • When you set up your libraries, it’s important that you point the path at the root folder, jellyfin expects a fairly specific naming convention.
    Here’s how it is suggested to setup your tv shows for instance: https://jellyfin.org/docs/general/server/media/shows

    Simplistically, lets say you have 2 shows called “Friends” and “The Witcher”, each with multiple seasons, and your NFS mount is /mnt/media.
    You’d create something like: /mnt/media/tv
    That’s where you’d point your tv library, at that “tv” directory. It doesn’t actually matter what the directory is called, but the library should be of type “shows”.
    Under that /mnt/media/tv directory, you would create a directory for each show, and it would be the name of that show, so you’d get: /mnt/media/tv/Friends/ and /mnt/media/tv/The Witcher/
    Then under those directories you would create seasons, to put your episodes in, ie /mnt/media/tv/The Witcher/Season 01/The Witcher - 01x01 - The End’s Beginning.avi
    /mnt/media/tv/The Witcher/Season 01/The Witcher - 01x02 - Four Marks.avi

    If you pointed the root of your library at /mnt/media/tv/The Witcher/Season 01/, it would probably fail to parse the episodes.
    If you create your library as /mnt/media/allmystuff/ and just ram everything in there, it’s unlikely to find anything.
    This may all seem a bit complicated, but there’s lots of tools that are useful to automate this process.
    I personally recommend https://sonarr.tv/

    If you are doing all of the above correctly, we’ll have to dig a bit deeper for more details.

    As for “unsupported formats”, that most commonly happens when you have enabled hardware acceleration and it’s not working properly.
    Whilst there’s several reasons why it may not be working, to rule it out, try temporarily disabling Hardware Acceleration under Dashboard -> Playback -> Transcoding.
    The system should fall back to CPU transcoding which may be slow (hardware dependent), but at least it should function.










  • Mountaineer@lemmy.worldtoLemmy Shitpost@lemmy.worldXKCD - Infrastructures
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    edit-2
    1 year ago

    The annoying thing to me is that it’s taken a further 13 years to reach a point where another social network is feasible.
    I’m not saying there haven’t been attempts like diaspora and the early mastadon etc, but now we’re actually reaching a critical mass of participants where a move is worth it.

    The same is true of Signal. I’ve been using it for nearly a decade, but it’s only in the last 2 years that people haven’t rolled their eyes when I mention it’s my preferred comms app.





  • I want to be clear, that I disagree with his “federation is stupid” point, but email has problems right now.

    Theoretically it’s federated, theoretically you can spin up your own mail server and self host.

    But even if you do that absolutely perfectly (SPF, DKIM, DMARC etc), you can falsely end up on spam list, that effectively block delivery of your email to large segments of the network for days if not weeks.

    Whilst theoretically federated, email falls under the broad dominion of google, microsoft and a couple of other large players.


  • JavaScript (TypeScript) has access to cookies (and thus JWT). This should be handled by web browser, not JS. In case of log-in, in HTTPS POST request and in case of response of successful log-in, in HTTPS POST response. Then, in case of requesting web page, again, it should be handled in HTTPS GET request. This is lack of using least permissions as possible, JS should not have access to cookies.

    JavaScript needs access to the cookies, they are the data storage for a given site.
    To protect them, the browser silos them to the individual site that created them, that’s why developers haven’t been able to easily load cross domain content for years, to mitigate XSS attacks.
    The security relies on the premise that the only valid source of script is the originating domain.
    The flaw here was allowing clients to add arbitrary script that was displayed to others.
    You’re dead right that only the way to fix this is to do away with JavaScript access to certain things, but it will require a complete refactor of how cookies work.
    I haven’t done any web dev in a few years, this might even be a solved problem by now and we are just seeing an old school implementation. 🤷