• 0 Posts
  • 90 Comments
Joined 3 years ago
cake
Cake day: June 11th, 2023

help-circle



  • loutr@sh.itjust.workstoSelfhosted@lemmy.worldPlex has paywalled my server!
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    1 year ago

    My tech-illiterate mom uses my Jellyfin instance with no issues. I sent her a link to the app store, her credentials, my server’s hostname and that was it. And once it’s set up, Jellyfin is much more straightforward to use than Plex.

    Sure Jellyfin has issues and doesn’t support as many types of devices, but Plex is far from perfect. I use it like twice a year, and the UI gets more and more confusing with each update IMO.








  • The VBA part of the meme is real, VBA is (was?) localized. Turns out it’s a horrible idea: some keywords are badly translated, some are not translated at all. Googling localized error messages is useless, so you need to guess the original error message from the translation. Want to copy/paste a function from SO? Not so fast, you need to translate the keywords first! And the variable names as well while you’re at it.

    Ironically, you end up spending a lot of time on translation-related issues. I’ve worked on a french-VBA app, and it was a miserable experience (well, even more miserable than english VBA).


  • The point is also to minimize potential damages caused by a bug in the software. Just this year there have been multiple data-destroying bugs in publicly released software. If the app runs as a server it’s usually trivial to have it run as a dedicated user, with just enough permissions to do its job.

    It’s just good practice, even though the risks might be low why risk it at all?





  • Nah, Hibernate, Spring and most major Java frameworks have largely moved away from XML. It’s still supported, but these days it’s mostly configured in the code directly, with properties loaded from yaml, JSON or the environment (for containers).

    The JDK ecosystem is in a pretty good spot nowadays. With Spring boot you can whip up a productions ready back-end very fast, or if you prefer a more hands-on approach there are lighter frameworks/libraries quarkus or micronaut.

    The Java language itself has evolved fast and is actually pretty nice now, and if you prefer something more modern akin to TS or swift you can just use Kotlin which is almost 100% interoperable with Java.


  • Since Java 14 it looks like this:

    Exception in thread “main” java.lang.NullPointerException:

    Cannot invoke “String.toLowerCase()” because the return value of “com.baeldung.java14.npe.HelpfulNullPointerException$PersonalDetails.getEmailAddress()” is null

    at com.baeldung.java14.npe.HelpfulNullPointerException.main(HelpfulNullPointerException.java:10)