• 1 Post
  • 41 Comments
Joined 2 years ago
cake
Cake day: August 13th, 2023

help-circle










  • I’ve been wanting to write rust for quite some time, but I can’t get over crates. The system just seems insecure to me. What happens in 10 years when the servers go down? Is there any sort of mitigation for supply chain attacks? As I understand it anyone can submit code; what’s stopping someone from putting malicious code into a crate I’ve been using?

    I suppose these are risks for any third party package system though.

    I’ve used Flutter infrequently and have experienced things like this with their package system.



  • thericcer@reddthat.comtoAndroid @lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    This depends entirely on the phone/OS. The OS may report only that the battery is charging, and not at what rate. Apps like Ampere rely on the OS to report these things, and if it doesn’t you’ll get garbage numbers. Like the other comment says, get a meter to put between the charger and phone to see what rate it’s currently charging at.

    That being said, the charge controller in the phone will likely never draw the max rated charger power, and it will vary with many factors such as CPU load, current battery capacity, temperature, etc.