• 24 Posts
  • 386 Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle



  • The problem is that when an project is too big and a method is called from multiple contexts it’s very easy to lose track of the context where the null check has been done and where it hasn’t. This leads to a lot of duplicated null checks around the project and the constant paranoia of “can this be null here?”.

    A much better way of doing this is using the Optional when an Object can be “null” and a direct instance where it cannot. This way, at any given context you know for absolute sure if a null check is needed or not. However, even with annotations this does not throw a compile error…










  • As far as I know, AOSP is largely maintained by Google. Without the Google Play Services you lose key functionalities such as notification service or the ability to use home banking apps.

    While alternative play services such as microG exist, in my personal experience they are buggy as hell. My banking apps continued not to work and notifications were often delayed by several hours.

    I’d love a real opensource linux alternative driven by the community without a big tech dictating what goes in or not. We’re not there yet but it’s cool to see people trying.







  • We don’t know. We don’t have access to what’s running on their servers.

    Aren’t they audited, tho?

    (yes i know that the source code is available, but there’s no way to check if that’s the same thing running on the servers)

    But isn’t this true for most services, such as Matrix as well? Nothing assures that a Matrix instance is running the exact code on git.

    Usually the government goes there a just takes whatever is in the rack they want.

    But if your threat model is the goverment, aren’t all services affected as well? If they want to take element’s servers, they will. If you selfhost and they want to take your server, they will?

    The problem is that you have to trust them.

    I feel like in communication apps you’re always going to have to rely on trust. Even if you self-host in a Swiss server, with the best intentions and security practices… Other people are going to have to trust you. You trust yourself, but others might not.