• 0 Posts
  • 141 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle








  • 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)






  • If you want a simpler solution than Matrix and don’t mind using a non-opensource app you could try twinme. You only need a username and a picture to create an account (could be anything, “Jane Doe” and a white square if you want). It has a couple unique features like multiple identities and click-to-call links, which you can share with people who don’t have the app so they can call you using only a web browser (e.g. on craigslist, lost pet flyers, …).

    I work on this app as a full-stack dev, and for what it’s worth we only upload/store data that is strictly required for the app to work. We’re lobbying to open source it because we have nothing to hide and we know how important it is for the privacy/security minded folks, but it will take some convincing before management agrees to it…